This inverse Laplace transform calculator turns F(s) back into f(t). Enter a first- or second-order rational function (p·s + q) / (a·s² + b·s + c) and it applies partial fractions or completes the square, shows the poles and steps, and tells you whether f(t) decays. A second mode handles standard table forms with shifts.
Inverse Laplace Transform Calculator
Inverse Laplace transform of (p·s + q) / (a·s² + b·s + c) by partial fractions or completing the square, plus standard table forms with shifts and steps.
Starting values: the quadratic mode opens with F(s) = (s + 3) / (s² + 3s + 2). The poles are -1 and -2, and f(t) = 2e^(-t) – e^(-2t), which starts at f(0) = 1 and decays to zero.
What the inverse transform does
The inverse Laplace transform recovers the time function f(t) from its transform F(s). In practice, you rarely evaluate the inversion integral. You rewrite F(s) as a sum of terms that appear in a table, then read off each term. For rational functions, that means partial fractions, and for denominators with complex roots it means completing the square.
The two modes
- F(s) = (p·s + q) / (a·s² + b·s + c): enter the five coefficients. This covers every proper first- or second-order rational function.
- Standard table forms: choose a pattern such as K / ((s – a)² + b²), enter the constants, and get f(t) with the theorem used.
For higher-order denominators, factor the polynomial first and split F(s) into fractions of lower order. The quartic equation solver and the synthetic division calculator help with that step.
How the quadratic denominator is handled
The kind of roots decides the form of the answer. With the discriminant b² – 4ac:
- Positive: two distinct real poles, so f(t) is a sum of two exponentials.
- Zero: a repeated real pole, so f(t) contains a term t e^(pt).
- Negative: complex poles, so f(t) is a damped or growing sinusoid.
The output also lists the poles, the initial value f(0), a numerical check and values of f(t) at sample times.
Worked examples
Example 1: the default, distinct real poles
The denominator s² + 3s + 2 factors as (s + 1)(s + 2). Write (s + 3) / ((s + 1)(s + 2)) = A/(s + 1) + B/(s + 2). At s = -1, A = (-1 + 3) / (-1 + 2) = 2. At s = -2, B = (-2 + 3) / (-2 + 1) = -1. So f(t) = 2e^(-t) – e^(-2t).
Check the start: f(0) = 2 – 1 = 1, and the leading coefficient ratio p/a is also 1, as the initial value theorem requires. Both poles are negative, so f(t) decays to zero.
Example 2: a repeated pole
For 1 / (s² + 2s + 1) = 1 / (s + 1)², there is a double pole at -1. The inverse is t e^(-t). It still decays, but it first rises, reaching its peak at t = 1.
Example 3: complex poles
For (s + 1) / (s² + 2s + 5), the denominator does not factor over the reals. Complete the square: s² + 2s + 5 = (s + 1)² + 4. The fraction is then (s + 1) / ((s + 1)² + 2²), which is the transform of e^(-t) cos(2t). The poles are -1 ± 2i, and the negative real part means the oscillation dies out.
Example 4: an undamped oscillation
For 1 / (s² + 4), the poles are ±2i with a zero real part, so f(t) = sin(2t) / 2. It does not decay. The calculator reports that f(t) does not decay to zero, which in control terms is a marginally stable system.
Example 5: the table mode default
The table mode opens with K / ((s – a)² + b²) using K = 1, a = 2 and b = 3. The inverse is (K / b) e^(at) sin(bt) = (1/3) e^(2t) sin(3t). Because a is positive, the factor e^(2t) makes the oscillation grow over time.
Reading the stability check
The decay check looks at the poles. If every pole has a negative real part, f(t) tends to zero. A pole with a positive real part makes f(t) grow, and a pole on the imaginary axis gives a steady oscillation or a constant. This is the same rule used to judge the stability of linear systems from their transfer functions.
Limits and tips
- The quadratic mode needs a proper fraction, where the numerator has a lower degree than the denominator.
- If the leading coefficient a is not 1, the calculator takes it into account, so you can enter the denominator as it is.
- Always confirm by transforming your answer back, or by comparing the numerical check line with a value you compute yourself.
Frequently asked questions
How do I find the inverse Laplace transform of a fraction?
Split it into partial fractions, or complete the square if the denominator has complex roots, and then match each term with a table entry.
What does a pole tell me?
A pole of F(s) is a value of s where the denominator is zero. Its real part decides whether the matching term in f(t) grows or decays.
What if the denominator has a repeated root?
The inverse includes a term t e^(pt) for a double pole, where p is the pole.
What is f(0)?
It is the initial value of the time function. For a proper first- or second-order fraction, it is the ratio of the s coefficient of the numerator to the s squared coefficient of the denominator.
Can the calculator handle higher-order denominators?
The quadratic mode covers first- and second-order fractions. For higher orders, factor the polynomial first and split it into lower-order fractions.
