4. Laplace transforms

There is a shorthand method for deriving the solutions of linear, constant-coefficient equations that have forcing functions such as steps, impulses, and elementary functions. Essentially, it is a trick for turning calculus into algebra.

Given (almost) any function \(f(t)\), there is a doppelgänger function \(F(s)\) defined by an integral.

Definition 4.6 (Laplace transform)

The Laplace transform of a function \(f(t)\) is defined as

(4.3)\[\lx[f(t)] = F(s) = \int_0^\infty f(t) e^{-st}\, dt.\]

For the rest of this part of the text, time starts at \(t=0\), and any reference to \(f(t)\) for negative \(t\) is defined to be zero.

Attention

A common convention is that a lowercase function of \(t\) transforms to its uppercase namesake as a function of \(s\). You should assume this unless told otherwise.

Example

Use the definition of the Laplace transform to find \(\lx[t]\). (Assume that \(s\) is constrained in any way needed to make the integral converge.)

The following important fact is easily proved using familiar properties of integrals.

Theorem 4.7 (Laplace transform linearity)

The Laplace transform is a linear operator. That is,

\[\begin{align*} \lx[ f(t) + g(t) ] = F(s) + G(s), \\ \lx[ c f(t) ] = c F(s), \end{align*}\]

where \(c\) is any constant.

4.1. Derivatives

Applying integration by parts to the definition of \(\lx[x'(t)]\) reveals the main reason Laplace transforms are useful in ODEs:

\[\begin{align*} \lx[x'(t)] & = \int_0^\infty x'(t) e^{-st}\, dt \\ & = \left[ x(t)e^{-st}\right]_0^\infty - \int_0^\infty (-s) x(t) e^{-st}\, dt \\ & = -x(0) + s X(s). \end{align*}\]
Formula 4.8 (Transform of a derivative)
\[ \lx[x'(t)] = s X(s) - x(0) \]

Example

Find the Laplace transform of the second derivative of a function: \(\lx[x''(t)]\).

Here is the plan of attack. Given an ODE \(x'-ax=f(t)\), we transform everything in sight to get

\[sX(s)-x(0) - a X(s) = F(s).\]

Now solve for the transform of the solution:

\[X(s) = \frac{ F(s) + x(0)}{s-a}.\]

The last step is to compute the inverse transform, that is, find \(x(t)\) given a known \(X(s)\). This is a lot less straightforward than computing the forward transform, unfortunately. But we can make it manageable in much the same way you learned indefinite integration, by learning some canonical cases and then matching patterns.

4.2. Basic transforms

4.2.1. Exponential

We can find the transform of an exponential function from the transform definition. For any real number \(c\),

\[\lx[e^{c t}] = \int_0^\infty e^{(c-s)t}\, dt = \left[ -\frac{1}{s-c} e^{(c-s)t} \right]_0^\infty = \frac{1}{s-c}.\]

(To make this valid requires that \(c< s\), but we are going to ignore all such technicalities.)

Formula 4.9 (Transform of an exponential)
(4.4)\[\lx[e^{c t}] = \frac{1}{s-c}.\]

An important special case is \(c=0\),

\[\lx[1]=\frac{1}{s}.\]

Example

Find the Laplace transform of the function \(\sinh(t)\).

4.2.2. Step

Finding the transform of a step is also pretty easy:

\[\begin{align*} \lx[H(t-T)] & = \int_T^\infty e^{-st}\, dt \\ & = -\frac{1}{s} \Bigl[ e^{-st} \Bigr]_T^\infty = \frac{e^{-sT}}{s} \end{align*}\]
Formula 4.10 (Transform of a step)
(4.5)\[\lx[H(t-T)] = \frac{e^{-sT}}{s}.\]

A generalization of the same calculation results in a very important rule.

Theorem 4.11 (Shift theorem)
(4.6)\[\lx[H(t-T)f(t-T)] = e^{-sT} \lx[f(t)].\]

Example

Find the inverse transform of

\[ X(s) = \frac{e^{-sT}}{s-a}. \]

4.2.3. Impulse

To get the transform of an impulse, we can play the same game as before. The transform of our narrow window \(\delta_\epsilon\) is

\[\lx[ \delta_\epsilon(t-T)] = \frac{1}{\epsilon} \left( \lx[H(t-T)] - \lx[H(t-T-\epsilon) \right) = \frac{1 - e^{\epsilon s}}{\epsilon s}e^{-sT}.\]

Taking the limit as \(\epsilon\to 0\) gives the following.

Formula 4.12 (Transform of an impulse)
(4.7)\[\lx[\delta(t-T)] = e^{-sT}.\]

An important special case is \(T=0\):

\[\lx[\delta(t)] = 1.\]