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

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Education : Student Packages : ODEs : Computation : Solve : LinearConstantCoefficients

Student[ODEs][Solve]

  

LinearConstantCoefficients

  

Solve a linear ODE with constant coefficients

 

Calling Sequence

Parameters

Description

Examples

Compatibility

Calling Sequence

LinearConstantCoefficients(ODE, y(x))

Parameters

ODE

-

a linear ordinary differential equation with constant coefficients

y

-

name; the dependent variable

x

-

name; the independent variable

Description

• 

The LinearConstantCoefficients(ODE, y(x)) command finds the solution of a linear ODE with constant coefficients.

• 

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⁡y⁡x,x−6⁢y⁡x=0

ode1≔ⅆⅆxy⁡x−6⁢y⁡x=0

(1)
> 

LinearConstantCoefficients⁡ode1,y⁡x

y⁡x=c__1⁢ⅇ6⁢x

(2)
> 

ode2≔diff⁡y⁡x,x,x−diff⁡y⁡x,x−6⁢y⁡x=0

ode2≔ⅆ2ⅆx2y⁡x−ⅆⅆxy⁡x−6⁢y⁡x=0

(3)
> 

LinearConstantCoefficients⁡ode2,y⁡x

y⁡x=c__1⁢ⅇ5⁢x+c__2⁢ⅇ−2⁢x

(4)
> 

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

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

(5)
> 

LinearConstantCoefficients⁡ode3,y⁡x

y⁡x=c__1⁢ⅇ3⁢x+c__2⁢ⅇ−2⁢x−x26+x18−7108

(6)
> 

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

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

(7)
> 

LinearConstantCoefficients⁡ode4,y⁡x

y⁡x=ⅇ−2⁢x⁢c__2⁢x+c__1

(8)
> 

ode5≔diff⁡y⁡x,x,x+4⁢y⁡x+4⁢diff⁡y⁡x,x=−3⁢sin⁡x

ode5≔ⅆ2ⅆx2y⁡x+4⁢y⁡x+4⁢ⅆⅆxy⁡x=−3⁢sin⁡x

(9)
> 

LinearConstantCoefficients⁡ode5,y⁡x

y⁡x=c__1⁢ⅇ−2⁢x+c__2⁢x⁢ⅇ−2⁢x+12⁢cos⁡x25−9⁢sin⁡x25

(10)
> 

ode6≔diff⁡y⁡x,x,x+2⁢y⁡x+2⁢diff⁡y⁡x,x=0

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

(11)
> 

LinearConstantCoefficients⁡ode6,y⁡x

y⁡x=ⅇ−x⁢c__1⁢sin⁡x+c__2⁢cos⁡x

(12)
> 

ode7≔diff⁡y⁡x,x,x+2⁢y⁡x−2⁢diff⁡y⁡x,x=exp⁡x

ode7≔ⅆ2ⅆx2y⁡x+2⁢y⁡x−2⁢ⅆⅆxy⁡x=ⅇx

(13)
> 

LinearConstantCoefficients⁡ode7,y⁡x

y⁡x=c__1⁢ⅇx⁢sin⁡x+c__2⁢ⅇx⁢cos⁡x+ⅇx

(14)
> 

ode7≔−diff⁡y⁡x,x,x,x+diff⁡y⁡x,x,x−y⁡x+diff⁡y⁡x,x=exp⁡x

ode7≔−ⅆ3ⅆx3y⁡x+ⅆ2ⅆx2y⁡x−y⁡x+ⅆⅆxy⁡x=ⅇx

(15)
> 

LinearConstantCoefficients⁡ode7,y⁡x

y⁡x=c__1⁢ⅇ−x+c__2⁢ⅇx+c__3⁢x⁢ⅇx+ⅇx⁢2⁢x2−2⁢x+18

(16)

Compatibility

• 

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

• 

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

• 

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

Student[ODEs][Solve][FirstOrderLinear]

Student[ODEs][Solve][SecondOrder]