Differential EquationsThe Laplace Transform3 of 8
The Laplace Transform · 3

Inverse Transforms and Partial Fractions

Solving a differential equation with the Laplace Transform leaves us with an algebraic fraction Y(s)\unknown{Y(s)}, and we need to break it apart so we can translate it back into the time function y(t)\unknown{y(t)}.

1

Why Inverse Transforms Need Partial Fractions

Suppose we have solved for Y(s)\unknown{Y(s)} in the ss-world and want to find the inverse Laplace transform of

Y(s)\displaystyle \unknown{Y(s)} =s+7s2+2s−3\displaystyle = \frac{s + 7}{s^2 + 2s - 3}

To translate from ss back to tt, we match pieces against our basic Laplace dictionary:

1↔1seat↔1s−atn↔n!sn+1cos⁡(ωt)↔ss2+ω2sin⁡(ωt)↔ωs2+ω2\displaystyle \begin{aligned} 1 &\leftrightarrow \frac{1}{s} & \quad e^{at} &\leftrightarrow \frac{1}{s - a} \\[6pt] t^n &\leftrightarrow \frac{n!}{s^{n+1}} & \quad \cos(\omega t) &\leftrightarrow \frac{s}{s^2 + \omega^2} \\[6pt] & & \quad \sin(\omega t) &\leftrightarrow \frac{\omega}{s^2 + \omega^2} \end{aligned}

Right now, s+7s2+2s−3\frac{s + 7}{s^2 + 2s - 3} doesn't match anything on the list because algebra combined separate dictionary terms over a common denominator.

Why Inverse Transforms Need Partial Fractions
Y(s)=s+7s2+2s−3y(t)=  ?\displaystyle \begin{aligned}\unknown{Y(s)} &= \frac{s + 7}{s^2 + 2s - 3}\\[8pt]\unknown{y(t)} &= \;?\end{aligned}
Text solution
Factor the denominator and split into partial fractionsFactoring the bottom reveals the denominators of the individual dictionary fractions that were added together.
s+7s2+2s−3\displaystyle \frac{s + 7}{s^2 + 2s - 3} =s+7(s−1)(s+3)\displaystyle = \frac{s + 7}{\firstfactor{(s - 1)}\secondfactor{(s + 3)}} =As−1+Bs+3\displaystyle = \firstfactor{\frac{A}{s - 1}} + \secondfactor{\frac{B}{s + 3}}
Read the time form from the denominator factorsEven before we find the numbers A\firstfactor{A} and B\secondfactor{B}, each linear factor s−as - a tells us which exponential eate^{at} appears in y(t)\unknown{y(t)}.
y(t)\displaystyle \unknown{y(t)} =A⏟weight et⏟from s−1+B⏟weight e−3t⏟from s+3\displaystyle = \underbrace{\firstfactor{A}}_{\text{weight}}\,\underbrace{\firstfactor{e^t}}_{\text{from } \firstfactor{s - 1}} + \underbrace{\secondfactor{B}}_{\text{weight}}\,\underbrace{\secondfactor{e^{-3t}}}_{\text{from } \secondfactor{s + 3}}
2

Distinct Linear Factors and the Cover-Up Method

To finish translating our fraction, we need the weights A\firstfactor{A} and B\secondfactor{B} in

s+7(s−1)(s+3)\displaystyle \frac{s + 7}{\firstfactor{(s - 1)}\secondfactor{(s + 3)}} =As−1+Bs+3\displaystyle = \firstfactor{\frac{A}{s - 1}} + \secondfactor{\frac{B}{s + 3}}

Instead of multiplying everything out and solving a system of equations, we can isolate each constant in one step by plugging in the roots of the denominator.

Distinct Linear Factors and the Cover-Up Method
s+7(s−1)(s+3)=As−1+Bs+3\displaystyle \begin{aligned}\frac{s + 7}{\firstfactor{(s - 1)}\secondfactor{(s + 3)}} &= \firstfactor{\frac{A}{s - 1}}\\[2pt]&\quad + \secondfactor{\frac{B}{s + 3}}\end{aligned}
A\displaystyle \firstfactor{A} =  ?B\displaystyle = \;?\qquad \secondfactor{B} =  ?\displaystyle = \;?
Text solution
Cover (s−1)\firstfactor{(s - 1)} and plug in s=1\firstfactor{s = 1}Multiplying by s−1\firstfactor{s - 1} clears the denominator under A\firstfactor{A} and makes the B\secondfactor{B} term equal zero at s=1\firstfactor{s = 1}, which is the same as covering up (s−1)\firstfactor{(s - 1)} on the left and plugging s=1\firstfactor{s = 1} into what remains.
A\displaystyle \firstfactor{A} =1+71+3\displaystyle = \frac{1 + 7}{1 + 3} =84\displaystyle = \frac{8}{4} =2\displaystyle = \firstfactor{2}
Cover (s+3)\secondfactor{(s + 3)} and plug in s=−3\secondfactor{s = -3}Covering (s+3)\secondfactor{(s + 3)} in the original fraction and evaluating the rest at s=−3\secondfactor{s = -3} isolates B\secondfactor{B} the same way.
B\displaystyle \secondfactor{B} =−3+7−3−1\displaystyle = \frac{-3 + 7}{-3 - 1} =4−4\displaystyle = \frac{4}{-4} =−1\displaystyle = \secondfactor{-1}
Translate each piece into timeWith the weights in place, each fraction matches 1s−a↔eat\frac{1}{s - a} \leftrightarrow e^{at}.
Y(s)=2s−1−1s+3y(t)=2et−e−3t\displaystyle \begin{aligned} \unknown{Y(s)} &= \firstfactor{\frac{2}{s - 1}} - \secondfactor{\frac{1}{s + 3}} \\ \unknown{y(t)} &= \firstfactor{2e^t} - \secondfactor{e^{-3t}} \end{aligned}

So y(t)\unknown{y(t)} is a growing et\firstfactor{e^t} piece of weight 2\firstfactor{2} minus a decaying e−3t\secondfactor{e^{-3t}} piece of weight 1\secondfactor{1}.

Near a root of the denominator, that factor's fraction blows up and dominates Y(s)\unknown{Y(s)} while the other pieces stay small. That is why plugging in the root isolates its weight directly.

Near each vertical asymptote, one partial fraction makes up almost the entire height of the curve while the other stays tiny.
3

Repeated Linear Factors

Now let's see what happens when the denominator has a repeated linear factor. We want to find the inverse Laplace transform of

Y(s)\displaystyle \unknown{Y(s)} =3s+5(s−1)(s+1)2\displaystyle = \frac{3s + 5}{\firstfactor{(s - 1)}\secondfactor{(s + 1)^2}}

In our dictionary, replacing ss with s−as - a multiplies the time function by eate^{at}:

1s2↔t⟶1(s−a)2↔teat2s3↔t2⟶2(s−a)3↔t2eat\displaystyle \begin{aligned} \frac{1}{s^2} &\leftrightarrow t & \quad &\longrightarrow & \quad \frac{1}{(s - a)^2} &\leftrightarrow te^{at} \\ \frac{2}{s^3} &\leftrightarrow t^2 & \quad &\longrightarrow & \quad \frac{2}{(s - a)^3} &\leftrightarrow t^2e^{at} \end{aligned}

Because powers of (s−a)(s - a) in the bottom are just shifted powers of ss, splitting a repeated factor into separate powers with plain constants on top gives pieces we can read straight from the dictionary.

Repeated Linear Factors
Y(s)=3s+5(s−1)(s+1)2y(t)=  ?\displaystyle \begin{aligned}\unknown{Y(s)} &= \frac{3s + 5}{\firstfactor{(s - 1)}\secondfactor{(s + 1)^2}}\\[8pt]\unknown{y(t)} &= \;?\end{aligned}
Text solution
Include one fraction for every power up to the exponentA squared factor (s+1)2\secondfactor{(s + 1)^2} needs both an (s+1)\secondfactor{(s + 1)} piece and an (s+1)2\secondfactor{(s + 1)^2} piece with constant numerators.
3s+5(s−1)(s+1)2\displaystyle \frac{3s + 5}{\firstfactor{(s - 1)}\secondfactor{(s + 1)^2}} =As−1+Bs+1+C(s+1)2\displaystyle = \firstfactor{\frac{A}{s - 1}} + \secondfactor{\frac{B}{s + 1}} + \secondfactor{\frac{C}{(s + 1)^2}}
Cover (s−1)\firstfactor{(s - 1)} and plug in s=1\firstfactor{s = 1} to find A\firstfactor{A}The non-repeated factor works by standard cover-up.
A\displaystyle \firstfactor{A} =3(1)+5(1+1)2\displaystyle = \frac{3(1) + 5}{(1 + 1)^2} =84\displaystyle = \frac{8}{4} =2\displaystyle = \firstfactor{2}
Cover (s+1)2\secondfactor{(s + 1)^2} and plug in s=−1\secondfactor{s = -1} to find C\secondfactor{C}Cover-up also works on the highest power of a repeated factor, because multiplying through by (s+1)2\secondfactor{(s + 1)^2} clears the denominator under C\secondfactor{C} and makes the A\firstfactor{A} and B\secondfactor{B} terms equal zero at s=−1\secondfactor{s = -1}.
C\displaystyle \secondfactor{C} =3(−1)+5−1−1\displaystyle = \frac{3(-1) + 5}{-1 - 1} =2−2\displaystyle = \frac{2}{-2} =−1\displaystyle = \secondfactor{-1}
Plug in s=0s = 0 to find B\secondfactor{B}Covering only one (s+1)\secondfactor{(s + 1)} would leave Cs+1\secondfactor{\tfrac{C}{s + 1}} dividing by zero at s=−1\secondfactor{s = -1}, so we put in A=2\firstfactor{A} = \firstfactor{2} and C=−1\secondfactor{C} = \secondfactor{-1} and plug in the easiest value of ss that doesn't divide by zero.
3(0)+5(0−1)(0+1)2=20−1+B0+1−1(0+1)2−5=−2+B−1B=−2\displaystyle \begin{aligned} &\frac{3(0) + 5}{(0 - 1)(0 + 1)^2} \\ &= \firstfactor{\frac{2}{0 - 1}} + \secondfactor{\frac{B}{0 + 1}} - \secondfactor{\frac{1}{(0 + 1)^2}} \\ -5 &= -2 + \secondfactor{B} - 1 \\ \secondfactor{B} &= \secondfactor{-2} \end{aligned}
Read each fraction back into timeThe first power (s+1)\secondfactor{(s + 1)} gives e−t\secondfactor{e^{-t}} and the squared factor (s+1)2\secondfactor{(s + 1)^2} gives te−t\secondfactor{te^{-t}}.
Y(s)=2s−1−2s+1−1(s+1)2y(t)=2et−2e−t−te−t\displaystyle \begin{aligned} \unknown{Y(s)} &= \firstfactor{\frac{2}{s - 1}} - \secondfactor{\frac{2}{s + 1}} - \secondfactor{\frac{1}{(s + 1)^2}} \\ \unknown{y(t)} &= \firstfactor{2e^t} - \secondfactor{2e^{-t}} - \secondfactor{te^{-t}} \end{aligned}

So the repeated root s=−1\secondfactor{s = -1} gives both a regular exponential decay −2e−t\secondfactor{-2e^{-t}} and a time-multiplied decay −te−t\secondfactor{-te^{-t}}.

4

Quadratic Factors: Sines and Cosines

What if the denominator has a quadratic that cannot be factored over the real numbers? Start with a single quadratic on its own: we want to find the inverse Laplace transform of

Y(s)\displaystyle \unknown{Y(s)} =2s+5s2+9\displaystyle = \frac{2s + 5}{s^2 + 9}

An unfactorable quadratic like s2+9s^2 + 9 in the bottom produces oscillations rather than exponentials. In the dictionary, s2+32s^2 + 3^2 gives a cosine when the variable s\cosine{s} is on top and a sine when the frequency number 3\sine{3} is on top:

cos⁡(3t)↔ss2+32sin⁡(3t)↔3s2+32\displaystyle \cosine{\cos(3t)} \leftrightarrow \frac{\cosine{s}}{s^2 + 3^2} \qquad \sine{\sin(3t)} \leftrightarrow \frac{\sine{3}}{s^2 + 3^2}
Quadratic Factors: Sines and Cosines
Y(s)=2s+5s2+9y(t)=  ?\displaystyle \begin{aligned}\unknown{Y(s)} &= \frac{2s + 5}{s^2 + 9}\\[8pt]\unknown{y(t)} &= \;?\end{aligned}
Text solution
Split the numerator into its s\cosine{s} term and constant termSeparating across the plus sign gives a cosine piece and a sine piece.
2s+5s2+9\displaystyle \frac{2s + 5}{s^2 + 9} =2(ss2+32)+5(1s2+32)\displaystyle = \cosine{2}\left(\frac{\cosine{s}}{s^2 + 3^2}\right) + \sine{5}\left(\frac{1}{s^2 + 3^2}\right)
Multiply and divide the constant piece by 3\sine{3}Put the frequency 3\sine{3} on top so the second fraction matches sin⁡(3t)\sine{\sin(3t)} in the dictionary, and divide by 3\sine{3} out front to keep the value unchanged.
Y(s)=2(ss2+32)+53(3s2+32)y(t)=2cos⁡(3t)+53sin⁡(3t)\displaystyle \begin{aligned} \unknown{Y(s)} &= \cosine{2}\left(\frac{\cosine{s}}{s^2 + 3^2}\right) \\ &\quad + \sine{\frac{5}{3}}\left(\frac{\sine{3}}{s^2 + 3^2}\right) \\ \unknown{y(t)} &= \cosine{2\cos(3t)} + \sine{\frac{5}{3}\sin(3t)} \end{aligned}

Because the denominator is already a single unfactorable quadratic, we don't need partial fractions here. Splitting the top gives the cosine and sine waves directly.

5

Completing the Square for Shifted Quadratics

Now what happens when an unfactorable quadratic has a middle ss term and is multiplied by another factor? We want to find the inverse Laplace transform of

Y(s)\displaystyle \unknown{Y(s)} =3s2+12s+21(s−1)(s2+4s+13)\displaystyle = \frac{3s^2 + 12s + 21}{\firstfactor{(s - 1)}\cosine{(s^2 + 4s + 13)}}

In partial fractions, an unfactorable quadratic needs a linear top Bs+C\cosine{Bs + C} to hold both the cosine and sine parts. Then completing the square in the bottom reveals the shift in ss.

Completing the Square for Shifted Quadratics
Y(s)=3s2+12s+21(s−1)(s2+4s+13)y(t)=  ?\displaystyle \small\begin{aligned}\unknown{Y(s)} &= \frac{3s^2 + 12s + 21}{\firstfactor{(s - 1)}\cosine{(s^2 + 4s + 13)}}\\[8pt]\unknown{y(t)} &= \;?\end{aligned}
Text solution
Set up partial fractions and find A\firstfactor{A} with cover-upPut A\firstfactor{A} over the linear factor and Bs+C\cosine{Bs + C} over the unfactorable quadratic, then cover (s−1)\firstfactor{(s - 1)} and plug in s=1\firstfactor{s = 1}.
3s2+12s+21(s−1)(s2+4s+13)=As−1+Bs+Cs2+4s+13A=3(1)2+12(1)+2112+4(1)+13=3618=2\displaystyle \begin{aligned} &\frac{3s^2 + 12s + 21}{\firstfactor{(s - 1)}\cosine{(s^2 + 4s + 13)}} \\ &= \firstfactor{\frac{A}{s - 1}} + \frac{\cosine{Bs + C}}{\cosine{s^2 + 4s + 13}} \\ \firstfactor{A} &= \frac{3(1)^2 + 12(1) + 21}{1^2 + 4(1) + 13} \\ &= \frac{36}{18} = \firstfactor{2} \end{aligned}
Clear the denominator and compare s2s^2 and constant termsRather than expanding every product, compare the s2s^2 terms on both sides to find B\cosine{B}, then plug in s=0s = 0 to find C\cosine{C}.
3s2+12s+21=2(s2+4s+13)+(Bs+C)(s−1)3s2=2s2+Bs2  ⟹  B=121=2(13)+C(−1)  ⟹  21=26−C  ⟹  C=5\displaystyle \begin{aligned} 3s^2 + 12s + 21 &= \firstfactor{2}(s^2 + 4s + 13) \\ &+ (\cosine{Bs + C})(s - 1) \\ 3s^2 &= \firstfactor{2}s^2 + \cosine{B}s^2 \\ &\implies \cosine{B} = \cosine{1} \\ 21 &= \firstfactor{2}(13) + \cosine{C}(-1) \\ &\implies 21 = 26 - \cosine{C} \\ &\implies \cosine{C} = \cosine{5} \end{aligned}
Complete the square in the quadratic denominatorTake half of the middle coefficient 44 to form (s+2)2=s2+4s+4\cosine{(s + 2)}^2 = s^2 + 4s + 4, and add the remaining 9=329 = \sine{3}^2.
s2+4s+13\displaystyle s^2 + 4s + 13 =(s+2)2⏟s2+4s+4+9\displaystyle = \underbrace{\cosine{(s + 2)}^2}_{s^2 + 4s + 4} + 9 =(s+2)2+32\displaystyle = \cosine{(s + 2)}^2 + \sine{3}^2
Rewrite the numerator so ss has the same (s+2)\cosine{(s + 2)} shiftTo read the fraction as a shifted cosine and sine, the ss on top must also be written as (s+2)\cosine{(s + 2)}.
s+5(s+2)2+32\displaystyle \frac{\cosine{s + 5}}{(s + 2)^2 + 3^2} =(s+2)+3(s+2)2+32\displaystyle = \frac{\cosine{(s + 2)} + \sine{3}}{(s + 2)^2 + 3^2} =s+2(s+2)2+32+3(s+2)2+32\displaystyle = \frac{\cosine{s + 2}}{(s + 2)^2 + 3^2} + \frac{\sine{3}}{(s + 2)^2 + 3^2}
Read off the exponential and the shifted wavesReplacing ss with s+2\cosine{s + 2} in the transforms of cos⁡(3t)\cosine{\cos(3t)} and sin⁡(3t)\sine{\sin(3t)} multiplies both waves by e−2te^{-2t}.
Y(s)=2s−1+s+2(s+2)2+32+3(s+2)2+32y(t)=2et+e−2tcos⁡(3t)+e−2tsin⁡(3t)\displaystyle \begin{aligned} \unknown{Y(s)} &= \firstfactor{\frac{2}{s - 1}} + \frac{\cosine{s + 2}}{(s + 2)^2 + 3^2} \\ &\quad + \frac{\sine{3}}{(s + 2)^2 + 3^2} \\ \unknown{y(t)} &= \firstfactor{2e^t} + \cosine{e^{-2t}\cos(3t)} \\ &\quad + \sine{e^{-2t}\sin(3t)} \end{aligned}

So the linear factor gives 2et\firstfactor{2e^t}, while the shifted quadratic gives frequency-3\sine{3} oscillations multiplied by the decaying exponential e−2te^{-2t}.

s+3s2+32\dfrac{\cosine{s} + \sine{3}}{s^2 + \sine{3}^2}
 ↔  cos⁡(3t)+sin⁡(3t)\,\leftrightarrow\; \cosine{\cos(3t)} + \sine{\sin(3t)}
2\sqrt{2}
11
−1-1
tt
(s+2)+3(s+2)2+32\dfrac{\cosine{(s + 2)} + \sine{3}}{\cosine{(s + 2)}^2 + \sine{3}^2}
 ↔  e−2tcos⁡(3t)+e−2tsin⁡(3t)\,\leftrightarrow\; \cosine{e^{-2t}\cos(3t)} + \sine{e^{-2t}\sin(3t)}
2 e−2t\sqrt{2}\,e^{-2t}
11
−1-1
tt
11
22

In (s+a)2+ω2\cosine{(s + a)}^2 + \sine{\omega}^2, the shift s+a\cosine{s + a} multiplies the time oscillation by e−ate^{-at}, while ω2\sine{\omega}^2 sets the oscillation frequency ω\sine{\omega}.

Where the denominator's vertex sits sets how the numerator splits, whether the wave grows or shrinks, and how fast it oscillates.
6

Solving an Initial Value Problem with Partial Fractions

Now let's put the whole method together to solve an initial value problem from start to finish:

y′′+3y′+2y\displaystyle \secondderiv{y''} + 3\rate{y'} + 2\unknown{y} =6et,y(0)\displaystyle = \forced{6e^t}, \qquad \unknown{y(0)} =1,y′(0)\displaystyle = 1, \quad \rate{y'(0)} =0\displaystyle = 0

Remember how the Laplace transform turns derivatives into algebra:

y′(t)→sY(s)−y(0)y′′(t)→s2Y(s)−sy(0)−y′(0)\displaystyle \begin{aligned} \rate{y'(t)} &\to s\unknown{Y(s)} - \unknown{y(0)} \\ \secondderiv{y''(t)} &\to s^2\unknown{Y(s)} - s\unknown{y(0)} - \rate{y'(0)} \end{aligned}
Solving an Initial Value Problem with Partial Fractions
y′′+3y′+2y=6ety(0)=1,y′(0)=0\displaystyle \begin{gathered}\secondderiv{y''} + 3\rate{y'} + 2\unknown{y} = \forced{6e^t}\\[2pt]\unknown{y(0)} = 1, \quad \rate{y'(0)} = 0\end{gathered}
y(t)\displaystyle \unknown{y(t)} =  ?\displaystyle = \;?
Text solution
Transform the differential equation and plug in the initial valuesReplace each derivative with its algebraic rule and plug in y(0)=1\unknown{y(0)} = 1 and y′(0)=0\rate{y'(0)} = 0.
[s2Y(s)−s(1)−0]⏟y′′+3[sY(s)−1]⏟y′+2Y(s)\displaystyle \underbrace{[s^2\unknown{Y(s)} - s(1) - 0]}_{\secondderiv{y''}} + 3\underbrace{[s\unknown{Y(s)} - 1]}_{\rate{y'}} + 2\unknown{Y(s)} =6s−1\displaystyle = \forced{\frac{6}{s - 1}}
Group the Y(s)\unknown{Y(s)} terms and combine the right side into one fractionMove the initial-condition terms s+3s + 3 to the right side and put everything over the common denominator s−1\forced{s - 1}.
(s2+3s+2)Y(s)−s−3=6s−1(s2+3s+2)Y(s)=s+3+6s−1=(s+3)(s−1)+6s−1=s2+2s+3s−1\displaystyle \begin{aligned} (s^2 + 3s + 2)\unknown{Y(s)} - s - 3 &= \forced{\frac{6}{s - 1}} \\ (s^2 + 3s + 2)\unknown{Y(s)} &= s + 3 + \forced{\frac{6}{s - 1}} \\ &= \frac{(s + 3)(s - 1) + 6}{s - 1} \\ &= \frac{s^2 + 2s + 3}{s - 1} \end{aligned}
Factor s2+3s+2s^2 + 3s + 2 and divide to isolate Y(s)\unknown{Y(s)}Factoring s2+3s+2=(s+1)(s+2)s^2 + 3s + 2 = \naturalpart{(s + 1)(s + 2)} puts the external-force factor and the natural-behavior factors together in one denominator.
Y(s)\displaystyle \unknown{Y(s)} =s2+2s+3(s−1)⏟external force 6et(s+1)(s+2)⏟natural behavior\displaystyle = \frac{s^2 + 2s + 3}{\underbrace{\forced{(s - 1)}}_{\text{external force } \forced{6e^t}}\underbrace{\naturalpart{(s + 1)(s + 2)}}_{\text{natural behavior}}}
Find the weights A\forced{A}, B\naturalpart{B}, and C\naturalpart{C} with cover-upCover each linear factor in turn and plug in its root s=1\forced{s = 1}, s=−1\naturalpart{s = -1}, and s=−2\naturalpart{s = -2}.
s2+2s+3(s−1)(s+1)(s+2)=As−1+Bs+1+Cs+2A=12+2(1)+3(1+1)(1+2)=6(2)(3)=1B=(−1)2+2(−1)+3(−1−1)(−1+2)=2(−2)(1)=−1C=(−2)2+2(−2)+3(−2−1)(−2+1)=3(−3)(−1)=1\displaystyle \begin{aligned} &\frac{s^2 + 2s + 3}{\forced{(s - 1)}\naturalpart{(s + 1)(s + 2)}} \\ &= \forced{\frac{A}{s - 1}} + \naturalpart{\frac{B}{s + 1}} + \naturalpart{\frac{C}{s + 2}} \\ \forced{A} &= \frac{1^2 + 2(1) + 3}{(1 + 1)(1 + 2)} \\ &= \frac{6}{(2)(3)} = \forced{1} \\ \naturalpart{B} &= \frac{(-1)^2 + 2(-1) + 3}{(-1 - 1)(-1 + 2)} \\ &= \frac{2}{(-2)(1)} = \naturalpart{-1} \\ \naturalpart{C} &= \frac{(-2)^2 + 2(-2) + 3}{(-2 - 1)(-2 + 1)} \\ &= \frac{3}{(-3)(-1)} = \naturalpart{1} \end{aligned}
Read each fraction back into the time worldEach term matches 1s−a↔eat\frac{1}{s - a} \leftrightarrow e^{at}.
Y(s)=1s−1−1s+1+1s+2y(t)=et−e−t+e−2t\displaystyle \begin{aligned} \unknown{Y(s)} &= \forced{\frac{1}{s - 1}} - \naturalpart{\frac{1}{s + 1}} + \naturalpart{\frac{1}{s + 2}} \\ \unknown{y(t)} &= \forced{e^t} - \naturalpart{e^{-t}} + \naturalpart{e^{-2t}} \end{aligned}

So the solution starts at y(0)=1−1+1=1\unknown{y(0)} = 1 - 1 + 1 = 1, and as the natural-behavior terms −e−t+e−2t\naturalpart{-e^{-t} + e^{-2t}} decay to zero, y(t)\unknown{y(t)} follows the growing et\forced{e^t} curve from the external force.

Wait until the initial-condition terms are combined with the right-hand side over a common denominator before doing partial fractions; that way you only have to split a single fraction once at the end.

y(0)=1\unknown{y(0)} = 1
y′(0)=0\rate{y'(0)} = 0
y(t)\unknown{y(t)}
et\forced{e^t}
−e−t+e−2t\naturalpart{-e^{-t} + e^{-2t}}
22
33
44
11
22
33
tt

Key concepts

Before starting partial fractions on Y(s)\unknown{Y(s)}, check whether the denominator actually needs to be split. If the bottom is already a single unfactorable quadratic like 2s+5s2+32\frac{2s + 5}{s^2 + 3^2}, don't use partial fractions. Just split the numerator across the plus sign into 2(ss2+32)+53(3s2+32)\cosine{2}\left(\frac{\cosine{s}}{s^2 + 3^2}\right) + \sine{\frac{5}{3}}\left(\frac{\sine{3}}{s^2 + 3^2}\right) to get 2cos⁡(3t)+53sin⁡(3t)\cosine{2\cos(3t)} + \sine{\frac{5}{3}\sin(3t)}. And if a quadratic factors over the real numbers, like s2+2s−3=(s−1)(s+3)s^2 + 2s - 3 = \firstfactor{(s - 1)}\secondfactor{(s + 3)}, always factor it into linear pieces rather than completing the square.

When the denominator factors into two or more pieces, the factors tell you how to set up the partial fractions and find the numerators:

Distinct linear factors

(s−a)(s - a) each get a single constant As−a↔Aeat\frac{\firstfactor{A}}{s - a} \leftrightarrow \firstfactor{A}e^{at}. Find A\firstfactor{A} by covering (s−a)(s - a) in the original fraction and plugging in s=as = a: for s+7(s−1)(s+3)\frac{s + 7}{\firstfactor{(s - 1)}\secondfactor{(s + 3)}}, covering (s−1)\firstfactor{(s - 1)} at s=1\firstfactor{s = 1} gives A=1+71+3=2\firstfactor{A} = \frac{1 + 7}{1 + 3} = \firstfactor{2}.

Repeated linear factors

(s−a)2(s - a)^2 need a separate fraction for every power up to the exponent:

Bs−a+C(s−a)2↔Beat+Cteat\displaystyle \frac{\secondfactor{B}}{s - a} + \frac{\secondfactor{C}}{(s - a)^2} \leftrightarrow \secondfactor{B}e^{at} + \secondfactor{C}te^{at}
Cover-up finds the highest-power constant C\secondfactor{C}, and plugging an easy value like s=0s = 0 into the equation finds B\secondfactor{B}.

Unfactorable quadratic factors

s2+bs+cs^2 + bs + c get a linear numerator Bs+Cs2+bs+c\frac{\cosine{Bs + C}}{s^2 + bs + c}. Find B\cosine{B} and C\cosine{C} by clearing the denominator and comparing s2s^2 terms and s=0s = 0, then complete the square to write the bottom as (s+a)2+ω2\cosine{(s + a)}^2 + \sine{\omega}^2. Rewrite ss on top as (s+a)\cosine{(s + a)} so both pieces share the shift:

s+a(s+a)2+ω2↔e−atcos⁡(ωt)ω(s+a)2+ω2↔e−atsin⁡(ωt)\displaystyle \frac{\cosine{s + a}}{(s + a)^2 + \omega^2} \leftrightarrow \cosine{e^{-at}\cos(\omega t)} \qquad \frac{\sine{\omega}}{(s + a)^2 + \omega^2} \leftrightarrow \sine{e^{-at}\sin(\omega t)}

7

Practice

1

Find the inverse Laplace transform of Y(s)=5s−3s2−2s−3\unknown{Y(s)} = \frac{5s - 3}{s^2 - 2s - 3}.

Does s2−2s−3s^2 - 2s - 3 factor into two linear pieces, or do you need to complete the square?

Factor the denominator into distinct linear factors:
5s−3s2−2s−3\displaystyle \frac{5s - 3}{s^2 - 2s - 3} =5s−3(s−3)(s+1)\displaystyle = \frac{5s - 3}{\firstfactor{(s - 3)}\secondfactor{(s + 1)}} =As−3+Bs+1\displaystyle = \firstfactor{\frac{A}{s - 3}} + \secondfactor{\frac{B}{s + 1}}
Use cover-up at s=3\firstfactor{s = 3} and s=−1\secondfactor{s = -1}:
A=5(3)−33+1=124=3B=5(−1)−3−1−3=−8−4=2\displaystyle \begin{aligned} \firstfactor{A} &= \frac{5(3) - 3}{3 + 1} = \frac{12}{4} = \firstfactor{3} \\ \secondfactor{B} &= \frac{5(-1) - 3}{-1 - 3} = \frac{-8}{-4} = \secondfactor{2} \end{aligned}
Put the weights back in and translate each piece using 1s−a↔eat\frac{1}{s - a} \leftrightarrow e^{at} (watch the sign flip in s−as - a: reading the signs of s−3\firstfactor{s - 3} and s+1\secondfactor{s + 1} directly into the exponents without flipping them gives the wrong answer 3e−3t+2et3e^{-3t} + 2e^t):
Y(s)=3s−3+2s+1y(t)=3e3t+2e−t\displaystyle \begin{aligned} \unknown{Y(s)} &= \firstfactor{\frac{3}{s - 3}} + \secondfactor{\frac{2}{s + 1}} \\ \unknown{y(t)} &= \firstfactor{3e^{3t}} + \secondfactor{2e^{-t}} \end{aligned}
2

Find the inverse Laplace transform of Y(s)=4s−7s2+16\unknown{Y(s)} = \frac{4s - 7}{s^2 + 16}.

s2+16=s2+42s^2 + 16 = s^2 + 4^2 is already a single unfactorable quadratic. Split the numerator into its ss piece and its constant piece, and check what constant sin⁡(4t)\sin(4t) needs on top.

Split the numerator across the minus sign over s2+42s^2 + 4^2:
4s−7s2+16\displaystyle \frac{4s - 7}{s^2 + 16} =4(ss2+42)−7(1s2+42)\displaystyle = \cosine{4}\left(\frac{\cosine{s}}{s^2 + 4^2}\right) - \sine{7}\left(\frac{1}{s^2 + 4^2}\right)
Multiply and divide the second fraction by the frequency ω=4\sine{\omega = 4} so the numerator matches 4s2+42↔sin⁡(4t)\frac{\sine{4}}{s^2 + 4^2} \leftrightarrow \sine{\sin(4t)} (forgetting to divide by 44 out front and reading 1s2+42\frac{1}{s^2 + 4^2} directly as sin⁡(4t)\sin(4t) gives the wrong answer 4cos⁡(4t)−7sin⁡(4t)4\cos(4t) - 7\sin(4t)):
Y(s)=4(ss2+42)−74(4s2+42)y(t)=4cos⁡(4t)−74sin⁡(4t)\displaystyle \begin{aligned} \unknown{Y(s)} &= \cosine{4}\left(\frac{\cosine{s}}{s^2 + 4^2}\right) - \sine{\frac{7}{4}}\left(\frac{\sine{4}}{s^2 + 4^2}\right) \\ \unknown{y(t)} &= \cosine{4\cos(4t)} - \sine{\frac{7}{4}\sin(4t)} \end{aligned}
3

Find the inverse Laplace transform of Y(s)=3s2−9s−3(s+1)(s−2)2\unknown{Y(s)} = \frac{3s^2 - 9s - 3}{(s + 1)(s - 2)^2}.

Include a fraction for each power of (s−2)(s - 2) up to (s−2)2(s - 2)^2. Which two constants can cover-up find directly, and how do you find the middle one?

Set up a fraction for (s+1)\firstfactor{(s + 1)} and for both powers of (s−2)\secondfactor{(s - 2)} (leaving out the first-power term Bs−2\secondfactor{\frac{B}{s - 2}} and only writing As+1+C(s−2)2\frac{A}{s + 1} + \frac{C}{(s - 2)^2} misses the 2e2t\secondfactor{2e^{2t}} piece completely and gives the wrong answer e−t−3te2te^{-t} - 3te^{2t}):
3s2−9s−3(s+1)(s−2)2\displaystyle \frac{3s^2 - 9s - 3}{\firstfactor{(s + 1)}\secondfactor{(s - 2)^2}} =As+1+Bs−2+C(s−2)2\displaystyle = \firstfactor{\frac{A}{s + 1}} + \secondfactor{\frac{B}{s - 2}} + \secondfactor{\frac{C}{(s - 2)^2}}
Use cover-up on (s+1)\firstfactor{(s + 1)} at s=−1\firstfactor{s = -1} and on the highest power (s−2)2\secondfactor{(s - 2)^2} at s=2\secondfactor{s = 2}:
A=3(−1)2−9(−1)−3(−1−2)2=3+9−39=1C=3(2)2−9(2)−32+1=12−18−33=−3\displaystyle \begin{aligned} \firstfactor{A} &= \frac{3(-1)^2 - 9(-1) - 3}{(-1 - 2)^2} \\ &= \frac{3 + 9 - 3}{9} = \firstfactor{1} \\ \secondfactor{C} &= \frac{3(2)^2 - 9(2) - 3}{2 + 1} \\ &= \frac{12 - 18 - 3}{3} = \secondfactor{-3} \end{aligned}
Plug in s=0s = 0 with A=1\firstfactor{A} = \firstfactor{1} and C=−3\secondfactor{C} = \secondfactor{-3} to find B\secondfactor{B}:
−3(1)(−2)2=11+B−2−3(−2)2−34=1−B2−34B=2\displaystyle \begin{aligned} \frac{-3}{(1)(-2)^2} &= \firstfactor{\frac{1}{1}} + \secondfactor{\frac{B}{-2}} - \secondfactor{\frac{3}{(-2)^2}} \\ -\frac{3}{4} &= 1 - \frac{\secondfactor{B}}{2} - \frac{3}{4} \\ \secondfactor{B} &= \secondfactor{2} \end{aligned}
Plug in A\firstfactor{A}, B\secondfactor{B}, and C\secondfactor{C} and translate into time:
Y(s)=1s+1+2s−2−3(s−2)2y(t)=e−t+2e2t−3te2t\displaystyle \begin{aligned} \unknown{Y(s)} &= \firstfactor{\frac{1}{s + 1}} + \secondfactor{\frac{2}{s - 2}} - \secondfactor{\frac{3}{(s - 2)^2}} \\ \unknown{y(t)} &= \firstfactor{e^{-t}} + \secondfactor{2e^{2t}} - \secondfactor{3te^{2t}} \end{aligned}
4

Find the inverse Laplace transform of Y(s)=3s2+s+14(s+1)(s2−2s+5)\unknown{Y(s)} = \frac{3s^2 + s + 14}{(s + 1)(s^2 - 2s + 5)}.

Put AA over (s+1)(s + 1) and Bs+CBs + C over the quadratic. After completing the square on s2−2s+5s^2 - 2s + 5, rewrite the ss in the numerator to match the shifted variable in the denominator.

Set up partial fractions and use cover-up at s=−1\firstfactor{s = -1} to find A\firstfactor{A}:
3s2+s+14(s+1)(s2−2s+5)=As+1+Bs+Cs2−2s+5A=3(−1)2+(−1)+14(−1)2−2(−1)+5=168=2\displaystyle \begin{aligned} &\frac{3s^2 + s + 14}{\firstfactor{(s + 1)}\cosine{(s^2 - 2s + 5)}} \\ &= \firstfactor{\frac{A}{s + 1}} + \frac{\cosine{Bs + C}}{\cosine{s^2 - 2s + 5}} \\ \firstfactor{A} &= \frac{3(-1)^2 + (-1) + 14}{(-1)^2 - 2(-1) + 5} \\ &= \frac{16}{8} = \firstfactor{2} \end{aligned}
Clear denominators with A=2\firstfactor{A} = \firstfactor{2}, compare s2s^2 terms for B\cosine{B}, and plug in s=0s = 0 for C\cosine{C}:
3s2+s+14=2(s2−2s+5)+(Bs+C)(s+1)3s2=2s2+Bs2  ⟹  B=114=2(5)+C(1)  ⟹  C=4\displaystyle \begin{aligned} 3s^2 + s + 14 &= \firstfactor{2}(s^2 - 2s + 5) \\ &\quad + (\cosine{Bs + C})(s + 1) \\ 3s^2 &= \firstfactor{2}s^2 + \cosine{B}s^2 \\ &\implies \cosine{B} = \cosine{1} \\ 14 &= \firstfactor{2}(5) + \cosine{C}(1) \\ &\implies \cosine{C} = \cosine{4} \end{aligned}
Complete the square in the denominator as s2−2s+5=(s−1)2+22s^2 - 2s + 5 = \cosine{(s - 1)}^2 + \sine{2}^2, then rewrite s+4\cosine{s + 4} on top in terms of (s−1)\cosine{(s - 1)} (splitting s+4s + 4 directly without rewriting ss as (s−1)+1(s - 1) + 1 leaves 44 instead of 55 on the sine piece, giving the wrong answer 2e−t+etcos⁡(2t)+2etsin⁡(2t)2e^{-t} + e^t\cos(2t) + 2e^t\sin(2t)):
Y(s)=2s+1+(s−1)+5(s−1)2+22Y(s)=2s+1+s−1(s−1)2+22+52(2(s−1)2+22)y(t)=2e−t+etcos⁡(2t)+52etsin⁡(2t)\displaystyle \begin{aligned} \unknown{Y(s)} &= \firstfactor{\frac{2}{s + 1}} + \frac{\cosine{(s - 1)} + \sine{5}}{(s - 1)^2 + 2^2} \\ \unknown{Y(s)} &= \firstfactor{\frac{2}{s + 1}} + \frac{\cosine{s - 1}}{(s - 1)^2 + 2^2} \\ &\quad + \sine{\frac{5}{2}}\left(\frac{\sine{2}}{(s - 1)^2 + 2^2}\right) \\ \unknown{y(t)} &= \firstfactor{2e^{-t}} + \cosine{e^t\cos(2t)} \\ &\quad + \sine{\frac{5}{2}e^t\sin(2t)} \end{aligned}
5

Use the Laplace Transform to solve the initial value problem y′′−y′−2y=12et\secondderiv{y''} - \rate{y'} - 2\unknown{y} = \forced{12e^t}, y(0)=2\unknown{y(0)} = 2, y′(0)=1\rate{y'(0)} = 1.

Transform each term and watch the minus sign in front of y′\rate{y'}. Combine the initial-condition terms with 12s−1\forced{\frac{12}{s - 1}} over a common denominator before factoring to solve for Y(s)\unknown{Y(s)}.

Transform the equation and plug in y(0)=2\unknown{y(0)} = 2 and y′(0)=1\rate{y'(0)} = 1 (be careful to distribute the minus sign across both terms of −[sY(s)−2]-[s\unknown{Y(s)} - 2]; writing −2-2 instead of +2+2 gives −2s−3-2s - 3 on the left and leads to the wrong answer −6et+193e2t+53e−t-6e^t + \frac{19}{3}e^{2t} + \frac{5}{3}e^{-t}):
[s2Y(s)−2s−1]−[sY(s)−2]−2Y(s)=12s−1(s2−s−2)Y(s)−2s+1=12s−1\displaystyle \begin{aligned} [s^2\unknown{Y(s)} - 2s - 1] - [s\unknown{Y(s)} - 2] - 2\unknown{Y(s)} &= \forced{\frac{12}{s - 1}} \\ (s^2 - s - 2)\unknown{Y(s)} - 2s + 1 &= \forced{\frac{12}{s - 1}} \end{aligned}
Move 2s−12s - 1 to the right and combine over the common denominator s−1\forced{s - 1}:
(s2−s−2)Y(s)\displaystyle (s^2 - s - 2)\unknown{Y(s)} =2s−1+12s−1\displaystyle = 2s - 1 + \forced{\frac{12}{s - 1}} =(2s−1)(s−1)+12s−1\displaystyle = \frac{(2s - 1)(s - 1) + 12}{s - 1} =2s2−3s+13s−1\displaystyle = \frac{2s^2 - 3s + 13}{s - 1}
Factor s2−s−2=(s−2)(s+1)s^2 - s - 2 = \naturalpart{(s - 2)(s + 1)} and divide to isolate Y(s)\unknown{Y(s)}:
Y(s)\displaystyle \unknown{Y(s)} =2s2−3s+13(s−1)(s−2)(s+1)\displaystyle = \frac{2s^2 - 3s + 13}{\forced{(s - 1)}\naturalpart{(s - 2)(s + 1)}} =As−1+Bs−2+Cs+1\displaystyle = \forced{\frac{A}{s - 1}} + \naturalpart{\frac{B}{s - 2}} + \naturalpart{\frac{C}{s + 1}}
Find A\forced{A}, B\naturalpart{B}, and C\naturalpart{C} by cover-up at s=1\forced{s = 1}, s=2\naturalpart{s = 2}, and s=−1\naturalpart{s = -1}:
A=2(1)2−3(1)+13(1−2)(1+1)=12(−1)(2)=−6B=2(2)2−3(2)+13(2−1)(2+1)=15(1)(3)=5C=2(−1)2−3(−1)+13(−1−1)(−1−2)=18(−2)(−3)=3\displaystyle \begin{aligned} \forced{A} &= \frac{2(1)^2 - 3(1) + 13}{(1 - 2)(1 + 1)} \\ &= \frac{12}{(-1)(2)} = \forced{-6} \\ \naturalpart{B} &= \frac{2(2)^2 - 3(2) + 13}{(2 - 1)(2 + 1)} \\ &= \frac{15}{(1)(3)} = \naturalpart{5} \\ \naturalpart{C} &= \frac{2(-1)^2 - 3(-1) + 13}{(-1 - 1)(-1 - 2)} \\ &= \frac{18}{(-2)(-3)} = \naturalpart{3} \end{aligned}
Read each fraction back into time:
Y(s)=−6s−1+5s−2+3s+1y(t)=−6et+5e2t+3e−t\displaystyle \begin{aligned} \unknown{Y(s)} &= -\forced{\frac{6}{s - 1}} + \naturalpart{\frac{5}{s - 2}} + \naturalpart{\frac{3}{s + 1}} \\ \unknown{y(t)} &= \forced{-6e^t} + \naturalpart{5e^{2t}} + \naturalpart{3e^{-t}} \end{aligned}