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

Online Help

All Products    Maple    MapleSim


dsolve

find series solutions to ODE problems

 

Calling Sequence

Parameters

Options

Description

Examples

References

Compatibility

Calling Sequence

dsolve(ODE, y(x), 'series')

dsolve(ODE, y(x), 'series', x=pt)

dsolve({ODE, ICs}, y(x), 'series')

dsolve({sysODE, ICs}, {funcs}, 'series')

dsolve(ODE, y(x), 'type=series')

dsolve(ODE, y(x), 'type=series', x=pt)

dsolve({ODE, ICs}, y(x), 'type=series')

dsolve({sysODE, ICs}, {funcs}, 'type=series')

Parameters

ODE

-

ordinary differential equation

y(x)

-

dependent variable (indeterminate function)

ICs

-

initial conditions for y(x) and/or its derivatives

sysODE

-

system of ODEs

{funcs}

-

set with indeterminate functions

pt

-

expansion point for series

'type=series'

-

to request a series solution

Options

• 

combined = true or false

If true, returns a single series.  The default is false.

Description

• 

The dsolve command uses several methods when trying to find a series solution to an ODE or a system of ODEs. When initial conditions or an expansion point are given, the series is calculated at the given point; otherwise, the series is calculated at the origin.

• 

The first method used is a Newton iteration based on a paper of Keith Geddes. See the References section in this help page.

• 

The second method involves a direct substitution to generate a system of equations, which may be solvable (by solve) to give a series.

• 

The third method is the method of Frobenius for nth order linear DEs. See the References section in this help page.

• 

If the aforementioned methods fail, the function invokes LinearFunctionalSystems[SeriesSolution].

• 

The series solutions may be expressed as the sum of several series (based on the solution method), rather than as a single series. If a single series is desired, the optional argument combined should be provided to assure that the output is provided in a single series data structure.

Examples

odediffyt,t,t+diffyt,t2=0

odeⅆ2ⅆt2yt+ⅆⅆtyt2=0

(1)

When the initial conditions are not given, the answer is expressed in terms of the indeterminate function and its derivatives evaluated at the origin.

ansdsolveode,yt,type=series

ansyt=y0+Dy0t12Dy02t2+13Dy03t314Dy04t4+15Dy05t5+Ot6

(2)

If initial conditions are given, the series is calculated at that the given point:

ansdsolveode,ya=Y_a,Dya=DY_a,yt,type=series

ansyt=Y_a+DY_ata12DY_a2ta2+13DY_a3ta314DY_a4ta4+15DY_a5ta5+Ota6

(3)

Alternatively, an expansion point can be provided, which is most useful when initial conditions cannot be given:

ansdsolve1t2diffyt,t,t2tytyt,yt,series,t=1

ansyt=c__1t1134t1+748t12+1128t1315715360t14+3371921600t15+Ot16+c__2lnt132t1+98t12732t133256t14+15710240t15+Ot16+12916t12+2132t131313072t142219102400t15+Ot16

(4)

The above solution is expressed as a sum of several series. The following calling sequence provides the combined form:

ansdsolve1t2diffyt,t,t2tytyt,yt,series,combined,t=1

ansyt=c__2+c__13c__2lnt12t1+3c__14+c__29lnt182916t12+7c__148+c__27lnt132+2132t13+c__1128+c__23lnt12561313072t14+157c__115360+c__2157lnt1102402219102400t15+Ot16

(5)

The order of the series expansion (default = 6) can be changed using (an environment variable - see Order). For example,

Order3

Order3

(6)

An example with a system of ODEs.

sysdiffxt,t=yt,diffyt,t=xt

sysⅆⅆtxt=yt,ⅆⅆtyt=xt

(7)

ansdsolvesysunionx0=A,y0=B,xt,yt,type=series

ansxt=A+Bt12At2+Ot3,yt=BAt12Bt2+Ot3

(8)

An example solved by LinearFunctionalSystems[SeriesSolution].

sysdiffy1x,xy1x+xy2x=x3,xdiffy2x,x2y2x

sysⅆⅆxy1xy1x+xy2x=x3,xⅆⅆxy2x2y2x

(9)

varsy1x,y2x

varsy1x,y2x

(10)

dsolveopsysuniony10=13,vars,series

y1x=13+13x+132x2+Ox3,y2x=D2y202x2+Ox3

(11)

References

  

Forsyth, A.R. Theory of Differential Equations. Cambridge: University Press, 1906. pp. 78-90

  

Geddes, Keith.  "Convergence Behaviour of the Newton Iteration for First Order Differential Equations". Proceedings of EUROSAM '79. pp.189-199.

  

Ince, E.L. Ordinary Differential Equations. Dover Publications, 1956. pp. 398-406.

Compatibility

• 

The dsolve command was updated in Maple 2023.

• 

The combined option was introduced in Maple 2023.

• 

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

See Also

DEtools

dsolve

dsolve,ICs

dsolve,inttrans

dsolve,Lie

dsolve,numeric

dsolve,system

LinearFunctionalSystems[SeriesSolution]

plots[odeplot]

series

Slode