evaluate the differential order of an algebraic expression
algebraic expression, equation, inequation, set, or list
(optional) variable with respect to which the differential order must be evaluated
The difforder command returns the general or particular differential order of a partial derivative or of an algebraic expression (or equation, inequation, set, or list). When called with only one argument, it returns the general differential order. When the first argument is an algebraic expression, then the order is given by the maximum order occurring inside it. If difforder is called with two arguments, it returns the differentiation order with respect to the indicated variable. difforder also works with anticommutative variables set using the Physics package.
In the case of a DESol structure, that is, an object that represents an ODE solution (no derivatives) but is written in terms of the differential equation (with derivatives), the difforder command returns the differential order of the highest derivative in the DESol structure. Derivatives of a DESol structure representing the solution of a linear ODE are of the same differential order as the DESol structure, because, given the solution of a linear ODE written in terms of the differential equation (that is a DESol structure), the derivative of this solution satisfies a linear ODE of the same order (see convert,DESol).
This function is part of the PDEtools package, and so it can be used in the form difforder(..) only after executing the command with(PDEtools). However, it can always be accessed through the long form of the command by using PDEtools[difforder](..).
eq1 ≔ ∂5∂v3⁢∂u2⁢f⁡u,v
eq2 ≔ D1,2,2,3,3,3⁡f⁡x,y,z
eq3 ≔ h⁡t⁢∂5∂z3⁢∂x2⁢f⁡x,y,z+h⁡x,y,z⁢∂∂x⁢D2,2,2,2⁡j⁡x,y,z
The following example uses difforder with an equation as the first argument.
eq4 ≔ ∂5∂z3⁢∂x2⁢f⁡x,y,z=∂6∂x⁢∂y5⁢j⁡x,y,z
An example with an inequation as the first argument:
eq5 ≔ ∂5∂z3⁢∂x2⁢f⁡x,y,z≠∂6∂x⁢∂y5⁢j⁡x,y,z
An example with DESol. The differential order is, by convention, that of the highest derivative.
The derivative of a DESol structure has, by convention, the same differential order.
Download Help Document