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.
withStudentODEsSolve:
ode1≔diffyx,x,x+yx−sinεyx=0
ode1≔ⅆ2ⅆx2yx+yx−sinεyx=0
ic1≔evaldiffyx,x,x=0=1,y0=0
ic1≔ⅆⅆxyxx=0|ⅆⅆxyxx=0=1,y0=0
ByPerturbationode1,ic1,yx,ε,3
yτ=sinτ+sinτ3ε348+Oε4,τ=−ε28−ε2+1+Oε4x
ode2≔diffyx,x,x+4yx+2diffyx,x+εyx+cosεyx=0
ode2≔ⅆ2ⅆx2yx+4yx+2ⅆⅆxyx+εyx+cosεyx=0
ic2≔evaldiffyx,x,x=0=0,y0=−14
ic2≔ⅆⅆxyxx=0|ⅆⅆxyxx=0=0,y0=−14
ByPerturbationode2,ic2,yx,ε,1
yx=−14+−ⅇ−xsin3x348−ⅇ−xcos3x16+116ε
ode3≔diffyx,x,x+yx+εyx3=0
ode3≔ⅆ2ⅆx2yx+yx+εyx3=0
ic3≔evaldiffyx,x,x=0=0,y0=1
ic3≔ⅆⅆxyxx=0|ⅆⅆxyxx=0=0,y0=1
ByPerturbationode3,ic3,yx,ε,2
yτ=cosτ−cosτsinτ2ε8+sinτ2−cosτ3+25cosτ4ε264+Oε3,τ=−21ε2256+3ε8+1+Oε3x
ode4≔diffyx,x,x+−εx+1yx=0
ode4≔ⅆ2ⅆx2yx+−εx+1yx=0
ic4≔evaldiffyx,x,x=0=0,y0=1
ic4≔ⅆⅆxyxx=0|ⅆⅆxyxx=0=0,y0=1
ByPerturbationode4,ic4,yx,ε,2
yx=cosx+cosxx4+sinxx24−sinx4ε−xx3−7xcosx+sinx−10x23+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