DEtools
eulersols
find solutions of an Euler type of linear ODE
Calling Sequence
Parameters
Description
Examples
eulersols(lode, v)
eulersols(coeff_list, x)
lode
-
homogeneous linear differential equation
v
dependent variable of the lode
coeff_list
list of coefficients of a linear ode
x
independent variable of the lode
The eulersols routine returns a basis of the space of solutions of a linear differential equation of Euler type (also sometimes called Cauchy or Legendre type). These are equations of the form
pn⁢a⁢x+bn⁢yn⁢x+...+p1⁡a⁢x+b⁢y⁢' ⁢x+p0⁢y⁡x=0
There are two input forms. The first has as the first argument a linear differential equation in diff or D form and as the second argument the variable in the differential equation.
A second input sequence accepts for the first argument the list of coefficients of a linear ode, and for the second argument the independent variable of the lode. This input sequence is convenient for programming with the eulersols routine.
In the second calling sequence, the list of coefficients is given in order from low differential order to high differential order and does not include the nonhomogeneous term.
This function is part of the DEtools package, and so it can be used in the form eulersols(..) only after executing the command with(DEtools). However, it can always be accessed through the long form of the command by using DEtools[eulersols](..).
with⁡DEtools:
ode≔t2⁢diff⁡z⁡t,`$`⁡t,2−t⁢diff⁡z⁡t,t−3⁢z⁡t=0:
eulersols⁡ode,z⁡t
t3,1t
ode≔t3⁢D3⁡z⁡t+3⁢t2⁢D2⁡z⁡t−2⁢t⁢D⁡z⁡t+2⁢z⁡t=0
1t2,t,t⁢ln⁡t
ode≔t2−2⁢t+1⁢diff⁡z⁡t,`$`⁡t,2−t−1⁢diff⁡z⁡t,t−3⁢z⁡t=0:
t−13,1t−1
eulersols⁡−3,1−t,t2−2⁢t+1,t
This routine also outputs the answer in RootOf form in some cases:
ode≔3⁢t5⁢D5⁡z⁡t+t2⁢D2⁡z⁡t−t⁢D⁡z⁡t−3⁢z⁡t=0
t3,tRootOf⁡3⁢_Z4−21⁢_Z3+42⁢_Z2−23⁢_Z+1,index=1,tRootOf⁡3⁢_Z4−21⁢_Z3+42⁢_Z2−23⁢_Z+1,index=2,tRootOf⁡3⁢_Z4−21⁢_Z3+42⁢_Z2−23⁢_Z+1,index=3,tRootOf⁡3⁢_Z4−21⁢_Z3+42⁢_Z2−23⁢_Z+1,index=4
See Also
dcoeffs
dsolve
Download Help Document