$$\newcommand{\id}{\mathrm{id}}$$ $$\newcommand{\Span}{\mathrm{span}}$$ $$\newcommand{\kernel}{\mathrm{null}\,}$$ $$\newcommand{\range}{\mathrm{range}\,}$$ $$\newcommand{\RealPart}{\mathrm{Re}}$$ $$\newcommand{\ImaginaryPart}{\mathrm{Im}}$$ $$\newcommand{\Argument}{\mathrm{Arg}}$$ $$\newcommand{\norm}[1]{\| #1 \|}$$ $$\newcommand{\inner}[2]{\langle #1, #2 \rangle}$$ $$\newcommand{\Span}{\mathrm{span}}$$

# 6.7: Using the Laplace Transform to Solve Initial Value Problems

$$\newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} }$$ $$\newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}}$$$$\newcommand{\id}{\mathrm{id}}$$ $$\newcommand{\Span}{\mathrm{span}}$$ $$\newcommand{\kernel}{\mathrm{null}\,}$$ $$\newcommand{\range}{\mathrm{range}\,}$$ $$\newcommand{\RealPart}{\mathrm{Re}}$$ $$\newcommand{\ImaginaryPart}{\mathrm{Im}}$$ $$\newcommand{\Argument}{\mathrm{Arg}}$$ $$\newcommand{\norm}[1]{\| #1 \|}$$ $$\newcommand{\inner}[2]{\langle #1, #2 \rangle}$$ $$\newcommand{\Span}{\mathrm{span}}$$ $$\newcommand{\id}{\mathrm{id}}$$ $$\newcommand{\Span}{\mathrm{span}}$$ $$\newcommand{\kernel}{\mathrm{null}\,}$$ $$\newcommand{\range}{\mathrm{range}\,}$$ $$\newcommand{\RealPart}{\mathrm{Re}}$$ $$\newcommand{\ImaginaryPart}{\mathrm{Im}}$$ $$\newcommand{\Argument}{\mathrm{Arg}}$$ $$\newcommand{\norm}[1]{\| #1 \|}$$ $$\newcommand{\inner}[2]{\langle #1, #2 \rangle}$$ $$\newcommand{\Span}{\mathrm{span}}$$

Now that we know how to find a Laplace transform, it is time to use it to solve differential equations. The key feature of the Laplace transform that makes it a tool for solving differential equations is that the Laplace transform of the derivative of a function is an algebraic expression rather than a differential expression. We have

Theorem: The Laplace Transform of a Derivative

Let $$f(t)$$ be continuous with $$f '(t)$$ piecewise continuous. Also suppose that

$f(t) < Ke^{at}$

for some positive $$K$$ and constant $$a$$. Then

$\mathcal{L}\{f '(t)\} = s\mathcal{L}\{f(t)\} - f(0).$

Proof

To prove this theorem we just use the definition of the Laplace transform and integration by parts. We will prove the theorem for the case where $$f$$' is continuous. If it is piecewise continuous, we can just break the integral into pieces and the proof is similar. We have

$\mathcal{L}\{f'(t)\} = \int_0^{\infty} e^{-st}\, f'(t)\,dt$

$\left. e^{-st} f(t) \right|_0^{\infty} + s\int_0^{\infty} e^{st}f(t)\,dt = -f(0)+s\mathcal{L}\{f(t)\}$

For functions $$f$$ such that $$f$$, $$f'$$, and $$f''$$ satisfy the theorem's conditions we have

$\mathcal{L}\{f ''(t)\} = -f '(0) + s\mathcal{L}\{f '(t)\} = -f '(0) + s[-f(0) + s\mathcal{L}\{f(t)\}]$

We will be using this often. We rewrite the result as

$\mathcal{L}\{f ''(t)\} = s^2\mathcal{L}\{f(t)\} - sf(0) - f '(0)$

This process will work for higher order derivatives also. With a quick induction argument it can be shown that

$\mathcal{L}\{f^{(n)}(t)\} = s^n\mathcal{L}\{f(t)\} - s^{n-1}f (0) -\, ...\, - sf^{(n-2)}(0) - f^{(n-1)}(0)$

What this tells us is that if we have a differential equation, then the Laplace transform will turn it into an algebraic equation.

Example $$\PageIndex{1}$$

Solve

$y'' + y' - 2y = 4$

with $$y(0) = 2$$ and $$y'(0) = 1$$.

Solution

We could solve this problem using the method of undetermined coefficients, however that would involve finding $$y_h$$, $$y_p$$, and the two constants. Instead we will see that the method of Laplace Transforms tackles the entire problem with one fell swoop.

We begin by applying the Laplace transform to both sides. By linearity of the Laplace transform, we have

$\mathcal{L}\{y''\} + \mathcal{L}\{y'\} - 2\mathcal{L}\{y\} = \mathcal{L}\{4\} .$

A table of Laplace transforms is useful here. There is on in the textbook or you can find one online here. We get

$(s^2\mathcal{L}\{y\} - 2s - 1) + (s\mathcal{L}\{y\} - 2) - 2\mathcal{L}\{y\} = 4/s.$

Next, combine like terms to get

$(s^2 + s - 2)\mathcal{L}\{y\} = 4/s + 2s + 3.$

Notice that the coefficient in front of $$\mathcal{L}\{y\}$$ is the characteristic equation of the differential equation. This is not a coincidence. Putting under a common denominator, dividing and factoring we get

$\mathcal{L}\{y\} = \dfrac {2s^2 + 3s + 4} {s(s - 1)(s + 2)} .$

To find $$y$$, we need to take the Inverse Laplace Transform of the right hand side. Unfortunately, finding a function $$y$$ such that the right hand side is the Laplace transform of $$y$$ is not an easy task. The technique that just about always works is partial fractions. We write

$\dfrac {2s^2 + 3s + 4 }{s(s - 1)(s + 2) } = \dfrac{A}{s} +\dfrac{B}{s-1} +\dfrac{C}{s+2}$

which gives

$A(s - 1)(s + 2) + Bs(s + 2) + Cs(s - 1) = 2s^2 + 3s + 4 .$

• Letting $$s = 0$$ gives $$-2A = 4$$ and $$A = -2$$.
• Letting $$s = 1$$ gives $$3B = 9$$ and $$B = 3$$.
• Letting $$s = -2$$ gives $$6C = 6$$ and $$C = 1$$.

Now we solve

$\mathcal{L}\{y\} = \dfrac{-2}{s} + \dfrac{3}{s-1} + \dfrac{1}{s+2}$

or

$y = L^{-1} \left \{ \dfrac{-2}{s} \right\} + L^{-1} \left \{ \dfrac{3}{s-1} \right\} +L^{-1} \left \{ \dfrac{1}{s+2} \right\}.$

Now we can use the table to get

$y = -2 + 3e^t + e^{-2t } .$

Larry Green (Lake Tahoe Community College)

• Integrated by Justin Marshall.