Differential EquationsThe Laplace Transform2 of 8
The Laplace Transform · 2

Solving Initial Value Problems

We know how to transform basic functions of tt into the ss-world, and now we want to transform an entire differential equation to solve for an unknown function y(t)\unknown{y(t)}.

1

The Laplace Transform of a Derivative

To transform a differential equation like y′′−y′−6y=0\secondderiv{y''} - \rate{y'} - 6\unknown{y} = 0, we first need to find what the Laplace integral does to a derivative, L{y′}\transform{\mathcal{L}\{}\rate{y'}\transform{\}}.

The Laplace Transform of a Derivative
y′′−y′−6y=0L{y′}=  ?\displaystyle \begin{aligned}\secondderiv{y''} - \rate{y'} - 6\unknown{y} &= 0\\[8pt] \transform{\mathcal{L}\{}\rate{y'}\transform{\}} &= \;?\end{aligned}

Integration by parts moves the derivative off the unknown y′(t)\rate{y'(t)} and onto e−st\weight{e^{-st}}, which brings down a factor of −s-s and evaluates e−sty(t)\weight{e^{-st}}\unknown{y(t)} at t=0t = 0 and as t→∞t \to \infty:

L{y′}=∫0∞e−sty′(t) dt=[e−sty(t)]0∞⏟0−y(0)−∫0∞(−se−st)y(t) dt=−y(0)+s∫0∞e−sty(t) dt⏟Y(s)\displaystyle \begin{aligned} \transform{\mathcal{L}\{}\rate{y'}\transform{\}} &= \int_0^\infty \weight{e^{-st}}\rate{y'(t)}\,dt \\ &= \underbrace{\Big[\weight{e^{-st}}\unknown{y(t)}\Big]_0^\infty}_{0 - \unknown{y(0)}} \\ &\qquad - \int_0^\infty (-s\weight{e^{-st}})\unknown{y(t)}\,dt \\ &= -\unknown{y(0)} + s\underbrace{\int_0^\infty \weight{e^{-st}}\unknown{y(t)}\,dt}_{\unknown{Y(s)}} \end{aligned}

This gives the rule for transforming a first derivative:

L{y′}\displaystyle \transform{\mathcal{L}\{}\rate{y'}\transform{\}} =sY(s)−y(0)\displaystyle = s\unknown{Y(s)} - \unknown{y(0)}
Laplace Transform\text{Laplace Transform}
(derivatives become multiplication by s)\text{(derivatives become multiplication by }s\text{)}
Time World\htmlClass{lc-mute}{\text{Time World}}
s-World\htmlClass{lc-mute}{s\text{-World}}
y′′−y′−6y=0\htmlClass{lc-orange}{y''} - \htmlClass{lc-pink}{y'} - 6\htmlClass{lc-blue}{y} = 0
y(0)=4y′(0)=7\begin{aligned}\htmlClass{lc-blue}{y(0)} &= \htmlClass{lc-blue}{4}\\ \htmlClass{lc-pink}{y'(0)} &= \htmlClass{lc-pink}{7}\end{aligned}
y(t)=3e3t+e−2t\htmlClass{lc-blue}{y(t)} = \htmlClass{lc-green}{3e^{3t}} + \htmlClass{lc-violet}{e^{-2t}}
[s2Y−4s−7]−[sY−4]−6Y=0\begin{aligned}&\htmlClass{lc-orange}{[}s^2\htmlClass{lc-blue}{Y} - \htmlClass{lc-blue}{4}s - \htmlClass{lc-pink}{7}\htmlClass{lc-orange}{]}\\ &{} - \htmlClass{lc-pink}{[}s\htmlClass{lc-blue}{Y} - \htmlClass{lc-blue}{4}\htmlClass{lc-pink}{]} - 6\htmlClass{lc-blue}{Y} = 0\end{aligned}
Y=4s+3(s−3)(s+2)\htmlClass{lc-blue}{Y} = \dfrac{\htmlClass{lc-blue}{4}s + 3}{(s - 3)(s + 2)}
Inverse Transform\text{Inverse Transform}

See how shifting y(t)\unknown{y(t)} up or down changes sY(s)s\unknown{Y(s)} while −y(0)-\unknown{y(0)} cancels that change, keeping L{y′}=sY(s)−y(0)\transform{\mathcal{L}\{}\rate{y'}\transform{\}} = s\unknown{Y(s)} - \unknown{y(0)} the same for every starting height:

Shifting a curve up or down doesn't change its slope or the slope's transform, and subtracting the starting height cancels that shift out so the formula still matches.
2

Transforms of Second and Higher Derivatives

To transform a second-order equation, we need the Laplace transform of the second derivative, L{y′′}\transform{\mathcal{L}\{}\secondderiv{y''}\transform{\}}, along with the pattern for higher derivatives.

Transforms of Second and Higher Derivatives
L{y′}=s Y(s)−y(0)L{y′′}=  ?\displaystyle \begin{aligned}\transform{\mathcal{L}\{}\rate{y'}\transform{\}} &= s\,\unknown{Y(s)} - \unknown{y(0)}\\[8pt] \transform{\mathcal{L}\{}\secondderiv{y''}\transform{\}} &= \;?\end{aligned}

Because y′′(t)\secondderiv{y''(t)} is the derivative of y′(t)\rate{y'(t)}, applying the first-derivative rule to y′(t)\rate{y'(t)} multiplies L{y′}\transform{\mathcal{L}\{}\rate{y'}\transform{\}} by ss and subtracts where y′\rate{y'} starts at t=0t = 0:

L{y′′}=sL{y′}−y′(0)=s(sY(s)−y(0))−y′(0)=s2Y(s)−sy(0)−y′(0)\displaystyle \begin{aligned} \transform{\mathcal{L}\{}\secondderiv{y''}\transform{\}} &= s\transform{\mathcal{L}\{}\rate{y'}\transform{\}} - \rate{y'(0)} \\ &= s\rate{\big(}s\unknown{Y(s)} - \unknown{y(0)}\rate{\big)} - \rate{y'(0)} \\ &= s^2\unknown{Y(s)} - s\unknown{y(0)} - \rate{y'(0)} \end{aligned}

Writing Y\unknown{Y} for Y(s)\unknown{Y(s)} and repeating this step gives the transform for any derivative:

L{y′}=sY−y(0)L{y′′}=s2Y−sy(0)−y′(0)L{y′′′}=s3Y−s2y(0)−sy′(0)−y′′(0)\displaystyle \begin{aligned} \transform{\mathcal{L}\{}\rate{y'}\transform{\}} &= s\unknown{Y} - \unknown{y(0)} \\ \transform{\mathcal{L}\{}\secondderiv{y''}\transform{\}} &= s^2\unknown{Y} - s\unknown{y(0)} - \rate{y'(0)} \\ \transform{\mathcal{L}\{}y'''\transform{\}} &= s^3\unknown{Y} - s^2\unknown{y(0)} - s\rate{y'(0)} - \secondderiv{y''(0)} \end{aligned}
L{y′}=\htmlClass{lc-violet}{\mathcal{L}\{}\htmlClass{lc-pink}{y'}\htmlClass{lc-violet}{\}} =
sYs\htmlClass{lc-blue}{Y}
−-
y(0)\htmlClass{lc-blue}{y(0)}
L{y′′}=\htmlClass{lc-violet}{\mathcal{L}\{}\htmlClass{lc-orange}{y''}\htmlClass{lc-violet}{\}} =
s2Ys^2\htmlClass{lc-blue}{Y}
−-
s y(0)s\,\htmlClass{lc-blue}{y(0)}
−-
y′(0)\htmlClass{lc-pink}{y'(0)}
powers of s step down by 1\text{powers of }s\text{ step down by 1}
s3s^3
s2s^2
ss
11
L{y′′′}=\htmlClass{lc-violet}{\mathcal{L}\{}y'''\htmlClass{lc-violet}{\}} =
s3Ys^3\htmlClass{lc-blue}{Y}
−-
s2y(0)s^2\htmlClass{lc-blue}{y(0)}
−-
s y′(0)s\,\htmlClass{lc-pink}{y'(0)}
−-
y′′(0)\htmlClass{lc-orange}{y''(0)}
y(0)\htmlClass{lc-blue}{y(0)}
y′(0)\htmlClass{lc-pink}{y'(0)}
y′′(0)\htmlClass{lc-orange}{y''(0)}
derivatives at 0 step up by 1\text{derivatives at }0\text{ step up by 1}
3

Solving a First-Order Initial Value Problem

Now let's find the function y(t)\unknown{y(t)} that solves the first-order initial value problem

y′+2y\displaystyle \rate{y'} + 2\unknown{y} =12et,y(0)\displaystyle = \forced{12e^t}, \quad \unknown{y(0)} =5\displaystyle = \unknown{5}

Transforming the right side and translating back at the end both use the exponential rule:

L{eat}\displaystyle \transform{\mathcal{L}\{}e^{at}\transform{\}} =1s−a\displaystyle = \frac{1}{s - a}
Solving a First-Order Initial Value Problem
Time World\htmlClass{lc-mute}{\text{Time World}}
s-World\htmlClass{lc-mute}{s\text{-World}}
y′+2y=12ety(0)=5\begin{aligned}\htmlClass{lc-pink}{y'} + 2\htmlClass{lc-blue}{y} &= \htmlClass{lc-green}{12e^{t}}\\ \htmlClass{lc-blue}{y(0)} &= \htmlClass{lc-blue}{5}\end{aligned}
L\htmlClass{lc-violet}{\mathcal{L}}
Y=  ?\htmlClass{lc-blue}{Y} = \;?
L−1\htmlClass{lc-violet}{\mathcal{L}^{-1}}
y(t)=  ?\htmlClass{lc-blue}{y(t)} = \;?
Text solution
Transform each term and plug in y(0)=5\unknown{y(0)} = \unknown{5}Replace y′\rate{y'} with sY−y(0)s\unknown{Y} - \unknown{y(0)}, y\unknown{y} with Y\unknown{Y}, and 12et\forced{12e^t} with 12s−1\forced{\frac{12}{s - 1}} so no derivatives remain.
(sY−5)+2Y\displaystyle \rate{(}s\unknown{Y} - \unknown{5}\rate{)} + 2\unknown{Y} =12s−1\displaystyle = \forced{\frac{12}{s - 1}}
Combine over s−1s - 1 and solve for Y\unknown{Y}Factor Y\unknown{Y} out on the left, add 5\unknown{5} to the right side over a common denominator, and divide by s+2s + 2.
(s+2)Y=12s−1+5=12+5(s−1)s−1=5s+7s−1Y=5s+7(s−1)(s+2)\displaystyle \begin{aligned} (s + 2)\unknown{Y} &= \forced{\frac{12}{s - 1}} + \unknown{5} \\[6pt] &= \frac{\forced{12} + \unknown{5}(s - 1)}{s - 1} \\[6pt] &= \frac{\unknown{5}s + 7}{s - 1} \\[6pt] \unknown{Y} &= \frac{\unknown{5}s + 7}{(s - 1)(s + 2)} \end{aligned}
Split into partial fractions and translate back to ttBreak Y\unknown{Y} into separate fractions for s−1s - 1 and s+2s + 2, solve 5s+7=A(s+2)+B(s−1)\unknown{5}s + 7 = \forced{A}(s + 2) + \natural{B}(s - 1) at s=1s = 1 and s=−2s = -2, and translate each fraction into an exponential.
Y=As−1+Bs+2=4s−1+1s+2y(t)=4et+e−2t\displaystyle \begin{aligned} \unknown{Y} &= \frac{\forced{A}}{s - 1} + \frac{\natural{B}}{s + 2} \\[6pt] &= \forced{\frac{4}{s - 1}} + \natural{\frac{1}{s + 2}} \\[6pt] \unknown{y(t)} &= \forced{4e^t} + \natural{e^{-2t}} \end{aligned}

So y(t)=4et+e−2t\unknown{y(t)} = \forced{4e^t} + \natural{e^{-2t}} is the complete solution, and because y(0)=5\unknown{y(0)} = \unknown{5} went in on the first step, y(0)=4(1)+1=5\unknown{y(0)} = \forced{4(1)} + \natural{1} = 5 is already satisfied without solving for +C+ C.

4

Solving a Second-Order Initial Value Problem

Next, let's solve the second-order initial value problem:

y′′−y′−6y=0,y(0)=4,y′(0)=7\displaystyle \begin{aligned} \secondderiv{y''} - \rate{y'} - 6\unknown{y} &= 0, \\ \unknown{y(0)} &= \unknown{4}, \\ \rate{y'(0)} &= \rate{7} \end{aligned}
Solving a Second-Order Initial Value Problem
Time World\htmlClass{lc-mute}{\text{Time World}}
s-World\htmlClass{lc-mute}{s\text{-World}}
y′′−y′−6y=0y(0)=4y′(0)=7\begin{aligned}\htmlClass{lc-orange}{y''} - \htmlClass{lc-pink}{y'} - 6\htmlClass{lc-blue}{y} &= 0\\ \htmlClass{lc-blue}{y(0)} &= \htmlClass{lc-blue}{4}\\ \htmlClass{lc-pink}{y'(0)} &= \htmlClass{lc-pink}{7}\end{aligned}
L\htmlClass{lc-violet}{\mathcal{L}}
Y=  ?\htmlClass{lc-blue}{Y} = \;?
L−1\htmlClass{lc-violet}{\mathcal{L}^{-1}}
y(t)=  ?\htmlClass{lc-blue}{y(t)} = \;?
Text solution
Put brackets around each derivative's transform and plug in y(0)=4\unknown{y(0)} = \unknown{4}, y′(0)=7\rate{y'(0)} = \rate{7}Put brackets around the entire transform of y′′\secondderiv{y''} and y′\rate{y'} so the minus sign in front of y′\rate{y'} distributes to every term inside.
[s2Y−4s−7]−[sY−4]−6Y\displaystyle \secondderiv{[}s^2\unknown{Y} - \unknown{4}s - \rate{7}\secondderiv{]} - \rate{[}s\unknown{Y} - \unknown{4}\rate{]} - 6\unknown{Y} =0\displaystyle = 0
Distribute signs and solve for Y\unknown{Y}Flip the signs inside the second bracket, collect the Y\unknown{Y} terms, and factor the quadratic in the denominator.
s2Y−4s−7−sY+4−6Y=0(s2−s−6⏟characteristicpolynomial)Y−4s−3=0Y=4s+3s2−s−6=4s+3(s−3)(s+2)\displaystyle \begin{aligned} s^2\unknown{Y} - \unknown{4}s - \rate{7} - s\unknown{Y} + \unknown{4} - 6\unknown{Y} &= 0 \\ (\underbrace{s^2 - s - 6}_{\begin{gathered}\scriptstyle\text{characteristic} \\ \scriptstyle\text{polynomial}\end{gathered}})\unknown{Y} - \unknown{4}s - 3 &= 0 \\[4pt] \unknown{Y} &= \frac{\unknown{4}s + 3}{s^2 - s - 6} \\[6pt] &= \frac{\unknown{4}s + 3}{(s - 3)(s + 2)} \end{aligned}
Split into partial fractions and translate back to ttSolve 4s+3=A(s+2)+B(s−3)\unknown{4}s + 3 = \firstblock{A}(s + 2) + \secondblock{B}(s - 3) at s=3s = 3 and s=−2s = -2 to get A=3\firstblock{A} = \firstblock{3} and B=1\secondblock{B} = \secondblock{1}, then translate each fraction back to tt.
Y=3s−3+1s+2y(t)=3e3t+e−2t\displaystyle \begin{aligned} \unknown{Y} &= \firstblock{\frac{3}{s - 3}} + \secondblock{\frac{1}{s + 2}} \\[6pt] \unknown{y(t)} &= \firstblock{3e^{3t}} + \secondblock{e^{-2t}} \end{aligned}

So y(t)=3e3t+e−2t\unknown{y(t)} = \firstblock{3e^{3t}} + \secondblock{e^{-2t}} is the exact curve that starts at height y(0)=3+1=4\unknown{y(0)} = \firstblock{3} + \secondblock{1} = 4 with initial slope y′(0)=9−2=7\rate{y'(0)} = \firstblock{9} - \secondblock{2} = 7.

Now vary the initial slope y′(0)\rate{y'(0)} for y′′−y′−6y=0\secondderiv{y''} - \rate{y'} - 6\unknown{y} = 0 starting at y(0)=4\unknown{y(0)} = \unknown{4}, and see how it changes the numerator of Y(s)\unknown{Y(s)} and the mix of e3t\firstblock{e^{3t}} and e−2t\secondblock{e^{-2t}}, even canceling the growing e3t\firstblock{e^{3t}} term completely at y′(0)=−8\rate{y'(0)} = \rate{-8}:

The differential equation fixes the denominator factors and the exponential terms, while the starting slope only changes the numerator to adjust their weights.
5

Initial Value Problems with Sines and Cosines

When the polynomial multiplying Y\unknown{Y} is a sum of squares like s2+4s^2 + 4 that does not factor into real roots, sines and cosines show up in the solution. Let's solve

y′′+4y=8,y(0)=1,y′(0)=6\displaystyle \begin{aligned} \secondderiv{y''} + 4\unknown{y} &= \forced{8}, \\ \unknown{y(0)} &= \unknown{1}, \\ \rate{y'(0)} &= \rate{6} \end{aligned}

Here we need the transforms for cosine (which has ss on top), sine (which has the number bb on top), and a constant:

L{cos⁡(bt)}=ss2+b2,L{sin⁡(bt)}=bs2+b2,L{1}=1s\displaystyle \begin{aligned} \transform{\mathcal{L}\{}\cos(bt)\transform{\}} &= \frac{s}{s^2 + b^2}, \\[6pt] \transform{\mathcal{L}\{}\sin(bt)\transform{\}} &= \frac{b}{s^2 + b^2}, \\[6pt] \transform{\mathcal{L}\{}1\transform{\}} &= \frac{1}{s} \end{aligned}
Initial Value Problems with Sines and Cosines
Time World\htmlClass{lc-mute}{\text{Time World}}
s-World\htmlClass{lc-mute}{s\text{-World}}
y′′+4y=8y(0)=1y′(0)=6\begin{aligned}\htmlClass{lc-orange}{y''} + 4\htmlClass{lc-blue}{y} &= \htmlClass{lc-green}{8}\\ \htmlClass{lc-blue}{y(0)} &= \htmlClass{lc-blue}{1}\\ \htmlClass{lc-pink}{y'(0)} &= \htmlClass{lc-pink}{6}\end{aligned}
cos⁡(bt)→ss2+b2sin⁡(bt)→bs2+b2\begin{aligned}\cos(bt) &\htmlClass{lc-violet}{\to} \dfrac{s}{s^2 + b^2}\\[8pt] \sin(bt) &\htmlClass{lc-violet}{\to} \dfrac{b}{s^2 + b^2}\end{aligned}
L\htmlClass{lc-violet}{\mathcal{L}}
Y=  ?\htmlClass{lc-blue}{Y} = \;?
L−1\htmlClass{lc-violet}{\mathcal{L}^{-1}}
y(t)=  ?\htmlClass{lc-blue}{y(t)} = \;?
Text solution
Transform the equation and plug in y(0)=1\unknown{y(0)} = \unknown{1}, y′(0)=6\rate{y'(0)} = \rate{6}Replace y′′\secondderiv{y''} with s2Y−sy(0)−y′(0)s^2\unknown{Y} - s\unknown{y(0)} - \rate{y'(0)} and transform the constant 8\forced{8} on the right side into 8s\forced{\frac{8}{s}}.
s2Y−s−6+4Y\displaystyle s^2\unknown{Y} - s - \rate{6} + 4\unknown{Y} =8s\displaystyle = \forced{\frac{8}{s}}
Divide term by term by s2+4s^2 + 4Move s+6s + \rate{6} to the right side and divide each term separately by s2+4s^2 + 4 rather than combining the right side into a single fraction.
(s2+4)Y=s+6+8sY=ss2+4+6s2+4+8s(s2+4)\displaystyle \begin{aligned} (s^2 + 4)\unknown{Y} &= s + \rate{6} + \forced{\frac{8}{s}} \\[6pt] \unknown{Y} &= \natural{\frac{s}{s^2 + 4}} + \natural{\frac{6}{s^2 + 4}} \\[6pt] &\qquad + \frac{\forced{8}}{s(s^2 + 4)} \end{aligned}
Split only the third fraction and match b=2b = 2 for sineUse partial fractions on 8s(s2+4)=2s−2ss2+4\frac{\forced{8}}{s(s^2 + 4)} = \forced{\frac{2}{s}} - \natural{\frac{2s}{s^2 + 4}}, combine the ss2+4\natural{\frac{s}{s^2 + 4}} terms, and write 6=3⋅26 = 3 \cdot 2 so the sine term has b=2b = 2 on top.
Y=ss2+4+3⋅2s2+4+2s−2ss2+4=2s−ss2+4+3⋅2s2+4y(t)=2−cos⁡(2t)+3sin⁡(2t)\displaystyle \begin{aligned} \unknown{Y} &= \natural{\frac{s}{s^2 + 4}} + \natural{3\cdot\frac{2}{s^2 + 4}} \\[6pt] &\qquad + \forced{\frac{2}{s}} - \natural{\frac{2s}{s^2 + 4}} \\[6pt] &= \forced{\frac{2}{s}} - \natural{\frac{s}{s^2 + 4}} + \natural{3\cdot\frac{2}{s^2 + 4}} \\[6pt] \unknown{y(t)} &= \forced{2} - \natural{\cos(2t)} + \natural{3\sin(2t)} \end{aligned}

So y(t)=2−cos⁡(2t)+3sin⁡(2t)\unknown{y(t)} = \forced{2} - \natural{\cos(2t)} + \natural{3\sin(2t)} is the solution, oscillating around height 2\forced{2} after starting at y(0)=2−1+0=1\unknown{y(0)} = \forced{2} - \natural{1} + \natural{0} = 1.

y(t)=2−cos⁡(2t)+3sin⁡(2t)\htmlClass{lc-blue}{y(t)} = \htmlClass{lc-green}{2} - \htmlClass{lc-violet}{\cos(2t)} + \htmlClass{lc-violet}{3\sin(2t)}
(0, 1)(0,\,\htmlClass{lc-blue}{1})
y′(0)=6\htmlClass{lc-pink}{y'(0)} = \htmlClass{lc-pink}{6}
y=2y = \htmlClass{lc-green}{2}
t\htmlClass{lc-mute}{t}
y\htmlClass{lc-mute}{y}

Key concepts

Solving an initial value problem with the Laplace transform always follows the same detour: transform each term into ss, solve for Y\unknown{Y}, rewrite the fractions into forms we know how to transform back, and translate back to tt.

Transforming derivatives puts the initial conditions right in

Every derivative multiplies Y\unknown{Y} by another ss and subtracts the initial values at t=0t = 0, with the powers of ss going down by one and the derivatives at t=0t = 0 going up by one:

L{y′}=sY−y(0),L{y′′}=s2Y−sy(0)−y′(0)\displaystyle \begin{aligned} \transform{\mathcal{L}\{}\rate{y'}\transform{\}} &= s\unknown{Y} - \unknown{y(0)}, \\ \transform{\mathcal{L}\{}\secondderiv{y''}\transform{\}} &= s^2\unknown{Y} - s\unknown{y(0)} - \rate{y'(0)} \end{aligned}
Always put brackets around a derivative's transform when it has a minus sign or a coefficient in front: for −y′-\rate{y'} with y(0)=4\unknown{y(0)} = \unknown{4}, write −[sY−4]=−sY+4-\rate{[}s\unknown{Y} - \unknown{4}\rate{]} = -s\unknown{Y} + \unknown{4}.

How the denominator of Y\unknown{Y} tells you how to set up the fractions

  • Factorable quadratic (s−r1)(s−r2)→(s - r_1)(s - r_2) \to combine and use partial fractions for exponentials: Combine the right side over a common denominator before dividing, then split into As−r1+Bs−r2\frac{\firstblock{A}}{s - r_1} + \frac{\secondblock{B}}{s - r_2} to translate with 1s−a→eat\frac{1}{s - a} \to e^{at} (such as 4s+3(s−3)(s+2)=3s−3+1s+2→3e3t+e−2t\frac{\unknown{4}s + 3}{(s - 3)(s + 2)} = \firstblock{\frac{3}{s - 3}} + \secondblock{\frac{1}{s + 2}} \to \firstblock{3e^{3t}} + \secondblock{e^{-2t}}).
  • Sum of squares s2+b2→s^2 + b^2 \to keep terms separate for cosine and sine: Do not combine the entire right side into one fraction when ss and constant terms sit next to a fraction. Divide term by term so the initial-condition terms immediately match ss2+b2→cos⁡(bt)\frac{s}{s^2 + b^2} \to \cos(bt) and bs2+b2→sin⁡(bt)\frac{b}{s^2 + b^2} \to \sin(bt) (such as (s2+4)Y=s+6+8s(s^2 + 4)\unknown{Y} = s + \rate{6} + \forced{\frac{8}{s}} giving ss2+4+3⋅2s2+4\natural{\frac{s}{s^2 + 4}} + \natural{3\cdot\frac{2}{s^2 + 4}} right away, leaving only 8s(s2+4)\frac{\forced{8}}{s(s^2 + 4)} to split).
6

Practice

1

Transform the initial value problem y′′′−2y′′+5y′=0y''' - 2\secondderiv{y''} + 5\rate{y'} = 0, y(0)=1\unknown{y(0)} = \unknown{1}, y′(0)=−3\rate{y'(0)} = \rate{-3}, y′′(0)=4\secondderiv{y''(0)} = \secondderiv{4} into the ss-world and solve for Y(s)\unknown{Y(s)}.

Write out the transform of y′′′y''', y′′\secondderiv{y''}, and y′\rate{y'} inside brackets first: how do the powers of ss go down in L{y′′′}=s3Y−s2y(0)−sy′(0)−y′′(0)\transform{\mathcal{L}\{}y'''\transform{\}} = s^3\unknown{Y} - s^2\unknown{y(0)} - s\rate{y'(0)} - \secondderiv{y''(0)}?

Transform each derivative in brackets and plug in y(0)=1\unknown{y(0)} = \unknown{1}, y′(0)=−3\rate{y'(0)} = \rate{-3}, and y′′(0)=4\secondderiv{y''(0)} = \secondderiv{4}:
[s3Y−s2(1)−s(−3)−4]−2[s2Y−s(1)−(−3)]+5[sY−1]\displaystyle \big[s^3\unknown{Y} - s^2(\unknown{1}) - s(\rate{-3}) - \secondderiv{4}\big] - 2\secondderiv{\big[}s^2\unknown{Y} - s(\unknown{1}) - (\rate{-3})\secondderiv{\big]} + 5\rate{\big[}s\unknown{Y} - \unknown{1}\rate{\big]} =0\displaystyle = 0
(Watch out: two common mistakes here are leaving the brackets off −2L{y′′}-2\transform{\mathcal{L}\{}\secondderiv{y''}\transform{\}} so −2-2 only multiplies s2Ys^2\unknown{Y}, which gives s2−2s+6s3−2s2+5s\frac{s^2 - 2s + 6}{s^3 - 2s^2 + 5s}, or missing the double negatives −sy′(0)=−s(−3)=+3s-s\rate{y'(0)} = -s(\rate{-3}) = +\rate{3}s and −y′(0)=−(−3)=+3-\rate{y'(0)} = -(\rate{-3}) = +\rate{3}, which gives s2+s+3s3−2s2+5s\frac{s^2 + s + 3}{s^3 - 2s^2 + 5s}.)
Distribute the coefficients and collect the Y\unknown{Y} terms:
(s3Y−s2+3s−4)−(2s2Y−2s+6)+(5sY−5)=0(s3−2s2+5s)Y−s2+5s−15=0Y(s)=s2−5s+15s3−2s2+5s\displaystyle \begin{aligned} (s^3\unknown{Y} - s^2 + \rate{3}s - \secondderiv{4}) - \secondderiv{(}2s^2\unknown{Y} - 2s + 6\secondderiv{)} + \rate{(}5s\unknown{Y} - 5\rate{)} &= 0 \\ (s^3 - 2s^2 + 5s)\unknown{Y} - s^2 + 5s - 15 &= 0 \\ \unknown{Y(s)} &= \frac{s^2 - 5s + 15}{s^3 - 2s^2 + 5s} \end{aligned}
AnswerY(s)=s2−5s+15s3−2s2+5sY(s) = \dfrac{s^2 - 5s + 15}{s^3 - 2s^2 + 5s}
2

Solve the initial value problem y′−y=6e−2t\rate{y'} - \unknown{y} = \forced{6e^{-2t}}, y(0)=4\unknown{y(0)} = \unknown{4}.

In L{eat}=1s−a\transform{\mathcal{L}\{}e^{at}\transform{\}} = \frac{1}{s - a}, what does the denominator become when a=−2a = -2?

Transform each term and plug in y(0)=4\unknown{y(0)} = \unknown{4}:
(sY−4)−Y\displaystyle \rate{(}s\unknown{Y} - \unknown{4}\rate{)} - \unknown{Y} =6s+2\displaystyle = \forced{\frac{6}{s + 2}}
(Watch out: transforming 6e−2t\forced{6e^{-2t}} as 6s−2\frac{6}{s - 2} instead of 6s+2\forced{\frac{6}{s + 2}} leads to the wrong answer y(t)=−2et+6e2ty(t) = -2e^t + 6e^{2t}.)
Add 4\unknown{4} to the right side, combine over s+2s + 2, and divide by s−1s - 1:
(s−1)Y=6s+2+4=6+4(s+2)s+2=4s+14s+2Y=4s+14(s−1)(s+2)\displaystyle \begin{aligned} (s - 1)\unknown{Y} &= \forced{\frac{6}{s + 2}} + \unknown{4} \\[6pt] &= \frac{\forced{6} + \unknown{4}(s + 2)}{s + 2} = \frac{\unknown{4}s + 14}{s + 2} \\[6pt] \unknown{Y} &= \frac{\unknown{4}s + 14}{(s - 1)(s + 2)} \end{aligned}
Split into partial fractions using 4s+14=A(s+2)+B(s−1)\unknown{4}s + 14 = \natural{A}(s + 2) + \forced{B}(s - 1) at s=1s = 1 (A=6\natural{A} = \natural{6}) and s=−2s = -2 (B=−2\forced{B} = \forced{-2}), then translate back:
Y=6s−1−2s+2y(t)=6et−2e−2t\displaystyle \begin{aligned} \unknown{Y} &= \natural{\frac{6}{s - 1}} - \forced{\frac{2}{s + 2}} \\[6pt] \unknown{y(t)} &= \natural{6e^t} - \forced{2e^{-2t}} \end{aligned}
Answery(t)=6et−2e−2ty(t) = 6e^t - 2e^{-2t}
3

Solve the initial value problem y′′−3y′−4y=0\secondderiv{y''} - 3\rate{y'} - 4\unknown{y} = 0, y(0)=2\unknown{y(0)} = \unknown{2}, y′(0)=−7\rate{y'(0)} = \rate{-7}.

Put brackets around L{y′}=sY−2\transform{\mathcal{L}\{}\rate{y'}\transform{\}} = s\unknown{Y} - \unknown{2} before multiplying by −3-3, then factor the quadratic multiplying Y\unknown{Y}.

Transform each term with brackets around the derivatives and plug in y(0)=2\unknown{y(0)} = \unknown{2}, y′(0)=−7\rate{y'(0)} = \rate{-7}:
[s2Y−2s−(−7)]−3[sY−2]−4Y\displaystyle \secondderiv{[}s^2\unknown{Y} - \unknown{2}s - (\rate{-7})\secondderiv{]} - 3\rate{[}s\unknown{Y} - \unknown{2}\rate{]} - 4\unknown{Y} =0\displaystyle = 0
(Watch out: forgetting brackets on −3[sY−2]-3\rate{[}s\unknown{Y} - \unknown{2}\rate{]} and writing −3sY−2-3s\unknown{Y} - 2 or −3sY−6-3s\unknown{Y} - 6 instead of −3sY+6-3s\unknown{Y} + 6 turns the numerator into 2s−52s - 5 or 2s−12s - 1, giving 35e4t+75e−t\frac{3}{5}e^{4t} + \frac{7}{5}e^{-t} or 75e4t+35e−t\frac{7}{5}e^{4t} + \frac{3}{5}e^{-t}.)
Distribute, solve for Y\unknown{Y}, and factor the denominator:
s2Y−2s+7−3sY+6−4Y=0(s2−3s−4)Y−2s+13=0Y=2s−13(s−4)(s+1)\displaystyle \begin{aligned} s^2\unknown{Y} - \unknown{2}s + \rate{7} - 3s\unknown{Y} + 6 - 4\unknown{Y} &= 0 \\ (s^2 - 3s - 4)\unknown{Y} - \unknown{2}s + 13 &= 0 \\ \unknown{Y} &= \frac{\unknown{2}s - 13}{(s - 4)(s + 1)} \end{aligned}
Solve 2s−13=A(s+1)+B(s−4)\unknown{2}s - 13 = \firstblock{A}(s + 1) + \secondblock{B}(s - 4) at s=4s = 4 (−5=5A⇒A=−1-5 = 5\firstblock{A} \Rightarrow \firstblock{A} = \firstblock{-1}) and s=−1s = -1 (−15=−5B⇒B=3-15 = -5\secondblock{B} \Rightarrow \secondblock{B} = \secondblock{3}), then translate back:
Y=−1s−4+3s+1y(t)=−e4t+3e−t\displaystyle \begin{aligned} \unknown{Y} &= -\firstblock{\frac{1}{s - 4}} + \secondblock{\frac{3}{s + 1}} \\[6pt] \unknown{y(t)} &= -\firstblock{e^{4t}} + \secondblock{3e^{-t}} \end{aligned}
Answery(t)=−e4t+3e−ty(t) = -e^{4t} + 3e^{-t}
4

Solve the initial value problem y′′+9y=18\secondderiv{y''} + 9\unknown{y} = \forced{18}, y(0)=5\unknown{y(0)} = \unknown{5}, y′(0)=−6\rate{y'(0)} = \rate{-6}.

After transforming 18\forced{18} into 18s\forced{\frac{18}{s}}, divide the right side by s2+9s^2 + 9 term by term so the first two fractions stay in cos⁡(3t)\cos(3t) and sin⁡(3t)\sin(3t) form.

Transform the equation and plug in y(0)=5\unknown{y(0)} = \unknown{5}, y′(0)=−6\rate{y'(0)} = \rate{-6}:
s2Y−5s−(−6)+9Y\displaystyle s^2\unknown{Y} - \unknown{5}s - (\rate{-6}) + 9\unknown{Y} =18s\displaystyle = \forced{\frac{18}{s}}
Move 5s−6\unknown{5}s - \rate{6} to the right side and divide each term separately by s2+9s^2 + 9:
(s2+9)Y=5s−6+18sY=5ss2+9−6s2+9+18s(s2+9)\displaystyle \begin{aligned} (s^2 + 9)\unknown{Y} &= \unknown{5}s - \rate{6} + \forced{\frac{18}{s}} \\[6pt] \unknown{Y} &= \natural{\frac{5s}{s^2 + 9}} - \natural{\frac{6}{s^2 + 9}} \\[6pt] &\qquad + \frac{\forced{18}}{s(s^2 + 9)} \end{aligned}
Split the last fraction as 18s(s2+9)=2s−2ss2+9\frac{\forced{18}}{s(s^2 + 9)} = \forced{\frac{2}{s}} - \natural{\frac{2s}{s^2 + 9}}, combine the ss2+9\natural{\frac{s}{s^2 + 9}} terms, and rewrite 6=2⋅36 = 2 \cdot 3 to match b=3b = 3 for sin⁡(3t)\sin(3t):
Y=5ss2+9−2⋅3s2+9+2s−2ss2+9=2s+3⋅ss2+9−2⋅3s2+9\displaystyle \begin{aligned} \unknown{Y} &= \natural{\frac{5s}{s^2 + 9}} - \natural{2\cdot\frac{3}{s^2 + 9}} + \forced{\frac{2}{s}} - \natural{\frac{2s}{s^2 + 9}} \\ &= \forced{\frac{2}{s}} + \natural{3\cdot\frac{s}{s^2 + 9}} - \natural{2\cdot\frac{3}{s^2 + 9}} \end{aligned}
(Watch out: L{sin⁡(3t)}=3s2+9\transform{\mathcal{L}\{}\sin(3t)\transform{\}} = \frac{3}{s^2 + 9} needs a 33 on top; translating −6s2+9-\frac{6}{s^2 + 9} directly without factoring out 33 gives the wrong answer y(t)=2+3cos⁡(3t)−6sin⁡(3t)y(t) = 2 + 3\cos(3t) - 6\sin(3t).)
Translate each term back to tt:
y(t)\displaystyle \unknown{y(t)} =2+3cos⁡(3t)−2sin⁡(3t)\displaystyle = \forced{2} + \natural{3\cos(3t)} - \natural{2\sin(3t)}
Answery(t)=2+3cos⁡(3t)−2sin⁡(3t)y(t) = 2 + 3\cos(3t) - 2\sin(3t)