Algebraic systems can be examined with maxdimsystems
>
|
|
| (1) |
In the below example, inequations are given in the Pivots list, and the dimension is 2
>
|
|
| (2) |
This next example has a constraint on the classvars present in the result
>
|
|
| (3) |
In each of the above examples maxdimsystems picked out the maximum dimensional case. This is in contrast to rifsimp, with its casesplit option, which obtains all cases.
For the second example, computation with rifsimp using casesplit gives 2-d, 1-d and 0-d cases, of which the 2-d case is the maximal case from the above example.
>
|
|
| (4) |
from which the caseplot with initial data counts could be viewed by issuing the command:
One example of practical use of maxdimsystems is the determination of the forms of (where is not identically zero) for which the ode has the maximum dimension.
>
|
|
| (5) |
>
|
|
| (6) |
where the above is an overdetermined system of PDE in the infinitesimal symmetries .
So we compute the maximum dimensional case, which is not displayed as it is quite large:
>
|
|
>
|
|
| (11) |
from which we see that we have one case, of dimension 8, and it occurs when the displayed ODE in is satisfied. This classical result is also explored in the ISSAC Proc. article listed in the references (the primary reference for this command).
The timing above should be compared to the rifsimp full case analysis that takes significantly longer, and has a great number of lower dimensional cases:
>
|
|
Consider the nonlinear Heat equation
>
|
|
| (14) |
The overdetermined system for it's symmetries is given by
>
|
|
At the same time as determining maximum dimensional cases, one can request, through a partitioning of the maxdimvars, that the dependent variables be ranked in a specific manner. To always isolate derivatives of in terms of the other dependent variables, one could specify maxdimvars=[[U],[X,T]]. For this problem we would obtain
>
|
|
| (15) |
Alternatively we could try to obtain PDE only in and the classifying function by an elimination ranking:
>
|
|
| (16) |
where you can see from the above that we have three PDE for alone (which can be quite easily solved for in terms of a function that is linear in with coefficients as integrals in depending on ).
Both computations show that maximal group is of dimension 5, and occurs when satisfies . This is a known result (see the Bluman/Kumei reference).
In determining how a specific ranking will be used in a system, one should consult the checkrank help page.
The final example demonstrates how to find near-maximal cases, and how to obtain -style output. Say we want all cases having dimension 4 or greater, and we want rifsimp output (so we can display the information in a case plot). This can be done as follows:
>
|
|
| (17) |
All cases where the initial data was smaller than the bound are tagged with a status of "free count fell below mindim". This calculation can then be displayed in a caseplot with the command:
>
|
|