Important: The diffalg package has been deprecated. Use the superseding package DifferentialAlgebra instead.
For the introduction of transcendental elements (arbitrary constants) or algebraic extensions, refer to the examples in the help page of field_extension.
A ranking is chosen according to which structural properties of a system you want to exhibit. Elimination ranking, orderly ranking, and lexicographic ranking examples follow.
This first example illustrates a purely elimination ranking between two differential indeterminates and . Any derivative of v is greater than any derivative of u.
Rank all derivatives of order less than or equal to 3 by using the derivatives command.
The following example illustrates the default jet notation, and two orderly rankings.
Rank all derivatives of order less than or equal to 3.
The derivatives are first ranked according to their order. You can examine how the order in which the derivation variables are given influences the ranking.
The following example illustrates a lexicographical ranking.
Rank all derivatives of order less than or equal to 3.
The following example illustrates a mixed ranking and its description by using the print_ranking command.
In lists, leftmost elements are greater than rightmost ones.
The derivatives of [w] are ordered by lex:
_U [tau] > _V [phi] when
tau > phi for the lex. order [x, y, z] or
tau = phi and _U > _V w.r.t. the list of indeterminates
Any derivative of [w] is greater than any derivative of [v, u]
The derivatives of [v, u] are ordered by degrevlexB:
_U [tau] > _V [phi] when
|tau| > |phi| or
|tau| = |phi| and tau < phi w.r.t. [z, y, x] or
tau = phi and _U > _V w.r.t. the list of indeterminates
| |
Rank all derivatives of order less than or equal to 2.
The following example illustrates the alternative set up of the ranking.
In lists, leftmost elements are greater than rightmost ones.
The derivatives of [u, v] are ordered by weights:
Weights are [u = 0, v = 4, x = 2, y = 1]
_U [tau] > _V [phi] when
weight (_U [tau]) > weight (_V [phi]) or
weights are equal and _U > _V w.r.t. the list of indeterminates or
weights and indeterminates are equal and
tau > phi for the lex. order [x, y]
| |
Rank all derivatives of order 3 and less: