ByPerturbation - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim


Student[ODEs][Solve]

  

ByPerturbation

  

Solve a second order ODE by the perturbation method

 

Calling Sequence

Parameters

Description

Examples

Compatibility

Calling Sequence

ByPerturbation(ODE, IC, y(x), epsilon, n)

Parameters

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

Description

• 

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.

Examples

withStudentODEsSolve:

ode1diffyx,x,x+yxsinεyx=0

ode1ⅆ2ⅆx2yx+yxsinεyx=0

(1)

ic1evaldiffyx,x,x=0=1,y0=0

ic1ⅆⅆxyxx=0|ⅆⅆxyxx=0=1,y0=0

(2)

ByPerturbationode1,ic1,yx,ε,3

yτ=sinτ+sinτ3ε348+Oε4,τ=ε28ε2+1+Oε4x

(3)

ode2diffyx,x,x+4yx+2diffyx,x+εyx+cosεyx=0

ode2ⅆ2ⅆx2yx+4yx+2ⅆⅆxyx+εyx+cosεyx=0

(4)

ic2evaldiffyx,x,x=0=0,y0=14

ic2ⅆⅆxyxx=0|ⅆⅆxyxx=0=0,y0=14

(5)

ByPerturbationode2,ic2,yx,ε,1

yx=14+ⅇxsin3x348ⅇxcos3x16+116ε

(6)

ode3diffyx,x,x+yx+εyx3=0

ode3ⅆ2ⅆx2yx+yx+εyx3=0

(7)

ic3evaldiffyx,x,x=0=0,y0=1

ic3ⅆⅆxyxx=0|ⅆⅆxyxx=0=0,y0=1

(8)

ByPerturbationode3,ic3,yx,ε,2

yτ=cosτcosτsinτ2ε8+sinτ2cosτ3+25cosτ4ε264+Oε3,τ=21ε2256+3ε8+1+Oε3x

(9)

ode4diffyx,x,x+εx+1yx=0

ode4ⅆ2ⅆx2yx+εx+1yx=0

(10)

ic4evaldiffyx,x,x=0=0,y0=1

ic4ⅆⅆxyxx=0|ⅆⅆxyxx=0=0,y0=1

(11)

ByPerturbationode4,ic4,yx,ε,2

yx=cosx+cosxx4+sinxx24sinx4εxx37xcosx+sinx10x23+7ε232

(12)

Compatibility

• 

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]

Student[ODEs][Solve]