Student[ODEs][Solve]
LinearConstantCoefficients
Solve a linear ODE with constant coefficients
Calling Sequence
Parameters
Description
Examples
Compatibility
LinearConstantCoefficients(ODE, y(x))
ODE
-
a linear ordinary differential equation with constant coefficients
y
name; the dependent variable
x
name; the independent variable
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.
withStudentODEsSolve:
ode1≔diffyx,x−6yx=0
ode1≔ⅆⅆxyx−6yx=0
LinearConstantCoefficientsode1,yx
yx=_C1ⅇ6x
ode2≔diffyx,x,x−diffyx,x−6yx=0
ode2≔ⅆ2ⅆx2yx−ⅆⅆxyx−6yx=0
LinearConstantCoefficientsode2,yx
yx=_C1ⅇ3x+_C2ⅇ−2x
ode3≔diffyx,x,x−diffyx,x−6yx=x2
ode3≔ⅆ2ⅆx2yx−ⅆⅆxyx−6yx=x2
LinearConstantCoefficientsode3,yx
yx=_C1ⅇ3x+_C2ⅇ−2x−x26+x18−7108
ode4≔diffyx,x,x+4yx+4diffyx,x=0
ode4≔ⅆ2ⅆx2yx+4yx+4ⅆⅆxyx=0
LinearConstantCoefficientsode4,yx
yx=_C1ⅇ−2x+_C2xⅇ−2x
ode5≔diffyx,x,x+4yx+4diffyx,x=−3sinx
ode5≔ⅆ2ⅆx2yx+4yx+4ⅆⅆxyx=−3sinx
LinearConstantCoefficientsode5,yx
yx=_C1ⅇ−2x+_C2xⅇ−2x+12cosx25−9sinx25
ode6≔diffyx,x,x+2yx+2diffyx,x=0
ode6≔ⅆ2ⅆx2yx+2yx+2ⅆⅆxyx=0
LinearConstantCoefficientsode6,yx
yx=_C1ⅇ−xsinx+_C2ⅇ−xcosx
ode7≔diffyx,x,x+2yx−2diffyx,x=expx
ode7≔ⅆ2ⅆx2yx+2yx−2ⅆⅆxyx=ⅇx
LinearConstantCoefficientsode7,yx
yx=_C1ⅇxsinx+_C2ⅇxcosx+ⅇx
ode7≔−diffyx,x,x,x+diffyx,x,x−yx+diffyx,x=expx
ode7≔−ⅆ3ⅆx3yx+ⅆ2ⅆx2yx−yx+ⅆⅆxyx=ⅇx
yx=_C1ⅇ−x+_C2ⅇx+_C3xⅇx+ⅇx2x2−2x+18
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][FirstOrderLinear]
Student[ODEs][Solve][SecondOrderLinear]
Download Help Document