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, and 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 steadystate problem, amongst many others. The new RegularChains features in Maple 16 include:
• 
Set theoretical operations for semialgebraic 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 highlight some of these new features.

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 timeconstant parameter.
The equilibria of correspond to , or equivalently, , where
The following two Hurwitz determinants determine the stability of the hyperbolic equilibria of :
The semialgebraic system below encodes the asymptotically stable hyperbolic equilibria:
We solve this problem by first computing a real comprehensive triangular decomposition of P, with respect to the parameter s, using the new command RealComprehensiveTriangularize:
This is a decomposition of the original system into several simpler triangular systems and some additional conditions on the parameter :
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 :
The condition on that we are looking for is given by the second entry:
The locations of the stable equilibria are described by the following triangular system from the first entry:
We now illustrate the result by discussing the special case . From the equations above, there are stable equilibria given by:
We verify that the last inequality is satisfied:
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 zaxis. 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.


Application 2: Verifying mathematical identities by branch cut analysis


Let be a complex variable. Which of the following two identities holds for all ?
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 semialgebraic system . For example, in identity1 above, the branch cuts of the three square root functions are, from left to right:
The following plot depicts these three branch cuts.
By continuity arguments, it is now sufficient to check the proposed identity at finitely many points covering all possible combinations of branch cuts. Such a set of points can be computed using the command CylindricalAlgebraicDecompose. This example takes advantage of one of the newly supported output types for this command, added in Maple 16.
The union of all branch cuts was decomposed into the 7 disjoint intervals above. We pick one sample point for each interval:
We also add one sample point not contained on any branch cut:
The following graph displays the sample points in relation to the branch cuts.
Now we check whether the identity identity1 holds for all of these sample points:
We conclude that identity1 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 identity2. The branch cuts are:
We need only 2+1 sample points in this case:
Thus we have proved that identity2 is indeed an identity.

Legal Notice: © Maplesoft, a division of Waterloo Maple Inc. 2012. Maplesoft and Maple are trademarks of Waterloo Maple Inc. This application may contain errors and Maplesoft is not liable for any damages resulting from the use of this material. This application is intended for noncommercial, nonprofit use only. Contact Maplesoft for permission if you wish to use this application in forprofit activities.
