BySeries - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Mozilla Firefox.

Online Help

All Products    Maple    MapleSim


Student[ODEs][Solve]

  

BySeries

  

Find a series solution for a linear homogeneous ODE with polynomial coefficients

 

Calling Sequence

Parameters

Description

Examples

Compatibility

Calling Sequence

BySeries(ODE, y(x))

Parameters

ODE

-

an ordinary differential equation

y

-

name; the dependent variable

x

-

name; the independent variable

Description

• 

The BySeries(ODE, y(x)) command finds a particular series solution of a linear homogeneous ODE with polynomial coefficients.

• 

Note that the series solution may not represent the complete solution of the given ODE.

• 

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

> 

with⁡StudentODEsSolve:

> 

ode1≔diff⁡diff⁡y⁡x,x,x+x⁢diff⁡y⁡x,x+y⁡x=0

ode1≔ⅆ2ⅆx2y⁡x+x⁢ⅆⅆxy⁡x+y⁡x=0

(1)
> 

BySeries⁡ode1,y⁡x

y⁡x=∑k=0∞⁡ak⁢xk,ak+2=−akk+2

(2)
> 

ode3≔x2⁢diff⁡y⁡x,x,x+x2⁢diff⁡y⁡x,x+x3−6⁢y⁡x=0

ode3≔x2⁢ⅆ2ⅆx2y⁡x+x2⁢ⅆⅆxy⁡x+x3−6⁢y⁡x=0

(3)
> 

BySeries⁡ode3,y⁡x

y⁡x=∑k=0∞⁡ak⁢xk+3,ak+3=−k⁢ak+2+ak+5⁢ak+2k+8⁢k+3,a1=−a02,a2=a07

(4)
> 

ode4≔diff⁡y⁡x,x,x+diff⁡y⁡x,x+x2⁢y⁡x=0

ode4≔ⅆ2ⅆx2y⁡x+ⅆⅆxy⁡x+x2⁢y⁡x=0

(5)
> 

BySeries⁡ode4,y⁡x

y⁡x=∑k=0∞⁡ak⁢xk,ak+4=−k⁢ak+3+ak+3⁢ak+3k2+7⁢k+12,a2=−a12,a3=a16

(6)
> 

ode5≔diff⁡−x2+1⁢diff⁡y⁡x,x,x+12⁢y⁡x=0

ode5≔−2⁢x⁢ⅆⅆxy⁡x+−x2+1⁢ⅆ2ⅆx2y⁡x+12⁢y⁡x=0

(7)
> 

BySeries⁡ode5,y⁡x

y⁡x=a0⁢32⁢x−52⁢x3

(8)

The BySeries command accepts only linear homogeneous ODEs with polynomial (or rational polynomial) coefficients. Attempting to use it for an ODE not of this form results in an error message.

> 

ode6≔diff⁡y⁡x,x,x=sin⁡x⁢y⁡x

ode6≔ⅆ2ⅆx2y⁡x=sin⁡x⁢y⁡x

(9)
> 

BySeries⁡ode6,y⁡x

Error, (in Student:-ODEs:-SeriesSolve) series solutions are only available for linear homogeneous ODEs with polynomial coefficients

Compatibility

• 

The Student[ODEs][Solve][BySeries] command was introduced in Maple 2021.

• 

For more information on Maple 2021 changes, see Updates in Maple 2021.

• 

The Student[ODEs][Solve][BySeries] 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

MultiSeries

series

Student

Student[ODEs]

Student[ODEs][Solve]

Sum