Sie sind auf Seite 1von 15

Chapter 4

Laplace Transform

Its time to stop guessing solutions and nd a systematic way of nding solutions
to non homogeneous linear ODEs. We dene the Laplace transform of a function
f in the following way.
Denition 4.1. The Laplace transform of f (t), written F (s), is given by

(4.1) L(f ) = est f (t) dt.
0

That is, the Laplace transform acts on a function, f (t), integrates the t out, and
creates function of s, which we denote F (s).
Before we see why this is useful, we might want to know if the integral in the
denition exists - it is after all an improper integral. We need another denition.
Denition 4.2. We say a function f (t) is exponentially bounded or of exponential
order if there exists non negative numbers a, k and M such that
(4.2) |f (t)| keat t M.

We want to allow for interesting functions forcing an ODE.


Denition 4.3. A function f is said to be piecewise continuous on a bounded
interval if it has a nite number of discontinuities and the left and right limits exist
at each discontinuity. It is said to be piecewise continuous on [0, ] if it is piecewise
continuous on every bounded subinterval I [0, ].

And nally,
Denition 4.4. A function f is said to be piecewise smooth if f and its derivative
are piecewise continuous.

Now we can say when the Laplace transform of a function exists.


Theorem 4.5. Suppose f is piecewise continuous on [0, ] and exponentially
bounded. Then L(f ) = F (s) exists for all s > a.

37
38 4. Laplace Transform

We will not prove the theorem. However, the examples below will show why it is
reasonable.
Example 4.6. Compute L(1).

Solution. Lets apply Theorem 4.5 to see what to expect. The function f (t) = 1 is
exponentially bounded. Indeed, we can choose k = 1, a = M = 0 in (4.2). Theorem
4.5 then implies the Laplace transform exists for all s > a = 0.
To nd L(1) we compute it using the denition

1 A 1
L(1) = est 1 dt = lim est = lim (1 eAs ).
0 A s 0 A s
The limit of the exponential is zero as long as s > 0. Therefore,
1
L(1) = , s>0
s
as expected.
Example 4.7. Compute L(eat ).

Solution. Again we apply Theorem 4.5 to see what to expect. The function
f (t) = eat is exponentially bounded if we choose k = 1, a = a, M = 1 in (4.2).
Theorem 4.5 then implies the Laplace transform exists for all s > a.
To nd the L(eat ) we compute it using the denition

L(eat ) = est eat dt = e(as)t dt
0 0
1 (as)t A 1
= lim e = lim (1 eA(as) ).
A as 0 A s a

We need the exponent to be negative for the limit to exist. This is the case provided
s > a. Therefore,
1
L(eat ) = s > a.
sa
The next example is more dicult, but it shows the usefulness of the Laplace
transform.
Example 4.8. Compute L(f (t)), where f is a piecewise smooth exponentially
bounded function.

Solution. We are told there exists k, a, and M such that |f (t)| keat for all
t M . We use the denition of Laplace transform and integrate by parts
A
L(f (t)) = est f (t) dt = lim est f (t) dt
0 A 0
A A
= lim est f (t) + sest f (t) dt
A 0 0
A
= lim esA f (A) f (0) + sest f (t) dt .
A 0
4. Laplace Transform 39

Since f is exponentially bounded


lim |esA f (A)| lim |esA keaA | = lim |ke(as)A | = 0
A A A

provided s > a. Returning to our calculation


A
L(f (t)) = lim f (0) + sest f (t) dt
A 0

= s est f (t) dt f (0)
0
= sL(f (t)) f (0).

This may look more useful if f is replaced with y. Then we have the formula
L(y ) = sL(y) y(0).
That is, the Laplace transform turns a derivative y into an algebraic expression!
Quite useful for solving ODEs! Indeed, we can easily compute L(y ). Using the
formula for L(y ) we nd
L(y ) = sL(y ) y (0) = s2 L(y) sy(0) y (0).
Table 1 below provides the Laplace transform for many common functions.
Example 4.9. Find the solution to
y + 3y + 2y = 0,
y(0) = 1,
y (0) = 0
by using Laplace transforms.

Solution. We just take the Laplace transform of both sides. The left side of the
ODE gives
L(y + 3y + 2y) = L(y ) + 3L(y ) + 2L(y).
It distributes this way because integrals behave this way, and the Laplace transform
is an integral. Obviously L(0) = 0. Applying our formulas
s2 L(y) sy(0) y (0) + 3 sL(y) y(0) + 2L(y) = 0.
Next we use the initial data and rearrange to nd
(s2 + 3s + 2)L(y) = s + 3,
that is,
s+3
L(y) = .
s2
+ 3s + 2
The Laplace transform turned an ODE into an algebraic problem. The only catch
is that we need to nd a function whose Laplace transform is (s + 3)/(s2 + 3s + 2).
Table 1 does not seem to help since this is not in the table. We have to modify the
expression to use Table 1. We have using partial fractions
s+3 s+3 A B
2
= = + .
s + 3s + 2 (s + 1)(s + 2) s+1 s+2
40 4. Laplace Transform

f (t) = L1 (F (s)) F (s) = L(f (t))


1
1. 1 s s>0

1
2. eat sa s>a

n!
3. tn sn+1 s>0

n!
4. tn eat (sa)n+1 s>a

a
5. sin at s2 +a2 s>0

s
6. cos at s2 +a2 s>0

b
7. eat sin bt (sa)2 +b2 s>a

sa
8. eat cos bt (sa)2 +b2 s>a

9. eat f (t) F (s a) s > a

10. uc (t)f (t) ecs L(f (t + c))

11. uc (t)f (t c) ecs L(f (t))

12. (t c) ecs
t
13. f (t )g( ) dt F (s)G(s)
0

14. y (t) sL(y) y(0)

15. y (t) s2 L(y) sy(0) y (0)

Table 1. Laplace and inverse Laplace transforms for common functions.

This implies
s + 3 = A(s + 2) + B(s + 1),
and A = 1 and B = 2. Therefore,
2 1
L(y) = .
s+1 s+2
We may now use Table 1 to nd
y(t) = 2et e2t .
No guessing involved!
4. Laplace Transform 41

Example 4.10. Find the inverse Laplace transform of


2s + 1
F (s) = 2 ,
s + 4s + 5

Solution. Just a matter of making it look like ones in the table. When the
denominator does not factor, we complete the square. Recall to do this we take
half the coecient in front of the middle term, s, square it, then add and subtract
it. Here s2 + 4s + 5 = s2 + 4s + 4 4 + 5 = (s + 2)2 + 1. Then
2s + 1 (s + 2) 1
F (s) = =2 3 .
s2
+ 4s + 5 2
(s + 2) + 1 (s + 2)2 + 1
This is readily found in Table 1 and
f (t) = 2e2t cos t 3e2t sin t
Homework 4.1
Find the inverse Laplace transform of the following.

3 2s3
1. F (s) = s2 +4 6. F (s) = s2 4
4 2s+1
2. F (s) = (s1)3
7. F (s) = s2 2s+2
2 8s2 4s+12
3. F (s) = s2 +3s4 8. F (s) = s(s2 +4)
3s 12s
4. F (s) = s2 s6 9. F (s) = s2 +4s+5
2s+2 2s3
5. F (s) = s2 +2s+5 10. F (s) = s2 +2s+10

Use the Laplace transform to solve the following ODEs


11. y y 6y = 0; y(0) = 1, y (0) = 1
12. y 2y + 2y = 0; y(0) = 0, y (0) = 1
13. y + 2y + 5y = 0; y(0) = 2, y (0) = 1
14. y IV y = 0; y(0) = 1, y (0) = 1, y (0) = 1, y (0) = 0
15. y 2y + 2y = cos t; y(0) = 1, y (0) = 0
Answers
3
1. f (t) = 2 sin 2t 9. f (t) = 2e2t cos t + 5e2t sin t
2. f (t) = 2t2 et 10. f (t) = 2et cos 3t 53 et sin 3t
3. f (t) = 25 et 25 e4t 11. y(t) = 15 (e3t + 4e2t )
4. f (t) = 59 e3t 56 e2t 12. y(t) = et sin t
5. f (t) = 2et cos 2t 13. y(t) = 2et cos 2t + 12 et sin 2t
6. f (t) =?? et +et
14. y(t) = 2
7. f (t) = 2et cos t + 3et sin t 15. y(t) = 1
(cos t 2 sin t + 4et cos t
5
8. f (t) = 3 + 5 cos 2t 2 sin 2t 2et sin t)
42 4. Laplace Transform

4.2. Heaviside Function


We can force ODEs with more interesting functions now that we have a more non
guessing method for solving ODEs. Indeed, consider the Heaviside function given
by
0 t<c
(4.3) uc (t) = ,
1 tc
where c > 0. We can think of the Heaviside function as a switch. It turns on at
t = c. Thus the function 1 uc (t) is a switch that turns o at t = c.

2 2

1.5 1.5

1 1
uc

uc

0.5 0.5

0 0
0 0.5 1 1.5 2 0 0.5 1 1.5 2
t t

Figure 1. Left: Heaviside function with c = 1. Right: graph of 1 u1 (t).

Example 4.11. Write the function


0 t < 2
f (t) =
sin t t 2
in terms of Heaviside functions.
Solution. The function f starts out as the function 0 until t = 2. At t = 2 zero
turns o and sin t turns on. Thus
f (t) = 0 u2 (t)0 + u2 (t) sin t
= u2 (t) sin t.
Keep in mind, uc (t) is a switch that turns on at t = c. A graph of f is given below.

Example 4.12. Write the function



0, 0 < t < 1,
f (t) = 1, 1 t < 2,

0, t 2,
in terms of Heaviside functions.
4.2. Heaviside Function 43

0.5

f(t)
0

-0.5

-1

0 5 10 15 20
t

Figure 2. Graph of f (t) = u2 (t) sin t in Example 4.11.

Solution. The function f starts out as the function 0 until t = 1. At t = 1 zero


turns o and 1 turns on. At t = 2 one turns o 0 turns on. Thus
f (t) = 0 u1 (t)0 + u1 (t)1 u2 (t)1 + u2 (t)0
= u1 (t) u2 (t).
A graph of this function is given below.

1.5

1
f(t)

0.5

0
0 0.5 1 1.5 2 2.5 3
t

Figure 3. Graph of f (t) = u1 (t) u2 (t) in Example 4.12.

We need to compute the Laplace transform of the Heaviside function. In partic-


ular, the above examples imply we need to nd the Laplace transform of functions
in the form uc (t)f (t). Using the denition of Laplace transform, we nd

L(uc (t)f (t)) = est uc (t)f (t) dt = est f (t) dt
0 c

= es(r+c) f (r + c) dr = ecs esr f (r + c) dr
0 0
= ecs L(f (t + c)).
44 4. Laplace Transform

Example 4.13. Compute the Laplace transform of u2 (t) sin t.

Solution. Using 10. in Table 1 (just derived above)


L(u2 (t) sin t) = e2s L(sin(t + 2))
e2s
= e2s L(sin t) = 2 .
s +1
Example 4.14. Compute the Laplace transform of u2 (t)(tt + t + 1).

Solution. Using 10. in Table 1


L(u2 (t)(t2 + t + 1) = e2s L((t + 2)2 + (t + 2) + 1))
= e2s L(t2 + 5t + 7)
2 5 7
= e2s + 2+ .
s3 s s
Example 4.15. Compute the Laplace transform of

t, 0 t < 3,
f (t) = (t 3), 3 t < 4,

1, t4.

Solution. Here
f (t) = t u3 (t)t + u3 (t)(t 3) u4 (t)(t 3) + u4 (t).
The Laplace transform is
1 3s 3s 4s e4s
F (s) = e L((t + 3)) + e L((t + 3) 3) e L((t + 4) 3) +
s2 s
3s 4s
1 1 3 e 1 1 e
= e3s + + 2 e4s + + .
s2 s2 s s s2 s s
Example 4.16. Compute the inverse Laplace transform of
(2s 3)es
G(s) = .
s2 + 2s + 10

Solution. We need to make this look like 11 in Table 1. We may write G(s) as
(s + 1)es 5 3es
G(s) = 2 2 2

(s + 1) + 3 3 (s + 1)2 + 32
= es F1 (s) + es F2 (s).
Next we nd the inverse of F1 (s) and F2 (s) from the table. Here
5
f1 (t) = 2et cos 3t, f2 (t) = et sin 3t.
3
The inverse Laplace transform is
g(t) = u1 (t)f1 (t 1) + u1 (t)f2 (t)
5
= u1 (t) 2e(t1) cos(3(t 1)) e(t1) sin(3(t 1)) .
3
4.2. Heaviside Function 45

Example 4.17. Find the solution to the ODE


1 t, 0 t < 1,
y + y = y(0) = 1, y (0) = 0 .
0, t1.

Solution. The right side is the same as (1 t) u1 (t))(1 t). Taking the Laplace
transform of both sides,
1 1
(s2 L(y) s) + L(y) = 2 es L(1 (t + 1)),
s s
or
s 1 1 es
L(y) = 2 + 2
2 2 + 2 2 ,
s + 1 s(s + 1) s (s + 1) s (s + 1)
Set
1 1 s
F (s) := 2
= 2
s(s + 1) s (s + 1)
1 1 1
G(s) := 2 2 = 2 2 .
s (s + 1) s (s + 1)
Then
s
L(y) = 2 + F (s) G(s) + es G(s).
s +1
It follows that
y(t) = cos(t) + f (t) g(t) + u1 (t)g(t 1).
Here
f (t) = 1 cos t
g(t) = t sin t.
Hence,
y(t) = 1 t + sin t + u1 (t)(t 1 sin(t 1)).
Homework 4.2
Find the Laplace transform of the following.

0 0<t<1 0 0<t<1
3. f (t) =
1. f (t) = 1 1t<2 t2 2t + 2 t1

0 t2
0 0<t<2 cos t 0 < t < 2
2. f (t) = 4. f (t) =
(t 2)2 t2 1 sin t t 2

Find the inverse Laplace transform of the following.

3!es 2e2s
5. F (s) = 8. F (s) =
(s 2)4 s2 4
e2s (s 2)es
6. F (s) = 2 9. F (s) = 2
s +s2 s 4s + 3
2(s 1)e2s es + e2s e3s e4s
7. F (s) = 2 10. F (s) =
s 2s + 2 s
46 4. Laplace Transform

Solve the following dierential equations.


1 0 < t < 3
11. y + y = f (t); y(0) = 0, y (0) = 1; f (t) =
0 t 3
1 0 < t < 10
12. y + 3y + 2y = f (t); y(0) = 0, y (0) = 0; f (t) =
0 t 10
13. y + 3y + 2y = u2 (t); y(0) = 0, y (0) = 1;
t/2 0 < t < 6
14. y + y = f (t); y(0) = 0, y (0) = 1; f (t) =
3 t6
Answers
2. F (s) = 2e2s /s3
3. F (s) = es (s2 + 2)/s3
5. f (t) = u1 (t)(t 1)3 e2(t1)
6. f (t) = 31 u2 (t)(et2 e2(t2) )
7. f (t) = 2u2 (t)et2 cos(t 2)
8. f (t) = u2 (t) sinh 2(t 2)
9. ??
10. f (t) = u1 (t) + u2 (t) u3 (t) u4 (t)
11. y(t) = 1 cos t + sin t u3 (1 + cos t)
12. y(t) = 21 (1 + e2t ) et u10 (t) 1 1 2(t10)
2 + 2e e(t10)
1
13. y(t) = et e2t + u2 (t) 2 e(t2) + 21 e2(t2)
1 1
14. y(t) = 2 (t + sin t) 2 u6 (t)(t 6 sin(t 6))

4.3. The Delta Function


We have developed a sophisticated method of solving ODEs. So much so that we
can think of forcing an ODE with a large force that acts over a short time. The
physical phenomena we wish to describe might be a spark, or a baseball being hit
by a bat. We could approximate such a force with the functions
1/ 2 < t < 2
(t) = ,
0 otherwise
where > 0. We think of as being a small positive number. Figure 4 below shows
a graph of . Notice that the area under the curve for each > 0 is one. We do
not want an innite velocity to result.

We are interested small. In fact, we need to compute the limit as goes


to zero if we want to think of the force as acting instantaneously. If we want to
compute the Laplace transform of such a force, we will need to compute

lim f (t) (t) dt
0
for a continuous f (t). The limit is not hard to compute. Indeed, the function (t)
is zero most of the time. If f continuous and is small, then f does not change
4.3. The Delta Function 47

()
2

0
-2 -1 0 1 2
t

Figure 4. Graph of (t) for various .

much on the small interval 2 < t <


2. In fact, it is close to f (0). Thus the
integral is approximately

lim f (t) (t) dt lim f (0) (t) dt
0 0

= f (0) lim (t) dt = f (0) lim 1
0 0

= f (0).
More generally

(4.4) lim f (t c) (t) dt = f (c).
0

We cannot move the limit inside the integral since lim (t) does not exist.
t
However, formally we set
(4.5) lim (t) = (t)
t

and we write

f (t c)(t) dt = f (c)

with the understanding that (4.5) really means (4.4). The function (t) is called
the Delta function.
The Laplace transform of the Delta function is easy to compute. Indeed,

L((t c)) = est (t c) dt
0
cs
= e .
Example 4.18. Find an anti derivative of (t 1).

Solution We just need to solve


y = (t 1)
y(0) = 0.
48 4. Laplace Transform

Taking the Laplace transform of both sides, we nd


L(y) y(0) = es .
That is,
es
L(y) = ,
s
and
y(t) = u1 (t).
Example 4.19. Find an two anti derivatives of (t 1).

Solution We just need to solve


y = (t 1)
y(0) = 0, y (0) = 0.
Taking the Laplace transform of both sides, we nd
s2 L(y) sy(0) sy (0) = es .
That is,
es
L(y) = ,
s2
and
y(t) = u1 (t)(t 1).

There is a pattern here. Figure 5 plots the Delta function and its anti deriva-
tives. Does the pattern make sense to you?
Example 4.20. Find the solution to
y 4y + 3y = (t 1), y(0) = 0, y (0) = 1 .

Solution. Taking the Laplace transform of both sides, we nd


es 1
L(y) = + .
(s 3)(s 1) (s 3)(s 1)
Set
1 1
1
F (s) = = 2 2 .
(s 3)(s 1) s3 s1
Then
1 3t 1 t
f (t) = e e,
2 2
and y = u1 (t)f (t 1) + f (t) or
1 3(t1) 1 3t
y = u1 (t) e et1 + e et .
2 2
4.3. The Delta Function 49

1e+07

8e+06

6e+06

()
4e+06

2e+06

0
0 0.5 1 1.5 2

1.4

1.2

0.8
u1(t)

0.6

0.4

0.2

0
0 0.5 1 1.5 2
t

1.4

1.2

1
y=u1(t)(t-1)

0.8

0.6

0.4

0.2

0
0 0.5 1 1.5 2
t

Figure 5. Graph of (top) (t 1); its anti derivative (middle) u1 (t 1); and
its second anti derivative (bottom) u1 (t)(t 1).

Homework 4.3
Solve the following dierential equations.
1. y + 2y + 2y = (t ); y(0) = 1, y (0) = 0
2. y + 4y = (t ) (t 2); y(0) = 0, y (0) = 0
3. y + 4y + 3y = 1 + (t 1); y(0) = 0, y (0) = 0.
4. y + y = (t 2) cos t; y(0) = 0, y (0) = 1
Answers
1. y(t) = et cos t + et sin t + u (t)e(t) sin(t )
2. y(t) = 12 u (t) sin 2(t ) 21 u2 (t) sin 2(t 2)
4. y(t) = sin t + u2 (t) sin t
50 4. Laplace Transform

4.4. The Convolution


There is a way to avoid the use of partial fractions to compute the inverse Laplace
transform. Suppose
F (s) = L(f (t)),
G(s) = L(g(t)).
Set H(s) = F (s)G(s). It is too bad the inverse Laplace transform of H(s) is not
f (t)g(t). However, its not hard to show
t
L1 (F (s)G(s)) = f ( )g(t ) d
0
t
= f (t )g( ) d
0
= f g.
That is,
(4.6) h(t) = L1 (F (s)g(s)) = f g.
Equation (4.6) is called the convolution of f and g.
Example 4.21. Find the inverse Laplace transform of
1
H(s) = 2 2 .
s (s + 1)

Solution. Set
1 1
F (s) = , G(s) = .
s2 s2 +1
Then
f (s) = t, g(s) = sin t,
and
t
L1 (H(s)) = sin(t ) d
0
t
= cos(t ) cos(t ) d
0
t
= t + sin(t )
0
= t sin t.
Alternatively we could use partial fractions and
1 1 1
2 2
= 2 2 .
s (s + 1) s s +1
Then the inverse is easy and the same as above.
4.4. The Convolution 51

Homework 4.4
Solve the following dierential equation.
1. y + y = g(t); y(0) = 0, y (0) = 1
Answer
t
1. y(t) = sin(t )g( ) d + sin t
0

Das könnte Ihnen auch gefallen