Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

Inverse Laplace transforms

In the previous section, we learned how to decompose a rational function into a sum of simpler terms via partial fraction expansion. Now we develop the inverse Laplace transform pairs needed to convert each term back to the time domain.

The terms arising from PFE have specific forms depending on the pole type:

We will derive the inverse Laplace transform for each of these cases.

Review of complex numbers

Before proceeding, we review some essential facts about complex numbers.

Complex number representations

We can write a number zCz\in\C in two equivalent ways:

We can convert between rectangular and polar forms using the relationships:

a=rcosθ,b=rsinθ,r=a2+b2,θ=arctan(ba)\begin{aligned} a &= r \cos \theta, & b &= r \sin \theta, \\ r &= \sqrt{a^2 + b^2}, & \theta &= \arctan \bigl(\tfrac{b}{a}\bigr) \end{aligned}

We can view complex numbers as points in the complex plane, with the real part along the x-axis and the imaginary part along the y-axis. Here is a diagram showing the rectangular and polar representations of a complex number:

Complex number z = a + jb = re^{j\theta} shown in rectangular and polar forms.

Figure 1:Complex number z=a+jb=rejθz = a + jb = re^{j\theta} shown in rectangular and polar forms.

Euler’s formula

The formulas (1) are derived from basic trigonometry and the diagram of Figure 1. However, they do not explain why z=ejθz = e^{j\theta} in polar form. This comes from Euler’s formula[1]:

ejθ=cosθ+jsinθe^{j\theta} = \cos\theta + j\sin\theta

We can use Euler’s formula to write complex exponentials as a combination of a real exponential and trig functions. For a complex number z=a+bjz = a + bj and time tRt\in \R,

ezt=e(a+jb)t=eatejbt=eat(cosbt+jsinbt)\boxed{e^{zt} = e^{(a+jb)t} = e^{at}e^{jbt} = e^{at}(\cos bt + j\sin bt)}

This formula will be central to deriving the inverse Laplace transforms for complex poles.

Complex conjugate

Another useful concept is the complex conjugate of a complex number. The complex conjugate of z=a+jbz = a + jb is denoted zˉ\bar{z} and defined as:

zˉ=ajb\bar{z} = a - jb

In polar form, the complex conjugate is given by:

zˉ=rejθ\bar{z} = re^{-j\theta}

Graphically, the complex conjugate is the reflection of zz across the real axis in Figure 1.

Simplifying fractions

When working with complex numbers, it is often necessary to simplify fractions involving complex numbers. The key technique is to multiply the numerator and denominator by the complex conjugate of the denominator. For example, let’s simplify the expression:

2+3j1+4j=(2+3j)(14j)(1+4j)(14j)=2+3j8j12j2116j2=25j+121+16=145j17=1417517j\begin{aligned} \frac{2+3j}{1 + 4j} &= \frac{(2+3j)(1 - 4j)}{(1 + 4j)(1 - 4j)} \\ &= \frac{2 + 3j - 8j - 12j^2}{1 - 16j^2} \\ &= \frac{2 - 5j + 12}{1 + 16} \\ &= \frac{14 - 5j}{17} \\ &= \frac{14}{17} - \frac{5}{17}j \end{aligned}

Simplifying powers

When raising complex numbers to powers, it is often easier to use the polar representation. For example, to compute (1+j)10(1 + j)^{10}, we first convert to polar form:

1+j=12+12ejarctan(1/1)=2ejπ/41 + j = \sqrt{1^2 + 1^2}\, e^{j\arctan(1/1)} = \sqrt{2}\, e^{j\pi/4}

Next, we use the property of exponents:

(1+j)10=(2ejπ/4)10=(2)10ej10π/4=25ej5π/2=32ejπ/2=32j(1 + j)^{10} = (\sqrt{2} e^{j\pi/4})^{10} = (\sqrt{2})^{10} e^{j10\pi/4} = 2^{5} e^{j5\pi/2} = 32 e^{j\pi/2} = 32j

The simplification ej5π/2=ejπ/2=je^{j5\pi/2} = e^{j\pi/2} = j uses the fact that ej2π=1e^{j2\pi} = 1, so we can subtract 2π2\pi from the angle without changing the value. Finally, Euler’s gives us ejπ/2=cos(π/2)+jsin(π/2)=je^{j\pi/2} = \cos(\pi/2) + j\sin(\pi/2) = j.

Inverse Laplace transforms

Now that we have reviewed complex numbers, we can use their properties to derive the inverse Laplace transforms needed for PFE terms. Let’s start with exponential functions.

Exponentials

Let’s consider the Laplace transform of the exponential function ezte^{zt}, where zCz\in\C is a complex number. From the definition of the Laplace transform:

L{ezt}=0esteztdt=0e(zs)tdt=[1zse(zs)t]t=0=1sz\Lap\{e^{zt}\} = \int_0^{\infty} e^{-st} e^{zt} \, dt = \int_0^{\infty} e^{(z-s)t} \, dt = \left[\frac{1}{z-s} e^{(z-s)t}\right]_{t=0}^{\infty} = \frac{1}{s-z}

If zz is a real number, say z=az = -a with aRa\in\R, then Eq. (16) becomes:

L{eat}=1s+a\boxed{\Lap\{e^{-at}\} = \frac{1}{s+a}}

No surprises here; this is what we previously derived in Table 1.

Sinusoids and damped sinusoids

Let’s now assume z=a+bjz = -a+bj, with a,bRa,b\in\R. Applying (16) gives:

L{ezt}=1s+abj\Lap\{e^{zt}\} = \frac{1}{s + a - bj}

The left-hand side of (18) is a complex exponential, which we can split into real and imaginary parts using Euler’s formula (9).

ezt=e(a+jb)t=eat(cosbt+jsinbt)e^{zt} = e^{(-a+jb)t} = e^{-at}(\cos bt + j\sin bt)

Therefore: L{ezt}=L{eatcosbt}+jL{eatsinbt}\Lap\{e^{zt}\} = \Lap\{e^{-at}\cos bt\} + j\Lap\{e^{-at}\sin bt\}.

The right-hand side of (18) can also be separated into real and imaginary parts by multiplying the numerator and denominator by the complex conjugate of the denominator:

1s+abj=(s+a+bj)(s+abj)(s+a+bj)=s+a(s+a)2+b2+jb(s+a)2+b2\begin{aligned} \frac{1}{s + a - bj} &= \frac{(s+a+bj)}{(s+a-bj)(s+a+bj)}\\ &= \frac{s + a}{(s + a)^2 + b^2} + j\frac{b}{(s + a)^2 + b^2} \end{aligned}

Equating real and imaginary parts on both sides gives:

L{eatcosbt}=s+a(s+a)2+b2L{eatsinbt}=b(s+a)2+b2\boxed{ \begin{aligned} \Lap\{e^{-at}\cos bt\} &= \frac{s+a}{(s+a)^2 + b^2}\\ \Lap\{e^{-at}\sin bt\} &= \frac{b}{(s+a)^2 + b^2} \end{aligned} }

Since sin\sin and cos\cos are bounded between -1 and 1, the entire function lies between eat-e^{-at} and +eat+e^{-at}. This is the exponential envelope.

The interactive app below allows you to visualize the effects of changing aa and bb on the damped sinusoid eatcosbte^{-at}\cos bt.

 

Repeated poles

Let’s return to our exponential Laplace formula (16):

L{ezt}=1sz\Lap\{e^{zt}\} = \frac{1}{s - z}

We can actually differentiate both sides with respect to zz and obtain another true statement. This follows because the Laplace transform is an integral with respect to tt, so we can interchange the order of differentiation and integration[2]

Differentiating with respect to zz gives:

L{tezt}=1(sz)2\Lap\{t e^{zt}\} = \frac{1}{(s - z)^2}

We can repeat this process n1n-1 more times to obtain:

L{tnezt}=n!(sz)n+1\Lap\{t^n e^{zt}\} = \frac{n!}{(s - z)^{n+1}}

So, for example, when z=az=-a is a real number, we obtain:

L{tneat}=n!(s+a)n+1\boxed{\Lap\{t^n e^{-at}\} = \frac{n!}{(s + a)^{n+1}}}

We can also obtain a formula for the case of repeated complex poles by substituting z=a+bjz= -a + bj into (24) and separating real and imaginary parts using Euler’s formula (9) as we did when we derived the damped sinusoid formulas (21). We will skip this derivation as the formulas are quite complicated and rarely come up in practice.

We also included a more comprehensive table in our appendix on Laplace transforms.

System stability

Now that we have seen what sorts of functions of time we can expect out of LTI systems, we can start to think about the notion of stability, which is important for control systems. We say a LTI system is:

We can characterize stability for the functions of time we’ve seen so far:

Time domain f(t)f(t)StableMarginally stableUnstable
eate^{-at}a>0a > 0a=0a = 0a<0a < 0
tn1(n1)!eat\frac{t^{n-1}}{(n-1)!}e^{-at}a>0a > 0a=0a = 0 and n=1n = 1a<0a < 0
eatcosbte^{-at}\cos bta>0a > 0a=0a = 0a<0a < 0
eatsinbte^{-at}\sin bta>0a > 0a=0a = 0a<0a < 0

Stability is governed by aa, which is the real part of the pole. Marginal stability only occurs when a=0a=0 and if the pole is not repeated (i.e., n=1n=1 for the real pole case).

This leads us to the following important conclusion about system stability:

Inverting real quadratic terms

When we have an irreducible quadratic denominator and the numerator does not fit neatly into one of the forms in Eq. (21), we must do some additional algebra to rewrite the expression in a suitable form. To illustrate, let’s find the inverse Laplace transform

L1{2s+3s22s+10}\Lap^{-1}\left\{\frac{2s + 3}{s^2 - 2s + 10}\right\}

First, complete the square in the denominator:

s22s+10=(s1)2+9=(s1)2+32s^2 - 2s + 10 = (s - 1)^2 + 9 = (s-1)^2 + 3^2

This reveals that a=1a = -1 and b=3b = 3. We know from (21) that:

L1{s1(s1)2+32}=etcos3tL1{3(s1)2+32}=etsin3t\begin{aligned} \Lap^{-1}\left\{\frac{s - 1}{(s - 1)^2 + 3^2}\right\} &= e^{t}\cos 3t \\ \Lap^{-1}\left\{\frac{3}{(s - 1)^2 + 3^2}\right\} &= e^{t}\sin 3t \end{aligned}

Our goal is to write the original fraction as a linear combination of these two fractions. So we need to find constants AA and BB such that:

2s+3(s1)2+32=A(s1(s1)2+32)+B(3(s1)2+32)\frac{2s + 3}{(s-1)^2 + 3^2} = A\left(\frac{s-1}{(s-1)^2 + 3^2}\right) + B\left(\frac{3}{(s-1)^2 + 3^2}\right)

If we can do this, then we can take the inverse Laplace transform term-by-term using the formulas above and obtain:

L1{2s+3s22s+10}=Aetcos3t+Betsin3t\Lap^{-1}\left\{\frac{2s + 3}{s^2 - 2s + 10}\right\} = A e^{t}\cos 3t + B e^{t}\sin 3t

To find AA and BB, we put everything over a common denominator and compare numerators. Then we match coefficients since the expression must be true for all values of ss. This is similar to the systematic approach we used for PFE:

2s+3=A(s1)+B3=As+(3BA)\begin{aligned} 2s+3 &= A(s-1) + B\cdot 3 \\ &= As + (3B-A) \end{aligned}

Therefore, we need to solve the system of equations:

A=23BA=3\begin{aligned} A &= 2 \\ 3B - A &= 3 \end{aligned}

Solving gives A=2A = 2 and B=53B = \frac{5}{3}. Substituting this into Eq. (30) gives the final answer:

L1{2s+3s22s+10}=2etcos3t+53etsin3t\boxed{\Lap^{-1}\left\{\frac{2s + 3}{s^2 - 2s + 10}\right\} = 2e^{t}\cos 3t + \frac{5}{3}e^{t}\sin 3t}

Complete worked example

Let’s put everything together with a complete worked example. Let’s find:

L1{s+10s4+2s3+10s2}\Lap^{-1}\left\{ \frac{s+10}{s^4 + 2s^3 + 10s^2} \right\}

Solution: The denominator factors as s2(s2+2s+10)s^2(s^2 + 2s + 10). The quadratic s2+2s+10s^2 + 2s + 10 is irreducible since its discriminant is negative: b24ac=224110=36<0b^2 - 4ac = 2^2 - 4\cdot 1 \cdot 10 = -36 < 0. Completing the square, we have:

s2+2s+10=(s+1)2+32s^2 + 2s + 10 = (s+1)^2 + 3^2

Using our PFE shortcut, we look for constants AA, BB, and CC such that:

s+10s2(s2+2s+10)=As+Bs2+C(s+1)+3D(s+1)2+32\frac{s+10}{s^2(s^2 + 2s + 10)} = \frac{A}{s} + \frac{B}{s^2} + \frac{C(s+1) + 3D}{(s+1)^2 + 3^2}

Once we find AA, BB, CC, and DD, the solution will be the sum of the inverse Laplace transforms of each term. In this case:

L1{s+10s4+2s3+10s2}=A1+Bt+Cetcos3t+Detsin3t\Lap^{-1}\left\{\frac{s+10}{s^4 + 2s^3 + 10s^2}\right\} = A \cdot 1 + B \cdot t + C e^{-t}\cos 3t + D e^{-t}\sin 3t

We can find BB using cover-up. Multiply both sides of Eq. (38) by s2s^2 and set s=0s=0:

B=0+1002+0+10=1B = \frac{0 + 10}{0^2 + 0 + 10} = 1

To find AA, CC, and DD, we multiply both sides of Eq. (38) by the common denominator s2(s2+2s+10)s^2(s^2 + 2s + 10) and compare coefficients:

s+10=As(s2+2s+10)+(s2+2s+10)+[C(s+1)+3D]s2=As3+2As2+10As+s2+2s+10+Cs3+Cs2+3Ds2=(A+C)s3+(2A+1+C+3D)s2+(10A+2)s+10\begin{aligned} s + 10 &= A s (s^2 + 2s + 10) + (s^2 + 2s + 10) + [C(s+1) + 3D] s^2 \\ &= A s^3 + 2A s^2 + 10A s + s^2 + 2s + 10 + C s^3 + C s^2 + 3D s^2 \\ &= (A + C) s^3 + (2A + 1 + C + 3D) s^2 + (10A + 2) s + 10 \end{aligned}

Comparing coefficients gives the system of equations:

A+C=02A+1+C+3D=010A+2=110=10\begin{aligned} A + C &= 0 \\ 2A + 1 + C + 3D &= 0 \\ 10A + 2 &= 1 \\ 10 &= 10 \end{aligned}

Solving gives A=110A = -\frac{1}{10}, C=110C = \frac{1}{10}, and D=310D = -\frac{3}{10}. Substituting these into Eq. (39) gives the final answer:

L1{s+10s4+2s3+10s2}=110+t+110etcos3t310etsin3t\boxed{\Lap^{-1}\left\{\frac{s+10}{s^4 + 2s^3 + 10s^2}\right\} = -\frac{1}{10} + t + \frac{1}{10} e^{-t}\cos 3t - \frac{3}{10} e^{-t}\sin 3t}

Test your knowledge

Solution to Exercise 1 #

First, complete the square in the denominator:

s2+4s+13=(s+2)2+32s^2 + 4s + 13 = (s + 2)^2 + 3^2

This reveals that a=2a = -2 and b=3b = 3. We know from (21) that:

L1{s+2(s+2)2+32}=e2tcos3tL1{3(s+2)2+32}=e2tsin3t\begin{aligned} \Lap^{-1}\left\{\frac{s + 2}{(s + 2)^2 + 3^2}\right\} &= e^{-2t}\cos 3t \\ \Lap^{-1}\left\{\frac{3}{(s + 2)^2 + 3^2}\right\} &= e^{-2t}\sin 3t \end{aligned}

Our goal is to write the original fraction as a linear combination of these two fractions. So we need to find constants AA and BB such that:

3s+5(s+2)2+32=A(s+2(s+2)2+32)+B(3(s+2)2+32)\frac{3s + 5}{(s + 2)^2 + 3^2} = A\left(\frac{s + 2}{(s + 2)^2 + 3^2}\right) + B\left(\frac{3}{(s + 2)^2 + 3^2}\right)

If we can do this, then we can take the inverse Laplace transform term-by-term using the formulas above and obtain:

L1{3s+5s2+4s+13}=Ae2tcos3t+Be2tsin3t\Lap^{-1}\left\{\frac{3s + 5}{s^2 + 4s + 13}\right\} = A e^{-2t}\cos 3t + B e^{-2t}\sin 3t

To find AA and BB, we put everything over a common denominator and compare numerators. Then we match coefficients since the expression must be true for all values of ss. This is similar to the systematic approach we used for PFE:

3s+5=A(s+2)+B3=As+(2A+3B)\begin{aligned} 3s + 5 &= A(s + 2) + B\cdot 3 \\ &= As + (2A + 3B) \end{aligned}

Therefore, we need to solve the system of equations:

A=32A+3B=5\begin{aligned} A &= 3 \\ 2A + 3B &= 5 \end{aligned}

Solving gives A=3A = 3 and B=13B = -\frac{1}{3}. Substituting this into the inverse Laplace expression gives the final answer:

L1{3s+5s2+4s+13}=3e2tcos3t13e2tsin3t\boxed{\Lap^{-1}\left\{\frac{3s + 5}{s^2 + 4s + 13}\right\} = 3e^{-2t}\cos 3t - \frac{1}{3}e^{-2t}\sin 3t}
Solution to Exercise 2 #

We start with the partial fraction expansion:

4(s+1)(s+2)(s+3)2=As+1+Bs+2+Cs+3+D(s+3)2\frac{4}{(s+1)(s+2)(s+3)^2 } = \frac{A}{s+1} + \frac{B}{s+2} + \frac{C}{s+3} + \frac{D}{(s+3)^2}

We can find AA, BB, DD using cover-up:

A=4(1+2)(1+3)2=1B=4(2+1)(2+3)2=4D=4(3+1)(3+2)=2\begin{aligned} A &= \frac{4}{( -1 + 2)( -1 + 3)^2} = 1 \\ B &= \frac{4}{( -2 + 1)( -2 + 3)^2} = -4 \\ D &= \frac{4}{( -3 + 1)( -3 + 2)} = 2 \end{aligned}

So far, we have:

4(s+1)(s+2)(s+3)2=1s+14s+2+Cs+3+2(s+3)2\frac{4}{(s+1)(s+2)(s+3)^2} = \frac{1}{s+1} - \frac{4}{s+2} + \frac{C}{s+3} + \frac{2}{(s+3)^2}

To find CC, let’s set s=0s=0 on both sides:

418=1142+C3+29\frac{4}{18} = \frac{1}{1} - \frac{4}{2} + \frac{C}{3} + \frac{2}{9}

Solving gives C=3C = 3. Therefore, the complete PFE is:

4(s+1)(s+2)(s+3)2=1s+14s+2+3s+3+2(s+3)2\frac{4}{(s+1)(s+2)(s+3)^2} = \frac{1}{s+1} - \frac{4}{s+2} + \frac{3}{s+3} + \frac{2}{(s+3)^2}

Taking the inverse Laplace transform term-by-term gives:

L1{4(s+1)(s+2)(s+3)2}=et4e2t+3e3t+2te3t\boxed{\Lap^{-1}\left\{\frac{4}{(s+1)(s+2)(s+3)^2}\right\} = e^{-t} - 4e^{-2t} + 3e^{-3t} + 2te^{-3t}}
Footnotes
  1. Leonhard Euler was a prolific 18th-century Swiss mathematician who made significant contributions to many areas of mathematics and there are countless formulas named after him. Euler’s name is pronounced “oiler” (like “boiler” without the “b”).

  2. This is called the Leibniz integral rule.