DEtools
adjoint
return the adjoint of a differential operator
Calling Sequence
Parameters
Description
Examples
adjoint(L, domain)
adjoint(eqn, dvar)
L
-
differential operator
domain
list containing two names
eqn
homogeneous linear differential equation
dvar
dependent variable
If the input L is the differential operator a0⁢Dx0+...+an⁢Dxn, then the output is −1n⁢mult⁡−Dx0,a0+...+mult⁡−Dxn,an.
The adjoint has the following properties: adjoint(adjoint(L)) = L and mult(adjoint(L), adjoint(M)) = adjoint(mult(M,L)). So applying the adjoint results in switching the order of multiplication; the adjoint is an anti-automorphism of C(x)[Dx], multiplied by −1n.
The argument domain describes the differential algebra. If this argument is the list Dx,x, then the differential operators are notated with the symbols Dx and x. They are viewed as elements of the differential algebra C(x)[Dx] where C is the field of constants.
If the argument domain is omitted, then the differential specified by the environment variable _Envdiffopdomain is used. If this environment variable is not set then the argument domain may not be omitted.
Instead of a differential operator, the input can also be a linear homogeneous differential equation eqn. In this case the second argument dvar must be the dependent variable.
This function is part of the DEtools package, and so it can be used in the form adjoint(..) only after executing the command with(DEtools). However, it can always be accessed through the long form of the command by using DEtools[adjoint](..).
with⁡DEtools:
_Envdiffopdomain≔Dx,x
L≔Dx5+2⁢x3⁢Dx3+6⁢x2⁢Dx2+6⁢x⁢Dx+x6⁢Dx+1
L≔x6⁢Dx+2⁢x3⁢Dx3+Dx5+6⁢x2⁢Dx2+6⁢x⁢Dx+1
adjoint⁡L
Dx5+2⁢x3⁢Dx3+12⁢x2⁢Dx2+x6⁢Dx+18⁢x⁢Dx+6⁢x5+5
adjoint⁡
Dx5+2⁢x3⁢Dx3+6⁢x2⁢Dx2+x6⁢Dx+6⁢x⁢Dx+1
adjoint⁡diff⁡y⁡x,x+y⁡x,y⁡x
−y⁡x+ⅆⅆxy⁡x
See Also
DEtools[mult]
diffop
Download Help Document