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

Online Help

All Products    Maple    MapleSim


Slode

  

msparse_series_sol

  

formal m-sparse power series solutions for a linear ODE

 

Calling Sequence

Parameters

Description

Options

Examples

Calling Sequence

msparse_series_sol(ode, var, vn, opts)

msparse_series_sol(LODEstr, vn, opts)

Parameters

ode

-

linear ODE with polynomial coefficients

var

-

dependent variable, for example y(x)

vn

-

new function in the form v(n)

opts

-

optional arguments of the form keyword=value

LODEstr

-

LODEstruct data structure

Description

• 

The msparse_series_sol command returns a set of m-sparse power series solutions of the given linear ordinary differential equation with polynomial coefficients.

• 

If ode is an expression, then it is equated to zero.

• 

The command returns an error message if the differential equation ode does not satisfy the following conditions.

– 

ode must be homogeneous and linear in var

– 

The coefficients of ode must be polynomial in the independent variable of var, for example, x, over the rational number field which can be extended by one or more parameters.

• 

A homogeneous linear ordinary differential equation with coefficients that are polynomials in x has a linear space of formal power series solutions ∑n=0∞⁡v⁡n⁢Pn⁡x where Pn⁡x is one of x−an, x−ann!, 1xn, or 1xn⁢n!, a is the expansion point, and the sequence v⁡n satisfies a homogeneous linear recurrence.

• 

This command selects such formal power series solutions where for an integer m≥2 there is an integer i such that

– 

v⁡n≠0 only if n−imodm=0, and

– 

the sequence v⁡mn+i satisfies a linear recurrence Rv⁡mn+i=0 for all sufficiently large n.

• 

The m-sparse power series is represented by an FPSstruct data-structure (see Slode[FPseries]):

FPSstruct⁡v⁡0+v⁡1⁢P1x+...+v⁡M⁢PMx+∑n=s+1∞v⁡m⁢n+N⁢Pm⁢n+N⁡x,R⁢v⁡m⁢n+N;

  

where

– 

v⁡0,...,v⁡M are expressions, the initial series coefficients,

– 

M is a nonnegative integer, and

– 

s is an integer such that M+1≤m⁢s+N.

Options

• 

x=a or 'point'=a

  

Specifies the expansion point a. It can be an algebraic number, depending rationally on some parameters, or ∞.

  

If this option is given, then the command returns a set of m-sparse power series solutions at the given point a. Otherwise, it returns a set of m-sparse power series solutions for all possible points that are determined by Slode[candidate_mpoints](ode,var).

• 

'sparseorder'=m0

  

Specifies an integer m0. If this option is given, then the command computes a set of m-sparse power series solutions with m=m0 only. Otherwise, it returns a set of m-sparse power series solution for all possible values of m.

  

If both an expansion point and a sparse order are given, then the command can also compute a set of m-sparse series solutions for an inhomogeneous equation with polynomial coefficients and a right-hand side that is rational in the independent variable x. Otherwise, the equation has to be homogeneous.

• 

'free'=C

  

Specifies a base name C to use for free variables C[0], C[1], etc. The default is the global name  _C. Note that the number of free variables may be less than the order of the given equation.

Examples

> 

with⁡Slode:

> 

ode≔29⁢x3−23⁢x2+19⁢x⁢diff⁡y⁡x,x,x,x+29⁢9⁢x2−4⁢x+13⁢diff⁡y⁡x,x,x+29⁢18⁢x−4⁢diff⁡y⁡x,x+43⁢y⁡x

ode≔2⁢x3−23⁢x2+19⁢x⁢ⅆ3ⅆx3y⁡x9+2⁢9⁢x2−4⁢x+13⁢ⅆ2ⅆx2y⁡x9+2⁢18⁢x−4⁢ⅆⅆxy⁡x9+4⁢y⁡x3

(1)
> 

msparse_series_sol⁡ode,y⁡x,v⁡n

FPSstruct⁡_C0+∑n=1∞⁡v⁡2⁢n⁢x−162⁢n,−36⁢v⁡2⁢n−2+v⁡2⁢n,FPSstruct⁡_C1⁢x−16+∑n=1∞⁡v⁡2⁢n+1⁢x−162⁢n+1,−36⁢v⁡2⁢n−1+v⁡2⁢n+1

(2)

Inhomogeneous equations are handled:

> 

ode1≔z2⁢diff⁡y⁡z,z,z+3⁢z⁢diff⁡y⁡z,z+z2+1−n2⁢y⁡z=1

ode1≔z2⁢ⅆ2ⅆz2y⁡z+3⁢z⁢ⅆⅆzy⁡z+−n2+z2+1⁢y⁡z=1

(3)
> 

msparse_series_sol⁡ode1,y⁡z,v⁡k,z=∞,sparseorder=2

FPSstruct⁡1z2+∑k=2∞⁡v⁡2⁢kz2⁢k,v⁡2⁢k+4⁢k2−n2−12⁢k+9⁢v⁡2⁢k−2

(4)

See Also

LODEstruct

Slode

Slode[candidate_mpoints]

Slode[FPseries]