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

Online Help

All Products    Maple    MapleSim


Student[ODEs][Solve]

  

ByLaplaceTransform

  

Solve a linear ODE using the Laplace transform

 

Calling Sequence

Parameters

Description

Examples

Compatibility

Calling Sequence

ByLaplaceTransform(ODE, IC, y(x))

Parameters

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

Description

• 

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.

Examples

> 

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

(1)
> 

ic1≔eval⁡diff⁡x⁡t,t,t=0=−2,x⁡0=1

ic1≔ⅆⅆtx⁡tt=0|ⅆⅆtx⁡tt=0=−2,x⁡0=1

(2)
> 

sol1≔ByLaplaceTransform⁡ode1,ic1,x⁡t

sol1≔x⁡t=ⅇ−t⁢cos⁡t−ⅇ−t⁢sin⁡t

(3)
> 

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

(4)
> 

ic2≔eval⁡diff⁡x⁡t,t,t=0=2,x⁡0=−3

ic2≔ⅆⅆtx⁡tt=0|ⅆⅆtx⁡tt=0=2,x⁡0=−3

(5)
> 

sol2≔ByLaplaceTransform⁡ode2,ic2,x⁡t

sol2≔x⁡t=−34⁢ⅇ2⁢t25−81⁢ⅇ−3⁢t50−cos⁡t50−7⁢sin⁡t50

(6)
> 

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

(7)
> 

ic3≔eval⁡diff⁡x⁡t,t,t=0=−2,x⁡0=1

ic3≔ⅆⅆtx⁡tt=0|ⅆⅆtx⁡tt=0=−2,x⁡0=1

(8)
> 

sol3≔ByLaplaceTransform⁡ode3,ic3,x⁡t

sol3≔x⁡t=ⅇ4⁢t−4⁢t+15⁢ⅇ−2⁢t16

(9)
> 

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

(10)
> 

ic4≔eval⁡diff⁡x⁡t,t,t=0=−2,x⁡0=1

ic4≔ⅆⅆtx⁡tt=0|ⅆⅆtx⁡tt=0=−2,x⁡0=1

(11)
> 

sol4≔ByLaplaceTransform⁡ode4,ic4,x⁡t

sol4≔x⁡t=6169+t13+163⁢cos⁡2⁢t−420⁢sin⁡2⁢t⁢ⅇ3⁢t169

(12)
> 

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

(13)
> 

ic5≔eval⁡diff⁡x⁡t,t,t=0=−2,x⁡0=2

ic5≔ⅆⅆtx⁡tt=0|ⅆⅆtx⁡tt=0=−2,x⁡0=2

(14)
> 

sol5≔ByLaplaceTransform⁡ode5,ic5,x⁡t

sol5≔x⁡t=ⅇ−2⁢t⁢t+222

(15)

Compatibility

• 

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]

Student[ODEs][Solve]