evaluate the differential order of an algebraic expression - Maple Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Mathematics : Differential Equations : PDEtools : PDEtools/difforder

PDEtools[difforder] - evaluate the differential order of an algebraic expression

Calling Sequence

difforder(a, x)

Parameters

a

-

algebraic expression, equation, inequation, set, or list

x

-

(optional) variable with respect to which the differential order must be evaluated

Description

• 

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](..).

Examples

withPDEtools:

eq1:=5v3u2fu,v

eq1:=5v3u2fu,v

(1)

diffordereq1,diffordereq1,u,diffordereq1,v

5,2,3

(2)

eq2:=D1,2,2,3,3,3fx,y,z

eq2:=D1,2,2,3,3,3fx,y,z

(3)

diffordereq2,diffordereq2,x,diffordereq2,y,diffordereq2,z

6,1,2,3

(4)

diffordergx

0

(5)

eq3:=ht5z3x2fx,y,z+hx,y,zxD2,2,2,2jx,y,z

eq3:=ht5z3x2fx,y,z+hx,y,zxD2,2,2,2jx,y,z

(6)

diffordereq3,x,diffordereq3,y,diffordereq3,z,diffordereq3,t

2,4,3,0

(7)

The following example uses difforder with an equation as the first argument.

eq4:=5z3x2fx,y,z=6xy5jx,y,z

eq4:=5z3x2fx,y,z=6y5xjx,y,z

(8)

diffordereq4

6

(9)

diffordereq4,x

2

(10)

An example with an inequation as the first argument:

eq5:=5z3x2fx,y,z6xy5jx,y,z

eq5:=5z3x2fx,y,z6y5xjx,y,z

(11)

diffordereq5

6

(12)

An example with DESol. The differential order is, by convention, that of the highest derivative.

DESolfx_Yx+ⅆ2ⅆx2_Yx,_Yx

DESolfx_Yx+ⅆ2ⅆx2_Yx,_Yx

(13)

difforder

2

(14)

The  derivative of a DESol structure has, by convention, the same differential order.

x

ⅆⅆxDESolfx_Yx+ⅆ2ⅆx2_Yx,_Yx

(15)

difforder

2

(16)

See Also

DEtools, PDEtools, Physics, Setup


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