Inverse Laplace Transform

April 13, 2026

Problem

Find L^{-1}{(s+1) / (s^2 + 2s + 5)}. Complete the square in the denominator, apply the shifting theorem in reverse, and present the time-domain result.

Explanation

The inverse Laplace transform

The inverse Laplace transform reverses the forward transform: L1{F(s)}(t)=f(t)    L{f(t)}(s)=F(s).\mathcal{L}^{-1}\{F(s)\}(t) = f(t) \quad \iff \quad \mathcal{L}\{f(t)\}(s) = F(s).

In practice, we rarely use the formal inversion integral (the Bromwich contour in the complex plane). Instead, we use a mix of:

  1. A small table of known pairs (f,F)(f, F).
  2. Linearity to decompose F(s)F(s) into simpler pieces.
  3. Partial fractions to break rational FF into sums of table entries.
  4. Completing the square to expose ss-shifts in the denominator.
  5. Shifting theorems to recognise eatf(t)e^{a t} f(t) patterns.

This problem exercises completing the square and the first shifting theorem in reverse.

The given transform

F(s)=s+1s2+2s+5F(s) = \frac{s + 1}{s^{2} + 2 s + 5}

Denominator has no real roots (discriminant =420=16<0= 4 - 20 = -16 < 0), so the natural form is sine/cosine times an exponential — exactly what completing the square reveals.

Step-by-step inversion

Step 1 — Complete the square in the denominator.

s2+2s+5=(s2+2s+1)+4=(s+1)2+4.s^{2} + 2 s + 5 = (s^{2} + 2 s + 1) + 4 = (s + 1)^{2} + 4.

So F(s)=s+1(s+1)2+4=s+1(s+1)2+22.F(s) = \frac{s + 1}{(s + 1)^{2} + 4} = \frac{s + 1}{(s + 1)^{2} + 2^{2}}.

Step 2 — Recognise the shifted-cosine pattern.

Recall the table entry L{cos(bt)}=ss2+b2.\mathcal{L}\{\cos(b t)\} = \frac{s}{s^{2} + b^{2}}.

With b=2b = 2: L{cos(2t)}=ss2+4.\mathcal{L}\{\cos(2 t)\} = \frac{s}{s^{2} + 4}.

Step 3 — Apply the first shifting theorem in reverse.

First shifting theorem: L{eatf(t)}=F(sa)\mathcal{L}\{e^{a t} f(t)\} = F(s - a), where F=L{f}F = \mathcal{L}\{f\}. Equivalently, L1{F(sa)}=eatf(t).\mathcal{L}^{-1}\{F(s - a)\} = e^{a t} \, f(t).

In our case, the structure s+1(s+1)2+4\dfrac{s + 1}{(s + 1)^{2} + 4} is exactly the cosine transform ss2+4\dfrac{s}{s^{2} + 4} with ss+1s \to s + 1 — i.e. ss(1)s \to s - (-1), so a=1a = -1: L1 ⁣{s+1(s+1)2+4}=etcos(2t)\boxed{\, \mathcal{L}^{-1}\!\left\{ \frac{s + 1}{(s + 1)^{2} + 4} \right\} = e^{-t} \cos(2 t) \,}

Verification

Take the forward Laplace of f(t)=etcos(2t)f(t) = e^{-t} \cos(2 t) to check we hit F(s)F(s) back: L{etcos(2t)}=F(s)ss+1 where F(s)=L{cos(2t)}=ss2+4\mathcal{L}\{e^{-t} \cos(2 t)\} = F(s)\big|_{s \to s + 1} \text{ where } F(s) = \mathcal{L}\{\cos(2t)\} = \frac{s}{s^{2} + 4} =s+1(s+1)2+4=s+1s2+2s+5.  = \frac{s + 1}{(s + 1)^{2} + 4} = \frac{s + 1}{s^{2} + 2 s + 5}. \; \checkmark

Why completing the square

When the denominator of F(s)F(s) is an irreducible quadratic s2+Bs+Cs^{2} + B s + C (i.e. complex-conjugate poles), completing the square is the cleanest way to spot the shifted sine/cosine form hiding inside. The general recipe:

Numerators2+Bs+C        Numerator(s+B/2)2+(CB2/4)\frac{\text{Numerator}}{s^{2} + B s + C} \;\;\Longrightarrow\;\; \frac{\text{Numerator}}{(s + B/2)^{2} + (C - B^{2}/4)}

and rewrite the numerator in terms of (s+B/2)(s + B/2) and the constant 11 (or equivalently CB2/4\sqrt{C - B^{2}/4}): A(s+B/2)+D(s+B/2)2+ω2\frac{A (s + B/2) + D}{(s + B/2)^{2} + \omega^{2}} where ω=CB2/4\omega = \sqrt{C - B^{2}/4}. Now each piece matches the shifted cosine or sine directly:

  • A(s+B/2)(s+B/2)2+ω2    AeBt/2cos(ωt)\dfrac{A (s + B/2)}{(s + B/2)^{2} + \omega^{2}} \;\longleftrightarrow\; A \, e^{-B t / 2} \cos(\omega t)
  • D(s+B/2)2+ω2    DωeBt/2sin(ωt)\dfrac{D}{(s + B/2)^{2} + \omega^{2}} \;\longleftrightarrow\; \dfrac{D}{\omega} e^{-B t / 2} \sin(\omega t)

When partial fractions take over

If the denominator does factor over the reals, use partial fractions. Example: 1s24=1(s2)(s+2)=1/4s21/4s+2\frac{1}{s^{2} - 4} = \frac{1}{(s - 2)(s + 2)} = \frac{1/4}{s - 2} - \frac{1/4}{s + 2} L1{1s24}=14e2t14e2t=12sinh(2t).\mathcal{L}^{-1}\left\{\frac{1}{s^{2} - 4}\right\} = \tfrac{1}{4} e^{2 t} - \tfrac{1}{4} e^{-2 t} = \tfrac{1}{2} \sinh(2 t).

The decomposition mirrors the pole structure: each real pole contributes an erte^{r t}.

Heaviside cover-up for fast coefficients

For simple poles, the partial-fraction coefficient at pole s=rs = r is Ar=limsr(sr)F(s).A_r = \lim_{s \to r} (s - r) \, F(s).

This lets you read coefficients off by "covering up" the relevant factor — no need for simultaneous linear equations.

Quick inverse-Laplace reference (complementary direction of #189)

  • 1sa    eat\dfrac{1}{s - a} \;\to\; e^{a t}
  • 1s2+b2    1bsin(bt)\dfrac{1}{s^{2} + b^{2}} \;\to\; \dfrac{1}{b} \sin(b t)
  • ss2+b2    cos(bt)\dfrac{s}{s^{2} + b^{2}} \;\to\; \cos(b t)
  • 1(sa)2+b2    1beatsin(bt)\dfrac{1}{(s - a)^{2} + b^{2}} \;\to\; \dfrac{1}{b} e^{a t} \sin(b t)
  • sa(sa)2+b2    eatcos(bt)\dfrac{s - a}{(s - a)^{2} + b^{2}} \;\to\; e^{a t} \cos(b t) (this problem)
  • n!(sa)n+1    tneat\dfrac{n!}{(s - a)^{n + 1}} \;\to\; t^{n} e^{a t}

Common mistakes

  • Reading the shift direction wrong. F(sa)    eatf(t)F(s - a) \;\leftrightarrow\; e^{a t} f(t) — a positive aa in (sa)(s - a) corresponds to growing eate^{a t}; a negative aa (as here, giving (s+1)(s + 1)) corresponds to decaying ete^{-t}.
  • Missing the 1/b1/b when inverting 1s2+b2\dfrac{1}{s^{2} + b^{2}}. The inverse is sin(bt)b\dfrac{\sin(b t)}{b}, not sin(bt)\sin(b t).
  • Forgetting to split the numerator. If the numerator isn't already lined up with the shifted-square form, algebraically split it: s+3=(s+1)+2s + 3 = (s + 1) + 2 gives one cosine piece and one sine piece.
  • Partial-fractioning irreducible quadratics. Don't try to factor s2+2s+5s^{2} + 2 s + 5 over the reals; complete the square instead.

Try it in the visualization

Place a pole pair on the ss-plane and read the time-domain waveform off the pole location: real part → decay rate, imaginary part → oscillation frequency. Move the pole pair horizontally (change damping) or vertically (change frequency) and watch the time-domain curve update continuously.

Interactive Visualization

Parameters

-1.00
2.00
1.00
0.00
8.00
2.50
Your turn

Got your own math or physics problem?

Turn any problem into an interactive visualization like this one — powered by AI, generated in seconds. Free to try, no credit card required.

Sign Up Free to Try It30 free visualizations every day
Inverse Laplace Transform | MathSpin