chapter 7: the laplace transform – part 1homepage.ntu.edu.tw/.../de_lecture_10_handout_v3.pdf ·...

34
Laplace and Inverse Laplace Transform: Definitions and Basics Solve Initial Value Problems using Laplace Transforms Summary Chapter 7: The Laplace Transform – Part 1 王奕翔 Department of Electrical Engineering National Taiwan University [email protected] November 26, 2013 1 / 34 王奕翔 DE Lecture 10

Upload: others

Post on 19-Jul-2020

5 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Chapter 7: The Laplace Transform – Part 1homepage.ntu.edu.tw/.../DE_Lecture_10_handout_v3.pdf · The Laplace transform of a linear differential equation with constant coefÞcients

Laplace and Inverse Laplace Transform: Definitions and BasicsSolve Initial Value Problems using Laplace Transforms

Summary

Chapter 7: The Laplace Transform – Part 1

王奕翔

Department of Electrical EngineeringNational Taiwan University

[email protected]

November 26, 2013

1 / 34 王奕翔 DE Lecture 10

Page 2: Chapter 7: The Laplace Transform – Part 1homepage.ntu.edu.tw/.../DE_Lecture_10_handout_v3.pdf · The Laplace transform of a linear differential equation with constant coefÞcients

Laplace and Inverse Laplace Transform: Definitions and BasicsSolve Initial Value Problems using Laplace Transforms

Summary

Solving an initial value problem associated with a linear differentialequation:

1 General solution = complimentary solution + particular solution.

2 Plug in the initial conditions to specify the undetermined coefficients.

Question: Is there a faster way?

2 / 34 王奕翔 DE Lecture 10

Page 3: Chapter 7: The Laplace Transform – Part 1homepage.ntu.edu.tw/.../DE_Lecture_10_handout_v3.pdf · The Laplace transform of a linear differential equation with constant coefÞcients

Laplace and Inverse Laplace Transform: Definitions and BasicsSolve Initial Value Problems using Laplace Transforms

Summary

In Chapter 4, 5, and 6, we majorly deal with linear differential equationswith continuous, differentiable, or analytic coefficients.But in real applications, sometimes this is not true.For example:

where the minus sign indicates that V is decreasing. Note here that we are ignoringthe possibility of friction at the hole that might cause a reduction of the rate of flowthere. Now if the tank is such that the volume of water in it at time t can be writtenV(t) ! Awh, where Aw (in ft2) is the constant area of the upper surface of the water(see Figure 1.3.3), then dV!dt ! Aw dh!dt. Substituting this last expression into (9)gives us the desired differential equation for the height of the water at time t:

. (10)

It is interesting to note that (10) remains valid even when Aw is not constant. In thiscase we must express the upper surface area of the water as a function of h—that is,Aw ! A(h). See Problem 14 in Exercises 1.3.

Series Circuits Consider the single-loop LRC-series circuit shown in Fig-ure 1.3.4(a), containing an inductor, resistor, and capacitor. The current in a circuitafter a switch is closed is denoted by i(t); the charge on a capacitor at time t is de-noted by q(t). The letters L, R, and C are known as inductance, resistance, and capac-itance, respectively, and are generally constants. Now according to Kirchhoff’ssecond law, the impressed voltage E(t) on a closed loop must equal the sum of thevoltage drops in the loop. Figure 1.3.4(b) shows the symbols and the formulas for therespective voltage drops across an inductor, a capacitor, and a resistor. Since currenti(t) is related to charge q(t) on the capacitor by i ! dq!dt, adding the three voltages

inductor resistor capacitor

and equating the sum to the impressed voltage yields a second-order differentialequation

(11)

We will examine a differential equation analogous to (11) in great detail inSection 5.1.

Falling Bodies To construct a mathematical model of the motion of a bodymoving in a force field, one often starts with the laws of motion formulated by theEnglish mathematician Isaac Newton (1643–1727). Recall from elementary physicsthat Newton’s first law of motion states that a body either will remain at rest or willcontinue to move with a constant velocity unless acted on by an external force. Ineach case this is equivalent to saying that when the sum of the forces —that is, the net or resultant force—acting on the body is zero, then the accelerationa of the body is zero. Newton’s second law of motion indicates that when the netforce acting on a body is not zero, then the net force is proportional to its accelera-tion a or, more precisely, F ! ma, where m is the mass of the body.

Now suppose a rock is tossed upward from the roof of a building as illustratedin Figure 1.3.5. What is the position s(t) of the rock relative to the ground at time t?The acceleration of the rock is the second derivative d2s!dt2. If we assume that theupward direction is positive and that no force acts on the rock other than the force ofgravity, then Newton’s second law gives

. (12)

In other words, the net force is simply the weight F ! F1 ! "W of the rock near thesurface of the Earth. Recall that the magnitude of the weight is W ! mg, where m is

m d 2sdt2 ! "mg or

d 2sdt2 ! "g

F ! " Fk

L d 2qdt2 # R

dqdt

#1C

q ! E(t).

L didt

! L d 2qdt2 , iR ! R

dqdt

, and 1C

q

dhdt

! "Ah

Aw 12gh

1.3 DIFFERENTIAL EQUATIONS AS MATHEMATICAL MODELS ! 25

(a)

(b)

E(t)L

C

R

(a) LRC-series circuit

(b)

L

R

Inductorinductance L: henries (h)

voltage drop across: Ldidt

i

Capacitorcapacitance C: farads (f)

voltage drop across:1C

i

Resistorresistance R: ohms (!)voltage drop across: iR

i

q

C

FIGURE 1.3.4 Symbols, units, andvoltages. Current i(t) and charge q(t) aremeasured in amperes (A) and coulombs(C), respectively

groundbuilding

rock

s(t)s0

v0

FIGURE 1.3.5 Position of rockmeasured from ground level

92467_01_ch01_p01-034.qxd 2/10/12 12:53 PM Page 25

E(t)

t

Square voltage input: Periodic, Discontinuous.Question: How to solve the current? How to deal with discontinuity?

3 / 34 王奕翔 DE Lecture 10

Page 4: Chapter 7: The Laplace Transform – Part 1homepage.ntu.edu.tw/.../DE_Lecture_10_handout_v3.pdf · The Laplace transform of a linear differential equation with constant coefÞcients

Laplace and Inverse Laplace Transform: Definitions and BasicsSolve Initial Value Problems using Laplace Transforms

Summary

In this lecture we introduce a powerful tool:

Laplace Transform

Invented by Pierre-Simon Laplace (1749 - 1827).

4 / 34 王奕翔 DE Lecture 10

Page 5: Chapter 7: The Laplace Transform – Part 1homepage.ntu.edu.tw/.../DE_Lecture_10_handout_v3.pdf · The Laplace transform of a linear differential equation with constant coefÞcients

Laplace and Inverse Laplace Transform: Definitions and BasicsSolve Initial Value Problems using Laplace Transforms

Summary

Overview of the Method

7.2 INVERSE TRANSFORMS AND TRANSFORMS OF DERIVATIVES ! 285

where the ai, i ! 0, 1, . . . , n and y0, y1, . . . , yn"1 are constants. By the linearity prop-erty the Laplace transform of this linear combination is a linear combination ofLaplace transforms:

(9)

From Theorem 7.2.2, (9) becomes

,(10)

where ! G(s). In other words,

The Laplace transform of a linear differential equation with constant coefficientsbecomes an algebraic equation in Y(s).

If we solve the general transformed equation (10) for the symbol Y(s), we first obtainP(s)Y(s) ! Q(s) # G(s) and then write

, (11)

where is a polynomial in s of degreeless than or equal to consisting of the various products of the coefficientsai, . . . , n and the prescribed initial conditions y0, y1, . . . , yn"1, and G(s) isthe Laplace transform of g(t).* Typically, we put the two terms in (11) over the leastcommon denominator and then decompose the expression into two or morepartial fractions. Finally, the solution y(t) of the original initial-value problem is

, where the inverse transform is done term by term.The procedure is summarized in the diagram in Figure 7.2.1.

y(t) ! ! "1{Y(s)}

i ! 1,n " 1

P(s) ! ansn # an"1sn"1 # $ $ $ # a0, Q(s)

Y(s) !Q(s)P(s)

#G(s)P(s)

!{y(t)} ! Y(s) and !{g(t)}

# an"1[sn"1Y(s) " sn"2y(0) " $ $ $ " y(n"2)(0)] # $ $ $ # a0Y(s) ! G(s)

an [snY(s) " sn"1y(0) " $ $ $ " y(n"1)(0)]

an!!dnydtn" # an"1!!d n"1y

dtn"1" # $ $ $ # a0 !{y} ! !{g(t)}.

*The polynomial P(s) is the same as the nth-degree auxiliary polynomial in (12) in Section 4.3 with theusual symbol m replaced by s.

The next example illustrates the foregoing method of solving DEs, as well aspartial fraction decomposition in the case when the denominator of Y(s) contains aquadratic polynomial with no real factors.

Apply Laplacetransform

Apply inverse Laplacetransform

Find unknown y(t)that satisfies DE

and initial conditions

Transformed DEbecomes an algebraic

equation in Y(s)

Solve transformedequation for Y(s)

Solution y(t)of original IVP !1

FIGURE 7.2.1 Steps in solving an IVP by the Laplace transform

EXAMPLE 4 Solving a First-Order IVP

Use the Laplace transform to solve the initial-value problem

.

SOLUTION We first take the transform of each member of the differential equation:

. (12)!!dydt" # 3!{y} ! 13!{sin 2t}

dydt

# 3y ! 13 sin 2t, y(0) ! 6

92467_07_ch07_p273-324.qxd 3/30/12 4:13 PM Page 285

5 / 34 王奕翔 DE Lecture 10

Page 6: Chapter 7: The Laplace Transform – Part 1homepage.ntu.edu.tw/.../DE_Lecture_10_handout_v3.pdf · The Laplace transform of a linear differential equation with constant coefÞcients

Laplace and Inverse Laplace Transform: Definitions and BasicsSolve Initial Value Problems using Laplace Transforms

Summary

1 Laplace and Inverse Laplace Transform: Definitions and Basics

2 Solve Initial Value Problems using Laplace Transforms

3 Summary

6 / 34 王奕翔 DE Lecture 10

Page 7: Chapter 7: The Laplace Transform – Part 1homepage.ntu.edu.tw/.../DE_Lecture_10_handout_v3.pdf · The Laplace transform of a linear differential equation with constant coefÞcients

Laplace and Inverse Laplace Transform: Definitions and BasicsSolve Initial Value Problems using Laplace Transforms

Summary

Definition of the Laplace Transform

DefinitionFor a function f(t) defined for t ≥ 0, its Laplace Transfrom is defined as

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

∫ ∞

0

e−stf(t)dt,

given that the improper integral converges.

Note: Use capital letters to denote transforms.

f(t) L−→ F(s), g(t) L−→ G(s), y(t) L−→ Y(s), etc.

Note: The domain of the Laplace transform F(s) (that is, where theimproper integral converges) depends on the function f(t)

7 / 34 王奕翔 DE Lecture 10

Page 8: Chapter 7: The Laplace Transform – Part 1homepage.ntu.edu.tw/.../DE_Lecture_10_handout_v3.pdf · The Laplace transform of a linear differential equation with constant coefÞcients

Laplace and Inverse Laplace Transform: Definitions and BasicsSolve Initial Value Problems using Laplace Transforms

Summary

Examples of Laplace Transform

ExampleEvaluate L {1}.

L {1} =

∫ ∞

0

e−st(1)dt = limT→∞

∫ T

0

e−stdt

= limT→∞

[−e−st

s

]T

0

= limT→∞

1− e−sT

s .

When does the above converge? s > 0!

Hence, the domain of L {1} is s > 0, and L {1} =1

s .

8 / 34 王奕翔 DE Lecture 10

Page 9: Chapter 7: The Laplace Transform – Part 1homepage.ntu.edu.tw/.../DE_Lecture_10_handout_v3.pdf · The Laplace transform of a linear differential equation with constant coefÞcients

Laplace and Inverse Laplace Transform: Definitions and BasicsSolve Initial Value Problems using Laplace Transforms

Summary

Examples of Laplace Transform

ExampleEvaluate L {t}.

L {t} =

∫ ∞

0

te−stdt = limT→∞

∫ T

0

td(−e−st

s

)= lim

T→∞

[−te−st

s

]T

0

+

∫ T

0

1

s e−stdt = limT→∞

−Te−sT

s +1

s L {1} .

When does the above converge? s > 0!

Hence, the domain of L {t} is s > 0, and L {t} =1

s2 .

9 / 34 王奕翔 DE Lecture 10

Page 10: Chapter 7: The Laplace Transform – Part 1homepage.ntu.edu.tw/.../DE_Lecture_10_handout_v3.pdf · The Laplace transform of a linear differential equation with constant coefÞcients

Laplace and Inverse Laplace Transform: Definitions and BasicsSolve Initial Value Problems using Laplace Transforms

Summary

Laplace Transform of tn

L {tn} =n!

sn+1, n = 0, 1, 2, . . . , s > 0

Proof: One way is to prove it by induction. We will show another proofafter discussing the Laplace transform of the derivative of a function.

10 / 34 王奕翔 DE Lecture 10

Page 11: Chapter 7: The Laplace Transform – Part 1homepage.ntu.edu.tw/.../DE_Lecture_10_handout_v3.pdf · The Laplace transform of a linear differential equation with constant coefÞcients

Laplace and Inverse Laplace Transform: Definitions and BasicsSolve Initial Value Problems using Laplace Transforms

Summary

Laplace Transform of eat

L{

eat} =1

s − a , s > a

Proof:

L{

eat} =

∫ ∞

0

eate−stdt = limT→∞

∫ T

0

e−(s−a)tdt

= limT→∞

[−e−(s−a)t

s − a

]T

0

= limT→∞

1− e−(s−a)T

s − a

When does the above converge? s − a > 0!Hence, the domain of L {eat} is s > a, and L {eat} = 1

s−a .

11 / 34 王奕翔 DE Lecture 10

Page 12: Chapter 7: The Laplace Transform – Part 1homepage.ntu.edu.tw/.../DE_Lecture_10_handout_v3.pdf · The Laplace transform of a linear differential equation with constant coefÞcients

Laplace and Inverse Laplace Transform: Definitions and BasicsSolve Initial Value Problems using Laplace Transforms

Summary

Laplace Transform of sin(kt) and cos(kt)

L {sin(kt)} =k

s2 + k2 , L {cos(kt)} =s

s2 + k2 , s > 0

Proof:

L {sin(kt)} =

∫ ∞

0

sin(kt)e−stdt =∫ ∞

0

sin(kt)d(−e−st

s

)=

[− sin(kt)e−st

s

]∞0

+ks

∫ ∞

0

cos(kt)e−stdt

=

[− sin(kt)e−st

s

]∞0

+ksL {cos(kt)}

When does the above converge? s > 0! =⇒[− sin(kt)e−st

s

]∞0

= 0

12 / 34 王奕翔 DE Lecture 10

Page 13: Chapter 7: The Laplace Transform – Part 1homepage.ntu.edu.tw/.../DE_Lecture_10_handout_v3.pdf · The Laplace transform of a linear differential equation with constant coefÞcients

Laplace and Inverse Laplace Transform: Definitions and BasicsSolve Initial Value Problems using Laplace Transforms

Summary

Laplace Transform of sin(kt) and cos(kt)

L {sin(kt)} =k

s2 + k2 , L {cos(kt)} =s

s2 + k2 , s > 0

Proof:

L {cos(kt)} =

∫ ∞

0

cos(kt)e−stdt =∫ ∞

0

cos(kt)d(−e−st

s

)=

[− cos(kt)e−st

s

]∞0

− ks

∫ ∞

0

sin(kt)e−stdt

=

[− cos(kt)e−st

s

]∞0

− ksL {sin(kt)}

When does the above converge? s > 0! =⇒[− cos(kt)e−st

s

]∞0

= 1s .

13 / 34 王奕翔 DE Lecture 10

Page 14: Chapter 7: The Laplace Transform – Part 1homepage.ntu.edu.tw/.../DE_Lecture_10_handout_v3.pdf · The Laplace transform of a linear differential equation with constant coefÞcients

Laplace and Inverse Laplace Transform: Definitions and BasicsSolve Initial Value Problems using Laplace Transforms

Summary

Laplace Transform of sin(kt) and cos(kt)

L {sin(kt)} =k

s2 + k2 , L {cos(kt)} =s

s2 + k2 , s > 0

Proof: {L {sin(kt)} = k

s L {cos(kt)}L {cos(kt)} = 1

s − ks L {sin(kt)}

Solve the above, we get the result:

L {sin(kt)} =ksL {cos(kt)} =

ks2 − k2

s2 L {sin(kt)}

=⇒ s2 + k2s2 L {sin(kt)} =

ks2 =⇒ L {sin(kt)} =

ks2 + k2

L {cos(kt)} =skL {sin(kt)} =

ss2 + k2 .

14 / 34 王奕翔 DE Lecture 10

Page 15: Chapter 7: The Laplace Transform – Part 1homepage.ntu.edu.tw/.../DE_Lecture_10_handout_v3.pdf · The Laplace transform of a linear differential equation with constant coefÞcients

Laplace and Inverse Laplace Transform: Definitions and BasicsSolve Initial Value Problems using Laplace Transforms

Summary

Laplace Transform is LinearTheoremFor any α, β, f(t) L−→ F(s), g(t) L−→ G(s),

L {αf(t) + βg(t)} = αF(s) + βG(s)

Proof: It can be proved by the linearity of integral.

ExampleEvaluate L {sinh(kt)} and L {cosh(kt)}.

A: sinh(kt) = 12

(ekt − e−kt), cosh(kt) = 1

2

(ekt + e−kt). Hence

sinh(kt) L−→ 1

2

(1

s − k − 1

s + k

)=

ks2 − k2 , s > |k|

cosh(kt) L−→ 1

2

(1

s − k +1

s + k

)=

ss2 − k2 , s > |k| .

15 / 34 王奕翔 DE Lecture 10

Page 16: Chapter 7: The Laplace Transform – Part 1homepage.ntu.edu.tw/.../DE_Lecture_10_handout_v3.pdf · The Laplace transform of a linear differential equation with constant coefÞcients

Laplace and Inverse Laplace Transform: Definitions and BasicsSolve Initial Value Problems using Laplace Transforms

Summary

Laplace Transforms of Some Basic Functions

f(t) F(s) Domain of F(s)

tn n!sn+1

s > 0

eat 1

s − a s > a

sin(kt) ks2 + k2 s > 0

cos(kt) ss2 + k2 s > 0

sinh(kt) ks2 − k2 s > |k|

cosh(kt) ss2 − k2 s > |k|

16 / 34 王奕翔 DE Lecture 10

Page 17: Chapter 7: The Laplace Transform – Part 1homepage.ntu.edu.tw/.../DE_Lecture_10_handout_v3.pdf · The Laplace transform of a linear differential equation with constant coefÞcients

Laplace and Inverse Laplace Transform: Definitions and BasicsSolve Initial Value Problems using Laplace Transforms

Summary

Existence of Laplace Transform

Theorem (Sufficient Conditions for the Existence of Laplace Transform)If a function f(t) is

piecewise continuous on [0,∞), andof exponential order,

then L {f(t)} exists for s > c for some constant c.

DefinitionA function f(t) is of exponential order if ∃ c ∈ R,M > 0, τ > 0 such that

|f(t)| ≤ Mect, ∀ t > τ.

Note: If f(t) is of exponential order, then ∃ c ∈ R such that for s > c,

limt→∞

f(t)e−st = 0.

17 / 34 王奕翔 DE Lecture 10

Page 18: Chapter 7: The Laplace Transform – Part 1homepage.ntu.edu.tw/.../DE_Lecture_10_handout_v3.pdf · The Laplace transform of a linear differential equation with constant coefÞcients

Laplace and Inverse Laplace Transform: Definitions and BasicsSolve Initial Value Problems using Laplace Transforms

Summary

Existence of Laplace Transform

Theorem (Sufficient Conditions for the Existence of Laplace Transform)If a function f(t) is

piecewise continuous on [0,∞), andof exponential order,

then L {f(t)} exists for s > c for some constant c.

Proof: For sufficiently large T > τ , we split the following integral:∫ T

0

f(t)dt =∫ τ

0

f(t)e−stdt︸ ︷︷ ︸I1

+

∫ T

τ

f(t)e−stdt︸ ︷︷ ︸I2

.

We only need to prove that I2 converges as T → ∞:

|I2| ≤∫ T

τ

|f(t)e−st|dt =∫ T

τ

|f(t)|e−stdt ≤∫ T

τ

Mecte−stdt,

which converges as T → ∞ for s > c since L{

ect} exists.18 / 34 王奕翔 DE Lecture 10

Page 19: Chapter 7: The Laplace Transform – Part 1homepage.ntu.edu.tw/.../DE_Lecture_10_handout_v3.pdf · The Laplace transform of a linear differential equation with constant coefÞcients

Laplace and Inverse Laplace Transform: Definitions and BasicsSolve Initial Value Problems using Laplace Transforms

Summary

In this lecture, we focus on functions that arepiecewise continuous on [0,∞), andof exponential order

19 / 34 王奕翔 DE Lecture 10

Page 20: Chapter 7: The Laplace Transform – Part 1homepage.ntu.edu.tw/.../DE_Lecture_10_handout_v3.pdf · The Laplace transform of a linear differential equation with constant coefÞcients

Laplace and Inverse Laplace Transform: Definitions and BasicsSolve Initial Value Problems using Laplace Transforms

Summary

Laplace Transform of Derivatives

Suppose f(t) is continuous on [0,∞) and of exponential order, and f′(t) isalso continuous on [0,∞), then the Laplace transform of f′(t) can befound as follows:

L {f′(t)} =

∫ ∞

0

e−stf′(t)dt =∫ ∞

0

e−std (f(t))

=[f(t)e−st]∞

0+ s

∫ ∞

0

e−stf(t)dt = sL {f(t)} − f(0) , s > c

Note: since f(t) is of exponential order, f(t)e−st → 0 as t → ∞ for s > cfor some constant c.Similarly, if f′(t) is also of exponential order, we can find

L {f′′(t)} = sL {f′(t)} − f′(0) = s2L {f(t)} − sf(0)− f′(0) .

20 / 34 王奕翔 DE Lecture 10

Page 21: Chapter 7: The Laplace Transform – Part 1homepage.ntu.edu.tw/.../DE_Lecture_10_handout_v3.pdf · The Laplace transform of a linear differential equation with constant coefÞcients

Laplace and Inverse Laplace Transform: Definitions and BasicsSolve Initial Value Problems using Laplace Transforms

Summary

Laplace Transform of Derivatives

TheoremIf f, f′, . . . , f(n−1) are continuous on [0,∞) and are of exponential order,and if f(n)(t) is piecewise continuous on [0,∞), then

L{

f(n)(t)}= snF(s)− sn−1f(0)− sn−2f′(0)− · · · − f(n−1)(0),

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

ExampleEvaluate L {tn}.

A: Let f(t) = tn. Since f(n)(t) = n!, f(k)(0) = 0 for any 0 ≤ k ≤ n − 1,using the above theorem we get

L {n!} = snF(s) = n!s =⇒ F(s) = n!

sn+1.

21 / 34 王奕翔 DE Lecture 10

Page 22: Chapter 7: The Laplace Transform – Part 1homepage.ntu.edu.tw/.../DE_Lecture_10_handout_v3.pdf · The Laplace transform of a linear differential equation with constant coefÞcients

Laplace and Inverse Laplace Transform: Definitions and BasicsSolve Initial Value Problems using Laplace Transforms

Summary

Inverse Laplace Transform

L {f(t)} = F(s) ⇐⇒ L −1 {F(s)} = f(t)

F(s): Laplace transform of f(t) ⇐⇒ f(t): inverse Laplace transform of F(s)

Note: Inverse Laplace transform is also linear:

L −1 {αF(s) + βG(s)} = αf(t) + βg(t)

22 / 34 王奕翔 DE Lecture 10

Page 23: Chapter 7: The Laplace Transform – Part 1homepage.ntu.edu.tw/.../DE_Lecture_10_handout_v3.pdf · The Laplace transform of a linear differential equation with constant coefÞcients

Laplace and Inverse Laplace Transform: Definitions and BasicsSolve Initial Value Problems using Laplace Transforms

Summary

Some Inverse Laplace Transforms

F(s) f(t) Domain of F(s)

n!sn+1

tn s > 0

1

s − a eat s > a

ks2 + k2 sin(kt) s > 0

ss2 + k2 cos(kt) s > 0

ks2 − k2 sinh(kt) s > |k|

ss2 − k2 cosh(kt) s > |k|

23 / 34 王奕翔 DE Lecture 10

Page 24: Chapter 7: The Laplace Transform – Part 1homepage.ntu.edu.tw/.../DE_Lecture_10_handout_v3.pdf · The Laplace transform of a linear differential equation with constant coefÞcients

Laplace and Inverse Laplace Transform: Definitions and BasicsSolve Initial Value Problems using Laplace Transforms

Summary

Examples

Example

Evaluate L −1

{−2s + 6

s2 + 4

}.

Step 1: Decompose

−2s + 6

s2 + 4= −2

ss2 + 4

+ 32

s2 + 4.

Step 2: By the linearity of inverse Laplace transform,

L −1

{−2s + 6

s2 + 4

}= −2L −1

{s

s2 + 4

}+ 3L −1

{2

s2 + 4

}= −2 cos 2t + 3 sin 2t .

24 / 34 王奕翔 DE Lecture 10

Page 25: Chapter 7: The Laplace Transform – Part 1homepage.ntu.edu.tw/.../DE_Lecture_10_handout_v3.pdf · The Laplace transform of a linear differential equation with constant coefÞcients

Laplace and Inverse Laplace Transform: Definitions and BasicsSolve Initial Value Problems using Laplace Transforms

Summary

Examples

Example

Evaluate L −1

{(s + 3)2

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

}.

Step 1: Decompose into partial fractions:

F(s) := (s + 3)2

(s − 1)(s − 2)(s + 4)=

As − 1

+B

s − 2+

Cs + 4

.

We can find A,B,C by the following:

A =

[(s + 3)2

���(s − 1)(s − 2)(s + 4)

]s=1

=16

−5, B =

[(s + 3)2

(s − 1)���(s − 2)(s + 4)

]s=2

=25

6

C =

[(s + 3)2

(s − 1)(s − 2)���(s + 4)

]s=−4

=1

30

Step 2: Linearity =⇒ f(t) = −16

5et +

25

6e2t +

1

30e−4t .

25 / 34 王奕翔 DE Lecture 10

Page 26: Chapter 7: The Laplace Transform – Part 1homepage.ntu.edu.tw/.../DE_Lecture_10_handout_v3.pdf · The Laplace transform of a linear differential equation with constant coefÞcients

Laplace and Inverse Laplace Transform: Definitions and BasicsSolve Initial Value Problems using Laplace Transforms

Summary

1 Laplace and Inverse Laplace Transform: Definitions and Basics

2 Solve Initial Value Problems using Laplace Transforms

3 Summary

26 / 34 王奕翔 DE Lecture 10

Page 27: Chapter 7: The Laplace Transform – Part 1homepage.ntu.edu.tw/.../DE_Lecture_10_handout_v3.pdf · The Laplace transform of a linear differential equation with constant coefÞcients

Laplace and Inverse Laplace Transform: Definitions and BasicsSolve Initial Value Problems using Laplace Transforms

Summary

Solving a First-Order IVP with Laplace Transform

ExampleSolve y′ + 3y = 13 sin 2t, y(0) = 6.

Step 1: Laplace-transform both sides:

L{

y′}+ 3L {y} = 13L {sin 2t} =⇒ (sY(s)− y(0)) + 3Y(s) = 132

s2 + 4

=⇒ (s + 3)Y(s) = 6 +26

s2 + 4

Note: Use initial condition y(0) = 6 to compute L {y′} = sY(s)− y(0) = sY(s)− 6.

Step 2: Solve Y(s): Y(s) = 6

s + 3+

26

(s + 3)(s2 + 4).

Step 3: Compute the inverse Laplace transform of Y(s):

Y(s) = 8

s + 3+

−2ss2 + 4

+6

s2 + 4=⇒ y(t) = 8e−3t − cos 2t + 3 sin 2t .

27 / 34 王奕翔 DE Lecture 10

Page 28: Chapter 7: The Laplace Transform – Part 1homepage.ntu.edu.tw/.../DE_Lecture_10_handout_v3.pdf · The Laplace transform of a linear differential equation with constant coefÞcients

Laplace and Inverse Laplace Transform: Definitions and BasicsSolve Initial Value Problems using Laplace Transforms

Summary

Partial fraction decomposition:

26

(s + 3)(s2 + 4)=

As + 3

+Bs + Cs2 + 4

A =

[26

���(s + 3)(s2 + 4)

]s=−3

=26

9 + 4= 2

26 = (Bs + C)(s + 3) + A(s2 + 4) =⇒ B = −A = −2, C = −3B = 6.

28 / 34 王奕翔 DE Lecture 10

Page 29: Chapter 7: The Laplace Transform – Part 1homepage.ntu.edu.tw/.../DE_Lecture_10_handout_v3.pdf · The Laplace transform of a linear differential equation with constant coefÞcients

Laplace and Inverse Laplace Transform: Definitions and BasicsSolve Initial Value Problems using Laplace Transforms

Summary

Solving a Second-Order IVP with Laplace Transform

ExampleSolve y′′ − 3y′ + 2y = e−4t, y(0) = 1, y′(0) = 5.

Step 1: Laplace-transform both sides:

L{

y′′}− 3L{

y′}+ 2L {y} = L{

e−4t}=⇒

(s2Y(s)− sy(0)− y′(0)

)− 3 (sY(s)− y(0)) + 2Y(s) = 1

s + 4

=⇒ (s2 − 3s + 2)Y(s) = s + 2 +1

s + 4

Step 2: Solve Y(s): Y(s) = s + 2

(s − 1)(s − 2)+

1

(s + 4)(s − 1)(s − 2).

Step 3: Compute the inverse Laplace transform of Y(s):

Y(s) =−3− 1

5

s − 1+

4 + 16

s − 2+

130

s + 4=⇒ y(t) = −16

5e−3t +

25

6e2t +

1

30e−4t .

29 / 34 王奕翔 DE Lecture 10

Page 30: Chapter 7: The Laplace Transform – Part 1homepage.ntu.edu.tw/.../DE_Lecture_10_handout_v3.pdf · The Laplace transform of a linear differential equation with constant coefÞcients

Laplace and Inverse Laplace Transform: Definitions and BasicsSolve Initial Value Problems using Laplace Transforms

Summary

Partial fraction decomposition:

s + 2

(s − 1)(s − 2)+

1

(s + 4)(s − 1)(s − 2)=

As − 1

+B

s − 2+

Cs + 4

A =

[s + 2

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

1

(s + 4)���(s − 1)(s − 2)

]s=1

= −3− 1

5

B =

[s + 2

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

1

(s + 4)(s − 1)���(s − 2)

]s=2

= 4 +1

6

C =

[1

���(s + 4)(s − 1)(s − 2)

]s=−4

=1

30

30 / 34 王奕翔 DE Lecture 10

Page 31: Chapter 7: The Laplace Transform – Part 1homepage.ntu.edu.tw/.../DE_Lecture_10_handout_v3.pdf · The Laplace transform of a linear differential equation with constant coefÞcients

Laplace and Inverse Laplace Transform: Definitions and BasicsSolve Initial Value Problems using Laplace Transforms

Summary

General Procedure of Solving IVP with Laplace Transform

any(n) + an�1y

(n�1) + · · ·+ a1y0 + a0 = g(t)

y(0) = y0, y0(0) = y1, . . . , y(n�1)(0) = yn�1

Initial Value Problem

P (s)Y (s) = Q(s) +G(s)

P (s) :=nX

k=0

aksk,

Q(s) =nX

k=0

ak

k�1X

j=0

yk�1�jsj

An Algebraic Equation

Laplace Transform

Ln

y(k)(t)o

= skY (s)��

sk�1y0 + sk�2y1 + · · ·+ yk�1

Solve the Algebraic Equation Y (s) =

Q(s)

P (s)+

G(s)

P (s)

Partial Fraction Decomposition

Inverse Laplace Transform

y(t)

31 / 34 王奕翔 DE Lecture 10

Page 32: Chapter 7: The Laplace Transform – Part 1homepage.ntu.edu.tw/.../DE_Lecture_10_handout_v3.pdf · The Laplace transform of a linear differential equation with constant coefÞcients

Laplace and Inverse Laplace Transform: Definitions and BasicsSolve Initial Value Problems using Laplace Transforms

Summary

1 Laplace and Inverse Laplace Transform: Definitions and Basics

2 Solve Initial Value Problems using Laplace Transforms

3 Summary

32 / 34 王奕翔 DE Lecture 10

Page 33: Chapter 7: The Laplace Transform – Part 1homepage.ntu.edu.tw/.../DE_Lecture_10_handout_v3.pdf · The Laplace transform of a linear differential equation with constant coefÞcients

Laplace and Inverse Laplace Transform: Definitions and BasicsSolve Initial Value Problems using Laplace Transforms

Summary

Short Recap

Definition of Laplace Transform and Inverse Laplace Transform

Laplace Transform of some Basic Functions

Exponential Order

Laplace Transform of Derivatives

Solving IVP with Laplace Transforms

33 / 34 王奕翔 DE Lecture 10

Page 34: Chapter 7: The Laplace Transform – Part 1homepage.ntu.edu.tw/.../DE_Lecture_10_handout_v3.pdf · The Laplace transform of a linear differential equation with constant coefÞcients

Laplace and Inverse Laplace Transform: Definitions and BasicsSolve Initial Value Problems using Laplace Transforms

Summary

Self-Practice Exercises

7-1: 3, 5, 13, 15, 29, 35, 43, 50, 53, 54, 55

7-2: 1, 3, 13, 15, 19, 21, 29, 35, 43

34 / 34 王奕翔 DE Lecture 10