Overview of the DEtools[rifsimp] Command - Maple Help

Online Help

All Products    Maple    MapleSim

Home : Support : Online Help : Mathematics : Differential Equations : Rif : rifsimp usage : DEtools/rifsimp/overview

Overview of the DEtools[rifsimp] Command



The rifsimp algorithm is essentially an extension of the Gaussian elimination and Groebner basis algorithms to systems of nonlinear PDEs.


This help page presents successively more involved examples of the use of rifsimp for the simplification of systems of equations, explaining what the algorithm does, and introducing ideas that are helpful for effective use of the algorithm.


Example 1: rifsimp form of a linear algebraic system





This is the same result that one would expect from the Gaussian elimination algorithm. Note that rifsimp has chosen to solve for x and y in terms of z. For this problem the order of solving, called a ranking, is x > y > z (the default ranking for rifsimp). Given the inequality, rifsimp looks at the unknowns in an equation, and chooses the greatest one to solve for. This is a purely illustrative example, because Maple has specialized functions that solve such systems.

Example 2: rifsimp form of a linear ODE system







As described in the prior example, rifsimp requires a ranking to determine the unknown for which to solve in an equation. For this ODE system, the ranking (using prime notation for derivatives) defaults to the following:


So the first equation is solved for x' giving x' = 3*x. The second equation is then differentially simplified with respect to the first, and gives 3*x'-2*x = 0 after the first simplification, and finally 7*x = 0 after the second. This equation is then solved for x, then back substitution into the first equation gives 0 = 0.

For more general systems, rifsimp accounts for all of the derivative consequences of a system in a systematic and rigorous way.

Example 3: rifsimp form of a nonlinear algebraic system







The output was returned in the Constraint entries which means algebraic constraints as opposed to differential constraints. For this system, rifsimp gives the Groebner basis form of the algebraic system as output, as can be seen by running the Groebner package on the same system (with the appropriate ranking).




In general, rifsimp on algebraic systems is closer to a factoring case splitting Groebner basis (see rifsimp[nonlinear], and Maple's Groebner package).  rifsimp does not use Maple's Groebner package, but instead its own, optimized for differential elimination.

Example 4: rifsimp form of a nonlinear ODE system







Now the output is present in both the Solved and Constraint lists. The equation is present in the constraint list because the leading indeterminate of the equation occurs nonlinearly (for information on the leading indeterminate, please see rifsimp[ranking]). Again, to obtain the answer, a ranking of the derivatives was required. The ranking used ranks "higher derivatives in x(t) before lower derivatives". This is a fairly standard ranking called the total degree ranking.

It is clear that the solution of the constraint equation gives xt&equals;constant, so from that point of view, the equation in the derivative of xt is redundant, but it needs to be retained for the proper functioning of other algorithms, such as initialdata, and rtaylor. The additional equation in the Solved is a differential consequence of the Constraint, as can be verified through differentiation. This redundant equation is called a spawn equation, as it is a differential constraint spawned (through differentiation by t) from the nonlinear equation. Redundant equations can be removed with the clean or fullclean options as follows (see rifsimp[options]):







Example 5: rifsimp form of a linear PDE system







In this example, rifsimp used the default ranking (where indices are used to denote differentiation)


This ranking satisfies the following properties:


It is preserved under differentiation (u < u[x] implies u[x] < u[xx]).


u is less than any derivative of u.

These two properties are crucial for the termination of the algorithm. Fortunately, the default rankings chosen by rifsimp obey these properties, so these do not have to be considered. In general, many such orderings are possible, and methods for specifying them are discussed in rifsimp[ranking] and checkrank.

As an illustration, we will manually simplify the above system to rifsimp form. As the first step, we solve each equation for its leading derivative (given the ranking described above). This gives  u[xx] = y u[x] and u[y] = 0. Alas, we do not have our final answer, but no differential simplifications remain. How is this possible? Well, for PDE systems we have one further consideration called integrability conditions.

After looking at our solved system for a time, we may realize that differentiation of the first equation by y and differentiation of the second equation by x twice will give the derivative u[xyy] on the left hand side of both equations. If the solution to the system is differentiable to third order (an assumption implicitly made by rifsimp), we differentiate the equations to the described order and subtract, giving the new, nontrivial equation


Differential simplification of this equation with respect to the current system yields u[x] = 0, which is then used to simplify the system and give us the answer returned by rifsimp.

To summarize, for systems of linear PDEs, the rifsimp form of the system can be obtained by the following heavily simplified algorithm, for a given input ranking <:

 Rifsimp-Linear(input: system, <)

    neweqns := system

    rifsys := empty

    while neweqns not empty do

       rifsys := rifsys union neweqns

       rifsys := diff-gauss-elim(rifsys,rifsys,<)

       neweqns := integrability-cond(rifsys)

       neweqns := diff-gauss-elim(neweqns,rifsys,<)




Care must be taken in how the diff-gauss-elim routine operates on the solved rifsys.

Example 6: rifsimp form of a nonlinear PDE system

This system is considered in the paper Reid et al., 1996 (see Rif) and is used as an example in Rust, 1998. For the ranking u<ux<uy<uxx<uxy<uyy<..., the initial system consists of one leading linear PDE, uxxuxy&equals;0 (with leading derivative uxx), and one leading nonlinear, PDE uy2u&plus;uy&equals;0 (with leading derivative uy). No linear elimination can be done in the single leading linear PDE, so the leading nonlinear PDE is differentiated with respect to both independent variables to spawn the two leading linear PDEs: 2uy+1uxyux=0 and 2uy+1uyyuy=0 (for more information on spawning, see rifsimp[nonlinear]). These are solved for their leading derivatives, yielding uxy=ux2uy+1 and uyy=uy2uy+1, subject to the pivot or inequation condition 2uy+1<>0. Integrability conditions are then taken across the leading linear PDE and simplified subject to the system, yielding one more PDE: uxuyux2=0. When this equation is spawned, the resulting equations vanish to zero upon reduction by the current system, so the algorithm then terminates. In summary, constraints are treated algebraically, and the leading linear equations are treated differentially. The system is then viewed modulo the constraint equations, using the concept of a relative basis, rigorously described in the thesis of Rust (see references on the Rif help page).







Example 7: rifsimp form of a nonlinear PDE system with cases

This problem arises from the determination of Lie symmetry groups for different values of a,b for the ODE:




The Lie symmetry determining equation can be obtained through use of the DEtools[odepde] function as follows:




When viewed as a system in xi and eta, it is a linear system, but if we are also considering a,b to be unknowns, the system becomes effectively nonlinear. Now what we want to accomplish is to find the equations for the symmetry generators for all values of a,b. We can do this by allowing rifsimp to perform case splitting on the system using the casesplit option (see rifsimp[cases] for more detail).




The structure of the output of rifsimp has changed form into a recursive table for multiple cases. The returned table has a casecount entry, and individual rifsimp answers for each case indexed by the numbers 1&comma;2&comma;3. For the three cases, the form of the Solved equations for xi,eta is different. This indicates that for different values of a,b the structure of the Lie symmetry group is different, and provides the systems that must be satisfied for each group. This case splitting also covers all possible values of a,b, so it fully describes the dependence of the determining system on these values, and no other systems for other values of  a,b exist.

The  structure of the case tree can be observed in a plot using caseplot.


See Also

caseplot, checkrank, DEtools[odepde], Groebner, Rif, rifsimp, rifsimp[cases], rifsimp[nonlinear], rifsimp[rankings]

Download Help Document

Was this information helpful?

Please add your Comment (Optional)
E-mail Address (Optional)
What is ? This question helps us to combat spam