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.
withStudentODEsSolve:
ode1≔diffxt,t,t+2diffxt,t+2xt=0
ode1≔ⅆ2ⅆt2xt+2ⅆⅆtxt+2xt=0
ic1≔evaldiffxt,t,t=0=−2,x0=1
ic1≔ⅆⅆtxtt=0|ⅆⅆtxtt=0=−2,x0=1
sol1≔ByLaplaceTransformode1,ic1,xt
sol1≔xt=ⅇ−tcost−ⅇ−tsint
ode2≔diffxt,t,t+diffxt,t−6xt=sint
ode2≔ⅆ2ⅆt2xt+ⅆⅆtxt−6xt=sint
ic2≔evaldiffxt,t,t=0=2,x0=−3
ic2≔ⅆⅆtxtt=0|ⅆⅆtxtt=0=2,x0=−3
sol2≔ByLaplaceTransformode2,ic2,xt
sol2≔xt=−ⅇ−3tcost+7sintⅇ3t+68ⅇ5t+8150
ode3≔diffxt,t,t+4diffxt,t+4xt=exp2t
ode3≔ⅆ2ⅆt2xt+4ⅆⅆtxt+4xt=ⅇ2t
ic3≔evaldiffxt,t,t=0=−2,x0=1
ic3≔ⅆⅆtxtt=0|ⅆⅆtxtt=0=−2,x0=1
sol3≔ByLaplaceTransformode3,ic3,xt
sol3≔xt=−4t+15ⅇ−2t16+ⅇ2t16
ode4≔diffxt,t,t−6diffxt,t+13xt=t
ode4≔ⅆ2ⅆt2xt−6ⅆⅆtxt+13xt=t
ic4≔evaldiffxt,t,t=0=−2,x0=1
ic4≔ⅆⅆtxtt=0|ⅆⅆtxtt=0=−2,x0=1
sol4≔ByLaplaceTransformode4,ic4,xt
sol4≔xt=163cos2t−420sin2tⅇ3t169+t13+6169
ode5≔diffxt,t,t+4diffxt,t+4xt=exp−2t
ode5≔ⅆ2ⅆt2xt+4ⅆⅆtxt+4xt=ⅇ−2t
ic5≔evaldiffxt,t,t=0=−2,x0=2
ic5≔ⅆⅆtxtt=0|ⅆⅆtxtt=0=−2,x0=2
sol5≔ByLaplaceTransformode5,ic5,xt
sol5≔xt=ⅇ−2tt+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