17
Boyce/DiPrima 9 ed, Ch 6.2: Solution of Initial Value Problems Elementary Differential Equations and Boundary Value Problems, 9 th edition, by William E. Boyce and Richard C. DiPrima, ©2009 by John Wiley & Sons, Inc. The Laplace transform is named for the French mathematician Laplace, who studied this transform in 1782. The techniques described in this chapter were developed primarily by Oliver Heaviside (1850-1925), an English electrical engineer. In this section we see how the Laplace transform can be used to solve initial value problems for linear differential equations with constant coefficients. The Laplace transform is useful in solving these differential equations because the transform of f ' is related in a simple way

Boyce/DiPrima 9 th ed, Ch 6.2: Solution of Initial Value Problems Elementary Differential Equations and Boundary Value Problems, 9 th edition, by William

Embed Size (px)

Citation preview

Page 1: Boyce/DiPrima 9 th ed, Ch 6.2: Solution of Initial Value Problems Elementary Differential Equations and Boundary Value Problems, 9 th edition, by William

Boyce/DiPrima 9th ed, Ch 6.2: Solution of Initial Value Problems Elementary Differential Equations and Boundary Value Problems, 9th edition, by William E. Boyce and Richard C. DiPrima, ©2009 by John Wiley & Sons, Inc.

The Laplace transform is named for the French mathematician Laplace, who studied this transform in 1782.

The techniques described in this chapter were developed primarily by Oliver Heaviside (1850-1925), an English electrical engineer.

In this section we see how the Laplace transform can be used to solve initial value problems for linear differential equations with constant coefficients.

The Laplace transform is useful in solving these differential equations because the transform of f ' is related in a simple way to the transform of f, as stated in Theorem 6.2.1.

Page 2: Boyce/DiPrima 9 th ed, Ch 6.2: Solution of Initial Value Problems Elementary Differential Equations and Boundary Value Problems, 9 th edition, by William

Theorem 6.2.1

Suppose that f is a function for which the following hold:(1) f is continuous and f ' is piecewise continuous on [0, b] for all b > 0.

(2) | f(t) | Keat when t M, for constants a, K, M, with K, M > 0.

Then the Laplace Transform of f ' exists for s > a, with

Proof (outline): For f and f ' continuous on [0, b], we have

Similarly for f ' piecewise continuous on [0, b], see text.

)0()()( ftfsLtfL

b stsb

b

b stbst

b

b st

b

dttfesfbfe

dttfestfedttfe

0

000

)()0()(lim

)()()(lim)(lim

Page 3: Boyce/DiPrima 9 th ed, Ch 6.2: Solution of Initial Value Problems Elementary Differential Equations and Boundary Value Problems, 9 th edition, by William

The Laplace Transform of f '

Thus if f and f ' satisfy the hypotheses of Theorem 6.2.1, then

Now suppose f ' and f '' satisfy the conditions specified for f and f ' of Theorem 6.2.1. We then obtain

Similarly, we can derive an expression for L{f (n)}, provided f and its derivatives satisfy suitable conditions. This result is given in Corollary 6.2.2

)0()0()(

)0()0()(

)0()()(

2 fsftfLs

fftfsLs

ftfsLtfL

)0()()( ftfsLtfL

Page 4: Boyce/DiPrima 9 th ed, Ch 6.2: Solution of Initial Value Problems Elementary Differential Equations and Boundary Value Problems, 9 th edition, by William

Corollary 6.2.2

Suppose that f is a function for which the following hold:

(1) f , f ', f '' ,…, f (n-1) are continuous, and f (n) piecewise continuous, on [0, b] for all b > 0.

(2) | f(t) | Keat, | f '(t) | Keat , …, | f (n-1)(t) | Keat for t M, for constants a, K, M, with K, M > 0.

Then the Laplace Transform of f (n) exists for s > a, with

)0()0()0()0()()( )1()2(21)( nnnnnn fsffsfstfLstfL

Page 5: Boyce/DiPrima 9 th ed, Ch 6.2: Solution of Initial Value Problems Elementary Differential Equations and Boundary Value Problems, 9 th edition, by William

Example 1: Chapter 3 Method (1 of 4)

Consider the initial value problem

Recall from Section 3.1:

Thus r1 = -2 and r2 = -3, and general solution has the form

Using initial conditions:

Thus

We now solve this problem using Laplace Transforms.

00,10,02 yyyyy

01202)( 2 rrrrety rt

tt ececty 221)(

3/1,3/202

121

21

21

cccc

cc

tt eety 23/13/2)( 0 . 0 0 . 5 1 . 0 1 . 5 2 . 0

t

5

1 0

1 5

2 0y t

tt eety 23/13/2)(

Page 6: Boyce/DiPrima 9 th ed, Ch 6.2: Solution of Initial Value Problems Elementary Differential Equations and Boundary Value Problems, 9 th edition, by William

Example 1: Laplace Tranform Method (2 of 4)

Assume that our IVP has a solution and that '(t) and ''(t) satisfy the conditions of Corollary 6.2.2. Then

and hence

Letting Y(s) = L{y}, we have

Substituting in the initial conditions, we obtain

Thus

0}0{}{2}{}{}2{ LyLyLyLyyyL

0}{2)0(}{)0()0(}{2 yLyysLysyyLs

0)0()0(1)(22 yyssYss

01)(22 ssYss

12

1)(}{

ss

ssYyL

00,10,02 yyyyy

Page 7: Boyce/DiPrima 9 th ed, Ch 6.2: Solution of Initial Value Problems Elementary Differential Equations and Boundary Value Problems, 9 th edition, by William

Using partial fraction decomposition, Y(s) can be rewritten:

Thus

3/2,3/1

12,1

)2()(1

211

1212

1

ba

baba

basbas

sbsas

s

b

s

a

ss

s

12)(}{

3/23/1

sssYyL

Example 1: Partial Fractions (3 of 4)

Page 8: Boyce/DiPrima 9 th ed, Ch 6.2: Solution of Initial Value Problems Elementary Differential Equations and Boundary Value Problems, 9 th edition, by William

Recall from Section 6.1:

Thus

Recalling Y(s) = L{y}, we have

and hence

2},{3/2}{3/112

)( 23/23/1

seLeL

sssY tt

asas

dtedteesFeL tasatstat

,

1)(

0

)(

0

}3/13/2{}{ 2tt eeLyL

tt eety 23/13/2)(

Example 1: Solution (4 of 4)

Page 9: Boyce/DiPrima 9 th ed, Ch 6.2: Solution of Initial Value Problems Elementary Differential Equations and Boundary Value Problems, 9 th edition, by William

General Laplace Transform MethodConsider the constant coefficient equation

Assume that this equation has a solution y = (t), and that '(t) and ''(t) satisfy the conditions of Corollary 6.2.2. Then

If we let Y(s) = L{y} and F(s) = L{ f }, then

)(tfcyybya

)}({}{}{}{}{ tfLycLybLyaLcyybyaL

cbsas

sF

cbsas

yaybassY

sFyaybassYcbsas

sFycLyysLbysyyLsa

22

2

2

)()0()0()(

)()0()0()(

)(}{)0(}{)0()0(}{

Page 10: Boyce/DiPrima 9 th ed, Ch 6.2: Solution of Initial Value Problems Elementary Differential Equations and Boundary Value Problems, 9 th edition, by William

Algebraic Problem Thus the differential equation has been transformed into the the algebraic equation

for which we seek y = (t) such that L{(t)} = Y(s).

Note that we do not need to solve the homogeneous and nonhomogeneous equations separately, nor do we have a separate step for using the initial conditions to determine the values of the coefficients in the general solution.

cbsas

sF

cbsas

yaybassY

22

)()0()0()(

Page 11: Boyce/DiPrima 9 th ed, Ch 6.2: Solution of Initial Value Problems Elementary Differential Equations and Boundary Value Problems, 9 th edition, by William

Characteristic Polynomial Using the Laplace transform, our initial value problem

becomes

The polynomial in the denominator is the characteristic polynomial associated with the differential equation.

The partial fraction expansion of Y(s) used to determine requires us to find the roots of the characteristic equation.

For higher order equations, this may be difficult, especially if the roots are irrational or complex.

cbsas

sF

cbsas

yaybassY

22

)()0()0()(

00 0,0),( yyyytfcyybya

Page 12: Boyce/DiPrima 9 th ed, Ch 6.2: Solution of Initial Value Problems Elementary Differential Equations and Boundary Value Problems, 9 th edition, by William

Inverse ProblemThe main difficulty in using the Laplace transform method is determining the function y = (t) such that L{(t)} = Y(s).

This is an inverse problem, in which we try to find such that (t) = L-1{Y(s)}.

There is a general formula for L-1, but it requires knowledge of the theory of functions of a complex variable, and we do not consider it here.

It can be shown that if f is continuous with L{f(t)} = F(s), then f is the unique continuous function with f (t) = L-1{F(s)}.

Table 6.2.1 in the text lists many of the functions and their transforms that are encountered in this chapter.

Page 13: Boyce/DiPrima 9 th ed, Ch 6.2: Solution of Initial Value Problems Elementary Differential Equations and Boundary Value Problems, 9 th edition, by William

Linearity of the Inverse TransformFrequently a Laplace transform F(s) can be expressed as

Let

Then the function

has the Laplace transform F(s), since L is linear.

By the uniqueness result of the previous slide, no other continuous function f has the same transform F(s).

Thus L-1 is a linear operator with

)()()()( 21 sFsFsFsF n

)()(,,)()( 11

11 sFLtfsFLtf nn

)()()()( 21 tftftftf n

)()()()( 11

11 sFLsFLsFLtf n

Page 14: Boyce/DiPrima 9 th ed, Ch 6.2: Solution of Initial Value Problems Elementary Differential Equations and Boundary Value Problems, 9 th edition, by William

Example 2: Nonhomogeneous Problem (1 of 2)

Consider the initial value problem

Taking the Laplace transform of the differential equation, and assuming the conditions of Corollary 6.2.2 are met, we have

Letting Y(s) = L{y}, we have

Substituting in the initial conditions, we obtain

Thus

10,20,2sin yytyy

)4/(2}{)0()0(}{ 22 syLysyyLs

)4/(2)0()0()(1 22 sysysYs

)4)(1(

682)(

22

23

ss

ssssY

)4/(212)(1 22 sssYs

Page 15: Boyce/DiPrima 9 th ed, Ch 6.2: Solution of Initial Value Problems Elementary Differential Equations and Boundary Value Problems, 9 th edition, by William

Using partial fractions,

Then

Solving, we obtain A = 2, B = 5/3, C = 0, and D = -2/3. Thus

Hence

Example 2: Solution (2 of 2)

41)4)(1(

682)(

2222

23

s

DCs

s

BAs

ss

ssssY

)4()4()()(

1468223

2223

DBsCAsDBsCA

sDCssBAssss

4

3/2

1

3/5

1

2)(

222

sss

ssY

tttty 2sin3

1sin

3

5cos2)(

Page 16: Boyce/DiPrima 9 th ed, Ch 6.2: Solution of Initial Value Problems Elementary Differential Equations and Boundary Value Problems, 9 th edition, by William

Example 3: Solving a 4th Order IVP (1 of 2)

Consider the initial value problem

Taking the Laplace transform of the differential equation, and assuming the conditions of Corollary 6.2.2 are met, we have

Letting Y(s) = L{y} and substituting the initial values, we have

Using partial fractions

Thus

0)0(''',00'',10',0)0(,0)4( yyyyyy

222 )1)(()1)(( ssdcssbas

0}{)0(''')0('')0()0(}{ 234 yLysyysysyLs

)1)(1()1()(

22

2

4

2

ss

s

s

ssY

)1()1()1)(1()(

2222

2

s

dcs

s

bas

ss

ssY

Page 17: Boyce/DiPrima 9 th ed, Ch 6.2: Solution of Initial Value Problems Elementary Differential Equations and Boundary Value Problems, 9 th edition, by William

Example 3: Solving a 4th Order IVP (2 of 2)

In the expression:

Setting s = 1 and s = -1 enables us to solve for a and b:

Setting s = 0, b – d = 0, so d = 1/2

Equating the coefficients of in the first expression gives a + c = 0, so c = 0

Thus

Using Table 6.2.1, the solution is

0)0(''',00'',10',0)0(,0)4( yyyyyy

2/1,01)(2and1)(2 bababa

222 )1)(()1)(( ssdcssbas

3s

)1()1()(

22

2/12/1

sssY

2

sinsinh)(

ttty

0 1 2 3 4 5 6 7t

5 0

1 0 0

1 5 0

2 0 0y t

2

sinsinh)(

ttty