Laplace Transform

A type of integral transform – takes a function of one variable and turns it into a function of a different variable.

Laplace transform:

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

where:

  • \( \mathcal{L} \): Laplace transform
  • \( f(t) \): function to transform
  • \( F(s) \): new function of \( s \)

Let’s try something simple: \( f(t) = 1 \)

\[ \begin{aligned} \mathcal{L}\{1\} &= \int_0^\infty 1 \cdot e^{-st}\,dt \\ &= \lim_{a \to \infty} \int_0^a e^{-st}\,dt = \lim_{a \to \infty} -\frac{1}{s} e^{-st}\Big|_0^a \\ &= \lim_{a \to \infty} -\frac{1}{s} e^{-sa} + \frac{1}{s} \end{aligned} \]

Note: In the integral \( \int_0^\infty 1 \cdot e^{-st}\,dt \), the variable is \( t \), so \( s \) is a “constant”.

For the integral to converge, the limit \( \lim_{a \to \infty} -\frac{1}{s} e^{-sa} \) must exist.

Since \( e^{-\infty} \to 0 \) and \( e^{\infty} \to \infty \), we need \( s > 0 \) for the limit to exist.

\[ \mathcal{L}\{1\} = \frac{1}{s}, \quad s > 0 \]

Let’s try \( f(t) = t \)

\[ \mathcal{L}\{t\} = \int_0^\infty t \cdot e^{-st}\,dt = \lim_{a \to \infty} \int_0^a t e^{-st}\,dt \]

Integrate by parts:

  • \( u = t \), \( dv = e^{-st}\,dt \)
  • \( du = dt \), \( v = -\frac{1}{s}e^{-st} \)
\[ \begin{aligned} \mathcal{L}\{t\} &= \lim_{a \to \infty} \left( uv - \int v\,du \right) \\ &= \lim_{a \to \infty} \left( -\frac{t}{s} e^{-st}\Big|_0^a + \int_0^a \frac{1}{s} e^{-st}\,dt \right) \\ &= \lim_{a \to \infty} \left( -\frac{t}{s} e^{-st}\Big|_0^a - \frac{1}{s^2} e^{-st}\Big|_0^a \right) \\ &= \lim_{a \to \infty} \left( -\frac{a}{s} e^{-sa} - \frac{1}{s^2} e^{-sa} + \frac{1}{s^2} \right) \end{aligned} \]

For the limit of \( -\frac{a}{s}e^{-sa} - \frac{1}{s^2}e^{-sa} \) as \( a \to \infty \) to exist, \( s > 0 \).

\[ \mathcal{L}\{t\} = \frac{1}{s^2}, \quad s > 0 \]

If we repeat for \( t^2 \), \( t^3 \), etc., we see \( \mathcal{L}\{t^n\} = \frac{n!}{s^{n+1}}, \; s > 0 \).

Notice since Laplace transform is ultimately an integral, it shares all the same properties.

For example,

\[ \begin{aligned} \mathcal{L}\{1 + t\} &= \int_0^\infty (1 + t) e^{-st}\,dt \\ &= \int_0^\infty 1 \cdot e^{-st}\,dt + \int_0^\infty t \cdot e^{-st}\,dt \\ &= \mathcal{L}\{1\} + \mathcal{L}\{t\} \end{aligned} \]

Laplace transform is linear:

\[ \mathcal{L}\{f(t) + g(t)\} = \mathcal{L}\{f(t)\} + \mathcal{L}\{g(t)\} \]

But, just like \( \int f(t)g(t)\,dt \ne \int f(t)\,dt \int g(t)\,dt \) in general,

\[ \mathcal{L}\{f(t)g(t)\} \ne \mathcal{L}\{f(t)\}\mathcal{L}\{g(t)\} \]

Also, \( \mathcal{L}\{c \cdot f(t)\} = c \cdot \mathcal{L}\{f(t)\} \), where \( c \) is a constant.

Let’s try \( \mathcal{L}\{e^{at}\} \), where \( a \) is some constant:

\[ \begin{aligned} \mathcal{L}\{e^{at}\} &= \int_0^\infty e^{at} e^{-st}\,dt = \lim_{b \to \infty} \int_0^b e^{-(s - a)t}\,dt \\ &= \lim_{b \to \infty} -\frac{1}{s - a} e^{-(s - a)t}\Big|_0^b \\ &= \lim_{b \to \infty} -\frac{1}{s - a} e^{-(s - a)b} + \frac{1}{s - a} \end{aligned} \]

The limit \( \lim_{b \to \infty} -\frac{1}{s - a} e^{-(s - a)b} \) must exist, and if \( s - a > 0 \), then the limit is \( 0 \).

\[ \mathcal{L}\{e^{at}\} = \frac{1}{s - a}, \quad s > a \]

Notice if \( a = 0 \), we get \( \mathcal{L}\{1\} = \frac{1}{s} \).

\( \cos(t) \) and \( \sin(t) \) show up in diff. eqs. a lot.

Let’s try \( \mathcal{L}\{\cos(t)\} \):

\[ \mathcal{L}\{\cos(t)\} = \int_0^\infty \cos(t) e^{-st}\,dt = \lim_{a \to \infty} \int_0^a \cos(t) e^{-st}\,dt \]

Option: integrate by parts

  • \( u = \cos(t) \), \( dv = e^{-st}\,dt \)
  • \( du = -\sin(t)\,dt \), \( v = -\frac{1}{s} e^{-st} \)

That’s fine, but let’s try another way.

Euler’s formula:

\[ \begin{aligned} e^{it} &= \cos(t) + i\sin(t) \\ e^{-it} &= \cos(t) - i\sin(t) \end{aligned} \]

Add them:

\[ \begin{aligned} 2\cos(t) &= e^{it} + e^{-it} \\ \cos(t) &= \frac{1}{2} e^{it} + \frac{1}{2} e^{-it} \end{aligned} \]

So, we can say

\[ \begin{aligned} \mathcal{L}\{\cos(t)\} &= \mathcal{L}\left\{ \frac{1}{2} e^{it} + \frac{1}{2} e^{-it} \right\} \\ &= \frac{1}{2} \mathcal{L}\{e^{it}\} + \frac{1}{2} \mathcal{L}\{e^{-it}\} \\ &= \frac{1}{2} \frac{1}{s - i} + \frac{1}{2} \frac{1}{s + i} \\ &= \frac{1}{2} \left( \frac{2s}{s^2 + 1} \right) = \frac{s}{s^2 + 1} \end{aligned} \]

Note: Used \( \mathcal{L}\{e^{at}\} = \frac{1}{s - a} \) in the second step, giving the boxed result \( \frac{s}{s^2 + 1} \).

Domain restriction? Using \( \cos(t) = \frac{1}{2}e^{it} + \frac{1}{2}e^{-it} \):

\[ \begin{aligned} \int_0^\infty \cos(t) e^{-st}\,dt &= \int_0^\infty \frac{1}{2} e^{it} e^{-st}\,dt + \int_0^\infty \frac{1}{2} e^{-it} e^{-st}\,dt \end{aligned} \]

Focus on the first one (2nd one behaves the same):

\[ = \int_0^\infty \frac{1}{2} [\cos(t) + i\sin(t)] e^{-st}\,dt \]

\( \frac{1}{2} \) doesn’t change convergence:

\[ \int_0^\infty [\cos(t) + i\sin(t)] e^{-st}\,dt \]

where:

  • \( \cos(t) + i\sin(t) \): bounded
  • \( e^{-st} \): as long as this is bounded, the integral converges \( \to s > 0 \)

Therefore,

\[ \mathcal{L}\{\cos(t)\} = \frac{s}{s^2 + 1}, \quad s > 0 \]

Laplace transform can even handle discontinuous functions, as long as they are piecewise continuous.

\[ f(t) = \begin{cases} 1 & 0 < t < \pi \\ 0 & t \ge \pi \end{cases} \]
f(t) t π
Figure: Piecewise continuous function \( f(t) \)
Detailed description
A two-dimensional coordinate plot with horizontal axis labeled \( t \) and vertical axis labeled \( f(t) \). For \( 0 < t < \pi \), the graph is a horizontal line segment at height \( f(t) = 1 \), ending at an open circle at \( (\pi, 1) \). At \( t = \pi \), there is a jump discontinuity down to a filled dot at \( (\pi, 0) \), and for \( t \ge \pi \), the graph continues as a horizontal ray along the \( t \)-axis at \( f(t) = 0 \).
\[ \begin{aligned} \mathcal{L}\{f(t)\} &= \int_0^\infty f(t) e^{-st}\,dt \\ &= \int_0^\pi 1 \cdot e^{-st}\,dt + \int_\pi^\infty 0 \cdot e^{-st}\,dt \\ &= \int_0^\pi e^{-st}\,dt = -\frac{1}{s} e^{-st}\Big|_0^\pi = -\frac{1}{s} e^{-\pi s} + \frac{1}{s} \end{aligned} \]
\[ \mathcal{L}\{f(t)\} = -\frac{1}{s} e^{-\pi s} + \frac{1}{s} \]