You are on page 1of 57

Differential Equations

BDA 24303
Chapter 3 – Laplace Transform

By:
Assoc. Prof. Ir. Ts. Dr Bukhari Manshoor, CEng MIET
Dept. of Mechanical Engineering
Faculty of Mechanical & Manufacturing Engineering

© Dr. Bukhari bin Manshoor


Laplace Transform
● Improper integral: Introduction & Definition.
● Linearity.
● Multiplying by t.
● First shift theorem.
● Unit step function, Delta function and periodic function.
● Second shift theorem.
● Inverse Laplace transform:
- Definition and properties.
- Method of solution: partial fraction, completing the square and convolution theorem.
● Application of first order differential equations: Solve initial and boundary value problems for
linear differential equation with constant coefficients which involve unit step function, Dirac
Delta function and periodic function.
Introduction
● When we solved ordinary, constant-coefficient differential equations, we plugged in a trial
solution 𝒚 = 𝒆𝒓𝒕 , and arrived at a characteristic equation in 𝒓.
● Essentially, we transformed a DE into a polynomial (algebraic) equation.

𝑦 ′′ + 3𝑦 ′ + 2𝑦 = 0 𝑟 2 + 3𝑟 + 2 = 0

● This method did not help us with the right-hand side of the differential equation.
𝑦 ′′ + 3𝑦 ′ + 2𝑦 = 𝑥 ′ + 𝑥

● Suppose we have the DE as above, we cannot extend the differential to algebraic


transformation to deal with the right hand side.
● Such a differential to algebraic transformation exists. It is called the Laplace
transformation.

Problem in Solution in Solution in


Inverse
original way Transform transform way original way
of thinking
Transform of thinking
of thinking
Solving an ODEs by Laplace Transforms
Method of Undetermined Coefficient,
x,t domain Method of Variation Parameter, etc…

Solution of
ODE
the ODE
Laplace Inverse
Transform Laplace
Transform
Laplace
Laplace
transform
solution
equation
Solving by
Laplace-(s) domain algebra
Laplace Transformed Equation
● Let we have a function 𝑓 𝑡 . The Laplace transformation transforms this function into a
new function, 𝐹(𝑠).
ℒ 𝑓 𝑡 =𝐹 𝑠
● The independent variable of the function changes from t to s.
● Let 𝑓 𝑡 be a function defined over [0,∞).

ℒ 𝑓 𝑡 =𝐹 𝑠 = 𝑒 −𝑠𝑡 𝑓 𝑡 𝑑𝑡
0

● Notice that t is the parameter of integration which disappears, while s appears in the
integrand and “survives” integration.
● Furthermore, the given function 𝑓 𝑡 in is called the Inverse Transform of 𝐹(𝑠) and will be
denoted by ℒ −1 (𝐹).

𝑓 𝑡 = ℒ −1 𝐹 𝑠
Functions and their Laplace Transforms
● Constant function:
𝑓 𝑡 =𝑎
∞ −𝑠𝑡 ∞
𝑒 1 𝑎
ℒ 𝑓 𝑡 = 𝑒 −𝑠𝑡 𝑎𝑑𝑡 = 𝑎 =𝑎 0− =
0 −𝑠 0
−𝑠 𝑠
● Function 𝑒 𝑎𝑡
𝑓 𝑡 = 𝑒 𝑎𝑡
∞ ∞ − 𝑠−𝑎 𝑡 ∞
𝑒 1 1
ℒ 𝑓 𝑡 = 𝑒 −𝑠𝑡 𝑒 𝑎𝑡 𝑑𝑡 = 𝑒− 𝑠−𝑎 𝑡 𝑑𝑡 = = 0− =
0 0 − 𝑠−𝑎 0
− 𝑠−𝑎 𝑠−𝑎

● Function 𝑡 and 𝑡 𝑛
𝑓 𝑡 =𝑡
∞ −𝑠𝑡 −𝑠𝑡 ∞
𝑡𝑒 𝑒 1 1
ℒ 𝑓 𝑡 = 𝑒 −𝑠𝑡 𝑡𝑑𝑡 = − − 2 = 0−0 − 0− =
0 𝑠 𝑠 0
𝑠2 𝑠2

𝑛!
*In general; 𝑓 𝑡 = 𝑡 𝑛 , 𝑛 = 1,2,3 … ℒ 𝑡 𝑛
=
𝑠 𝑛+1
Functions and their Laplace Transforms - (Summary)
𝑓 𝑡 𝐹(𝑠) 𝑠 𝑓 𝑡 𝐹(𝑠) 𝑠
𝑎 𝑠
𝑎 𝑠>0 cos 𝑎𝑡 𝑎>0
𝑠 𝑠 2 + 𝑎2
1 𝑎
𝑒 𝑎𝑡 𝑠>0 sin 𝑎𝑡 𝑎>0
𝑠−𝑎 𝑠 2 + 𝑎2
𝑛! 𝑠
𝑡 𝑛 , 𝑛 = 1,2,3 … 𝑠>0 cosh 𝑎𝑡 𝑠> 𝑎
𝑠 𝑛+1 𝑠 2 − 𝑎2
𝑎
sinh 𝑎𝑡 𝑠> 𝑎
𝑠 2 − 𝑎2
Exercise 0
By using the summary table of functions and their Laplace transforms, find the ℒ 𝑓 for the
following function 𝑓 𝑡 .

a) 𝑓 𝑡 = 3
b) 𝑓 𝑡 = 𝑒 −5𝑡
c) 𝑡 3
d) sin 2𝑡
e) cosh 3𝑡
f) 4𝑡 3
g) 2sin 3𝑡 cos 3𝑡
Properties of the Laplace Transform
● Linearity.
● First shift theorem.
● Differentiation of transform
● Integration of transform
● Laplace transform of derivatives
● Laplace transform of integral
Properties of the Laplace Transform - Linearity
● The Laplace transform is a linear operation; that is, for any functions 𝑓 𝑡 and 𝑔 𝑡 whose
transforms exist and any constants a and b the transform of 𝑎𝑓 𝑡 + 𝑏𝑓 𝑡 exists, and;
ℒ 𝑎𝑓 𝑡 + 𝑏𝑔 𝑡 = 𝑎ℒ 𝑓 𝑡 + 𝑏ℒ 𝑔 𝑡

● Proof:

ℒ 𝑎𝑓 𝑡 + 𝑏𝑔 𝑡 = 𝑒 −𝑠𝑡 𝑎𝑓 𝑡 + 𝑏𝑔 𝑡 𝑑𝑡
0
∞ ∞
=𝑎 𝑒 −𝑠𝑡 𝑓 𝑡 𝑑𝑡 + 𝑏 𝑒 −𝑠𝑡 𝑔 𝑡 𝑑𝑡
0 0
= 𝑎ℒ 𝑓 𝑡 + 𝑏ℒ 𝑔 𝑡
Example: Polynomial
Find the transforms of 𝑓 𝑡 = 5𝑡 3 + 6𝑡 2 + 3𝑡

ℒ 𝑓 𝑡 = ℒ 5𝑡 3 + 6𝑡 2 + 3𝑡

= 5ℒ 𝑡 3 + 6ℒ 𝑡 2 + 3ℒ 3𝑡
3! 2! 1!
=5 +6 +3
𝑠 3+1 𝑠 2+1 𝑠1+1
30 12 3
= 4
+ 3+ 2
𝑠 𝑠 𝑠
Example: Cosine & Sine
Find the transforms of cos 𝑎𝑡 and sin 𝑎𝑡.

- Euler formula; 𝑒 𝑖𝑥 = cos 𝑥 + 𝑖 sin 𝑥


𝑒 −𝑖𝑥 = cos 𝑥 − 𝑖 sin 𝑥

1 1 𝑠 + 𝑖𝑎 𝑠 + 𝑖𝑎 𝑠 𝑎
ℒ 𝑒 𝑖𝑎𝑡 = = × = 2 = + 𝑖
𝑠 − 𝑖𝑎 𝑠 − 𝑖𝑎 𝑠 + 𝑖𝑎 𝑠 + 𝑎2 𝑠 2 + 𝑎2 𝑠 2 + 𝑎2
- Since 𝑒 𝑖𝑎𝑡 = cos 𝑎𝑡 + 𝑖 sin 𝑎𝑡
ℒ 𝑒 𝑖𝑎𝑡 = ℒ cos 𝑎𝑡 + 𝑖 sin 𝑎𝑡 = ℒ cos 𝑎𝑡 + 𝑖 ℒ sin 𝑎𝑡
- Equating the real and imaginary parts of these two equations;
𝑠
ℒ cos 𝑎𝑡 =
𝑠 2 + 𝑎2
𝑎
ℒ sin 𝑎𝑡 = 2
𝑠 + 𝑎2
Example: Combine function
Find the transforms of 𝑓 𝑡 = 𝑒 𝑡 + sinh 2𝑡.

ℒ 𝑓 𝑡 = ℒ 𝑒 𝑡 + sinh 2𝑡
= ℒ 𝑒 𝑡 + ℒ sinh 2𝑡
1 2
= +
𝑠 − 1 𝑠2 − 4
𝑠 2 + 2𝑠 − 6
=
𝑠 − 1 𝑠2 − 4
Example: Inverse Laplace – Partial fraction
Find the inverse transform.
- For 𝑠 = −2
𝑠+7 5 = 𝐴 −7 + 𝐵 0
𝐹(𝑠) = 5
𝑠 2 − 3𝑠 − 10 𝐴=−
- The inverse transform can be simplified as below; 7
𝑠+7 𝑠+7 - Thus, we have;
𝐹 𝑠 = 2 = −5 7 12 7
𝑠 − 3𝑠 − 10 𝑠+2 𝑠−5
𝐹 𝑠 = +
𝑠+2 𝑠−5
- By using partial fraction;
𝑠+7 𝐴 𝐵 𝑓 𝑡 = ℒ −1 𝐹 𝑠
= +
𝑠+2 𝑠−5 𝑠+2 𝑠−5 −5 7 12 7
= ℒ −1 +
𝑠+7 =𝐴 𝑠−5 +𝐵 𝑠+2 𝑠+2 𝑠−5
- The numerators, 𝑠 = 5, −2 −5 7 12 7
= ℒ −1 +
- For 𝑠 = 5 𝑠+2 𝑠−5
12 = 𝐴 0 + 𝐵 7
5 12 5𝑡
12 = − 𝑒 −2𝑡 + 𝑒
𝐵= 7 7
7
Exercise 1
Find the Laplace transforms of the following functions.
a) 𝑡 2 − 3 2

b) sin2 4𝑡
c) 𝑒 −𝑡 + sinh 5𝑡
d) 𝑒 3𝑡 3𝑡 + 4𝑒 −2𝑡 2

e) 𝑒 5𝑡 + 3𝑡 2 − 8 cos 2𝑡

Given 𝐹 𝑠 = ℒ 𝑓 . Find 𝑓 𝑡 .

2𝑠 + 16 10 20
𝑎) 2 𝑏) 𝑐)
𝑠 − 16 2𝑠 + 2 𝑠−1 𝑠+4

18𝑠 − 12 1
𝑑) 𝑒) 𝑎≠𝑏
9𝑠 2 − 1 𝑠+𝑎 𝑠+𝑏
Properties of the Laplace Transform – 1st shifting theorem
● If 𝑓 𝑡 has the transform 𝐹 𝑠 (where 𝑠 > 𝑘), then 𝑒 𝑎𝑡 𝑓 𝑡 has the transform 𝐹 𝑠 − 𝑎
(where 𝑠 − 𝑎 > 𝑘).
● In formula;

ℒ 𝑒 𝑎𝑡 𝑓 𝑡 =𝐹 𝑠−𝑎

● Or, if we take inverse on both sides; 𝑒 𝑎𝑡 𝑓 𝑡 = ℒ −1 𝐹 𝑠 − 𝑎


● Proof: ∞
ℒ 𝑓 𝑡 = 𝑒 −𝑠𝑡 𝑓 𝑡 𝑑𝑡 = 𝐹 𝑠
0

ℒ 𝑒 𝑎𝑡 𝑓 𝑡 = 𝑒 −𝑠𝑡 𝑒 𝑎𝑡 𝑓 𝑡 𝑑𝑡
0

= 𝑒− 𝑠−𝑎 𝑡 𝑓 𝑡 𝑑𝑡
0

= 𝑒− 𝑝 𝑡𝑓 𝑡 𝑑𝑡 *𝑝 = 𝑠−𝑎
0
=𝐹 𝑝 =𝐹 𝑠−𝑎
Example
Find the Laplace transforms of the following function.

𝑎) 𝑓 𝑡 = 𝑒 3𝑡 cos 𝜔𝑡
ℒ 𝑓 𝑡 = ℒ 𝑒 3𝑡 cos 𝜔𝑡

- 1st shifting theorem;


ℒ 𝑒 𝑎𝑡 𝑓 𝑡 =𝐹 𝑠−𝑎
--- in this function, 𝑎 = 3, 𝑓 𝑡 = cos 𝜔𝑡
- Laplace transform;
𝑠
𝐹 𝑠 =ℒ 𝑓 𝑡 = ℒ cos 𝜔𝑡 = 2
𝑠 + 𝜔2
- Thus;
𝑠−3
𝐹 𝑠−𝑎 =
𝑠 − 3 2 + 𝜔2
Example
Find the Laplace transforms of the following function.

𝑏) 𝑓 𝑡 = 𝑒 −2𝑡 sinh 𝜔𝑡
ℒ 𝑓 𝑡 = ℒ 𝑒 −2𝑡 sinh 𝜔𝑡

- 1st shifting theorem;


ℒ 𝑒 𝑎𝑡 𝑓 𝑡 =𝐹 𝑠−𝑎
--- in this function, 𝑎 = −2, 𝑓 𝑡 = sinh 𝜔𝑡
- Laplace transform;
𝜔
𝐹 𝑠 =ℒ 𝑓 𝑡 = ℒ sinh 𝜔𝑡 = 2
𝑠 − 𝜔2
- Thus;
𝜔
𝐹 𝑠−𝑎 =
𝑠 + 2 2 + 𝜔2
Example
Find the Laplace transforms of the following function.

c) 𝑓 𝑡 = 𝑡 3 𝑒 3𝑡
ℒ 𝑓 𝑡 = ℒ 𝑡 3 𝑒 3𝑡

- 1st shifting theorem;


ℒ 𝑒 𝑎𝑡 𝑓 𝑡 =𝐹 𝑠−𝑎
--- in this function, 𝑎 = 3, 𝑓 𝑡 = 𝑡 3
- Laplace transform;
3!
𝐹 𝑠 =ℒ 𝑓 𝑡 =ℒ 𝑡2 = 4
𝑠
- Thus;
3! 6
𝐹 𝑠−𝑎 = 4
= 4
𝑠−3 𝑠−3
Example: Inverse Laplace – Completing the square
Find the inverse transform. - Completing the square method

3𝑠 − 15
𝐹(𝑠) =
2𝑠 2 − 4𝑠 + 10

−1 −1
3𝑠 − 15
ℒ 𝐹 𝑠 =ℒ
2𝑠 2 − 4𝑠 + 10
3 −1 𝑠−5
= ℒ
2 𝑠 2 − 2𝑠 + 5 𝑠 2 − 2𝑠 + 5
𝑠 2 − 2𝑠 + 1 + 5 − 1
3 𝑠−5 𝑠 − 1 2 + 22
= ℒ −1
2 𝑠 − 1 2 + 22

3 −1 𝑠 − 1 − 5 + 1
= ℒ
2 𝑠 − 1 2 + 22

3 −1 𝑠−1 4
= ℒ 2 2
− ℒ −1
2 𝑠−1 +2 𝑠 − 1 2 + 22
3 𝑠−1 1 - Inverse Laplace by 1st shifting theorem.
= ℒ −1 − 4 ℒ −1
2 𝑠 − 1 2 + 22 𝑠 − 1 2 + 22 ℒ −1 𝐹 𝑠 − 𝑎 = 𝑒 𝑎𝑡 𝑓 𝑡
ℒ −1 𝐹 𝑠 =𝑓 𝑡
3 𝑡 4 −1 1×2
= 𝑒 cos 2𝑡 − ℒ
2 2 𝑠 − 1 2 + 22 - Example:
𝑠
3 𝑡 2 ℒ −1 = cos 𝜔𝑡
= 𝑒 cos 2𝑡 − 2 ℒ −1 𝑠2 + 𝜔2
2 𝑠 − 1 2 + 22 𝑠−𝑎
ℒ −1 = 𝑒 𝑎𝑡 cos 𝜔𝑡
3 𝑡 2
𝑠−𝑎 +𝜔 2
= 𝑒 cos 2𝑡 − 2𝑒 𝑡 sin 2𝑡
2
𝜔
3 𝑡 ℒ −1 = cos 𝜔𝑡
𝑠2 + 𝜔2
= 𝑒 cos 2𝑡 − 3𝑒 𝑡 sin 2𝑡
2 𝜔
ℒ −1 2 2
= 𝑒 𝑎𝑡 cos 𝜔𝑡
𝑠−𝑎 +𝜔
Exercise 2
Find the Laplace transforms of the following functions.
a) 𝑒 2𝑡 𝑡 3
b) 𝑒 2𝑡 sin 3𝑡
c) 𝑒 −2𝑡 sinh 5𝑡
d) 𝑒 −3𝑡 cos 2𝑡

Given 𝐹 𝑠 = ℒ 𝑓 . Find 𝑓 𝑡 .
𝜋
𝑎) 2
𝑠+𝜋
𝑠−6
𝑏)
𝑠−1 2+4
4𝑠 − 2
𝑐)
𝑠 2 − 6𝑠 + 18
Properties of the Laplace Transform
– Differentiation of transform.
● Let be 𝐹(𝑠) the Laplace transform to the function 𝑓 𝑡 . The definition of the transform;

𝐹 𝑠 =ℒ 𝑓 𝑡 = 𝑒 −𝑠𝑡 𝑓 𝑡 𝑑𝑡
0

● Derivatives of the transform*;



𝑑 𝐹 𝑠 𝑑
= 𝑒 −𝑠𝑡 𝑓 𝑡 𝑑𝑡
𝑑𝑠 𝑑𝑠 0
∞ ∞ ∞
𝜕 −𝑠𝑡
= 𝑒 𝑓 𝑡 𝑑𝑡 = −𝑡𝑒 −𝑠𝑡 𝑓 𝑡 𝑑𝑡 = − 𝑒 −𝑠𝑡 𝑡𝑓 𝑡 𝑑𝑡
0 𝜕𝑠 0 0

● Thus;
𝐹 ′ 𝑠 = −ℒ 𝑡𝑓 𝑡 or ℒ 𝑡𝑓 𝑡 = −𝐹 ′ 𝑠

● For 𝑡 𝑛 , where 𝑛 = 1,2,3 …,


𝑑 𝑛 (𝐹(𝑠)
ℒ 𝑡𝑛𝑓 𝑡 = −1 𝑛
*From Leibniz rule of
𝑑𝑠 𝑛
differentiation under integral sign.
Properties of the Laplace Transform
– Integration of transform.
● Let be 𝐹(𝑠) the Laplace transform to the function 𝑓 𝑡 . The definition of the transform;

𝐹 𝑠 =ℒ 𝑓 𝑡 = 𝑒 −𝑠𝑡 𝑓 𝑡 𝑑𝑡
0

● Integration of the transform both side from 𝑠 to ∞;


∞ ∞ ∞
𝐹 𝑠 𝑑𝑠 = 𝑒 −𝑠𝑡 𝑓 𝑡 𝑑𝑡 𝑑𝑠
𝑠 𝑠 0
∞ ∞ ∞ ∞
𝑒 −𝑠𝑡 𝑓(𝑡)
= 𝑒 −𝑠𝑡 𝑑𝑠 𝑓 𝑡 𝑑𝑡 = 𝑓 𝑡 𝑑𝑡 = 𝑒 −𝑠𝑡 𝑑𝑡
0 𝑠 0 𝑡 0 𝑡

● Thus;

𝑓(𝑡) ∞
𝑒 −𝑠𝑡

𝑒 −∞ 𝑒 −𝑠𝑡 𝑒 −𝑠𝑡 𝑒 −𝑠𝑡
𝐹 𝑠 𝑑𝑠 = ℒ 𝑒 −𝑠𝑡
𝑑𝑠 = = − =0− =
𝑠 𝑡 −𝑡 −𝑡 −𝑡 −𝑡 𝑡
𝑠 𝑠

● And, ∞
𝑓(𝑡)
ℒ −1 𝐹 𝑠 𝑑𝑠 =
𝑠 𝑡
Example: Differentiation of transform
Find the Laplace transforms of the following function.

𝑓 𝑡 = 𝑡 2 𝑒 3𝑡
ℒ 𝑓 𝑡 = ℒ 𝑡 2 𝑒 3𝑡
1
- Take 𝑓 𝑡 = 𝑒 3𝑡 , and 𝐹 𝑠 = ℒ 𝑒 3𝑡 = = 𝑠−3 −1
𝑠−3
- Differentiation of transform;
𝑛 𝐹 𝑠
𝑑
ℒ 𝑡 𝑛 𝑓 𝑡 = −1 𝑛
𝑑𝑠 𝑛
2 3𝑡 2
𝑑2 𝑠 − 3 −1
ℒ 𝑡 𝑒 = −1
𝑑𝑠 2
𝑑2 𝑠 − 3 −1𝑑 −1 𝑠 − 3 −2
= =
𝑑𝑠 2 𝑑𝑠
2
= −1 −2 𝑠 − 3 −3 =
𝑠−3 3
Example: Integration of transform
Find the Laplace transforms of the following function.

1 − cos 2𝑡
𝑓 𝑡 =
𝑡
1 𝑠
- Let take 𝑓 𝑡 = 1 − cos 2𝑡 . Thus, 𝐹 𝑠 = ℒ 1 − cos 2𝑡 = − 2
𝑠 𝑠 + 22
- Integration of transform;

𝑓(𝑡) 1 − cos 2𝑡
ℒ =ℒ = 𝐹 𝑠 𝑑𝑠
𝑡 𝑡 𝑠

1 𝑠
= − 𝑑𝑠
𝑠 𝑠 𝑠 2 + 22

1 ∞ 𝑙𝑛 𝑥 𝑦 = 𝑦 𝑙𝑛 𝑥
= ln 𝑠 − ln 𝑠 2 + 4
2 𝑠
∞ ∞
1 1 1 1
= ∗ 2 ln 𝑠 − ln 𝑠 2 + 4 = ln 𝑠 − ln 𝑠 2 + 4
2
2 2 𝑠 2 2 𝑠

1 1
= ln 𝑠 2 − ln 𝑠 2 + 4
2 2 𝑠

- Apply the limit;



1 𝑠2
= ln 2
2 𝑠 +4 𝑠

1 𝑠2
= 0 − ln 2
2 𝑠 +4

1 𝑠2 + 4
= ln
2 𝑠2
Exercise 3
By using the differentiation of transform theorem, find the Laplace transform of the
following functions.
(a) f  t   t e2t (d) f  t   t 2 cos3t

(b) f  t   t 2e4t (e) f  t   t sinh t

(c) f  t   t sin 3t (f) f  t   t 2 cosh t

By using the integration of transform theorem, find the Laplace transform of the following
functions.
sin t 1  cos3t et  1 eat  ebt
(a) f  t   (b) f  t   (c) f t   (d) f t  
t t t t

 cos at  cos bt  1 s  b
2 2
(e) Prove that,    ln 2
 t  2 s  a2
Laplace Transform of Derivatives
● The Laplace transform is a method of solving ODEs and initial value problems.
● The crucial idea is that operations of calculus on functions are replaced by operations of
algebra on transforms.
● Roughly, differentiation of 𝑓 𝑡 will correspond to multiplication of ℒ 𝑓(𝑡) by s.
● The transforms of the first and second derivatives of 𝑓 𝑡 ;

1st derivatives ----- ℒ 𝑓′(𝑡) = 𝑠ℒ 𝑓 𝑡 − 𝑓(0)

2nd derivatives ----- ℒ 𝑓′′(𝑡) = 𝑠 2 ℒ 𝑓 𝑡 − 𝑠𝑓 0 − 𝑓′(0)

nth derivatives ----- ℒ 𝑓 𝑛 (𝑡) = 𝑠 𝑛 ℒ 𝑓 𝑡 − 𝑠 𝑛−1 𝑓 0 − 𝑠 𝑛−2 𝑓 ′ 0 − ⋯ − 𝑓 𝑛−1 (0)


● Proof of 1st derivatives;

ℒ 𝑓′ 𝑡 = 𝑒 −𝑠𝑡 𝑓′ 𝑡 𝑑𝑡
0


= 𝑒 −𝑠𝑡 𝑓(𝑡) 0 +𝑠 𝑒 −𝑠𝑡 𝑓 𝑡 𝑑𝑡
0
= −𝑓 0 + 𝑠ℒ 𝑓(𝑡)
● Proof of 2nd derivatives
= 𝑠ℒ 𝑓(𝑡) − 𝑓 0 ∞
ℒ 𝑓′′ 𝑡 = 𝑒 −𝑠𝑡 𝑓′′ 𝑡 𝑑𝑡
0


= 𝑒 −𝑠𝑡 𝑓′(𝑡) 0 +𝑠 𝑒 −𝑠𝑡 𝑓′ 𝑡 𝑑𝑡
0
= −𝑓′ 0 + 𝑠ℒ 𝑓′(𝑡)

= −𝑓′ 0 + 𝑠 𝑠ℒ 𝑓(𝑡) − 𝑓 0

= 𝑠 2 ℒ 𝑓(𝑡) − 𝑠𝑓 0 − 𝑓′(0)
Laplace Transform of an Integral
● Integration of 𝑓 𝑡 will correspond to division of Proof;
ℒ 𝑓(𝑡) by s.
ℒ 𝑓 𝑡 = 𝐹(𝑠)
● The transforms of integration of 𝑓 𝑡 ; 𝑡
𝑡 Let 𝑦(𝑡) = 𝑓 𝑡 𝑑𝑡 then, 𝑦′(𝑡) = 𝑓 𝑡
𝐹(𝑠) 0
ℒ 𝑓 𝑡 𝑑𝑡 =
0 𝑠 ℒ 𝑓 𝑡 = ℒ 𝑦′(𝑡) = 𝐹(𝑠)

● If we take the inverse transform on both sides; = 𝑒 −𝑠𝑡 𝑦′ 𝑡 𝑑𝑡
0
𝑡
−1
𝐹(𝑠) ∞
𝑓 𝑡 𝑑𝑡 = ℒ = 𝑒 −𝑠𝑡
𝑦(𝑡) ∞
+𝑠 𝑒 −𝑠𝑡 𝑦 𝑡 𝑑𝑡
0 𝑠 0
0

= −𝑦 0 + 𝑠ℒ 𝑦(𝑡)

= 𝑠ℒ 𝑦(𝑡) = 𝐹(𝑠)

𝑡
Thus; 𝐹(𝑠)
0
= ℒ 𝑦(𝑡) = 𝑓 𝑡 𝑑𝑡
𝑦 0 = 𝑓 𝑡 𝑑𝑡 = 0 𝑠 0
0
Properties of the Laplace Transform - Summary
𝑓 𝑡 𝐹(𝑠) Theorem
𝑒 𝑎𝑡 𝑓(𝑡) 𝐹(𝑠 − 𝑎) First shift theorem
𝑛
𝑑 (𝐹(𝑠)
𝑡 𝑛 𝑓(𝑡) −1 𝑛 Differentiation of transform
𝑑𝑠 𝑛

𝑓(𝑡)
𝐹 𝑠 𝑑𝑠 Integration of transform
𝑡 𝑠
Laplace transform of derivatives (1st
𝑓′ 𝑡 𝑠ℒ 𝑓 𝑡 − 𝑓(0) derivatives)
Laplace transform of derivatives (2nd
𝑓′′ 𝑡 𝑠 2ℒ 𝑓(𝑡) − 𝑠𝑓 0 − 𝑓′(0)
derivatives)
𝑡
𝐹(𝑠)
𝑓 𝑡 𝑑𝑡 Laplace transform of integral
0 𝑠
Differential Equations: Initial Value Problems
● How the Laplace transform method solves ODEs and initial value problems?
● Consider the following initial value problem.

𝑦 ′′ + 𝑎𝑦 ′ + 𝑏𝑦 = 𝑟 𝑡 𝑦 0 = 𝐾0 𝑦 ′ 0 = 𝐾1

1st step – Setting up the subsidiary equation by transform the equation (Laplace transform)
ℒ 𝑦′′ = 𝑠 2 𝑌 − 𝑠𝑦 0 − 𝑦′(0)
ℒ 𝑦′ = 𝑠𝑌 − 𝑦 0
ℒ 𝑦 =𝑌
ℒ 𝑟(𝑡) = 𝑅(𝑠)
We have;
𝑠 2 𝑌 − 𝑠𝑦 0 − 𝑦′(0) + 𝑎 𝑠𝑌 − 𝑦 0 + 𝑏 𝑌 = 𝑅(𝑠)
Collecting Y – terms;
𝑠 2 + 𝑎𝑠 + 𝑏 𝑌 = 𝑠 + 𝑎 𝑦 0 + 𝑦 ′ 0 + 𝑅(𝑠)
2nd step – Solve the subsidiary equation algebraically for Y.
Division by 𝑠 2 + 𝑎𝑠 + 𝑏 and use of the so-called transfer function.
1
𝑄 𝑠 = 2
𝑠 + 𝑎𝑠 + 𝑏
gives the solution
𝑌 𝑠 = 𝑠 + 𝑎 𝑦 0 + 𝑦 ′ 0 𝑄 𝑠 + 𝑅 𝑠 𝑄(𝑠)

3rd step – Inversion of Y(s) to obtain the solution of the ODEs (usually by
partial fraction) so that we obtain the solution;

𝑦 𝑡 = ℒ −1 𝑌(𝑠)
Example:
Solve the following initial value problem. 𝑦 ′′ − 𝑦 = 𝑡 𝑦 0 =1 𝑦′ 0 = 1

1st step – Setting up the subsidiary equation

ℒ 𝑦′′ = 𝑠 2 𝑌 − 𝑠𝑦 0 − 𝑦′(0)
ℒ 𝑦 =𝑌
1
ℒ 𝑡 = 2
𝑠
We have;
2
1
𝑠 𝑌 − 𝑠𝑦 0 − 𝑦′(0) − 𝑌 = 2
𝑠
Collecting Y – terms and apply the initial value given;

2
1 ′
𝑠 − 1 𝑌 = 𝑠𝑦 0 + 𝑦 0 + 2
𝑠
2
1
𝑠 −1 𝑌 =𝑠+1+ 2
𝑠
2nd step – Solve the subsidiary equation.
1 1
=
𝐴𝑠 + 𝐵 𝐶𝑠 + 𝐷
+ 2
𝑄 𝑠 = 2 𝑠2 𝑠2 − 1 𝑠2 𝑠 −1
𝑠 −1
1 = 𝐴𝑠 + 𝐵 𝑠 2 − 1 + 𝐶𝑠 + 𝐷 𝑠 2
1
Thus; 𝑌 𝑠 = 𝑠 + 1 𝑄(𝑠) + 𝑄(𝑠) 1 = 𝐴𝑠 3 − 𝐴𝑠 + 𝐵𝑠 2 − 𝐵 + 𝐶𝑠 3 + 𝐷𝑠 2
𝑠2 1 = 𝐴 + 𝐶 𝑠 3 𝐵 + 𝐷 𝑠 2 − 𝐴𝑠 − 𝐵
𝑠+1 1 𝐵 = −1, 𝐴 = 0, 𝐶 = 0, 𝐷 = −𝐵 = 1
𝑌(𝑠) = 2 +
𝑠 − 1 𝑠2 𝑠2 − 1
Therefore;
𝑠+1 1 1 1 1
= + 2 2 =− +
𝑠−1 𝑠+1 𝑠 𝑠 −1 𝑠2 𝑠2 − 1 𝑠2 𝑠2 − 1

1 1 1
= − 2+ 2
𝑠−1 𝑠 𝑠 −1

3rd step – Inversion of the 𝑌 𝑠 .


−1 −1
1 −1
1 −1
1
𝑦 𝑡 =ℒ 𝑌(𝑠) = ℒ −ℒ +ℒ
𝑠−1 𝑠2 𝑠2 − 1
𝑦 𝑡 = 𝑒 𝑡 − 𝑡 + sinh 𝑡
Example 1:
Solve the following initial value problem. 𝑦 ′′ + 𝑦 ′ − 6𝑦 = 1 𝑦 0 = 0, 𝑦′ 0 = 1

1st step – Setting up the subsidiary equation

2nd step – Solve the subsidiary equation.

3rd step – Inversion of the 𝑌 𝑠 .


Example 2:
Solve the following initial value problem. 𝑦 ′′ − 3𝑦 ′ + 2𝑦 = 4𝑡 𝑦 0 = −1, 𝑦′ 0 = 2

1st step – Setting up the subsidiary equation

2nd step – Solve the subsidiary equation.

3rd step – Inversion of the 𝑌 𝑠 .


Example 3:
Solve the following initial value problem. *2nd shifting theorem

𝑦 ′′ + 2𝑦 ′ + 2𝑦 = 𝑟 𝑡 , 𝑟 𝑡 = 10 sin 2𝑡 if 0 < 𝑡 < 𝜋 and 0 if 𝑡 > 𝜋

Initial value; 𝑦 0 = 1, 𝑦′(0) = −5

1st step – Setting up the subsidiary equation

2nd step – Solve the subsidiary equation.

3rd step – Inversion of the 𝑌 𝑠 .


Unit Step Function
● The unit step function or Heaviside function, defined as 𝐻 𝑡 − 𝑎 is 0 for 𝑡 < 𝑎 has a
jump of size 1 at 𝑡 = 𝑎 (where we can leave it undefined), and is 1 for 𝑡 > 𝑎 in a formula;
0 if 𝑡 < 𝑎
𝐻 𝑡−𝑎 = (𝑎 ≧ 0)
1 if 𝑡 > 𝑎

(a) Unit step function 𝑢(𝑡) (b) Unit step function 𝑢(𝑡 − 𝑎)

● Fig. (a) shows the special case 𝑢(𝑡) which has its jump at zero, and Fig. (b) the general
case 𝑢(𝑡 − 𝑎) for an arbitrary positive a.
● The transform of 𝐻(𝑡 − 𝑎) follows directly from the defining integral.
∞ ∞ ∞
𝑒 −𝑠𝑡
ℒ 𝐻(𝑡 − 𝑎) = 𝑒 −𝑠𝑡 𝐻 𝑡 − 𝑎 𝑑𝑡 = −𝑠𝑡
𝑒 . 1𝑑𝑡 =
0 0 𝑠 𝑡=𝑎

* Here the integration begin at 𝑡 = 𝑎 ≧ 0 because 𝐻 𝑡 − 𝑎 is 0 for 𝑡 < 𝑎. Hence;

𝑒 −𝑎𝑡
ℒ 𝐻 𝑡−𝑎 = (𝑠 > 0)
𝑠

● The unit step function is a typical “engineering function” made to measure for engineering
applications.
● Multiplying functions 𝑓(𝑡) with 𝐻 𝑡 − 𝑎 , we can produce all sorts of effects.
● The simple basic idea is illustrated as in the following figures.

● Fig. (A) – Given function.


● Fig. (B) – It is switched off between 𝑡 = 0 and 𝑡 = 2 (because 𝑢 𝑡 − 2 = 0 when 𝑡 < 2)
and is switched on beginning at 𝑡 = 2.
● Fig. (C) – It is shifted to the right by 2 units, say, for instance, by 2 sec, so that it begins 2
sec. later in the same fashion as before.
● The other example as in the following figures.

● The figs. shows the effect of many unit step functions.


● Three of them in (A) and infinitely many in (B) when continued periodically to the right.
● Fig. (B) is an example of the effect of a rectifier that clips off the negative half-waves of a
sinusoidal voltage.
Function for graphs
● Let we have the following graphs;

y y f (t )  0, 0  t  1 y f (t )  0, 0  t  2
f (t )  1, t  0
f (t )  1, t  1 f (t )  1, t  2

1 1 1
t t t
0 1 2 0 1 2 0 1 2

0, 0  t  1 0, 0  t  2
● The function is called a y  f (t ) H (t  1)    y  f (t ) H (t  2)   
unit step function or  1 t  1   1 t  2 
Heaviside step function. 0, 0  t  1 0, 0  t  2
y  1* H (t  1)    y  1* H (t  2)   
 1 t  1   1 t  2 
Function for graphs
● Let we have the following graphs;

f (t )  t

 f (t )  0, 0  t  1
 
 f (t )  t t  1 
 f (t )  0, 0  t  1
 
0, 0  t  1 called
 f (t )  t  1 t  1 
 t  t-shifting
 1 t  1  0, 0  t  1
 (t  1) 
is Heaviside step function,  1 t  1 
=𝐻 𝑡−1
2nd Shifting Theorem (t-shifting)
● Previously we already look at the 1st shifting theorem; If 𝑓(𝑡) has the transform 𝐹(𝑠), then
𝑒 𝑎𝑡 𝑓(𝑡) has the transform 𝐹 𝑠 − 𝑎 .
● 2nd shifting theorem, If 𝑓(𝑡) has the transform 𝐹(𝑠), then the “shifted function”
0 if 𝑡 < 𝑎
𝑓 𝑡 =𝑓 𝑡−𝑎 𝐻 𝑡−𝑎 =
𝑓(𝑡 − 𝑎) if 𝑡 > 𝑎

has the transform 𝑒 −𝑎𝑠 𝐹 𝑠 .

ℒ 𝑓 𝑡−𝑎 𝐻 𝑡−𝑎 = 𝑒 −𝑎𝑠 𝐹(𝑠)

● If we take inverse on both side, we can write,

𝑓 𝑡 − 𝑎 𝐻 𝑡 − 𝑎 = ℒ −1 𝑒 −𝑎𝑠 𝐹(𝑠)
● Proof:
● From the definition of the Laplace transform;

ℒ 𝑓 𝑡−𝑎 𝐻 𝑡−𝑎 = 𝑒 −𝑠𝑡 . 𝑓 𝑡 − 𝑎 𝐻 𝑡 − 𝑎 𝑑𝑡
0
𝑎 ∞ 0 if 𝑡 < 𝑎
= 𝑒 −𝑠𝑡
. 0 𝑑𝑡 + 𝑒 −𝑠𝑡
. 𝑓 𝑡 − 𝑎 𝑑𝑡 𝑓 𝑡−𝑎 𝐻 𝑡−𝑎 =
𝑓(𝑡 − 𝑎) if 𝑡 > 𝑎
0 𝑎


= 𝑒 −𝑠𝑡 . 𝑓 𝑡 − 𝑎 𝑑𝑡 * Let 𝑝 = 𝑡 − 𝑎
𝑎
i.e. 𝑑𝑝 = 𝑑𝑡

= 𝑒 −𝑠(𝑝+𝑎) . 𝑓 𝑝 𝑑𝑝
𝑎


= 𝑒 −𝑎𝑠 𝑒 −𝑠𝑝 . 𝑓 𝑝 𝑑𝑝
𝑎

= 𝑒 −𝑎𝑠 ℒ 𝑓(𝑡) = 𝑒 −𝑎𝑠 𝐹(𝑠)

ℒ 𝑓 𝑡−𝑎 𝐻 𝑡−𝑎 = 𝑒 −𝑎𝑠 𝐹(𝑠)


Exercise 4
Find the Laplace transform of the following function.

a) 𝑓 𝑡 = 𝑡 − 4 2 𝐻(𝑡 − 4)
b) 𝑓 𝑡 = 𝑡 2 𝐻(𝑡 − 4)
c) 𝑓 𝑡 = 𝑡 3 𝐻(𝑡 − 2)
d) 𝑓 𝑡 = 𝑒 −𝑡 𝐻 𝑡 − 𝑒 −𝑡 𝐻 𝑡 − 3
e) 𝑓 𝑡 = sin 𝑡 𝐻 𝑡 − sin 𝑡 𝐻 𝑡 − 𝜋
How to write a unit step function?
● A function of the following form;
𝑓1 0 ≤ 𝑡 ≤ 𝑎1
𝑓2 𝑎1 ≤ 𝑡 ≤ 𝑎2
𝑓 𝑡 = … …
𝑓𝑛−1 𝑓𝑛−2 ≤ 𝑡 ≤ 𝑎𝑛−1
𝑓𝑛 𝑡 ≥ 𝑎𝑛−1

can be written in terms of unit step function as follows.


𝑓 𝑡 = 𝑓1 + 𝑓2 − 𝑓1 𝐻 𝑡 − 𝑎1 + ⋯ + 𝑓𝑛 − 𝑓𝑛−1 𝐻 𝑡 − 𝑎𝑛−1
Example a:
Sketch the graph and express the following function in term of unit step functions, then by
using the 2nd shifting theorem, find the Laplace transforms.

2 if 0 < 𝑡 < 𝜋
f(t)
𝑓 𝑡 = 0 if 𝜋 < 𝑡 < 2𝜋 𝑓1 = 2
sin 𝑡 if 𝑡 > 2𝜋 𝑓3 = sin 𝑡
𝑓2 = 0
2
Compare with the general solution;
𝑎1 = 𝜋 𝑓1 = 2 t
𝜋 2𝜋 3𝜋 4𝜋
𝑎2 = 2𝜋 𝑓2 = 0
𝑓3 = sin 𝑡

𝑓 𝑡 = 2 + 0 − 2 𝐻 𝑡 − 𝜋 + sin 𝑡 − 0 𝐻 𝑡 − 2𝜋
= 2 − 2𝐻 𝑡 − 𝜋 + 𝐻 𝑡 − 2𝜋 sin 𝑡
ℒ 𝑓 𝑡 = ℒ 2 − 2𝐻 𝑡 − 𝜋 + 𝐻 𝑡 − 2𝜋 sin 𝑡

= ℒ 2 − 2ℒ 𝐻 𝑡 − 𝜋 + ℒ 𝐻 𝑡 − 2𝜋 sin 𝑡

2
ℒ 2 = --- Constant function
𝑠
𝑒 −𝜋𝑠
2ℒ 𝐻 𝑡 − 𝜋 =2 --- Heaviside function
𝑠
𝑒 −2𝜋𝑠
ℒ 𝐻 𝑡 − 2𝜋 sin 𝑡 = 2 --- t-shifting
𝑠 +1

2 𝑒 −𝜋𝑠 𝑒 −2𝜋𝑠
= −2 + 2
𝑠 𝑠 𝑠 +1
Example b:
Express the following graph in terms of unit step function and then find the Laplace transform

f(t)

t
0 1 2
Example c:
Express the following step function in terms of unit step function and then find the Laplace transform

𝑒 𝑡 0≤𝑡<3
𝑓 𝑡 =
0 𝑡≥3
Example d:
Express the following graph in terms of unit step function and then find the Laplace transform

f(t)

t
0 1 2
Example e:
Sketch the graph and express the following function in term of unit step functions, then by
using the 2nd shifting theorem, find the Laplace transforms.

0 if 𝑡<𝑎
𝑓 𝑡 = 𝑒 𝑡−𝑎 if 0 < 𝑡 < 𝑏
0 if 𝑡>𝑏
Example f:
Express the following graph in terms of unit step function and then find the Laplace transform

f(t)

t
0 1 2
Partial Fraction

Factor in denominator Term in partial fraction decomposition

𝑎𝑥 + 𝑏 𝐴
𝑎𝑥 + 𝑏

𝑘 𝐴1 𝐴2 𝐴𝑘
𝑎𝑥 + 𝑏 + 𝑘 = 1,2,3, …
𝑎𝑥 + 𝑏 𝑎𝑥 + 𝑏 2 + ⋯ + 𝑎𝑥 + 𝑏 𝑘

𝑎𝑥 2 + 𝑏𝑥 + 𝑐 𝐴𝑥 + 𝐵
𝑎𝑥 2 + 𝑏𝑥 + 𝑐

𝐴1 𝑥 + 𝐵1 𝐴2 𝑥 + 𝐵2 𝐴𝑘 𝑥 + 𝐵𝑘
𝑎𝑥 2 + 𝑏𝑥 + 𝑐 𝑘
+ + ⋯ + 𝑘 = 1,2,3, …
𝑎𝑥 + 𝑏 𝑎𝑥 + 𝑏 2 𝑎𝑥 + 𝑏 𝑘

You might also like