Student[ODEs][Solve]
ByPerturbation
Solve a second order ODE by the perturbation method
Calling Sequence
Parameters
Description
Examples
Compatibility
ByPerturbation(ODE, IC, y(x), epsilon, n)
ODE
-
a second order ordinary differential equation by the perturbation method
IC
set; a set of initial conditions
y
name; the dependent variable
x
name; the independent variable
epsilon
name; the perturbation parameter
n
positive integer; the order of the approximation
The ByPerturbation(ODE, y(x)) command finds the solution of a second order ODE by the perturbation method.
Use the option output=steps to make this command return an annotated step-by-step solution. Further control over the format and display of the step-by-step solution is available using the options described in Student:-Basics:-OutputStepsRecord. The options supported by that command can be passed to this one.
with⁡StudentODEsSolve:
ode1≔diff⁡y⁡x,x,x+y⁡x−sin⁡ε⁢y⁡x=0
ode1≔ⅆ2ⅆx2y⁡x+y⁡x−sin⁡ε⁢y⁡x=0
ic1≔eval⁡diff⁡y⁡x,x,x=0=1,y⁡0=0
ic1≔ⅆⅆxy⁡xx=0|ⅆⅆxy⁡xx=0=1,y⁡0=0
ByPerturbation⁡ode1,ic1,y⁡x,ε,3
y⁡τ=sin⁡τ+sin⁡τ3⁢ε348+O⁡ε4,τ=−ε28−ε2+1+O⁡ε4⁢x
ode2≔diff⁡y⁡x,x,x+4⁢y⁡x+2⁢diff⁡y⁡x,x+ε⁢y⁡x+cos⁡ε⁢y⁡x=0
ode2≔ⅆ2ⅆx2y⁡x+4⁢y⁡x+2⁢ⅆⅆxy⁡x+ε⁢y⁡x+cos⁡ε⁢y⁡x=0
ic2≔eval⁡diff⁡y⁡x,x,x=0=0,y⁡0=−14
ic2≔ⅆⅆxy⁡xx=0|ⅆⅆxy⁡xx=0=0,y⁡0=−14
ByPerturbation⁡ode2,ic2,y⁡x,ε,1
y⁡x=−14+−ⅇ−x⁢sin⁡3⁢x⁢348−ⅇ−x⁢cos⁡3⁢x16+116⁢ε
ode3≔diff⁡y⁡x,x,x+y⁡x+ε⁢y⁡x3=0
ode3≔ⅆ2ⅆx2y⁡x+y⁡x+ε⁢y⁡x3=0
ic3≔eval⁡diff⁡y⁡x,x,x=0=0,y⁡0=1
ic3≔ⅆⅆxy⁡xx=0|ⅆⅆxy⁡xx=0=0,y⁡0=1
ByPerturbation⁡ode3,ic3,y⁡x,ε,2
y⁡τ=cos⁡τ−cos⁡τ⁢sin⁡τ2⁢ε8+sin⁡τ2⁢−cos⁡τ3+25⁢cos⁡τ4⁢ε264+O⁡ε3,τ=−21⁢ε2256+3⁢ε8+1+O⁡ε3⁢x
ode4≔diff⁡y⁡x,x,x+−ε⁢x+1⁢y⁡x=0
ode4≔ⅆ2ⅆx2y⁡x+−ε⁢x+1⁢y⁡x=0
ic4≔eval⁡diff⁡y⁡x,x,x=0=0,y⁡0=1
ic4≔ⅆⅆxy⁡xx=0|ⅆⅆxy⁡xx=0=0,y⁡0=1
ByPerturbation⁡ode4,ic4,y⁡x,ε,2
y⁡x=cos⁡x+cos⁡x⁢x4+sin⁡x⁢x24−sin⁡x4⁢ε−x⁢x3−7⁢x⁢cos⁡x+sin⁡x⁢−10⁢x23+7⁢ε232
The Student[ODEs][Solve][ByPerturbation] command was introduced in Maple 2021.
For more information on Maple 2021 changes, see Updates in Maple 2021.
The Student[ODEs][Solve][ByPerturbation] command was updated in Maple 2022.
The output option was introduced in Maple 2022.
For more information on Maple 2022 changes, see Updates in Maple 2022.
See Also
dsolve
Student
Student[ODEs]
Download Help Document