Student[ODEs][Solve]
BySeries
Find a series solution for a linear homogeneous ODE with polynomial coefficients
Calling Sequence
Parameters
Description
Examples
Compatibility
BySeries(ODE, y(x))
ODE
-
an ordinary differential equation
y
name; the dependent variable
x
name; the independent variable
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.
withStudentODEsSolve:
ode1≔diffdiffyx,x,x+xdiffyx,x+yx=0
ode1≔ⅆ2ⅆx2yx+xⅆⅆxyx+yx=0
BySeriesode1,yx
yx=∑k=0∞akxk,ak+2=−akk+2
ode3≔x2diffyx,x,x+x2diffyx,x+x3−6yx=0
ode3≔x2ⅆ2ⅆx2yx+x2ⅆⅆxyx+x3−6yx=0
BySeriesode3,yx
yx=∑k=0∞akxk+3,ak+3=−kak+2+ak+5ak+2k+8k+3,a1=−a02,a2=a07
ode4≔diffyx,x,x+diffyx,x+x2yx=0
ode4≔ⅆ2ⅆx2yx+ⅆⅆxyx+x2yx=0
BySeriesode4,yx
yx=∑k=0∞akxk,ak+4=−kak+3+ak+3ak+3k2+7k+12,a2=−a12,a3=a16
ode5≔diff−x2+1diffyx,x,x+12yx=0
ode5≔−2xⅆⅆxyx+−x2+1ⅆ2ⅆx2yx+12yx=0
BySeriesode5,yx
yx=a032x−52x3
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≔diffyx,x,x=sinxyx
ode6≔ⅆ2ⅆx2yx=sinxyx
BySeriesode6,yx
Error, (in Student:-ODEs:-SeriesSolve) series solutions are only available for linear homogeneous ODEs with polynomial coefficients
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]
Sum
Download Help Document