Student[ODEs][Solve]
ByLaplaceTransform
Solve a linear ODE using the Laplace transform
Calling Sequence
Parameters
Description
Examples
Compatibility
ByLaplaceTransform(ODE, IC, y(x))
ODE
-
a 2nd order linear ordinary differential equation
IC
set; a set of two initial conditions
y
name; the dependent variable
x
name; the independent variable
The ByLaplaceTransform(ODE, IC, y(x)) command finds the solution of a 2nd order linear ordinary differential equation ODE with initial conditions IC by using the Laplace transform.
The coefficients of y(x) and its derivatives must be constant.
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.
with⁡StudentODEsSolve:
ode1≔diff⁡x⁡t,t,t+2⁢diff⁡x⁡t,t+2⁢x⁡t=0
ode1≔ⅆ2ⅆt2x⁡t+2⁢ⅆⅆtx⁡t+2⁢x⁡t=0
ic1≔eval⁡diff⁡x⁡t,t,t=0=−2,x⁡0=1
ic1≔ⅆⅆtx⁡tt=0|ⅆⅆtx⁡tt=0=−2,x⁡0=1
sol1≔ByLaplaceTransform⁡ode1,ic1,x⁡t
sol1≔x⁡t=ⅇ−t⁢cos⁡t−ⅇ−t⁢sin⁡t
ode2≔diff⁡x⁡t,t,t+diff⁡x⁡t,t−6⁢x⁡t=sin⁡t
ode2≔ⅆ2ⅆt2x⁡t+ⅆⅆtx⁡t−6⁢x⁡t=sin⁡t
ic2≔eval⁡diff⁡x⁡t,t,t=0=2,x⁡0=−3
ic2≔ⅆⅆtx⁡tt=0|ⅆⅆtx⁡tt=0=2,x⁡0=−3
sol2≔ByLaplaceTransform⁡ode2,ic2,x⁡t
sol2≔x⁡t=−ⅇ−3⁢t⁢cos⁡t+7⁢sin⁡t⁢ⅇ3⁢t+68⁢ⅇ5⁢t+8150
ode3≔diff⁡x⁡t,t,t+4⁢diff⁡x⁡t,t+4⁢x⁡t=exp⁡2⁢t
ode3≔ⅆ2ⅆt2x⁡t+4⁢ⅆⅆtx⁡t+4⁢x⁡t=ⅇ2⁢t
ic3≔eval⁡diff⁡x⁡t,t,t=0=−2,x⁡0=1
ic3≔ⅆⅆtx⁡tt=0|ⅆⅆtx⁡tt=0=−2,x⁡0=1
sol3≔ByLaplaceTransform⁡ode3,ic3,x⁡t
sol3≔x⁡t=−4⁢t+15⁢ⅇ−2⁢t16+ⅇ2⁢t16
ode4≔diff⁡x⁡t,t,t−6⁢diff⁡x⁡t,t+13⁢x⁡t=t
ode4≔ⅆ2ⅆt2x⁡t−6⁢ⅆⅆtx⁡t+13⁢x⁡t=t
ic4≔eval⁡diff⁡x⁡t,t,t=0=−2,x⁡0=1
ic4≔ⅆⅆtx⁡tt=0|ⅆⅆtx⁡tt=0=−2,x⁡0=1
sol4≔ByLaplaceTransform⁡ode4,ic4,x⁡t
sol4≔x⁡t=163⁢cos⁡2⁢t−420⁢sin⁡2⁢t⁢ⅇ3⁢t169+t13+6169
ode5≔diff⁡x⁡t,t,t+4⁢diff⁡x⁡t,t+4⁢x⁡t=exp⁡−2⁢t
ode5≔ⅆ2ⅆt2x⁡t+4⁢ⅆⅆtx⁡t+4⁢x⁡t=ⅇ−2⁢t
ic5≔eval⁡diff⁡x⁡t,t,t=0=−2,x⁡0=2
ic5≔ⅆⅆtx⁡tt=0|ⅆⅆtx⁡tt=0=−2,x⁡0=2
sol5≔ByLaplaceTransform⁡ode5,ic5,x⁡t
sol5≔x⁡t=ⅇ−2⁢t⁢t+222
The Student[ODEs][Solve][ByLaplaceTransform] command was introduced in Maple 2021.
For more information on Maple 2021 changes, see Updates in Maple 2021.
The Student[ODEs][Solve][ByLaplaceTransform] 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
inttrans[laplace]
Student
Student[ODEs]
Download Help Document