powseries
powsolve
solve linear differential equations as power series
Calling Sequence
Parameters
Description
Examples
powsolve(sys)
sys
-
set or expression sequence containing a linear differential equation and optional initial conditions
The function powsolve solves a linear differential equation for which initial conditions do not have to be specified.
All the initial conditions must be at zero.
Derivatives are denoted by applying D to the function name. For example, the second derivative of y at 0 is DDy0.
The solution returned is a formal power series that represents the infinite series solution.
In some cases, after assigning the name a to the output from the powsolve command, you can enter the command a(_k) to output a recurrence relation for the power series solution. See examples below.
The command with(powseries,powsolve) allows the use of the abbreviated form of this command.
withpowseries:
a≔powsolvediffyx,x=yx,y0=1:
tpsforma,x
1+x+12x2+16x3+124x4+1120x5+Ox6
a_k
a_k−1_k
second system
v≔powsolvediffyx,`$`x,4=yx,y0=32,Dy0=−12,DDy0=−32,DDDy0=12:
tpsformv,x
32−12x−34x2+112x3+116x4−1240x5+Ox6
See Also
Download Help Document