Type to search, in English or Thai

  1. Home
  2. Tools
  3. Inverse Laplace

// Tool · Inverse Laplace Calculator

Inverse Laplace Transform Calculator: Partial Fractions, Step by Step

Type F(s)F(s) as a ratio of polynomials and get f(t)f(t) with the partial-fraction working: long division when needed, factoring the denominator, finding the coefficients, and inverting term by term. The result is checked by transforming the answer numerically and comparing it with F(s)F(s).

By Ajarn ModUpdated

Calculator

How to type F(s)

  • Use the variable s and put brackets around numerator and denominator: (s+3)/((s+1)(s+2)^2).
  • An expanded denominator is fine: 1/(s^2+2s+5). The poles are found for you.
  • Write a time delay as e^(-2s) in front: e^(-2s)/(s(s+1)).
  • Several terms can be added: 1/s - e^(-s)/s.

The partial-fraction method

If the numerator's degree is not lower than the denominator's, divide first. Then factor the denominator and write one group of fractions for each kind of pole.

Kind of poleTerm in F(s)F(s)Term in f(t)f(t)
Simple real pole at s=ps = pAs−p\dfrac{A}{s-p}AeptAe^{pt}
Real pole repeated mm timesAk(s−p)k\dfrac{A_k}{(s-p)^{k}}, k=1,…,mk = 1,\dots,mAk(k−1)! tk−1ept\dfrac{A_k}{(k-1)!}\,t^{k-1}e^{pt}
Complex pair σ±jω\sigma \pm j\omegaB(s−σ)+Cω(s−σ)2+ω2\dfrac{B(s-\sigma) + C\omega}{(s-\sigma)^{2}+\omega^{2}}eσt(Bcos⁡ωt+Csin⁡ωt)e^{\sigma t}(B\cos\omega t + C\sin\omega t)
Delay e−ase^{-as}e−asG(s)e^{-as}G(s)g(t−a) u(t−a)g(t-a)\,u(t-a)

For a simple pole use the cover-up rule A=[(s−p)F(s)]s=pA = \left[(s-p)F(s)\right]_{s=p}. For a repeated pole use derivatives: Ak=1(m−k)!d m−kds m−k[(s−p)mF(s)]s=pA_k = \dfrac{1}{(m-k)!}\dfrac{d^{\,m-k}}{ds^{\,m-k}}\left[(s-p)^{m}F(s)\right]_{s=p}.

A worked example by hand

Find L−1{s+3(s+1)(s+2)2}\mathcal{L}^{-1}\left\{\dfrac{s+3}{(s+1)(s+2)^{2}}\right\}. Write the partial-fraction form:

s+3(s+1)(s+2)2=As+1+B1s+2+B2(s+2)2\frac{s+3}{(s+1)(s+2)^{2}} = \frac{A}{s+1} + \frac{B_1}{s+2} + \frac{B_2}{(s+2)^{2}}

A=[s+3(s+2)2]s=−1=2A = \left[\dfrac{s+3}{(s+2)^{2}}\right]_{s=-1} = 2, B2=[s+3s+1]s=−2=−1B_2 = \left[\dfrac{s+3}{s+1}\right]_{s=-2} = -1, B1=[ddss+3s+1]s=−2=[−2(s+1)2]s=−2=−2B_1 = \left[\dfrac{d}{ds}\dfrac{s+3}{s+1}\right]_{s=-2} = \left[\dfrac{-2}{(s+1)^{2}}\right]_{s=-2} = -2.

f(t)=2e−t−2e−2t−te−2t,t≥0f(t) = 2e^{-t} - 2e^{-2t} - te^{-2t}, \quad t \ge 0

Accuracy and limits

Poles are found numerically and snapped to simple fractions when they match. Irrational roots are shown to four decimal places. After f(t)f(t) is found, ∫0∞f(t)e−st dt\int_0^\infty f(t)e^{-st}\,dt is evaluated numerically and compared with F(s)F(s); if they disagree, no answer is shown. Only ratios of polynomials (optionally times e−ase^{-as}) are accepted. Functions such as 1s\dfrac{1}{\sqrt{s}} or ln⁡s\ln s are out of scope.

Frequently asked questions

What do complex poles give?

A conjugate pair σ ± jω gives e^{σt}(B cos ωt + C sin ωt). The calculator also writes it in amplitude–phase form, M e^{σt} cos(ωt + φ).

What if the numerator's degree is too high?

Long division comes first. A constant quotient gives δ(t), and a quotient containing s gives derivatives of δ(t). The calculator does this automatically and shows it in the working.

What does e^{-2s} mean?

A delay of 2 seconds. Invert the rest to get g(t), then replace t with t − 2 and multiply by u(t − 2).

Why is the answer valid only for t ≥ 0?

The one-sided Laplace transform is defined from t = 0 to infinity, so the result holds for t ≥ 0 and f(t) is taken as 0 for t < 0.

More calculators