Student[ODEs][Solve]
SecondOrder
Solve a second order ODE
Calling Sequence
Parameters
Description
Examples
Compatibility
SecondOrder(ODE, y(x))
ODE
-
a second order ordinary differential equation
y
name; the dependent variable
x
name; the independent variable
The SecondOrder(ODE, y(x)) command finds the solution of a second order ODE.
with⁡StudentODEsSolve:
ode1≔2⁢x⁢diff⁡y⁡x,x−9⁢x2+2⁢diff⁡y⁡x,x+x2+1⁢diff⁡y⁡x,x,x=0
ode1≔2⁢x⁢ⅆⅆxy⁡x−9⁢x2+2⁢ⅆⅆxy⁡x+x2+1⁢ⅆ2ⅆx2y⁡x=0
SecondOrder⁡ode1,y⁡x
y⁡x=∫−x22−12−x4+12⁢x3+2⁢x2+4⁢_C1+12ⅆx+_C2,y⁡x=∫−x22−12+x4+12⁢x3+2⁢x2+4⁢_C1+12ⅆx+_C2
ode2≔diff⁡y⁡x,x,x−diff⁡y⁡x,x−x⁢exp⁡x=0
ode2≔ⅆ2ⅆx2y⁡x−ⅆⅆxy⁡x−x⁢ⅇx=0
SecondOrder⁡ode2,y⁡x
y⁡x=_C1+_C2⁢ⅇx+ⅇx⁢x2−2⁢x+22
ode3≔diff⁡y⁡x,x,x+5⁢diff⁡y⁡x,x2y⁡x=0
ode3≔ⅆ2ⅆx2y⁡x+5⁢ⅆⅆxy⁡x2y⁡x=0
SecondOrder⁡ode3,y⁡x
y⁡x=6⁢ⅇ_C1⁢x+6⁢_C216,y⁡x=−6⁢ⅇ_C1⁢x+6⁢_C216
ode4≔diff⁡y⁡x,x,x−diff⁡y⁡x,x−6⁢y⁡x=0
ode4≔ⅆ2ⅆx2y⁡x−ⅆⅆxy⁡x−6⁢y⁡x=0
SecondOrder⁡ode4,y⁡x
y⁡x=_C1⁢ⅇ−2⁢x+_C2⁢ⅇ3⁢x
ode5≔diff⁡y⁡x,x,x−diff⁡y⁡x,x=x2+6⁢y⁡x
ode5≔ⅆ2ⅆx2y⁡x−ⅆⅆxy⁡x=x2+6⁢y⁡x
SecondOrder⁡ode5,y⁡x
y⁡x=_C1⁢ⅇ−2⁢x+_C2⁢ⅇ3⁢x−x26+x18−7108
ode6≔diff⁡y⁡x,x,x+4⁢y⁡x=−4⁢diff⁡y⁡x,x
ode6≔ⅆ2ⅆx2y⁡x+4⁢y⁡x=−4⁢ⅆⅆxy⁡x
SecondOrder⁡ode6,y⁡x
y⁡x=_C1⁢ⅇ−2⁢x+_C2⁢x⁢ⅇ−2⁢x
ode7≔5⁢diff⁡y⁡x,x,x+20⁢y⁡x+15⁢sin⁡x=−20⁢diff⁡y⁡x,x
ode7≔5⁢ⅆ2ⅆx2y⁡x+20⁢y⁡x+15⁢sin⁡x=−20⁢ⅆⅆxy⁡x
SecondOrder⁡ode7,y⁡x
y⁡x=_C1⁢ⅇ−2⁢x+_C2⁢x⁢ⅇ−2⁢x+12⁢cos⁡x25−9⁢sin⁡x25
ode8≔diff⁡y⁡x,x,x+2⁢y⁡x+2⁢diff⁡y⁡x,x=0
ode8≔ⅆ2ⅆx2y⁡x+2⁢y⁡x+2⁢ⅆⅆxy⁡x=0
SecondOrder⁡ode8,y⁡x
y⁡x=_C1⁢ⅇ−x⁢cos⁡x+_C2⁢ⅇ−x⁢sin⁡x
ode9≔diff⁡y⁡x,x,x+2⁢y⁡x−2⁢diff⁡y⁡x,x=exp⁡x
ode9≔ⅆ2ⅆx2y⁡x+2⁢y⁡x−2⁢ⅆⅆxy⁡x=ⅇx
SecondOrder⁡ode9,y⁡x
y⁡x=_C1⁢ⅇx⁢cos⁡x+_C2⁢ⅇx⁢sin⁡x+ⅇx
The Student[ODEs][Solve][SecondOrder] command was introduced in Maple 2021.
For more information on Maple 2021 changes, see Updates in Maple 2021.
See Also
dsolve
Student
Student[ODEs]
Student[ODEs][DifferentialOrder]
Download Help Document
What kind of issue would you like to report? (Optional)