DEtools
DFactorsols
find solutions of a linear ode using DFactor
Calling Sequence
Parameters
Description
Examples
DFactorsols(lode, v)
DFactorsols(coeff_list, g, x)
lode
-
linear differential equation
v
dependent variable of the lode
coeff_list
list of coefficients of a linear ode
g
right-hand side of equation
x
independent variable of the lode
The DFactorsols routine returns a basis of solutions of a linear ODE. Using bases of linear equations determined by DEtools[DFactor], it factorizes the equation into smaller parts.
There are two possible calling sequences. The first calling sequence accepts a linear differential equation in diff or D form as the first argument and the variable in the differential equation as the second argument.
The second form of the calling sequence accepts the list of coefficients of a linear ode as the first argument, the right-hand side of such an equation for the second argument, and the independent variable of the lode as the third argument. This form of calling sequence is convenient for programming with the DFactorsols 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.
In the case of a homogeneous equation, a basis is returned in the form of a list. In the nonhomogeneous case, the return value is a two-element list, with the first element a basis for the homogeneous case and the second element a particular solution.
This function is part of the DEtools package, and so it can be used in the form DFactorsols(..) only after executing the command with(DEtools). However, it can always be accessed through the long form of the command by using DEtools[DFactorsols](..).
with⁡DEtools:
ode≔t2+t⁢diff⁡z⁡t,`$`⁡t,3−t2−2⁢diff⁡z⁡t,`$`⁡t,2−t+2⁢diff⁡z⁡t,t=0:
DFactorsols⁡ode,z⁡t
1,ln⁡t,ⅇt
ode≔t2+t⁢diff⁡z⁡t,`$`⁡t,3−t2−2⁢diff⁡z⁡t,`$`⁡t,2−t+2⁢diff⁡z⁡t,t=3⁢t⁢t+12:
1,ln⁡t,ⅇt,−13⁢t3−32⁢t2−3⁢t
ode≔t2+t⁢D3⁡z⁡t−t2−2⁢D2⁡z⁡t−t+2⁢D⁡z⁡t=3⁢t⁢t+12:
ode_list≔0,−t+2,−t2−2,t2+t:
DFactorsols⁡ode_list,3⁢t⁢t+12,t
ode≔diff⁡z⁡t,`$`⁡t,3−diff⁡z⁡t,`$`⁡t,2−t⁢diff⁡z⁡t,t+t⁢z⁡t:
ⅇt,∫AiryAi⁡t⁢ⅇ−tⅆt⁢ⅇt,∫AiryBi⁡t⁢ⅇ−tⅆt⁢ⅇt
ode≔diff⁡z⁡t,`$`⁡t,3−diff⁡z⁡t,`$`⁡t,2−t⁢diff⁡z⁡t,t+t−1⁢z⁡t:
AiryAi⁡t,AiryBi⁡t,−AiryAi⁡t⁢∫AiryBi⁡t⁢ⅇtⅆt+∫AiryAi⁡t⁢ⅇtⅆt⁢AiryBi⁡t
See Also
dcoeffs
DEtools[DFactor]
dsolve
Download Help Document