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 D⁡D⁡y⁡0.
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.
with⁡powseries:
a≔powsolve⁡diff⁡y⁡x,x=y⁡x,y⁡0=1:
tpsform⁡a,x
1+x+12⁢x2+16⁢x3+124⁢x4+1120⁢x5+O⁡x6
a⁡_k
a⁡_k−1_k
second system
v≔powsolve⁡diff⁡y⁡x,`$`⁡x,4=y⁡x,y⁡0=32,D⁡y⁡0=−12,D⁡D⁡y⁡0=−32,D⁡D⁡D⁡y⁡0=12:
tpsform⁡v,x
32−12⁢x−34⁢x2+112⁢x3+116⁢x4−1240⁢x5+O⁡x6
See Also
Download Help Document