[Notes on Diffy Qs home] [PDF version] [Buy cheap paperback version]

[next] [prev] [prev-tail] [tail] [up]

6.1 The Laplace transform

Note: 1.5 – 2 lectures, §10.1 in [EP], §6.1 and parts of §6.2 in [BD]

6.1.1 The transform

In this chapter we will discuss the Laplace transform1. The Laplace transform turns out to be a very efficient method to solve certain ODE problems. In particular, the transform can take a differential equation and turn it into an algebraic equation. If the algebraic equation can be solved, applying the inverse transform gives us our desired solution. The Laplace transform also has applications in the analysis of electrical circuits, NMR spectroscopy, signal processing, and elsewhere. Finally, understanding the Laplace transform will also help with understanding the related Fourier transform, which, however, requires more understanding of complex numbers. We will not cover the Fourier transform.

The Laplace transform also gives a lot of insight into the nature of the equations we are dealing with. It can be seen as converting between the time and the frequency domain. For example, take the standard equation

mx ′′(t) + cx′(t) + kx(t) = f(t).

We can think of t as time and f(t) as incoming signal. The Laplace transform will convert the equation from a differential equation in time to an algebraic (no derivatives) equation, where the new independent variable s is the frequency.

We can think of the Laplace transform as a black box. It eats functions and spits out functions in a new variable. We write L {f (t)} = F (s) for the Laplace transform of f(t) . It is common to write lower case letters for functions in the time domain and upper case letters for functions in the frequency domain. We use the same letter to denote that one function is the Laplace transform of the other. For example F (s) is the Laplace transform of f(t) . Let us define the transform.

 ∫ ∞ L {f(t)} = F(s) de=f e-stf (t) dt. 0

We note that we are only considering t ≥ 0 in the transform. Of course, if we think of t as time there is no problem, we are generally interested in finding out what will happen in the future (Laplace transform is one place where it is safe to ignore the past). Let us compute some simple transforms.

Example 6.1.1: Suppose f (t) = 1 , then

 ∫ [ ]∞ [ ]h ( ) ∞ -st e-st e-st e-sh- -1- 1- L {1} = e dt = -s = lih→m∞ -s = lh→im∞ - s - - s = s. 0 t=0 t=0

The limit (the improper integral) only exists if s > 0 . So L {1} is only defined for s > 0 .

Example 6.1.2: Suppose f (t) = e-at , then

 ∫ ∞ ∫ ∞ [ ]∞ -at -st -at -(s+a)t -e-(s+a)t- -1--- L {e } = 0 e e dt = 0 e dt = -(s + a ) = s + a. t=0

The limit only exists if s + a > 0 . So  -at L {e } is only defined for s + a > 0 .

Example 6.1.3: Suppose f (t) = t , then using integration by parts

 ∫ ∞ L {t} = e-stt dt 0 [-te-st]∞ 1 ∫ ∞ = ------ + -- e-st dt s [ t=0] s 0 1 e-st ∞ = 0 + s---s- t=0 = 1-. s2

Again, the limit only exists if s > 0 .

Example 6.1.4: A common function is the unit step function, which is sometimes called the Heaviside function2. This function is generally given as

 ( ||0 if t < 0, u(t) = {|| (1 if t ≥ 0.

Let us find the Laplace transform of u(t - a) , where a ≥ 0 is some constant. That is, the function that is 0 for t < a and 1 for t ≥ a .

 ∫ ∫ [ ]∞ ∞ -st ∞ -st e-st- e-as L {u(t - a)} = 0 e u(t - a) dt = a e dt = -s = s , t=a

where of course s > 0 (and a ≥ 0 as we said before).

By applying similar procedures we can compute the transforms of many elementary functions. Many basic transforms are listed in Table 6.1.


f (t) L{f(t)}
C C- s
   
t 1 s2-
   
t2 2s3-
   
t3 64- s
   
tn n!- sn+1
   
 -at e -1- s+a
   
sin(ωt ) -ω--- s2+ω2
   
cos(ωt) -s--- s2+ω2
   
sinh(ωt)  ω s2-ω2-
   
cosh(ωt)  s s2-ω2-
   
u(t - a) -as es-

Table 6.1: Some Laplace transforms (C , ω , and a are constants).

Exercise 6.1.1: Verify Table 6.1.

Since the transform is defined by an integral. We can use the linearity properties of the integral. For example, suppose C is a constant, then

 ∫ ∞ ∫ ∞ L{Cf (t)} = e-stCf (t) dt = C e-stf(t) dt = CL {f(t)}. 0 0

So we can “pull out” a constant out of the transform. Similarly we have linearity. Since linearity is very important we state it as a theorem.

Theorem 6.1.1 (Linearity of the Laplace transform). Suppose that A , B , and C are constants, then

|----------------------------------------| | L{Af (t) + Bg(t)} = AL {f(t)} + BL {g (t)}, | ------------------------------------------

and in particular

L{Cf (t)} = CL {f(t)}.

Exercise 6.1.2: Verify the theorem. That is, show that L {Af(t) + Bg (t)} = AL {f(t)} + BL {g(t)} .

These rules together with Table 6.1 make it easy to find the Laplace transform of a whole lot of functions already. But be careful. It is a common mistake to think that the Laplace transform of a product is the product of the transforms. In general

L {f(t)g(t)} ⇔ L {f (t)}L{g(t)}.

It must also be noted that not all functions have a Laplace transform. For example, the function 1 t does not have a Laplace transform as the integral diverges for all s . Similarly, tan t or  t2 e do not have Laplace transforms.

6.1.2 Existence and uniqueness

Let us consider when does the Laplace transform exist in more detail. First let us consider functions of exponential order. The function f (t) is of exponential order as t goes to infinity if

 ct |f(t)| ≤ Me ,

for some constants M and c , for sufficiently large t (say for all t > t0 for some t0 ). The simplest way to check this condition is to try and compute

 lim f-(t). t→∞ ect

If the limit exists and is finite (usually zero), then f(t) is of exponential order.

Exercise 6.1.3: Use L’Hopital’s rule from calculus to show that a polynomial is of exponential order. Hint: Note that a sum of two exponential order functions is also of exponential order. Then show that tn is of exponential order for any n .

For an exponential order function we have existence and uniqueness of the Laplace transform.

Theorem 6.1.2 (Existence). Let f(t) be continuous and of exponential order for a certain constant c . Then F (s) = L {f (t)} is defined for all s > c .

The existence is not difficult to see. Let f(t) be of exponential order, that is  ct |f(t)| ≤ Me for all t > 0 (for simplicity t0 = 0 ). Let s > c , or in other words (c - s) < 0 . By the comparison theorem from calculus, the improper integral defining L {f(t)} exists if the following integral exists

∫ ∫ [ ]∞ ∞ -st ct ∞ (c-s)t e(c-s)t -M--- e (Me ) dt = M e dt = M c - s = c - s . 0 0 t=0

The transform also exists for some other functions that are not of exponential order, but that will not be relevant to us. Before dealing with uniqueness, let us note that for exponential order functions we obtain that their Laplace transform decays at infinity:

sli→m∞F (s) = 0.

Theorem 6.1.3 (Uniqueness). Let f(t) and g (t) be continuous and of exponential order. Suppose that there exists a constant C , such that F(s) = G(s) for all s > C . Then f(t) = g(t) for all t ≥ 0 .

Both theorems hold for piecewise continuous functions as well. Recall that piecewise continuous means that the function is continuous except perhaps at a discrete set of points where it has jump discontinuities like the Heaviside function. Uniqueness, however, does not “see” values at the discontinuities. So we can only conclude that f (t) = g (t) outside of discontinuities. For example, the unit step function is sometimes defined using u(0 ) = 1∕2 . This new step function, however, has the exact same Laplace transform as the one we defined earlier where u(0) = 1 .

6.1.3 The inverse transform

As we said, the Laplace transform will allow us to convert a differential equation into an algebraic equation. Once we solve the algebraic equation in the frequency domain we will want to get back to the time domain, as that is what we are interested in. If we have a function F (s) , to be able to find f(t) such that L {f (t)} = F (s) , we need to first know if such a function is unique. It turns out we are in luck by Theorem 6.1.3. So we can without fear make the following definition.

If F(s) = L{f(t)} for some function f(t) . We define the inverse Laplace transform as

L -1{F(s)} d=eff(t).

There is an integral formula for the inverse, but it is not as simple as the transform itself—it requires complex numbers and path integrals. For us it will suffice to compute the inverse using Table 6.1.

Example 6.1.5: Take F(s) = -1- s+1 . Find the inverse Laplace transform.

We look at the table to find

 { } -1 --1-- -t L s + 1 = e .

As the Laplace transform is linear, the inverse Laplace transform is also linear. That is,

L-1{AF (s) + BG (s)} = AL -1{F(s)} + BL -1{G (s)}.

Of course, we also have  -1 -1 L {AF (s)} = AL {F(s)} . Let us demonstrate how linearity can be used.

Example 6.1.6: Take  2 F(s) = s+s3s++s1 . Find the inverse Laplace transform.

First we use the method of partial fractions to write F in a form where we can use Table 6.1. We factor the denominator as  2 s(s + 1) and write

 2 s-+-s-+-1 = A-+ Bs-+-C-. s3 + s s s2 + 1

Putting the right hand side over a common denominator and equating the numerators we get A (s2 + 1) + s(Bs + C) = s2 + s + 1 . Expanding and equating coefficients we obtain A + B = 1 , C = 1 , A = 1 , and thus B = 0 . In other words,

 2 s-+-s-+-1 1- --1--- F(s) = s3 + s = s + s2 + 1 .

By linearity of the inverse Laplace transform we get

 { 2 } { } { } L -1 s-+-s-+-1 = L -1 1- + L-1 --1--- = 1 + sint. s3 + s s s2 + 1

Another useful property is the so-called shifting property or the first shifting property

|------------------------| | L {e-atf(t)} = F(s + a ), | -------------------------

where F (s) is the Laplace transform of f (t) .

Exercise 6.1.4: Derive the first shifting property from the definition of the Laplace transform.

The shifting property can be used, for example, when the denominator is a more complicated quadratic that may come up in the method of partial fractions. We complete the square and write such quadratics as  2 (s + a ) + b and then use the shifting property.

Example 6.1.7: Find  { } L-1 s2+14s+8- .

First we complete the square to make the denominator  2 (s + 2) + 4 . Next we find

 { } L-1 --1--- = 1-sin(2t). s2 + 4 2

Putting it all together with the shifting property, we find

 { } { } L-1 -----1----- = L -1 -----1----- = 1e-2t sin (2t). s2 + 4s + 8 (s + 2)2 + 4 2

In general, we want to be able to apply the Laplace transform to rational functions, that is functions of the form

 F(s) ----- G (s)

where F (s) and G (s) are polynomials. Since normally, for the functions that we are considering, the Laplace transform goes to zero as s → ∞ , it is not hard to see that the degree of F (s) must be smaller than that of G(s) . Such rational functions are called proper rational functions and we can always apply the method of partial fractions. Of course this means we need to be able to factor the denominator into linear and quadratic terms, which involves finding the roots of the denominator.

6.1.4 Exercises

Exercise 6.1.5: Find the Laplace transform of  5 3 + t + sin(πt) .

Exercise 6.1.6: Find the Laplace transform of  2 a + bt + ct for some constants a , b , and c .

Exercise 6.1.7: Find the Laplace transform of A cos(ωt) + Bsin(ωt) .

Exercise 6.1.8: Find the Laplace transform of cos2(ωt ) .

Exercise 6.1.9: Find the inverse Laplace transform of -4-- s2-9 .

Exercise 6.1.10: Find the inverse Laplace transform of 22s-- s-1 .

Exercise 6.1.11: Find the inverse Laplace transform of  1 (s-1)2(s+1) .

Exercise 6.1.12: Find the Laplace transform of  ( ||{t if t ≥ 1, f(t) = ||(0 if t < 1.

Exercise 6.1.13: Find the inverse Laplace transform of (s2+s+s2)(s+4)- .

Exercise 6.1.14: Find the Laplace transform of sin (ω (t - a)) .

Exercise 6.1.15: Find the Laplace transform of tsin(ωt) . Hint: Several integrations by parts.

Exercise 6.1.101: Find the Laplace transform of  2 4(t + 1) .

Exercise 6.1.102: Find the inverse Laplace transform of s3(8s+2) .

Exercise 6.1.103: Find the Laplace transform of te-t (Hint: integrate by parts).

Exercise 6.1.104: Find the Laplace transform of  -t sin(t)e (Hint: integrate by parts).

1Just like the Laplace equation and the Laplacian, the Laplace transform is also named after Pierre-Simon, marquis de Laplace (1749 – 1827).

2The function is named after the English mathematician, engineer, and physicist Oliver Heaviside (1850–1925). Only by coincidence is the function “heavy” on “one side.”