01

What the inverse Laplace transform recovers

The Laplace transform converts a function of time into a function of a complex variable s. Differentiation becomes multiplication by s, so a linear differential equation turns into a polynomial equation that is easy to solve. The inverse transform converts that algebraic answer back into the time-domain signal you actually wanted.

Bromwich integral and its shortcutf(t) = (1/2πj) ∫ F(s)·e^(st) ds
For simple poles: f(t) = Σₖ Res[F(s)e^(st), pₖ] = Σₖ rₖ·e^(pₖt)

The contour integral looks intimidating but rarely needs to be evaluated. When F(s) is a ratio of polynomials with distinct real roots in the denominator, the partial-fraction expansion gives the answer directly, and each term inverts to a single exponential.

02

The residue method in four steps

  1. Factor the denominator to find its roots — these are the poles p₁, p₂, …
  2. Check the numerator degree is lower than the denominator degree. If not, divide first to strip off the polynomial part.
  3. Compute the residue at each simple pole: rₖ = N(pₖ)/D′(pₖ). This is the limit of (s − pₖ)·F(s) as s → pₖ.
  4. Each residue contributes rₖ·e^(pₖt). Sum them for f(t).

The derivative in step 3 is what makes the shortcut work. Rather than solving a system of equations for the partial-fraction coefficients, you evaluate the numerator at the pole and divide by the derivative of the denominator there. One substitution per pole, no algebra.

Why the residue is the coefficient. Near a simple pole, F(s) ≈ r/(s − p). Multiplying by e^(st) and inverting gives r·e^(pt). The residue is exactly the amplitude of that exponential — no scaling needed.

03

Worked example: 1/(s² + 3s + 2)

The denominator factors as (s + 1)(s + 2), so the poles are s = −1 and s = −2. The derivative is D′(s) = 2s + 3. At s = −1 that is 1, and the numerator is 1, so r₁ = 1. At s = −2 the derivative is −1, so r₂ = −1.

That gives f(t) = e^(−t) − e^(−2t). Sanity check at t = 1: e^(−1) − e^(−2) = 0.367879 − 0.135335 = 0.232544, which is the value the tool reports for f(1).

The expansion term by term
Pole pD′(p)N(p)Residue rTime-domain term
−1111e^(−t)
−2−11−1−e^(−2t)

Notice that f(0) = 1 − 1 = 0, which matches the initial-value theorem: lim s→∞ sF(s) = lim s/(s²+3s+2) = 0. The initial-value and final-value theorems are cheap ways to check an inverse without doing any work.

04

Reading stability from the poles

The real part of each pole is the decay rate. A pole at s = −3 produces e^(−3t), which dies away with a time constant of 1/3 second. A pole at s = 0 produces a constant. A pole with a positive real part produces a term that grows without bound.

Pole location and the response it implies
PoleTime termBehaviour
s = −a (a > 0)e^(−at)Decays — stable
s = 01 (a step)Holds constant — marginally stable
s = +ae^(at)Grows — unstable
s = ±jωcos ωtSustained oscillation — marginally stable

For a control system this is the whole stability question. Every pole must sit strictly in the left half of the s-plane. The tool reports this verdict explicitly, and flags any pole with a non-negative real part.

05

What this tool will not do

Three cases are rejected rather than approximated, because each needs a different form of the answer. Knowing which one you have saves a wrong result.

Cases outside this tool's scope
SituationWhat the answer looks likeWhere to go
Numerator degree ≥ denominatorPolynomial part (impulses) plus a proper fractionPolynomial long division first
Repeated real poleTerms with a factor of t, e.g. t·e^(pt)Needs the derivative form of the residue
Complex conjugate pairDamped sinusoid e^(σt)·cos(ωt + φ)Complete the square, then use the sine/cosine table

The repeated-pole case is the one people miss. If the denominator has (s + 2)², the expansion needs both A/(s+2) and B/(s+2)², and the second inverts to B·t·e^(−2t). Dropping that t factor gives an answer that satisfies the initial condition but not the differential equation.

For the common transforms — steps, ramps, exponentials, sines and damped sines — a lookup table covers almost everything you meet in a first course, and the residue method above extends it to any rational function with distinct real poles.

?

Frequently asked questions

What is the inverse Laplace transform of 1/(s² + 3s + 2)?

The denominator factors as (s+1)(s+2). The residues are 1 at s = −1 and −1 at s = −2, so f(t) = e^(−t) − e^(−2t).

Why does the numerator degree have to be lower?

If it is not, F(s) contains a polynomial part that inverts to impulses and derivatives of impulses at t = 0. The partial-fraction method only applies to the proper fraction that remains after dividing.

How do I know the system is stable?

Every pole must have a strictly negative real part. A pole at the origin or on the imaginary axis gives a response that never decays, and a pole in the right half-plane grows exponentially.

Can I check the answer without differentiating?

Yes, two ways. The initial-value theorem says f(0⁺) = lim s→∞ sF(s), and the final-value theorem says f(∞) = lim s→0 sF(s) when the system is stable. Both are one-line checks against your result.

What about a denominator like s² + 4?

Its roots are ±2j, a complex conjugate pair. That is a pure oscillation, so f(t) involves sin 2t. This tool handles distinct real poles only; complete the square and use the sine table instead.

Does the residue formula work for every pole?

Only for simple (non-repeated) poles. A repeated pole needs the derivative form, which produces the extra t factors. The tool detects a repeated root and declines rather than return a wrong answer.