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

Online Help

All Products    Maple    MapleSim


DEtools[rifsimp] Common Options

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

rifsimp(system, options)

rifsimp(system, vars, options)

Parameters

system

-

list or set of polynomially nonlinear PDEs or ODEs (may contain inequations)

vars

-

(optional) list of the main dependent variables

options

-

(optional) sequence of options to control the behavior of rifsimp

Description

• 

The rifsimp options are given after the input system, and optionally the vars. The following are the most commonly used options:

• 

vars

  

This is the optional second argument to rifsimp. It indicates which indeterminates are to be solved for. By default rifsimp attempts to solve for all dependent variables with the same differential order and differentiations with equal precedence, breaking ties alphabetically. rifsimp solves for constants when only constants remain in an equation.

  

The selection of the solving indeterminate (called the leading indeterminate) of an equation is performed based on the ranking imposed on the system. This argument can be used in nested list form to modify the indeterminates to solve for. For example, if fx, gx, and hx were the dependent variables of a problem, and we wanted to isolate all of these with equal precedence, we could specify vars as f,g,h. If instead we wanted to eliminate fx from as much of the system as possible, we could specify f,g,h instead, which tells rifsimp to solve for fx and its derivatives with higher precedence than gx, hx and any of their derivatives, regardless of the differential order of fx. Under this nested list ranking, and equation of the form g'''fg''h''=0 would be solved for f giving f=g''h''g'''. See rifsimp[ranking] and checkrank for more detail.

• 

 indep=[ind1,ind2,...] 

  

This option specifies the names of the unknowns to be treated as independent variables. By default, only those unknowns given in the dependency list of all unknown functions in the input system are considered to be independent variables. All other unknowns are considered constants. Treating an independent variable as though it were a constant will result in an incomplete answer, so you must use this option when required (see examples below). Please note that rifsimp always views unknowns present in a dependency list of an unknown function as independent variables, even when not specified by this option.

  

The order in which the independent variables are specified in this option affects the selection of the leading indeterminate (the indeterminate to be solved for) in an equation. See rifsimp[ranking] and checkrank for details.

• 

 arbitrary=[v1,v2,...] 

  

This option specifies a list of parameters or functions that should be treated as arbitrary. Any special cases where these parameters or functions take on specific values are rejected as inconsistent cases. Note: This means that no relations purely in the arbitrary parameters or functions can be present in the input system (with the sole exception of dependency related equations such as yfx,y=0). If a constraint is required for one of these unknowns, then it is no longer truly arbitrary, but rather restricted, so at least one of the unknowns in the constraint must be a solving variable.

  

This option generalizes the concept of a field of constants as used in the DifferentialAlgebra package to functions of the independent variables. It is most useful when only generic results are needed, but it may be the case that the result is invalid for specific values of these parameters (for example, if a was a parameter, and it occurred as a denominator, then the solution is only valid for a0).

• 

casesplit

  

This option indicates that the program should explore all cases. A case split is most often introduced when, among the remaining unsolved equations, there is an equation that is linear in its highest ranked indeterminate (called the leading indeterminate, see rifsimp[ranking] or checkrank), and the coefficient of that indeterminate (called the pivot) may or may not be zero (see rifsimp[cases]) .

  

Isolation of the leading indeterminate in this equation introduces a case split -- namely the two possibilities, pivot <> 0 and pivot = 0. The more generic case, pivot <> 0, is explored first. Once that case (possibly containing further case splits) is completed, the case with pivot = 0 is explored. This results in a case tree, which can be represented graphically (see caseplot).

  

In addition to producing multiple cases, this option changes the output of rifsimp. For more detail, see rifsimp[output].

• 

gensol

  

This option indicates that the program should explore all cases that have the possibility of leading to the most general solution of the problem. Occasionally it is possible for rifsimp to compute only the case corresponding to the general solution of the ODE/PDE system. When this option is given, and this occurs, rifsimp will return the single case corresponding to the general solution. When it is not possible for rifsimp to detect (during the computation) where in the case tree the general solution is, then multiple cases are returned, one or more of which correspond to the general solution of the ODE/PDE system, and others may correspond to singular solutions. For some particularly difficult problems, it is possible that the entire case tree is returned. This option is not a post-processing option, as it is designed primarily to reduce the explored cases to those that will contain the general solution, so in some cases the output will contain cases that are clearly singular in comparison to others. If only very specific initial data is required for the output cases, the maxdimsystems command should be used instead. Note: this option cannot be used with the casesplit,casecount, and mindim options.

• 

ctl=time

  

This option imposes a limit on the amount of time (in CPU seconds) that would be required to compute each case from scratch (i.e. using the extended option casesplit=&lsqb;...&rsqb; described in rifsimp[adv_options]). It is clear that this option may count computation time more than once, as the time prior to a case split is counted for each case after the split. This bounds the total time consumed to be no greater than the imposed limit times the number of cases obtained (and most often, significantly less as per the prior comment). For highly nonlinear systems, it may be impossible to obtain all cases in a reasonable amount of time. Use of this option allows the simpler cases to be computed, and the more expensive cases to be deferred. Note: there are two other time limit related options, stl and itl, and these are discussed in the rifsimp[adv_options] page.

• 

clean=[cleaning criteria]

  

This option is a fine-tuning control over the system(s) output by rifsimp. There are three types of cleaning that the algorithm can perform:

  

Pivots: These are the inequations resulting from case splitting in the system (or present on input). As an example, consider the pivot &DifferentialD;&DifferentialD;xfx0. This pivot clearly implies that fx0, so on completion, the pivot fx0 is considered to be redundant. There are three options for specification of pivot cleaning:

nopiv

perform no cleaning, returning all pivots obtained

 

in the course of the computation.

piv

perform cleaning of obvious redundant pivots (i.e.

 

those that can be detected by inspection of the

 

pivots list on output.

fullpiv

perform thorough cleaning of pivots, including

 

removal of pivots that are redundant only for

 

solutions of the output case/system.

  

Note that the fullpiv criteria may remove pivots that would require a great deal of computation to recover. For example, consider the simple case described earlier for &DifferentialD;&DifferentialD;xfx0. If later in the algorithm, &DifferentialD;&DifferentialD;xfx was reduced, and looked nothing like the original pivot, on completion fx0, which is a consequence of the original pivot, would be removed.

  

One-Term Equations: These are simply equations of the form derivative=0. These are retained in the course of the computation (for efficiency) even when they reduce modulo one of the other equations of the system. These equations can be quite helpful in attempting to integrate of the results of rifsimp. The oneterm criteria indicates that the redundant one-term equations should be removed, while nooneterm indicates that they should be retained.

  

Spawn: The spawning process is only used with nonlinear equations in rifsimp, and results in equations that are derivatives of any nonlinear equations in the output. These spawned equations are necessary for the proper running of initialdata and rtaylor. The following options specify spawned equation cleaning:

nospawn

do not remove any redundant spawned equations

spawn

remove any redundant spawned equations that are guaranteed

 

to retain the same solution structure

fullspawn

remove all possibly redundant spawned equations.

  

Note: Use of the fullspawn option may enlarge the solution space by removing too many equations (the remaining system still always contains the solutions, though it may contain more).

  

By default, the clean settings are piv&comma;oneterm&comma;nospawn.

• 

fullclean

  

This is a shortcut specification for the clean options for rifsimp (see above). This corresponds to the specification clean=fullpiv&comma;oneterm&comma;spawn.

Examples

withDEtools&colon;

This example highlights the difference between treating the unknown y as a constant and treating it as an independent variable; by default, the code assumes that y is a constant.

sys1yfx+gx

sys1yfx+gx

(1)

rifsimpsys1

tablePivots=y0&comma;Case=y0&comma;fx&comma;Solved=fx=gxy

(2)

Specification of y as an independent variable gives the following.

rifsimpsys1&comma;indep=x&comma;y

tableSolved=fx=0&comma;gx=0

(3)

This next example demonstrates the use of the casesplit option. We consider the Lie-symmetry determining system for the following ODE:

ODEdiffyx&comma;x&comma;x+2yx+fxdiffyx&comma;x+difffx&comma;xyx

ODE&DifferentialD;2&DifferentialD;x2yx+2yx+fx&DifferentialD;&DifferentialD;xyx+&DifferentialD;&DifferentialD;xfxyx

(4)

The Lie symmetries are given as the solution of the following system of determining PDEs (as generated using DEtools[odepde]):

syscoeffsexpandDEtoolsodepdeODE&comma;ξx&comma;y&comma;ηx&comma;y&comma;yx&comma;_y1

sys2y2ξx&comma;y&comma;4yξx&comma;yy+2yξx&comma;yfx+2y2ηx&comma;y22xyξx&comma;y&comma;2xξx&comma;yy+xξx&comma;yfx+ξx&comma;y&DifferentialD;&DifferentialD;xfx+22xyηx&comma;y2x2ξx&comma;y+2ηx&comma;y+3yξx&comma;y&DifferentialD;&DifferentialD;xfxy&comma;2xξx&comma;y&DifferentialD;&DifferentialD;xfxyyηx&comma;y&DifferentialD;&DifferentialD;xfxy+ξx&comma;y&DifferentialD;2&DifferentialD;x2fxy+2x2ηx&comma;y+ηx&comma;y&DifferentialD;&DifferentialD;xfx+2xηx&comma;yy+xηx&comma;yfx

(5)

So running this system with rifsimp:

ansrifsimpsys&comma;ξ&comma;η&colon;

ansSolved

ξx&comma;y=0&comma;ηx&comma;y=0

(6)

And we see that the given ODE has no point symmetries for general fx.

We may want to know if there are particular forms of fx for which point symmetries exist (this is called a classification problem). Running rifsimp with casesplit:

ansrifsimpsys&comma;ξ&comma;η&comma;casesplit&colon;

anscasecount

4

(7)

so we see there are cases.

We could use the caseplot command to give a pictorial view of the case tree with the following command.

caseplotans

Looking at case 3 in detail:

copyans3

tablePivots=&DifferentialD;&DifferentialD;xfx0&comma;Case=2&DifferentialD;&DifferentialD;xfx2fx+2&DifferentialD;&DifferentialD;xfx2y+&DifferentialD;2&DifferentialD;x2fxfx2+2&DifferentialD;2&DifferentialD;x2fxfxy+&DifferentialD;3&DifferentialD;x3fxfx+2&DifferentialD;3&DifferentialD;x3fxy3&DifferentialD;&DifferentialD;xfx&DifferentialD;2&DifferentialD;x2fx=0&comma;ξx&comma;y&comma;&DifferentialD;&DifferentialD;xfx0&comma;&DifferentialD;2&DifferentialD;x2fx&comma;Solved=xξx&comma;y=ξx&comma;y&DifferentialD;&DifferentialD;xfx2ηx&comma;yfx+2y&comma;xηx&comma;y=&DifferentialD;&DifferentialD;xfxξx&comma;yfx2+2ξx&comma;yfxy+2ξx&comma;y&DifferentialD;&DifferentialD;xfx+4ηx&comma;y2fx+4y&comma;yξx&comma;y=0&comma;yηx&comma;y=ξx&comma;y&DifferentialD;&DifferentialD;xfx2ηx&comma;yfx2y&comma;&DifferentialD;2&DifferentialD;x2fx=&DifferentialD;&DifferentialD;xfxfx

(8)

so we see we have a 2 parameter Lie group for the specific form of fx given by:

dsolvedifffx&comma;x&comma;x=fxdifffx&comma;x

fx=tanhx+c__222c__12c__1

(9)

See Also

caseplot

checkrank

DEtools[odepde]

maxdimsystems

rifsimp

rifsimp[adv_options]

rifsimp[cases]

rifsimp[output]

rifsimp[ranking]