---
title: Transfer functions, poles and zeros
heading: A whole circuit summed up by a few points in the plane
eyebrow: A10 · Lesson 20 · Transfer functions, poles and zeros
xp: 50
---

::: hook
Write a circuit's output over its input in the Laplace domain and you get a fraction of polynomials in $s$: the transfer function. Its top and bottom each factor into a few roots. Those roots, the zeros and poles, are a complete summary of the circuit: its natural response, its stability, its frequency response, everything. Engineers sketch them before they sketch anything else.

::: play
- The crosses are a pair of poles at $\sigma \pm j\omega$ and the circle is a zero at $z$. Below is the impulse response they produce: the output when the input is a sharp kick.
- Pull the poles toward the imaginary axis. What happens to the ringing?
- Move the zero. Its effect is subtler: watch the start of the response and the size of its first swing.
:::
:::

```sim plot
view: splane
x: sigma = -5..2
y: omega = -6..6
slider: sig = -3..0.5 step 0.1 = -0.6
slider: w = 0.5..5 step 0.1 = 3
slider: z = -5..1 step 0.1 = -2
den: (s - sig)^2 + w^2
num: s - z
readout: natural frequency ω₀ = sqrt(sig^2 + w^2)
readout: damping ratio ζ = -sig/sqrt(sig^2 + w^2)
```

```sim plot
view: graph
x: t = 0..6 s
y: h = -2.5..2.5
slider: sig = -3..0.5 step 0.1 = -0.6
slider: w = 0.5..5 step 0.1 = 3
slider: z = -5..1 step 0.1 = -2
plot: exp(sig*t)*(cos(w*t) + (sig - z)/w*sin(w*t)) | samples: 1500 | label: impulse response h(t)
```

::: predict
## A filter's transfer function has a pair of zeros exactly at $s = \pm j2\pi \cdot 60$. What does it do to a 60 Hz input?

- [ ] Amplifies it enormously
- [x] Blocks it completely
- [ ] Shifts its phase by 90°
- [ ] Nothing special

::: reveal
It blocks it completely. The frequency response is $H(s)$ evaluated on the imaginary axis, $s = j\omega$, and at $\omega = 2\pi \cdot 60$ the numerator is zero. That's a **notch filter**, used to remove mains hum from audio and medical signals. A pole close to the imaginary axis does the opposite: the denominator gets small there, and the response peaks.
:::
:::

::: nameit
## Transfer functions

**Definition.** With every capacitor and inductor starting empty, the ratio of the output's Laplace transform to the input's is the **transfer function**:

$$H(s) = \frac{Y(s)}{X(s)}$$

Since an impulse has transform 1, $H(s)$ is also the Laplace transform of the impulse response.

**From a circuit.** In the Laplace domain the parts become impedances: $R$, $sL$ and $\frac{1}{sC}$. Then the circuit is solved like a resistor network. An RC low-pass, output across the capacitor, is a voltage divider:

$$H(s) = \frac{1/sC}{R + 1/sC} = \frac{1}{1 + sRC}$$

with one pole at $s = -1/RC$.

**Poles and zeros.** Factor the top and bottom:

$$H(s) = K\frac{(s - z_1)(s - z_2)\cdots}{(s - p_1)(s - p_2)\cdots}$$

- The **poles** $p_i$ are the circuit's natural modes. Each contributes $e^{p_it}$ to the response, so their locations set the decay and the ringing (lesson 18), and the circuit is **stable** only if every pole is in the left half plane.
- The **zeros** $z_i$ are inputs the circuit blocks: an input $e^{z_it}$ produces no output. Zeros don't create modes, but they change how much of each mode appears.

**Frequency response.** Set $s = j\omega$: $H(j\omega)$ is the familiar frequency response. Its size has a geometric reading:

$$|H(j\omega)| = K\frac{\text{distances from } j\omega \text{ to each zero}}{\text{distances from } j\omega \text{ to each pole}}$$

Walk up the imaginary axis. Passing close to a pole makes that distance small and the response peaks (resonance); passing over a zero makes it zero (a notch). The **DC gain** is $H(0)$.
:::

::: example
## Find the transfer function, pole and zero of an RC high-pass (output across R) with R = 10 kΩ and C = 100 nF.

::: solution
1. **The divider.**
   $$\begin{aligned} H(s) &= \frac{R}{R + 1/sC} \\ &= \frac{sRC}{1 + sRC} \end{aligned}$$
   with $RC = 1$ ms.
2. **The zero.** It's at $s = 0$, so $H(0) = 0$ and DC is blocked.
3. **The pole.** It's at $-1000$ s⁻¹, which puts the corner at
   $$\frac{1000}{2\pi} = 159\ \text{Hz}$$

**Answer:** $H(s) = \frac{sRC}{1 + sRC}$ with $RC$ = 1 ms: a zero at 0 and a pole at $-1000$ s⁻¹, for a corner at 159 Hz.
:::
:::

::: example
## A series RLC with R = 100 Ω, L = 10 mH and C = 1 µF has its output across R. Find the poles and zero.

::: solution
1. **The transfer function.**
   $$\begin{aligned} H(s) &= \frac{R}{R + sL + 1/sC} \\ &= \frac{sRC}{s^2LC + sRC + 1} \end{aligned}$$
2. **The zero.** It's at 0.
3. **The poles.** They solve $s^2 + \frac{R}{L}s + \frac{1}{LC} = 0$, which here is
   $$s^2 + 10^4s + 10^8 = 0$$
   so
   $$s = -5000 \pm j8660$$
4. **Walk up the axis.** $|H|$ peaks at $\omega_0 = 10^4$ rad/s, where $|H| = 1$: a band-pass.

**Answer:** a zero at 0 and poles at $-5000 \pm j8660$ s⁻¹; it's a band-pass that peaks at $10^4$ rad/s.
:::
:::

::: example
## An RC low-pass has $R$ = 1 kΩ and $C$ = 1 µF. Find its transfer function and its gain at 1000 rad/s.

::: solution
1. **The divider.**
   $$\begin{aligned} H(s) &= \frac{1/sC}{R + 1/sC} \\ &= \frac{1}{1 + sRC} \\ &= \frac{1}{1 + 0.001s} \end{aligned}$$
   with a pole at $-1000$ s⁻¹.
2. **At 1000 rad/s.** Put in $s = j1000$:
   $$\begin{aligned} H &= \frac{1}{1 + j} \\ |H| &= \frac{1}{\sqrt2} \\ &= 0.707 \end{aligned}$$
3. **What it means.** The corner frequency is the pole's distance from the origin.

**Answer:** $H(s) = \frac{1}{1 + 0.001s}$, with a gain of 0.707 at 1000 rad/s.
:::
:::

::: check
given: R = 1k..100k E12 Ω; C = 1n..1µ E6 F
answer: -1/(R*C)
tolerance: 1%

## Where is the pole of an RC low-pass filter with R = {R} and C = {C}? Give it in 1/s.

::: right
Right. $H = 1/(1 + sRC)$ has its pole where $1 + sRC = 0$: $s = -1/RC$ = {answer}.
:::

::: misses
- [1/(R*C)] The pole is in the left half plane: it's negative.
- [-R*C] That's minus the time constant. The pole is at minus one over it.
- [-1/(2*pi*R*C)] That's the corner in hertz, with a minus sign. The s-plane uses rad/s.
- [any] Not yet. Solve $1 + sRC = 0$.
:::
:::

::: check
given: R = 10..1k E12 Ω; L = 1m..100m E6 H
answer: -R/L
tolerance: 1%

## An RL high-pass (output across the inductor) has $H(s) = \frac{sL}{R + sL}$. With R = {R} and L = {L}, where is its pole, in 1/s?

::: right
Right. $R + sL = 0$ at $s = -R/L$ = {answer}. Its zero is at $s = 0$: it blocks DC.
:::

::: misses
- [-L/R] That's minus the time constant.
- [0] That's the zero, where the numerator vanishes.
- [any] Not yet. Set the denominator to zero.
:::
:::

::: check
given: K = 2..9 int; a = 3 | 5 | 7; b = 2 | 4; c = 6 | 8 | 10
answer: K*a/(b*c)
tolerance: 0.5%

## What is the DC gain of $H(s) = \dfrac{\given{K}(s + \given{a})}{(s + \given{b})(s + \given{c})}$?

::: right
Right. At $s = 0$: $\frac{\given{K}\cdot\given{a}}{\given{b}\cdot\given{c}}$ = {answer}.
:::

::: misses
- [K] Evaluate the whole fraction at $s = 0$.
- [K/(b*c)] Include the numerator's $s + \given{a}$ at $s = 0$.
- [any] Not yet. Put $s = 0$ into $H(s)$.
:::
:::

::: check
given: p1 = 1 | 2; p2 = 5 | 10; w = 1 | 3 | 5
answer: 1/(sqrt(p1^2 + w^2)*sqrt(p2^2 + w^2))
tolerance: 0.5%

## $H(s) = \dfrac{1}{(s + \given{p1})(s + \given{p2})}$. Using distances in the s-plane, what is $|H(j\omega)|$ at ω = {w} rad/s?

::: right
Right. The distances from $j\given{w}$ to the poles are $\sqrt{\given{p1}^2 + \given{w}^2}$ and $\sqrt{\given{p2}^2 + \given{w}^2}$; one over their product is {answer}.
:::

::: misses
- [1/((p1 + w)*(p2 + w))] Distances in the plane: $\sqrt{p^2 + \omega^2}$, not $p + \omega$.
- [1/(p1*p2)] That's the DC gain, at $\omega = 0$.
- [any] Not yet. Multiply the distances from $j\omega$ to each pole, and take one over that.
:::
:::

::: check
kind: choice

## A circuit's transfer function has poles at $-2$, $-1 \pm j5$ and $+0.1$. Is it stable?

- [ ] Yes: most of its poles are in the left half plane
- [x] No: the pole at $+0.1$ makes a growing response
- [ ] Yes: the poles with imaginary parts decay
- [ ] It can't be told from the poles

::: right
Right. Every pole must be in the left half plane. One at $+0.1$ adds $e^{0.1t}$, which grows without limit.
:::

::: misses
- [1] One right-half-plane pole is enough to make it unstable.
- [3] They do, but the real pole at $+0.1$ doesn't.
- [4] Stability is exactly what the poles tell you.
:::
:::

::: check
kind: parts
given: R = 1 | 10; C = 0.1 | 1

## An RC low-pass has $R$ = {R} kΩ and $C$ = {C} µF.

::: part
answer: -1/(R*C)*1000
unit: s⁻¹
tolerance: 0.5%

### Where is its pole?

::: misses
- [1/(R*C)*1000] Poles of stable circuits are in the left half-plane.
- [any] $1 + sRC = 0$.
:::
:::

::: part
answer: 1/sqrt(2)
tolerance: 0.5%

### What is $|H|$ at $\omega = 1/RC$?

::: misses
- [0.5] It's $\frac{1}{|1 + j|}$.
- [any] $\frac{1}{\sqrt{1 + 1}}$.
:::
:::
:::

::: check
kind: derivation
vars: R = 1..100, L = 0.1..2, C = 0.1..2

## A series RLC with output across $R$.

::: step
answer: R/L

### $H(s) = \frac{sR/L}{s^2 + sR/L + 1/LC}$. What multiplies $s$ in the numerator?
:::

::: step
answer: 1/sqrt(L*C)

### At what $\omega$ is $|H| = 1$?
:::

::: right
Right. A band-pass: unity gain at resonance, where the inductor and capacitor cancel.
:::
:::

::: explain
## Why does a pole close to the imaginary axis make the frequency response peak?

::: model
The frequency response is $H(s)$ evaluated along the imaginary axis, and its size is one over the product of the distances to the poles (times the zeros' distances). As ω passes the height of a pole that sits very close to the axis, the distance to that pole becomes very small, so one over it becomes very large, and the response peaks sharply. The closer the pole is to the axis, the lighter the damping and the taller and narrower the resonance.
:::
:::

::: practice

::: check
kind: expression
answer: 1/(1 + s*R*C)
vars: s = 0.5..5, R = 1..10, C = 0.1..1

## Write the transfer function of an RC low-pass filter, output across C.

::: misses
- [s*R*C/(1 + s*R*C)] That's the high-pass, output across R.
- [1/(s*R*C)] Include the resistor: it's a divider, $\frac{1/sC}{R + 1/sC}$.
- [any] A voltage divider with impedances $R$ and $1/sC$.
:::
:::

::: check
given: a = 2..9 int
answer: 1/a
tolerance: 0.5%

## What is the DC gain of $H(s) = \dfrac{1}{s + \given{a}}$?

::: misses
- [a] Put $s = 0$: $1/\given{a}$.
- [any] $H(0)$.
:::
:::

::: check
given: f = 50 | 60 | 100 | 120 | 150 | 180
answer: 2*pi*f
unit: rad/s
tolerance: 0.5%

## A notch filter removes {f} Hz hum. How far up the imaginary axis are its zeros?

::: misses
- [f] The s-plane is in rad/s.
- [any] $\omega = 2\pi f$.
:::
:::
:::
