CellDecomposition - Maple Help

RootFinding[Parametric]

 CellDecomposition
 decompose parameter space into open cells

 Calling Sequence CellDecomposition(sys, vars, pars, options) CellDecomposition(eqs, posineqs, vars, pars, options) CellDecomposition(eqs, posineqs, nzineqs, vars, pars, options)

Parameters

 sys - list of equations, strict inequalities, and inequations between polynomials with rational coefficients vars - list of names; the indeterminates pars - (optional in the first two calling sequences) list of names; the parameters eqs - list of polynomials $f$ with rational coefficients, representing the equations of the form $f=0$ posineqs - list of polynomials $g$ with rational coefficients, representing constraint inequalities of the form $0 nzineqs - list of polynomials $g$ with rational coefficients, representing constraint inequations of the form $g\ne 0$ options - sequence of optional equations of the form keyword=value, where keyword is either output or method

Options

 output=cad or witnesspoints: type of decomposition
 • If output=cad, the command computes an open Cylindrical Algebraic Decomposition (CAD) of the parameter space. In addition, the record contains the projection polynomials describing the CAD of the parameter space such that the number of solutions of the input system is constant on each full-dimensional open cell of the decomposition.
 • The option output is set to cad by default.
 • The option output=witnesspoints avoids the computation of a CAD by using the command RootFinding[WitnessPoints] internally. When output=witnesspoints, the output does not include the field ProjectionPolynomials.
 method=GB or RC: algorithm to use
 • By default, the Groebner basis method (GB) is used. The RegularChains method can be accessed by specifying method=RC.
 • When output=witnesspoints is specified, the Groebner basis method will be used even if method=RC.

Description

 • The CellDecomposition command decomposes the parameter space of a parametric polynomial system into cells in which the original system has a constant number of solutions.
 • The command returns a data structure that can be used for (for example):
 – Plotting the regions of the parameter space for which the system has a given number of solutions (see CellPlot)
 – Extracting sample points in the parameter space for which the system has a given number of solutions (see SampleSolutions)
 – Extracting boxes in the parameter space in which the system has a given number of solutions (see EnclosingBox)
 • The type of the output is a solution record with the following fields: Equations, Inequalities, Filter, Variables, Parameters, DiscriminantVariety, ProjectionPolynomials (sometimes present), and SamplePoints. The field Boxes is not initially present, but is added if you call EnclosingBox on a solution from CellDecomposition, as shown in the Examples section below.
 • The record returned captures information about the solutions of the system depending on the parameter values, including:
 – A discriminant variety (see DiscriminantVariety)
 – For each full-dimensional open cell, a sample point strictly in the interior of the cell; if possible, the coordinates of the sample point are chosen to be integers
 • The input system must satisfy the following properties:
 – The number of equations is equal to or greater than the number of indeterminates
 – At most finitely many complex solutions exist for almost all complex parameter values (that is, the system is generically zero-dimensional)
 – For almost all complex parameter values, there are no solutions of multiplicity greater than $1$ (that is, the system is generically radical); in particular, the input equations are square-free
 An error occurs if one of these conditions is violated.
 • If pars is not specified, it defaults to all the names in sys that are not indeterminates.
 • Note that if the input system sys contains an inequality of the form $0<\mathrm{parameter}$ (or ineqs contains $\mathrm{parameter}$), then sample points for those cells lying entirely in the octant described by the inequality $\mathrm{parameter}<0$ may not be computed (see the examples below).
 • This command is part of the RootFinding[Parametric] package, so it can be used in the form CellDecomposition(..) only after executing the command with(RootFinding[Parametric]). However, it can always be accessed through the long form of the command by using RootFinding[Parametric][CellDecomposition](..).

Examples

In the following univariate example, obtain the well-known discriminant of a quadratic polynomial.

 > $\mathrm{with}\left(\mathrm{RootFinding}\left[\mathrm{Parametric}\right]\right):$
 > $\mathrm{m1}≔\mathrm{CellDecomposition}\left(\left[{x}^{2}+ax+b=0\right],\left[x\right]\right)$
 ${\mathrm{m1}}{≔}\left[\begin{array}{lll}{\mathrm{Equations}}& {=}& {}\left[{a}{}{x}{+}{{x}}^{{2}}{+}{b}\right]\\ {\mathrm{Inequalities}}& {=}& {}\left[\right]\\ {\mathrm{Filter}}& {=}& {}{0}{\ne }{1}\\ {\mathrm{Variables}}& {=}& {}\left[{x}\right]\\ {\mathrm{Parameters}}& {=}& {}\left[{a}{,}{b}\right]\\ {\mathrm{DiscriminantVariety}}& {=}& {}\left[\left[{{a}}^{{2}}{-}{4}{}{b}\right]\right]\\ {\mathrm{ProjectionPolynomials}}& {=}& {}\left[\left[{b}\right]{,}\left[{{a}}^{{2}}{-}{4}{}{b}\right]\right]\\ {\mathrm{SamplePoints}}& {=}& {}\left[\left[{a}{=}{0}{,}{b}{=}{-1}\right]{,}\left[{a}{=}{-3}{,}{b}{=}{1}\right]{,}\left[{a}{=}{0}{,}{b}{=}{1}\right]{,}\left[{a}{=}{3}{,}{b}{=}{1}\right]\right]\end{array}\right$ (1)

Thus, there are $4$ full-dimensional open cells, which you can illustrate graphically:

 > $\mathrm{CellPlot}\left(\mathrm{m1},'\mathrm{samplepoints}'\right)$

The number of solutions for $x$ on each of these cells can be computed using the following command:

 > $\mathrm{NumberOfSolutions}\left(\mathrm{m1}\right)$
 $\left[\left[{1}{,}{2}\right]{,}\left[{2}{,}{2}\right]{,}\left[{3}{,}{0}\right]{,}\left[{4}{,}{2}\right]\right]$ (2)

So, the univariate equation has exactly two solutions in the yellow and pink cells, below the parabola, and no solution in the blue cell, above the parabola. In fact, it has one solution of multiplicity $2$ exactly on the parabola, but this is a lower-dimensional sub-manifold, which is not considered by this command.

The next two examples illustrate the alternate calling sequences. Since the output of the assignment is the same for m2 and m3, they will each produce the same image using the CellPlot command.

 > $\mathrm{m2}≔\mathrm{CellDecomposition}\left(\left[{x}^{6}-a{x}^{2}+b=0,0
 ${\mathrm{m2}}{≔}\left[\begin{array}{lll}{\mathrm{Equations}}& {=}& {}\left[{{x}}^{{6}}{-}{a}{}{{x}}^{{2}}{+}{b}\right]\\ {\mathrm{Inequalities}}& {=}& {}\left[{b}\right]\\ {\mathrm{Filter}}& {=}& {}{0}{\ne }{1}\\ {\mathrm{Variables}}& {=}& {}\left[{x}\right]\\ {\mathrm{Parameters}}& {=}& {}\left[{a}{,}{b}\right]\\ {\mathrm{DiscriminantVariety}}& {=}& {}\left[\left[{b}\right]{,}\left[{4}{}{{a}}^{{3}}{-}{27}{}{{b}}^{{2}}\right]\right]\\ {\mathrm{ProjectionPolynomials}}& {=}& {}\left[\left[{b}\right]{,}\left[{4}{}{{a}}^{{3}}{-}{27}{}{{b}}^{{2}}\right]\right]\\ {\mathrm{SamplePoints}}& {=}& {}\left[\left[{a}{=}{1}{,}{b}{=}{1}\right]{,}\left[{a}{=}{2}{,}{b}{=}{1}\right]\right]\end{array}\right$ (3)
 > $\mathrm{CellPlot}\left(\mathrm{m2},'\mathrm{samplepoints}'\right)$
 > $\mathrm{m3}≔\mathrm{CellDecomposition}\left(\mathrm{m2}:-\mathrm{Equations},\mathrm{m2}:-\mathrm{Inequalities},\mathrm{m2}:-\mathrm{Variables},\mathrm{m2}:-\mathrm{Parameters}\right)$
 ${\mathrm{m3}}{≔}\left[\begin{array}{lll}{\mathrm{Equations}}& {=}& {}\left[{{x}}^{{6}}{-}{a}{}{{x}}^{{2}}{+}{b}\right]\\ {\mathrm{Inequalities}}& {=}& {}\left[{b}\right]\\ {\mathrm{Filter}}& {=}& {}{0}{\ne }{1}\\ {\mathrm{Variables}}& {=}& {}\left[{x}\right]\\ {\mathrm{Parameters}}& {=}& {}\left[{a}{,}{b}\right]\\ {\mathrm{DiscriminantVariety}}& {=}& {}\left[\left[{b}\right]{,}\left[{4}{}{{a}}^{{3}}{-}{27}{}{{b}}^{{2}}\right]\right]\\ {\mathrm{ProjectionPolynomials}}& {=}& {}\left[\left[{b}\right]{,}\left[{4}{}{{a}}^{{3}}{-}{27}{}{{b}}^{{2}}\right]\right]\\ {\mathrm{SamplePoints}}& {=}& {}\left[\left[{a}{=}{1}{,}{b}{=}{1}\right]{,}\left[{a}{=}{2}{,}{b}{=}{1}\right]\right]\end{array}\right$ (4)

Sample points lying entirely in a negative octant are omitted. For example, the open cells represented by the sample points $\left[a=1,b=-1\right]$ and $\left[a=2,b=-1\right]$ from m4:-SamplePoints are not included in m3:-SamplePoints.

 > $\mathrm{m4}≔\mathrm{CellDecomposition}\left(\left[{x}^{6}-a{x}^{2}+b=0\right],\left[x\right]\right)$
 ${\mathrm{m4}}{≔}\left[\begin{array}{lll}{\mathrm{Equations}}& {=}& {}\left[{{x}}^{{6}}{-}{a}{}{{x}}^{{2}}{+}{b}\right]\\ {\mathrm{Inequalities}}& {=}& {}\left[\right]\\ {\mathrm{Filter}}& {=}& {}{0}{\ne }{1}\\ {\mathrm{Variables}}& {=}& {}\left[{x}\right]\\ {\mathrm{Parameters}}& {=}& {}\left[{a}{,}{b}\right]\\ {\mathrm{DiscriminantVariety}}& {=}& {}\left[\left[{b}\right]{,}\left[{4}{}{{a}}^{{3}}{-}{27}{}{{b}}^{{2}}\right]\right]\\ {\mathrm{ProjectionPolynomials}}& {=}& {}\left[\left[{b}\right]{,}\left[{4}{}{{a}}^{{3}}{-}{27}{}{{b}}^{{2}}\right]\right]\\ {\mathrm{SamplePoints}}& {=}& {}\left[\left[{a}{=}{1}{,}{b}{=}{-1}\right]{,}\left[{a}{=}{2}{,}{b}{=}{-1}\right]{,}\left[{a}{=}{1}{,}{b}{=}{1}\right]{,}\left[{a}{=}{2}{,}{b}{=}{1}\right]\right]\end{array}\right$ (5)
 > $\mathrm{CellPlot}\left(\mathrm{m4},'\mathrm{samplepoints}'\right)$

The following system has no solutions for almost all parameters values.

 > $\mathrm{m5}≔\mathrm{CellDecomposition}\left(\left[{x}^{6}+a{y}^{2}-a=0,{x}^{6}+a{y}^{2}-b=0\right],\left[x,y\right]\right)$
 ${\mathrm{m5}}{≔}\left[\begin{array}{lll}{\mathrm{Equations}}& {=}& {}\left[{{x}}^{{6}}{+}{a}{}{{y}}^{{2}}{-}{a}{,}{{x}}^{{6}}{+}{a}{}{{y}}^{{2}}{-}{b}\right]\\ {\mathrm{Inequalities}}& {=}& {}\left[\right]\\ {\mathrm{Filter}}& {=}& {}{0}{\ne }{1}\\ {\mathrm{Variables}}& {=}& {}\left[{x}{,}{y}\right]\\ {\mathrm{Parameters}}& {=}& {}\left[{a}{,}{b}\right]\\ {\mathrm{DiscriminantVariety}}& {=}& {}\left[\left[{a}{-}{b}\right]\right]\\ {\mathrm{ProjectionPolynomials}}& {=}& {}\left[\left[\right]{,}\left[{a}{-}{b}\right]\right]\\ {\mathrm{SamplePoints}}& {=}& {}\left[\left[{a}{=}{-1}{,}{b}{=}{0}\right]{,}\left[{a}{=}{1}{,}{b}{=}{0}\right]\right]\end{array}\right$ (6)
 > $\mathrm{NumberOfSolutions}\left(\mathrm{m5}\right)$
 $\left[\left[{1}{,}{0}\right]{,}\left[{2}{,}{0}\right]\right]$ (7)
 > $\mathrm{CellPlot}\left(\mathrm{m5},'\mathrm{samplepoints}'\right)$

In this example, we use two different strategies to compute the sample points.

 > $\mathrm{m6}≔\mathrm{CellDecomposition}\left(\left[{x}^{6}+a{y}^{2}-a=0,{a}^{3}{x}^{6}+a{y}^{2}-b=0\right],\left[x,y\right]\right)$
 ${\mathrm{m6}}{≔}\left[\begin{array}{lll}{\mathrm{Equations}}& {=}& {}\left[{{x}}^{{6}}{+}{a}{}{{y}}^{{2}}{-}{a}{,}{{a}}^{{3}}{}{{x}}^{{6}}{+}{a}{}{{y}}^{{2}}{-}{b}\right]\\ {\mathrm{Inequalities}}& {=}& {}\left[\right]\\ {\mathrm{Filter}}& {=}& {}{0}{\ne }{1}\\ {\mathrm{Variables}}& {=}& {}\left[{x}{,}{y}\right]\\ {\mathrm{Parameters}}& {=}& {}\left[{a}{,}{b}\right]\\ {\mathrm{DiscriminantVariety}}& {=}& {}\left[\left[{a}\right]{,}\left[{a}{-}{1}\right]{,}\left[{a}{-}{b}\right]{,}\left[{{a}}^{{4}}{-}{b}\right]{,}\left[{{a}}^{{2}}{+}{a}{+}{1}\right]\right]\\ {\mathrm{ProjectionPolynomials}}& {=}& {}\left[\left[{b}{,}{b}{-}{1}\right]{,}\left[{a}{,}{a}{-}{1}{,}{a}{-}{b}{,}{{a}}^{{4}}{-}{b}{,}{{a}}^{{2}}{+}{a}{+}{1}\right]\right]\\ {\mathrm{SamplePoints}}& {=}& {}\left[\left[{a}{=}{-2}{,}{b}{=}{-1}\right]{,}\left[{a}{=}{-}\frac{{1}}{{2}}{,}{b}{=}{-1}\right]{,}\left[{a}{=}\frac{{1}}{{2}}{,}{b}{=}{-1}\right]{,}\left[{a}{=}{2}{,}{b}{=}{-1}\right]{,}\left[{a}{=}{-1}{,}{b}{=}\frac{{1}}{{2}}\right]{,}\left[{a}{=}{-}\frac{{946765195598435}}{{2251799813685248}}{,}{b}{=}\frac{{1}}{{2}}\right]{,}\left[{a}{=}\frac{{75557863725914323419053}}{{302231454903657293676544}}{,}{b}{=}\frac{{1}}{{2}}\right]{,}\left[{a}{=}\frac{{405261074457219578201545}}{{604462909807314587353088}}{,}{b}{=}\frac{{1}}{{2}}\right]{,}\left[{a}{=}\frac{{33162641639058343}}{{36028797018963968}}{,}{b}{=}\frac{{1}}{{2}}\right]{,}\left[{a}{=}{2}{,}{b}{=}\frac{{1}}{{2}}\right]{,}\left[{a}{=}{-2}{,}{b}{=}{2}\right]{,}\left[{a}{=}{-1}{,}{b}{=}{2}\right]{,}\left[{a}{=}\frac{{1}}{{2}}{,}{b}{=}{2}\right]{,}\left[{a}{=}\frac{{10095935843699806729}}{{9223372036854775808}}{,}{b}{=}{2}\right]{,}\left[{a}{=}\frac{{29415243724254392911}}{{18446744073709551616}}{,}{b}{=}{2}\right]{,}\left[{a}{=}{3}{,}{b}{=}{2}\right]\right]\end{array}\right$ (8)
 > $\mathrm{m7}≔\mathrm{CellDecomposition}\left(\left[{x}^{6}+a{y}^{2}-a=0,{a}^{3}{x}^{6}+a{y}^{2}-b=0\right],\left[x,y\right],'\mathrm{output}'='\mathrm{witnesspoints}'\right)$
 ${\mathrm{m7}}{≔}\left[\begin{array}{lll}{\mathrm{Equations}}& {=}& {}\left[{{x}}^{{6}}{+}{a}{}{{y}}^{{2}}{-}{a}{,}{{a}}^{{3}}{}{{x}}^{{6}}{+}{a}{}{{y}}^{{2}}{-}{b}\right]\\ {\mathrm{Inequalities}}& {=}& {}\left[\right]\\ {\mathrm{Filter}}& {=}& {}{0}{\ne }{1}\\ {\mathrm{Variables}}& {=}& {}\left[{x}{,}{y}\right]\\ {\mathrm{Parameters}}& {=}& {}\left[{a}{,}{b}\right]\\ {\mathrm{DiscriminantVariety}}& {=}& {}\left[\left[{a}\right]{,}\left[{a}{-}{1}\right]{,}\left[{a}{-}{b}\right]{,}\left[{{a}}^{{4}}{-}{b}\right]{,}\left[{{a}}^{{2}}{+}{a}{+}{1}\right]\right]\\ {\mathrm{SamplePoints}}& {=}& {}\left[\left[{a}{=}{-1}{,}{b}{=}{-2}\right]{,}\left[{a}{=}{-1}{,}{b}{=}{0}\right]{,}\left[{a}{=}{-1}{,}{b}{=}{2}\right]{,}\left[{a}{=}\frac{{1}}{{2}}{,}{b}{=}{-1}\right]{,}\left[{a}{=}\frac{{1}}{{2}}{,}{b}{=}\frac{{9}}{{32}}\right]{,}\left[{a}{=}\frac{{1}}{{2}}{,}{b}{=}{2}\right]{,}\left[{a}{=}{2}{,}{b}{=}{1}\right]{,}\left[{a}{=}{2}{,}{b}{=}{3}\right]{,}\left[{a}{=}{2}{,}{b}{=}{17}\right]\right]\end{array}\right$ (9)

When we use the strategy witnesspoints, the record m7 contains no ProjectionPolynomials.

m6 and m7 can be visualized with CellPlot.

 > $\mathrm{CellPlot}\left(\mathrm{m6}\right)$
 > $\mathrm{CellPlot}\left(\mathrm{m7}\right)$

When EnclosingBox has been applied to the solutions, the enclosing boxes are also displayed by CellPlot.

 > $\mathrm{with}\left(\mathrm{RootFinding}\right):$
 > $\mathrm{EnclosingBox}\left(\mathrm{m7}\right):$
 > $\mathrm{CellPlot}\left(\mathrm{m7},'\mathrm{samplepoints}','\mathrm{cellcolor}'=\left[\mathrm{white},\mathrm{gray}\right],'\mathrm{boxcolor}'="DeepSkyBlue"\right)$

The option output=witnesspoints usually returns fewer points.

 > $p≔\left(-51a+77b+95c+1\right){x}^{3}+\left(a+55b-28c+16\right){x}^{2}+\left(30a-27b-15c-59\right)x-96a+72b-87c+47$
 ${p}{≔}\left({-}{51}{}{a}{+}{77}{}{b}{+}{95}{}{c}{+}{1}\right){}{{x}}^{{3}}{+}\left({a}{+}{55}{}{b}{-}{28}{}{c}{+}{16}\right){}{{x}}^{{2}}{+}\left({30}{}{a}{-}{27}{}{b}{-}{15}{}{c}{-}{59}\right){}{x}{-}{96}{}{a}{+}{72}{}{b}{-}{87}{}{c}{+}{47}$ (10)
 > $\mathrm{m8}≔\mathrm{CellDecomposition}\left(\left[p=0\right],\left[x\right]\right):$
 > $\mathrm{m9}≔\mathrm{CellDecomposition}\left(\left[p=0\right],\left[x\right],'\mathrm{output}'='\mathrm{witnesspoints}'\right):$
 > $\mathrm{nops}\left(\mathrm{m8}:-\mathrm{SamplePoints}\right)$
 ${410}$ (11)
 > $\mathrm{nops}\left(\mathrm{m9}:-\mathrm{SamplePoints}\right)$
 ${126}$ (12)

The option method=RC computes the equivalent solution record as the default GB method, but usually gives different sample points.

 > $\mathrm{m10}≔\mathrm{CellDecomposition}\left(\left[{x}^{3}+a{x}^{2}+bx+a=0\right],\left[x\right],\left[a,b\right],\mathrm{method}=\mathrm{RC}\right)$
 ${\mathrm{m10}}{≔}\left[\begin{array}{lll}{\mathrm{Equations}}& {=}& {}\left[{{x}}^{{3}}{+}{{x}}^{{2}}{}{a}{+}{x}{}{b}{+}{a}\right]\\ {\mathrm{Inequalities}}& {=}& {}\left[\right]\\ {\mathrm{Filter}}& {=}& {}{0}{\ne }{1}\\ {\mathrm{Variables}}& {=}& {}\left[{x}\right]\\ {\mathrm{Parameters}}& {=}& {}\left[{a}{,}{b}\right]\\ {\mathrm{DiscriminantVariety}}& {=}& {}\left[\left[{{a}}^{{4}}{-}\frac{{1}}{{4}}{}{{a}}^{{2}}{}{{b}}^{{2}}{-}\frac{{9}}{{2}}{}{{a}}^{{2}}{}{b}{+}{{b}}^{{3}}{+}\frac{{27}}{{4}}{}{{a}}^{{2}}\right]\right]\\ {\mathrm{ProjectionPolynomials}}& {=}& {}\left[\left[{b}{,}{b}{-}{9}{,}{b}{-}{1}\right]{,}\left[{{a}}^{{4}}{-}\frac{{1}}{{4}}{}{{a}}^{{2}}{}{{b}}^{{2}}{-}\frac{{9}}{{2}}{}{{a}}^{{2}}{}{b}{+}{{b}}^{{3}}{+}\frac{{27}}{{4}}{}{{a}}^{{2}}\right]\right]\\ {\mathrm{SamplePoints}}& {=}& {}\left[\left[{a}{=}{-}\frac{{317}}{{512}}{,}{b}{=}{-}\frac{{1}}{{2}}\right]{,}\left[{a}{=}{0}{,}{b}{=}{-}\frac{{1}}{{2}}\right]{,}\left[{a}{=}\frac{{317}}{{512}}{,}{b}{=}{-}\frac{{1}}{{2}}\right]{,}\left[{a}{=}{0}{,}{b}{=}\frac{{1}}{{2}}\right]{,}\left[{a}{=}{0}{,}{b}{=}{5}\right]{,}\left[{a}{=}{-}\frac{{759}}{{128}}{,}{b}{=}\frac{{19}}{{2}}\right]{,}\left[{a}{=}{-}\frac{{693}}{{128}}{,}{b}{=}\frac{{19}}{{2}}\right]{,}\left[{a}{=}{0}{,}{b}{=}\frac{{19}}{{2}}\right]{,}\left[{a}{=}\frac{{693}}{{128}}{,}{b}{=}\frac{{19}}{{2}}\right]{,}\left[{a}{=}\frac{{759}}{{128}}{,}{b}{=}\frac{{19}}{{2}}\right]\right]\end{array}\right$ (13)
 > $\mathrm{NumberOfSolutions}\left(\mathrm{m10}\right)$
 $\left[\left[{1}{,}{1}\right]{,}\left[{2}{,}{3}\right]{,}\left[{3}{,}{1}\right]{,}\left[{4}{,}{1}\right]{,}\left[{5}{,}{1}\right]{,}\left[{6}{,}{1}\right]{,}\left[{7}{,}{3}\right]{,}\left[{8}{,}{1}\right]{,}\left[{9}{,}{3}\right]{,}\left[{10}{,}{1}\right]\right]$ (14)
 > $\mathrm{m10}≔\mathrm{CellDecomposition}\left(\left[{x}^{3}+a{x}^{2}+bx+a=0\right],\left[x\right],\left[a,b\right]\right)$
 ${\mathrm{m10}}{≔}\left[\begin{array}{lll}{\mathrm{Equations}}& {=}& {}\left[{{x}}^{{3}}{+}{{x}}^{{2}}{}{a}{+}{x}{}{b}{+}{a}\right]\\ {\mathrm{Inequalities}}& {=}& {}\left[\right]\\ {\mathrm{Filter}}& {=}& {}{0}{\ne }{1}\\ {\mathrm{Variables}}& {=}& {}\left[{x}\right]\\ {\mathrm{Parameters}}& {=}& {}\left[{a}{,}{b}\right]\\ {\mathrm{DiscriminantVariety}}& {=}& {}\left[\left[{4}{}{{a}}^{{4}}{-}{{a}}^{{2}}{}{{b}}^{{2}}{-}{18}{}{{a}}^{{2}}{}{b}{+}{4}{}{{b}}^{{3}}{+}{27}{}{{a}}^{{2}}\right]\right]\\ {\mathrm{ProjectionPolynomials}}& {=}& {}\left[\left[{b}{,}{b}{-}{9}{,}{b}{-}{1}\right]{,}\left[{4}{}{{a}}^{{4}}{-}{{a}}^{{2}}{}{{b}}^{{2}}{-}{18}{}{{a}}^{{2}}{}{b}{+}{4}{}{{b}}^{{3}}{+}{27}{}{{a}}^{{2}}\right]\right]\\ {\mathrm{SamplePoints}}& {=}& {}\left[\left[{a}{=}{-1}{,}{b}{=}{-1}\right]{,}\left[{a}{=}{0}{,}{b}{=}{-1}\right]{,}\left[{a}{=}{1}{,}{b}{=}{-1}\right]{,}\left[{a}{=}{0}{,}{b}{=}\frac{{1}}{{2}}\right]{,}\left[{a}{=}{0}{,}{b}{=}{5}\right]{,}\left[{a}{=}{-6}{,}{b}{=}{10}\right]{,}\left[{a}{=}{-}\frac{{6331511745714387}}{{1125899906842624}}{,}{b}{=}{10}\right]{,}\left[{a}{=}{0}{,}{b}{=}{10}\right]{,}\left[{a}{=}\frac{{50652093965674331}}{{9007199254740992}}{,}{b}{=}{10}\right]{,}\left[{a}{=}{6}{,}{b}{=}{10}\right]\right]\end{array}\right$ (15)
 > $\mathrm{NumberOfSolutions}\left(\mathrm{m10}\right)$
 $\left[\left[{1}{,}{1}\right]{,}\left[{2}{,}{3}\right]{,}\left[{3}{,}{1}\right]{,}\left[{4}{,}{1}\right]{,}\left[{5}{,}{1}\right]{,}\left[{6}{,}{1}\right]{,}\left[{7}{,}{3}\right]{,}\left[{8}{,}{1}\right]{,}\left[{9}{,}{3}\right]{,}\left[{10}{,}{1}\right]\right]$ (16)

The following examples illustrate invalid inputs:

This system has solutions of multiplicity greater than $1$ for all parameter values.

 > $\mathrm{CellDecomposition}\left(\left[{x}^{2}+{y}^{2}={a}^{2},x=a\right],\left[x,y\right]\right)$

This system has infinitely many solutions for all parameter values.

 > $\mathrm{CellDecomposition}\left(\left[x=ay,y=az,x={a}^{2}z\right],\left[x,y,z\right]\right)$

Compatibility

 • The method option was introduced in Maple 15.