Docsity

Laplace Transform: Definition, Properties, and Applications, Study notes of Economics Concepts for Engineers

Toggle sidebar
bg1
Lecture Notes for Laplace Transform
Wen Shen
April 2009
NB! These notes are used by myself. They are provided to students as a supplement to the
textbook. They can not substitute the textbook.
—Laplace Transform is used to handle piecewise continuous or impulsive force.
6.1: Definition of the Laplace transform (1)
Topics:
•Definition of Laplace transform,
•Compute Laplace transform by definition, including piecewise continuous functions.
Definition: Given a function f(t), t≥0, its Laplace transform F(s) = L{f(t)}is defined as
F(s) = L{f(t)}.
=Z∞
0
e−stf(t)dt .
= lim
A→∞ ZA
0
e−stf(t)dt
We say the transform converges if the limit exists, and diverges if not.
Next we will give examples on computing the Laplace transform of given functions by defini-
tion.
Example 1. f(t) = 1 for t≥0.
F(s) = L{f(t)}= lim
A→∞ ZA
0
e−st ·1dt = lim
A→∞ −1
se−st¯¯¯¯
A
0
= lim
A→∞ −1
s£e−sA −1¤=1
s,(s > 0)
Example 2. f(t) = et.
F(s) = L{f(t)}= lim
A→∞ ZA
0
e−steatdt = lim
A→∞ ZA
0
e−(s−a)tdt = lim
A→∞ −1
s−ae−(s−a)t¯¯¯¯
A
0
= lim
A→∞ −1
s−a¡e−(s−a)A−1¢=1
s−a,(s > a)
1
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17

Partial preview of the text

Download Laplace Transform: Definition, Properties, and Applications and more Study notes Economics Concepts for Engineers in PDF only on Docsity!

Lecture Notes for Laplace Transform

Wen Shen

April 2009

NB! These notes are used by myself. They are provided to students as a supplement to the textbook. They can not substitute the textbook.

—Laplace Transform is used to handle piecewise continuous or impulsive force.

6.1: Definition of the Laplace transform (1)

Topics:

  • Definition of Laplace transform,
  • Compute Laplace transform by definition, including piecewise continuous functions.

Definition: Given a function f (t), t ≥ 0, its Laplace transform F (s) = L{f (t)} is defined as

F (s) = L{f (t)} =.

0

e−stf (t) dt = lim. A→∞

∫ A

0

e−stf (t) dt

We say the transform converges if the limit exists, and diverges if not.

Next we will give examples on computing the Laplace transform of given functions by defini- tion.

Example 1. f (t) = 1 for t ≥ 0.

F (s) = L{f (t)} = lim A→∞

∫ A

0

e−st^ · 1 dt = lim A→∞ −

s e−st

A

0

= lim A→∞ −

s

[

e−sA^ − 1

]

s , (s > 0)

Example 2. f (t) = et.

F (s) = L{f (t)} = lim A→∞

∫ A

0

e−steatdt = lim A→∞

∫ A

0

e−(s−a)tdt = lim A→∞ −

s − a e−(s−a)t

A

0 = (^) Alim→∞ −

s − a

e−(s−a)A^ − 1

s − a , (s > a)

Example 3. f (t) = tn, for n ≥ 1 integer.

F (s) = (^) Alim→∞

∫ A

0

e−sttndt = (^) Alim→∞

tn^ e−st −s

A

0

∫ A

0

ntn−^1 e−st −s dt

n s lim A→∞

∫ A

0

e−sttn−^1 dt = n s L{tn−^1 }.

So we get a recursive relation

L{tn} = n s L{tn−^1 }, ∀n,

which means L{tn−^1 } = n − 1 s L{tn−^2 }, L{tn−^2 } = n − 2 s L{tn−^3 }, · · ·

By induction, we get

L{tn} = n s L{tn−^1 } = n s

(n − 1) s L{tn−^2 } = n s

(n − 1) s

(n − 2) s L{tn−^3 }

= · · · = n s

(n − 1) s

(n − 2) s

s

L{ 1 } =

n! sn

s

n! sn+^ , (s > 0)

Example 4. Find the Laplace transform of sin at and cos at.

Method 1. Compute by definition, with integration-by-parts, twice. (lots of work...)

Method 2. Use the Euler’s formula

eiat^ = cos at + i sin at, ⇒ L{eiat} = L{cos at} + iL{sin at}.

By Example 2 we have

L{eiat} =

s − ia

1(s + ia) (s − ia)(s + ia)

s + ia s^2 + a^2

s s^2 + a^2

  • i a s^2 + a^2

Comparing the real and imaginary parts, we get

L{cos at} = s s^2 + a^2 , L{sin at} = a s^2 + a^2 , (s > 0).

Remark: Now we will use

0 instead of limA→∞

∫ A

0 , without causing confusion.

For piecewise continuous functions, Laplace transform can be computed by integrating each integral and add up at the end.

Example 5. Find the Laplace transform of

f (t) =

1 , 0 ≤ t < 2 , t − 2 , 2 ≤ t.

6.2: Solution of initial value problems (4)

Topics:

  • Properties of Laplace transform, with proofs and examples
  • Inverse Laplace transform, with examples, review of partial fraction,
  • Solution of initial value problems, with examples covering various cases.

Properties of Laplace transform:

  1. Linearity: L{c 1 f (t) + c 2 g(t)} = c 1 L{f (t)} + c 2 L{g(t)}.
  2. First derivative: L{f ′(t)} = sL{f (t)} − f (0).
  3. Second derivative: L{f ′′(t)} = s^2 L{f (t)} − sf (0) − f ′(0).
  4. Higher order derivative:

L{f (n)(t)} = snL{f (t)} − sn−^1 f (0) − sn−^2 f ′(0) − · · · − sf (n−2)(0) − f (n−1)(0).

  1. L{−tf (t)} = F ′(s) where F (s) = L{f (t)}. This also implies L{tf (t)} = −F ′(s).
  2. L{eatf (t)} = F (s − a) where F (s) = L{f (t)}. This implies eatf (t) = L−^1 {F (s − a)}.

Remarks:

  • Note property 2 and 3 are useful in differential equations. It shows that each derivative in t caused a multiplication of s in the Laplace transform.
  • Property 5 is the counter part for Property 2. It shows that each derivative in s causes a multiplication of −t in the inverse Laplace transform.
  • Property 6 is also known as the Shift Theorem. A counter part of it will come later in chapter 6.3.

Proof:

  1. This follows by definition.
  2. By definition

L{f ′(t)} =

0

e−stf ′(t)dt = e−stf (t)

∞ 0

0

(−s)e−stf (t)dt = −f (0) + sL{f (t)}.

  1. This one follows from Property 2. Set f to be f ′^ we get

L{f ′′(t)} = sL{f ′(t)} − f ′(0) = s(sL{f (t)} − f (0)) − f ′(0) = s^2 L{f (t)} − sf (0) − f ′(0).

  1. This follows by induction, using property 2.
  2. The proof follows from the definition:

F ′(s) = d ds

0

e−stf (t)dt =

0

∂s (e−st)f (t)dt =

0

(−t)e−stf (t)dt = L{−tf (t)}.

  1. This proof also follows from definition:

L{eatf (t)}

0

e−steatf (t)dt =

0

e−(s−a)tf (t)dt = F (s − a).

By using these properties, we could find more easily Laplace transforms of many other func- tions.

Example 1.

From L{tn} = n! sn+^ , we get L{eattn} = n! (s − a)n+^

Example 2.

From L{sin bt} = b s^2 + b^2 , we get L{eat^ sin bt} = b (s − a)^2 + b^2

Example 3.

From L{cos bt} = s s^2 + b^2

, we get L{eat^ cos bt} = s − a (s − a)^2 + b^2

Example 4.

L{t^3 + 5t − 2 } = L{t^3 } + 5L{t} − 2 L{ 1 } =

s^4

s^2

s

Example 5.

L{e^2 t(t^3 + 5t − 2)} =

(s − 2)^4

(s − 2)^2

s − 2

Inverse Laplace transform. Definition:

L−^1 {F (s)} = f (t), if F (s) = L{f (t)}.

Technique: find the way back.

Some simple examples:

Example 10.

L−^1

s^2 + 4

= L−^1

s^2 + 2^2

L−^1

s^2 + 2^2

sin 2t.

Example 11.

L−^1

(s + 5)^4

= L−^1

(s + 5)^4

L−^1

(s + 5)^4

e−^5 tL−^1

s^4

e−^5 tt^3.

Example 12.

L−^1

s + 1 s^2 + 4

= L−^1

s s^2 + 4

L−^1

s^2 + 4

= cos 2t

sin 2t.

Example 13.

L−^1

s + 1 s^2 − 4

= L−^1

s + 1 (s − 2)(s + 2)

= L−^1

s − 2

s + 2

e^2 t^ +

e−^2 t.

Here we used partial fraction to find out:

s + 1 (s − 2)(s + 2)

A

s − 2

B

s + 2

, A = 3/ 4 , B = 1/ 4.

Solutions of initial value problems.

We will go through one example first.

Example 14. (Two distinct real roots.) Solve the initial value problem by Laplace transform,

y′′^ − 3 y′^ − 10 y = 2, y(0) = 1, y′(0) = 2.

Step 1. Take Laplace transform on both sides: Let L{y(t)} = Y (s), and then

L{y′(t)} = sY (s) − y(0) = sY − 1 , L{y′′(t)} = s^2 Y (s) − sy(0) − y′(0) = s^2 Y − s − 2.

Note the initial conditions are the first thing to go in!

L{y′′(t)} − 3 L{y′(t)} − 10 L{y(t)} = L{ 2 }, ⇒ s^2 Y − s − 2 − 3(sY − 1) − 10 Y =

s

Now we get an algebraic equation for Y (s).

Step 2: Solve it for Y (s):

(s^2 − 3 s − 10)Y (s) =

s

  • s + 2 − 3 = s^2 − s + 2 s , ⇒ Y (s) = s^2 − s + 2 s(s − 5)(s + 2)

Step 3: Take inverse Laplace transform to get y(t) = L−^1 {Y (s)}. The main technique here is partial fraction.

Y (s) = s^2 − s + 2 s(s − 5)(s + 2)

A

s

B

s − 5

C

s + 2

A(s − 5)(s + 2) + Bs(s + 2) + Cs(s − 5) s(s − 5)(s + 2)

Compare the numerators:

s^2 − s + 2 = A(s − 5)(s + 2) + Bs(s + 2) + Cs(s − 5).

The previous equation holds for all values of s. Set s = 0: we get − 10 A = 2, so A = −^15. Set s = 5: we get 35B = 22, so B = 2235. Set s = −2: we get 14C = 8, so C = 47.

Now, Y (s) is written into sum of terms which we can find the inverse transform:

y(t) = AL−^1 {

s

} + BL−^1 {

s − 5

} + CL−^1 {

s + 2

e^5 t^ +

e−^2 t.

Example 16. (Complex roots.)

y′′^ − 2 y′^ + 2y = e−t, y(0) = 0, y′(0) = 1.

Before we solve it, let’s use the method of undetermined coefficients to find out which terms will be in the solution.

r^2 − 2 r + 2 = 0, (r − 1)^1 + 1 = 0, r 1 , 2 = 1 ± i,

yH = c 1 et^ cos t + c 2 et^ sin t, Y = Ae−t,

so the solution should have the form:

y = yH + Y = c 1 et^ cos t + c 2 et^ sin t + Ae−t.

The Laplace transform would be

Y (s) = c 1 s − 1 (s − 1)^2 + 1

  • c 2

(s − 1)^2 + 1

+ A

s + 1

c 1 (s − 1) + c 2 (s − 1)^2 + 1

A

s + 1

This gives us idea on which terms to look for in partial fraction.

Now let’s use the Laplace transform:

Y (s) = L{y}, L{y′} = sY − y(0) = sY, L{y′′} = s^2 Y − sy(0) − y(0) = s^2 Y − 1.

s^2 Y − 1 − 2 sY + 2Y =

s + 1

, ⇒ (s^2 − 2 s + 2)Y (s) =

s + 1

s + 2 s + 1

Y (s) = s + 2 (s + 1)(s^2 − 2 s + 2)

s + 2 (s + 1)((s − 1)^2 + 1)

A

s + 1

B(s − 1) + C (s − 1)^2 + 1

Compare the numerators:

s + 2 = A((s − 1)^2 + 1) + (B(s − 1) + C)(s + 1).

Set s = −1: 5A = 1, A = 15. Compare coefficients of s^2 -term: A + B = 0, B = −A = −^15. Set any value of s, say s = 0: 2 = 2A − B + C, C = 2 − 2 A + B = 95.

Y (s) =

s + 1

s − 1 (s − 1)^2 + 1

(s − 1)^2 + 1

y(t) =

e−t^ −

et^ cos t +

et^ sin t.

We see this fits our prediction.

Example 17. (Pure imaginary roots.)

y′′^ + y = cos 2t, y(0) = 2, y′(0) = 1.

Again, let’s first predict the terms in the solution:

r^2 + 1 = 0, r 1 , 2 = ±i, yH = c 1 cos t + c 2 sin t, Y = A cos 2t

so y = yH + Y = c 1 cos t + c 2 sin t + A cos 2t,

and the Laplace transform would be

Y (s) = c 1 s s^1 + 1

  • c 2

s^2 + 1

+ A

s s^2 + 4

Now, let’s take Laplace transform on both sides:

s^2 Y − 2 s − 1 + Y = L{cos 2t} = s s^2 + 4

(s^2 + 1)Y (s) = s s^2 + 4

  • 2s + 1 = 2 s^3 + s^2 + 9s + 4 s^2 + 4

Y (s) = 2 s^3 + s^2 + 9s + 4 (s^2 + 4)(s^2 + 1)

As + B s^2 + 1

Cs + D s^2 + 4

Comparing numerators, we get

2 s^3 + s^2 + 9s + 4 = (As + B)(s^2 + 4) + (Cs + D)(s^2 + 1).

One may expand the right-hand side and compare terms to find A, B, C, D, but that takes more work. Let’s try by setting s into complex numbers. Set s = i, and remember the facts i^2 = −1 and i^3 = −i, we have

− 2 i − 1 + 9i + 4 = (Ai + B)(−1 + 4), 3 + 7i = 3B + 3Ai, B = 1, A =

Set now s = 2i:

− 16 i − 4 + 18i + 4 = (2Ci + D)(−3), 0 + 2i = − 3 D − 6 Ci, D = 0, C = −

So Y (s) =

s s^2 + 1

s^2 + 1

s s^2 + 4 and y(t) =

cos t + sin t −

cos 2t.

6.3: Step functions (2)

Topics:

  • Definition and basic application of unit step (Heaviside) function,
  • Laplace transform of step functions and functions involving step functions (piecewise continuous functions),
  • Inverse transform involving step functions.

We use steps functions to form piecewise continuous functions.

Unit step function(Heaviside function):

uct =

0 , 0 ≤ t < c, 1 , c ≤ t.

for c ≥ 0. A plot of uc(t) is below:

(^0) c

u c

t

1

For a given function f (t), if it is multiplied with uc(t), then

uctf (t) =

0 , 0 < t < c, f (t), c ≤ t.

We say uc picks up the interval [c, ∞).

Example 1. Consider

1 − uc(t) =

1 , 0 ≤ t < c, 0 , c ≤ t.

A plot of this is given below

(^0) c

u c

t

1

1−

We see that this function picks up the interval [0, c).

Example 2. Rectangular pulse. The plot of the function looks like

b

0

u

t

1

a b

a −u

for 0 ≤ a < b < ∞. We see it can be expressed as

ua(t) − ub(t)

and it picks up the interval [a, b).

Example 3. For the function

g(t) =

f (t), a ≤ t < b 0 , otherwise

We can rewrite it in terms of the unit step function as

g(t) = f (t) ·

ua(t) − ub(t)

Example 4. For the function

f t =

sin t, 0 ≤ t < 1 , et, 1 ≤ t < 5 , t^2 5 ≤ t,

we can rewrite it in terms of the unit step function as we did in Example 3, treat each interval separately

f (t) = sin t ·

u 0 (t) − u 1 (t)

  • et^ ·

u 1 (t) − u 5 (t)

  • t^2 · u 5 (t).

In following examples we will compute Laplace transform of piecewise continuous functions with the help of the unit step function.

Example 5. Given

f (t) =

sin t, 0 ≤ t < π 4 , sin t + cos(t − π 4 ), π 4 ≤ t.

It can be rewritten in terms of the unit step function as

f (t) = sin t + uπ 4 (t) · cos(t −

π 4

(Or, if we write out each intervals

f (t) = sin t(1 − uπ 4 (t)) + (sin t + cos(t − π 4 ))uπ 4 (t) = sin t + uπ 4 (t) · cos(t − π 4

which gives the same answer.)

And the Laplace transform of f is

F (s) = L{sin t} + L{uπ 4 (t) · cos(t − π 4

s^2 + 1

  • e−^ π 4 s s s^2 + 1

Example 6. Given

f (t) =

t, 0 ≤ t < 1 , 1 , 1 ≤ t.

It can be rewritten in terms of the unit step function as

f (t) = t(1 − u 1 (t)) + 1 · u 1 (t) = t − (t − 1)u 1 (t).

The Laplace transform is

L{f (t)} = L{t} − L{(t − 1)u 1 (t)} =

s^2 − e−s^

s^2

Example 7. Given

f (t) =

0 , 0 ≤ t < 2 , t + 3, 2 ≤ t.

We can rewrite it in terms of the unit step function as

f (t) = (t + 3)u 2 (t) = (t − 2 + 5)u 2 (t) = (t − 2)u 2 (t) + 5u 2 (t).

The Laplace transform is

L{f (t)} = L{(t − 2)u 2 (t)} + 5L{u 2 (t)} = e−^2 s^

s^2

  • 5e−^2 s^

s

Example 8. Given

g(t) =

1 , 0 ≤ t < 2 , t^2 , 2 ≤ t.

We can rewrite it in terms of the unit step function as

g(t) = 1 · (1 − u 2 (t)) + t^2 u 2 (t) = 1 + (t^2 − 1)u 2 (t).

Observe that

t^2 − 1 = (t − 2 + 2)^2 − 1 = (t − 2)^2 + 4(t − 2) + 4 − 1 = (t − 2)^2 + 4(t − 2) + 3 ,

we have g(t) = 1 +

(t − 2)^2 + 4(t − 2) + 3

u 2 (t).

The Laplace transform is

L{g(t)} =

s

  • e−^2 s

s^3

s^2

s

Example 9. Given

f (t) =

0 , 0 ≤ t < 3 , et, 3 ≤ t < 4 , 0 , 4 ≤ t.

We can rewrite it in terms of the unit step function as

f (t) = et^ (u 3 (t) − u 4 (t)) = u 3 (t)et−^3 e^3 − u 4 (t)et−^4 e^4.

The Laplace transform is

L{g(t)} = e^3 e−^3 s^

s − 1 − e^4 e−^4 s^

s − 1

s − 1

[

e−3(s−1)^ − e−4(s−1)

]

6.4: Differential equations with discontinuous forcing

functions (1)

Topics:

  • Solve initial value problems with discontinuous force, examples of various cases,
  • Describe behavior of solutions, and make physical sense of them.

Next we study initial value problems with discontinuous force. We will start with an example.

Example 1. (Damped system with force, complex roots) Solve the following initial value problem

y′′^ + y′^ + y = g(t), g(t) =

0 , 0 ≤ t < 1 , 1 , 1 ≤ t, ,^ y(0) = 1,^ y

Let L{y(t)} = Y (s), so L{y′} = sY − 1 and L{y′′} = s^2 Y − s. Also we have L{g(t)} = L{u 1 (t)} = e−s^1 s. Then

s^2 Y − s + sY − 1 + Y = e−s^

s

which gives

Y (s) =

e−s s(s^2 + s + 1)

s + 1 s^2 + s + 1

Now we need to find the inverse Laplace transform for Y (s). We have to do partial fraction first. We have 1 s(s^2 + s + 1)

A

s

Bs + C s^2 + s + 1

Compare the numerators on both sides:

1 = A(s^2 + s + 1) + (Bs + C) · s

Set s = 0, we get A = 1.

Compare s^2 -term: 0 = A + B, so B = −A = −1.

Compare s-term: 0 = A + C, so C = −A = −1.

So

Y (s) = e−s

s

s + 1 s^2 + s + 1

s + 1 s^2 + s + 1

We work out some detail

s + 1 s^2 + s + 1

s + 1 (s + 12 )^2 + (

√ 3 2 )

(s + 12 ) + √^13 ·

√ 3 2 (s + 12 )^2 + (

√ 3 2 )

so

L−^1

s + 1 s^2 + s + 1

= e−^ (^12) t

cos

t +

sin

t

We conclude

y(t) = u 1 (t)

[

1 − e−^ (^12) (t−1)

cos

(t − 1) − sin

(t − 1)

)]

+e−^ (^12) t

[

cos

t +

√^1

sin

t

]

Remark: There are other ways to work out the partial fractions.

Extra question: What happens when t → ∞?

Answer: We see all the terms with the exponential function will go to zero, so y → 1 in the limit. We can view this system as the spring-mass system with damping. Since g(t) becomes constant 1 for large t, and the particular solution (which is also the steady state) with 1 on the right hand side is 1, which provides the limit for y.

Further observation:

  • We see that the solution to the homogeneous equation is

e−^ (^12) t

[

c 1 cos

t + c 2 sin

t

]

and these terms do appear in the solution.

  • Actually the solution consists of two part: the forced response and the homogeneous solution.
  • Furthermore, the g has a discontinuity at t = 1, and we see a jump in the solution also for t = 1, as in the term u 1 (t).