8.3: Solution of Initial Value Problems
( \newcommand{\kernel}{\mathrm{null}\,}\)
Laplace Transforms of Derivatives
In the rest of this chapter we’ll use the Laplace transform to solve initial value problems for constant coefficient second order equations. To do this, we must know how the Laplace transform of f′ is related to the Laplace transform of f. The next theorem answers this question.
Suppose f is continuous on [0,∞) and of exponential order s0, and f′ is piecewise continuous on [0,∞). Then f and f′ have Laplace transforms for s>s0, and
L(f′)=sL(f)−f(0).
- Proof
-
We know from Theorem 8.1.6 that L(f) is defined for s>s0. We first consider the case where f′ is continuous on [0,∞). Integration by parts yields
∫T0e−stf′(t)dt=e−stf(t)|T0+s∫T0e−stf(t)dt=e−sTf(T)−f(0)+s∫T0e−stf(t)dt
for any T>0. Since f is of exponential order s0, limT→∞e−sTf(T)=0 and the integral in on the right side of Equation 8.3.2 converges as T→∞ if s>s0. Therefore
∫∞0e−stf′(t)dt=−f(0)+s∫∞0e−stf(t)dt=−f(0)+sL(f),
which proves Equation ???.
Suppose T>0 and f′ is only piecewise continuous on [0,T], with discontinuities at t1<t2<⋯<tn−1. For convenience, let t0=0 and tn=T. Integrating by parts yields
∫titi−1e−stf′(t)dt=e−stf(t)|titi−1+s∫titi−1e−stf(t)dt=e−stif(ti)−e−sti−1f(ti−1)+s∫titi−1e−stf(t)dt.
Summing both sides of this equation from i=1 to n and noting that
(e−st1f(t1)−e−st0f(t0))+(e−st2f(t2)−e−st1f(t1))+⋯+(e−stNf(tN)−e−stN−1f(tN−1))
=e−stNf(tN)−e−st0f(t0)=e−sTf(T)−f(0)
yields Equation 8.3.2, so Equation ??? follows as before.
In Example 8.1.4 we saw that
L(cosωt)=ss2+ω2.
Solution
Applying Equation ??? with f(t)=cosωt shows that
L(−ωsinωt)=sss2+ω2−1=−ω2s2+ω2.
Therefore
L(sinωt)=ωs2+ω2,
which agrees with the corresponding result obtained in 8.1.4.
In Section 2.1 we showed that the solution of the initial value problem
y′=ay,y(0)=y0,
is y=y0eat. We’ll now obtain this result by using the Laplace transform.
Let Y(s)=L(y) be the Laplace transform of the unknown solution of Equation ???. Taking Laplace transforms of both sides of Equation ??? yields
L(y′)=L(ay),
which, by Theorem 8.3.1 , can be rewritten as
sL(y)−y(0)=aL(y),
or
sY(s)−y0=aY(s).
Solving for Y(s) yields
Y(s)=y0s−a,
so
y=L−1(Y(s))=L−1(y0s−a)=y0L−1(1s−a)=y0eat,
which agrees with the known result.
We need the next theorem to solve second order differential equations using the Laplace transform.
Suppose f and f′ are continuous on [0,∞) and of exponential order s0, and that f″ is piecewise continuous on [0,\infty). Then f, f', and f'' have Laplace transforms for s > s_0,
\label{eq:8.3.4} {\cal L}(f')=s {\cal L}(f)-f(0),
and
\label{eq:8.3.5} {\cal L}(f'')=s^2{\cal L}(f)-f'(0)-sf(0).
- Proof
-
Theorem 8.3.1 implies that {\cal L}(f') exists and satisfies Equation \ref{eq:8.3.4} for s>s_0. To prove that {\cal L}(f'') exists and satisfies Equation \ref{eq:8.3.5} for s>s_0, we first apply Theorem 8.3.1 to g=f'. Since g satisfies the hypotheses of Theorem 8.3.1 , we conclude that {\cal L}(g') is defined and satisfies
{\cal L}(g')=s{\cal L}(g)-g(0)\nonumber
for s>s_0. However, since g'=f'', this can be rewritten as
{\cal L}(f'')=s{\cal L}(f')-f'(0).\nonumber
Substituting Equation \ref{eq:8.3.4} into this yields Equation \ref{eq:8.3.5}.
Solving Second Order Equations with the Laplace Transform
We’ll now use the Laplace transform to solve initial value problems for second order equations.
Use the Laplace transform to solve the initial value problem
\label{eq:8.3.6} y''-6y'+5y=3e^{2t},\quad y(0)=2, \quad y'(0)=3.
Solution
Taking Laplace transforms of both sides of the differential equation in Equation \ref{eq:8.3.6} yields
{\cal L}(y''-6y'+5y)={\cal L}\left(3e^{2t}\right)={3\over s-2},\nonumber
which we rewrite as
\label{eq:8.3.7} {\cal L}(y'')-6{\cal L}(y')+5{\cal L}(y)={3\over s-2}.
Now denote {\cal L}(y)=Y(s). Theorem 8.3.2 and the initial conditions in Equation \ref{eq:8.3.6} imply that
{\cal L}(y')=sY(s)-y(0)=sY(s)-2\nonumber
and
{\cal L}(y'')=s^2Y(s)-y'(0)-sy(0)=s^2Y(s)-3-2s.\nonumber
Substituting from the last two equations into Equation \ref{eq:8.3.7} yields
\left(s^2Y(s)-3-2s\right)-6\left(sY(s)-2\right)+5Y(s)={3\over s-2}.\nonumber
Therefore
\label{eq:8.3.8} (s^2-6s+5)Y(s)={3\over s-2}+(3+2s)+6(-2),
so
(s-5)(s-1)Y(s)={3+(s-2)(2s-9)\over s-2},\nonumber
and
Y(s)={3+(s-2)(2s-9)\over(s-2)(s-5)(s-1)}.\nonumber
Heaviside’s method yields the partial fraction expansion
Y(s)=-{1\over s-2}+{1\over2}{1\over s-5}+{5\over2}{1\over s-1},\nonumber
and taking the inverse transform of this yields
y=-e^{2t}+{1\over2}e^{5t}+{5\over2}e^t \nonumber
as the solution of Equation \ref{eq:8.3.6}.
It isn’t necessary to write all the steps that we used to obtain Equation \ref{eq:8.3.8}. To see how to avoid this, let’s apply the method of Example 8.3.2 to the general initial value problem
\label{eq:8.3.9} ay''+by'+cy=f(t), \quad y(0)=k_0,\quad y'(0)=k_1.
Taking Laplace transforms of both sides of the differential equation in Equation \ref{eq:8.3.9} yields
\label{eq:8.3.10} a{\cal L}(y'')+b{\cal L}(y')+c{\cal L}(y)=F(s).
Now let Y(s)={\cal L}(y). Theorem 8.3.2 and the initial conditions in Equation \ref{eq:8.3.9} imply that
{\cal L}(y')=sY(s)-k_0\quad \text{and} \quad {\cal L}(y'')=s^2Y(s)-k_1-k_0s.\nonumber
Substituting these into Equation \ref{eq:8.3.10} yields
\label{eq:8.3.11} a\left(s^2Y(s)-k_1-k_0s\right)+b\left(sY(s)-k_0\right)+cY(s)=F(s).
The coefficient of Y(s) on the left is the characteristic polynomial
p(s)=as^2+bs+c\nonumber
of the complementary equation for Equation \ref{eq:8.3.9}. Using this and moving the terms involving k_0 and k_1 to the right side of Equation \ref{eq:8.3.11} yields
\label{eq:8.3.12} p(s)Y(s)=F(s)+a(k_1+k_0s)+bk_0.
This equation corresponds to Equation \ref{eq:8.3.8} of Example 8.3.2 . Having established the form of this equation in the general case, it is preferable to go directly from the initial value problem to this equation. You may find it easier to remember Equation \ref{eq:8.3.12} rewritten as
\label{eq:8.3.13} p(s)Y(s)=F(s)+a\left(y'(0)+sy(0)\right)+by(0).
Use the Laplace transform to solve the initial value problem
\label{eq:8.3.14} 2y''+3y'+y=8e^{-2t}, \quad y(0)=-4,\; y'(0)=2.
Solution
The characteristic polynomial is
p(s)=2s^2+3s+1=(2s+1)(s+1)\nonumber
and
F(s)={\cal L}(8e^{-2t})={8\over s+2},\nonumber
so Equation \ref{eq:8.3.13} becomes
(2s+1)(s+1)Y(s)={8\over s+2}+2(2-4s)+3(-4).\nonumber
Solving for Y(s) yields
Y(s)={4\left(1-(s+2)(s+1)\right)\over (s+1/2)(s+1)(s+2)}.\nonumber
Heaviside’s method yields the partial fraction expansion
Y(s)={4\over3}{1\over s+1/2}-{8\over s+1}+{8\over3}{1\over s+2},\nonumber
so the solution of Equation \ref{eq:8.3.14} is
y={\cal L}^{-1}(Y(s))={4\over3}e^{-t/2}-8e^{-t}+{8\over3}e^{-2t}\nonumber
(Figure 8.3.1 ).
Solve the initial value problem
\label{eq:8.3.15} y''+2y'+2y=1, \quad y(0)=-3,\; y'(0)=1.
Solution
The characteristic polynomial is
p(s)=s^2+2s+2=(s+1)^2+1\nonumber
and
F(s)={\cal L}(1)={1\over s},\nonumber
so Equation \ref{eq:8.3.13} becomes
\left[(s+1)^2+1\right] Y(s)={1\over s}+1\cdot(1-3s)+2(-3).\nonumber
Solving for Y(s) yields
Y(s)={1-s(5+3s)\over s\left[(s+1)^2+1\right]}.\nonumber
In Example 8.2.8 we found the inverse transform of this function to be
y={1\over2}-{7\over2}e^{-t}\cos t-{5\over2}e^{-t}\sin t \nonumber
(Figure 8.3.2 ), which is therefore the solution of Equation \ref{eq:8.3.15}.
In our examples we applied Theorems 8.3.1 and 8.3.2 without verifying that the unknown function y satisfies their hypotheses. This is characteristic of the formal manipulative way in which the Laplace transform is used to solve differential equations. Any doubts about the validity of the method for solving a given equation can be resolved by verifying that the resulting function y is the solution of the given problem.