Lesson 2 of 19 · Module 1: System components and their representation

Laplace transform and partial fractions

Control System Engineering · EEE2510 · Sessions 3 (review) · CO1

By the end of this lesson you can

  • Use the Laplace transform table and theorems
  • Expand a rational function into partial fractions for the three root cases
  • Get a transfer function from a differential equation

📄 Module 1 lecture notes and tutorial (PDF)

Notes

The unilateral Laplace transform turns linear differential equations in time into algebraic equations in the complex frequency $s = \sigma + j\omega$:

$$\mathcal L\{f(t)\} = F(s) = \int_{0^-}^{\infty} f(t)e^{-st}\,dt$$

Common transforms

$f(t)$$F(s)$Converges for
$\delta(t)$, unit impulse$1$all $s$
$u(t)$, unit step$1/s$$\text{Re}(s) > 0$
$t\,u(t)$, unit ramp$1/s^2$$\text{Re}(s) > 0$
$t^n u(t)$$n!/s^{n+1}$$\text{Re}(s) > 0$
$e^{-at}u(t)$$1/(s+a)$$\text{Re}(s) > -a$
$\sin(\omega t)\,u(t)$$\omega/(s^2+\omega^2)$$\text{Re}(s) > 0$
$\cos(\omega t)\,u(t)$$s/(s^2+\omega^2)$$\text{Re}(s) > 0$

Essential theorems

TheoremTime domain$s$-domain
Linearity$k_1f_1(t) + k_2f_2(t)$$k_1F_1(s) + k_2F_2(s)$
Frequency shift$e^{-at}f(t)$$F(s+a)$
Time shift$f(t-T)u(t-T)$$e^{-sT}F(s)$
Scaling$f(at)$$\frac1aF\!\left(\frac sa\right)$
First derivative$df/dt$$sF(s) - f(0^-)$
Second derivative$d^2f/dt^2$$s^2F(s) - sf(0^-) - f'(0^-)$
Integration$\int_{0^-}^t f(\tau)d\tau$$F(s)/s$
Initial value$f(0^+)$$\lim_{s\to\infty} sF(s)$
Final value$f(\infty)$$\lim_{s\to0} sF(s)$

Partial-fraction expansion

To invert $F(s) = N(s)/D(s)$ with the degree of $N$ less than that of $D$ (otherwise divide first), split it into simple terms.

Case 1: real and distinct roots. $F(s) = \dfrac{K_1}{s+p_1} + \dots + \dfrac{K_n}{s+p_n}$ with $K_i = \lim_{s\to-p_i}(s+p_i)F(s)$.

Case 2: a repeated real root $-p_1$ of multiplicity $r$: include $\dfrac{K_1}{(s+p_1)^r} + \dfrac{K_2}{(s+p_1)^{r-1}} + \dots + \dfrac{K_r}{s+p_1}$, with

$$K_i = \frac{1}{(i-1)!}\lim_{s\to-p_1}\frac{d^{\,i-1}}{ds^{\,i-1}}\left[(s+p_1)^rF(s)\right]$$

Case 3: complex-conjugate roots from $s^2 + as + b$: use $\dfrac{K_2s + K_3}{s^2+as+b}$ and balance coefficients, or complex residues $K_2$, $K_2^*$. The pair inverts to a damped sinusoid $Ce^{-\alpha t}\cos(\beta t - \phi)$.

Use the partial fractions explorer below: switch between the three cases and watch how each term adds up to $f(t)$.

Worked example: transfer function from a differential equation

Find the transfer function of $\dfrac{dc(t)}{dt} + 2c(t) = r(t)$, where $c$ is the output and $r$ the input.

  1. The transfer function is $G(s) = C(s)/R(s)$ with all initial conditions zero.
  2. Transform both sides and use linearity: $\mathcal L\{dc/dt\} + 2C(s) = R(s)$.
  3. Differentiation theorem: $\mathcal L\{dc/dt\} = sC(s) - c(0^-)$.
  4. Zero initial conditions: $sC(s) + 2C(s) = R(s)$.
  5. Factor: $(s+2)C(s) = R(s)$.
  6. So $G(s) = \dfrac{C(s)}{R(s)} = \dfrac{1}{s+2}$, a first-order system with time constant 0.5 s (see Lesson 7).

Lecture

🎬
Lecture video
Coming soon. The recorded lecture for this lesson will appear here.

Try it

Exercises

  1. Find $f(t)$ for $F(s) = \dfrac{1}{(s+1)(s+2)}$.
    Show solution
    $K_1 = 1/(−1+2) = 1$, $K_2 = 1/(−2+1) = −1$. $f(t) = e^{-t} − e^{-2t}$. Check it in the explorer with $a = 1$, $b = 2$.
  2. Find $f(t)$ for $F(s) = \dfrac{2}{(s+1)^2(s+2)}$.
    Show solution
    $K_1 = 2/(−1+2) = 2$, $K_2 = \frac{d}{ds}\left[\frac{2}{s+2}\right]_{s=-1} = −2$, $K_3 = 2/(−2+1)^2 = 2$. $f(t) = 2te^{-t} − 2e^{-t} + 2e^{-2t}$.
  3. Find $f(t)$ for $F(s) = \dfrac{3}{s^2 + 2s + 5}$.
    Show solution
    $s^2 + 2s + 5 = (s+1)^2 + 2^2$, so $f(t) = \frac32 e^{-t}\sin 2t$.
  4. Use the final value theorem on $Y(s) = \dfrac{10}{s(s+2)}$.
    Show solution
    $y(\infty) = \lim_{s\to0} s\cdot\frac{10}{s(s+2)} = 5$.