Polynomial System Solving - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : System : Information : Updates : Maple 16 : Polynomial System Solving

Polynomial System Solving in Maple 16

 

Computing and manipulating the real solutions of a polynomial system is a requirement for many application areas, such as biological modeling, robotics, program verification, control design, to name just a few. For example, an important problem in computational biology is to study the stability of the equilibria (or steady states) of biological systems. This question can often be reduced to solving a parametric system of polynomial equations and inequalities.

 

The RegularChains package in Maple 16 provides a collection of tools for studying systems of polynomial equations, inequations and inequalities. It is particularly useful for solving and working with the real solutions of polynomial systems, such as the steady-state problem, amongst many others.  The new RegularChains features in Maple 16 include:

• 

set theoretical operations for semi-algebraic sets (Complement,  Difference , Intersection, IsContained,  IsEmpty, Projection),

• 

new solvers for popular types of systems (LinearSolve, RealComprehensiveTriangularize),

• 

a new command, SuggestVariableOrder, for heuristically selecting a good variable order for computing a triangular decomposition of a polynomial system

• 

significant enhancements and performance improvements for the Triangularize,  RealTriangularize, and CylindricalAlgebraicDecompose   commands

 

The two following applications highlighting these new features.

 

 

Application 1: Stability analysis of a parametric dynamical system

Application 2: Verifying mathematical identities by branch cut analysis

Application 1: Stability analysis of a parametric dynamical system

 

Consider a biological system described by the nonlinear multiple switch model

where the unknowns  represent two protein concentrations and  represents the strength of unrepressed protein expression. This latter quantity is regarded as a time-constant parameter.

The equilibria of  correspond to , or equivalently, , where

 

 

The following two Hurwitz determinants determine the stability of the hyperbolic equilibria of :

 

(1.1)

(1.2)

 

The semi-algebraic system below encodes the asymptotically stable hyperbolic equilibria:

 

(1.3)

 

We solve this problem by first computing a real comprehensive triangular decomposition of  with respect to the parameter , using the new command RealComprehensiveTriangularize:

 

(1.4)

 

This is a decomposition of the original system into several simpler triangular systems and some additional conditions on the parameter :

 

(1.5)

(1.6)

 

Suppose we are interested in those values of  for which the biological system is bistable (that is, there are at least two stable equilibria). This means that we are looking for values of  such that  has at least 2 positive real solutions. We use the RealComprehensiveTriangularize command again and apply it to our previous result :

 

(1.7)

 

The condition on  that we are looking for is given by the second entry:

 

(1.8)

The locations of the stable equilibria are described by the following triangular system from the first entry:

 

(1.9)

 

We now illustrate the result by discussing the special case . From the equations above, there are  stable equilibria given by:

 

(1.10)

(1.11)

 

We verify that the last inequality is satisfied:

 

(1.12)

(1.13)

(1.14)

 

Below, we graphically display trajectories of the dynamical system in the special case. The first plot is a 2D animation, and the second one is a 3D static plot with time as the z-axis. We can see the two stable equilibria well in both plots, but there is also a third, unstable, equilibrium that can be seen best in the 3D plot.

 

(1.15)

   

 

Application 2: Verifying mathematical identities by branch cut analysis

 

Let  be a complex variable. Which of the following two identities holds for all ?

 

 

(2.1)

 

(2.2)

 

In Maple, the branch cut for the square root function  is the negative real axis . If we rewrite  in Cartesian coordinates, we can express that condition by the simple semi-algebraic system . For example (2.1) above, the branch cuts of the three square root functions are, from left to right:

 

(2.3)

(2.4)

(2.5)

 

The following plot depicts these three branch cuts.

 

 

By continuity arguments, it is now sufficient to check the proposed identity (2.1) at finitely many points covering all possible combinations of branch cuts. Such a set of points can be computed using the command CylindricalAlgebraicDecompose:

 

(2.6)

(2.7)

The union of all branch cuts was decomposed into the 7 disjoint intervals above. We pick one sample point for each interval:

(2.8)

We also add one sample point  not contained on any branch cut:

(2.9)

The following graph displays the sample points in relation to the branch cuts.

Now we check whether the identity (2.1) holds for all of these sample points:

(2.10)

(2.11)

 

We conclude that (2.1) is not an identity, and we can even say precisely when it fails: on the first interval , and on the fourth interval .

Now we proceed in the same way for the second proposed identity (2.2). The branch cuts are:

 

(2.12)

(2.13)

(2.14)

(2.15)

(2.16)

We need only 2+1 sample points in this case:

 

(2.17)

(2.18)

(2.19)

Thus we have proved that (2.2) is indeed an identity.


Download Help Document