---
title: Chebyshev, elliptic and Bessel responses
heading: Trading passband flatness and timing for a sharper edge
eyebrow: C4 · Lesson 9 · Chebyshev, elliptic and Bessel
xp: 40
---

::: hook
A Butterworth filter is as flat as possible in its passband, and pays for it with a gentle bend at the corner. Allow a little ripple, a fraction of a decibel wobbling across the passband, and the same number of poles can cut off far more sharply: that's the Chebyshev response. Allow ripple in the stopband too and the edge gets sharper still: the elliptic. Go the other way, giving up sharpness to keep the group delay flat, and you get the Bessel, which passes pulses without ringing. Choosing among them is choosing what a signal can tolerate.
:::

::: play
- A Chebyshev low-pass of order $n$ with passband ripple $A_p$ (solid), against a Butterworth of the same order that loses the same $A_p$ at the passband edge (dashed). Frequency is relative to the passband edge.
- The Chebyshev ripples between 0 and $-A_p$ dB in the passband, then falls away faster.
- The readouts compare their attenuation at the marked frequency.
:::
:::

```sim plot
view: graph
x: r = 0.1..10 log
y: A = -80..2 dB
slider: n = 2..7 step 1 = 3
slider: Ap = 0.1..3 step 0.1 = 1 dB
slider: r0 = 1.1..10 step 0.1 = 2
plot: -10*log(1 + (10^(Ap/10) - 1)*abs(((r + sqrt(r^2 - 1))^n + (r - sqrt(r^2 - 1))^n)/2)^2) | label: Chebyshev | samples: 800
plot: -10*log(1 + (10^(Ap/10) - 1)*r^(2*n)) | label: Butterworth, same edge loss | dashed | color: ch2 | samples: 800
marker: x = r0 | label: frequency
readout: Chebyshev attenuation there, dB = 10*log(1 + (10^(Ap/10) - 1)*cosh(n*ln(r0 + sqrt(r0^2 - 1)))^2) | digits: 3
readout: Butterworth attenuation there, dB = 10*log(1 + (10^(Ap/10) - 1)*r0^(2*n)) | digits: 3
```

::: predict
## A third-order Chebyshev and a third-order Butterworth both lose 1 dB at the same passband edge. At twice that frequency, how do they compare?

- [ ] They're equal: same order, same roll-off
- [x] The Chebyshev is about 10 dB further down
- [ ] The Butterworth is further down
- [ ] The Chebyshev is about 1 dB further down

::: reveal
About 10 dB more: 22.5 dB against 12.4 dB. Both eventually fall at 60 dB per decade, but the Chebyshev bends over much more sharply just past the edge. Its price is the ripple in the passband and a step response that overshoots and rings more.
:::
:::

::: nameit
## Chebyshev (type I)

$$|H|^2 = \frac{1}{1 + \varepsilon^2T_n^2(f/f_p)}$$

where $T_n$ is the **Chebyshev polynomial** of order $n$: $T_n(x) = \cos(n\cos^{-1}x)$ for $|x| \le 1$, which wobbles between −1 and 1 and makes the passband ripple, and $T_n(x) = \cosh(n\cosh^{-1}x)$ for $x > 1$, which grows fast and makes the sharp edge. (For example $T_3(x) = 4x^3 - 3x$.) With $\varepsilon^2 = 10^{A_p/10} - 1$, the passband ripples between 0 and $-A_p$ dB. An even order starts the passband at the bottom of a ripple ($-A_p$ dB at DC); an odd order starts at 0 dB.

## The family

| Response | Passband | Stopband | Edge for a given order | Group delay, step response |
|---|---|---|---|---|
| Bessel | flat, droops early | monotonic | gentlest | flattest delay, little overshoot |
| Butterworth | maximally flat | monotonic | moderate | some overshoot |
| Chebyshev I | equal ripple | monotonic | sharper | more overshoot and ringing |
| Chebyshev II | flat | equal ripple, with zeros | sharper | moderate |
| elliptic | equal ripple | equal ripple, with zeros | sharpest | most ringing |

The poles of a Butterworth filter lie on a circle; those of a Chebyshev on an ellipse inside it, closer to the $j\omega$ axis, which is why they ring more (lesson 18). Elliptic and Chebyshev II filters add zeros on the $j\omega$ axis, notches in the stopband.

## Choosing

Use Bessel for pulses and data where shape matters; Butterworth as a general default; Chebyshev or elliptic where a sharp edge matters most, as in anti-aliasing or channel selection, and the ripple and ringing can be tolerated or corrected.
:::

::: example
## Compare third-order Chebyshev and Butterworth filters, both 1 dB down at the passband edge, at twice that frequency.

::: solution
1. **Ripple factor.** For 1 dB at the edge,
   $$\varepsilon^2 = 0.259$$
2. **Chebyshev polynomial at x = 2.**
   $$\begin{aligned} T_3(2) &= 4 \times 8 - 6 \\ &= 26 \end{aligned}$$
3. **Chebyshev attenuation.**
   $$\begin{aligned} A &= 10\log_{10}(1 + 0.259 \times 676) \\ &= 22.5\ \text{dB} \end{aligned}$$
4. **Butterworth attenuation.**
   $$\begin{aligned} A &= 10\log_{10}(1 + 0.259 \times 2^6) \\ &= 12.4\ \text{dB} \end{aligned}$$

**Answer:** at twice the edge frequency the Chebyshev is 22.5 dB down and the Butterworth 12.4 dB.
:::
:::

::: example
## A fourth-order Chebyshev has 0.5 dB of ripple. What is its gain at DC?

::: solution
1. **Chebyshev polynomial at DC.** For an even order,
   $$T_4(0) = 1$$
2. **Gain at DC.**
   $$|H(0)|^2 = \frac{1}{1 + \varepsilon^2}$$
   which is −0.5 dB.
3. **Getting 0 dB.** Designs that need exactly 0 dB at DC either use an odd order or add 0.5 dB of gain.

**Answer:** its gain at DC is −0.5 dB.
:::
:::

::: example
## A third-order Chebyshev with 1 dB of ripple has its passband edge (where the ripple ends) at $f_p$. Where is it 3 dB down?

::: solution
1. **Ripple factor.** For 1 dB,
   $$\begin{aligned} \varepsilon &= \sqrt{10^{0.1} - 1} \\ &= 0.509 \end{aligned}$$
2. **The 3 dB condition.** The response is 3 dB down where
   $$\varepsilon T_n(x) = 1$$
3. **Solve for x.**
   $$\begin{aligned} x &= \cosh\left(\frac1n\text{arccosh}\frac1\varepsilon\right) \\ &= \cosh\frac{1.297}{3} \\ &= 1.095 \end{aligned}$$
   The −3 dB point is 9.5% above the ripple edge.
4. **Why it matters.** Chebyshev tables are given for the ripple edge, Butterworth ones for the −3 dB point, so comparing the two takes this conversion.

**Answer:** it's 3 dB down at $1.095f_p$, 9.5% above the ripple edge.
:::
:::

::: check
given: n = 2 | 3 | 5; r = 1.5 | 2 | 4
answer: cosh(n*ln(r + sqrt(r^2 - 1)))
tolerance: 0.5%

## What is the Chebyshev polynomial $T_n(x)$ for n = {n} at x = {r}?

::: right
Right. $\cosh(n\cosh^{-1}x)$ = {answer}.
:::

::: misses
- [r^n] Chebyshev polynomials grow faster than $x^n$: $T_n(x) \approx 2^{n-1}x^n$ for large x.
- [any] Not yet. For $x > 1$, $T_n(x) = \cosh(n\cosh^{-1}x)$.
:::
:::

::: check
given: n = 3 | 4 | 5; Ap = 0.5 | 1; r = 1.5 | 3
answer: 10*log(1 + (10^(Ap/10) - 1)*cosh(n*ln(r + sqrt(r^2 - 1)))^2)
unit: dB
tolerance: 0.5%

## An order-{n} Chebyshev with {Ap} dB of ripple runs at {r} times its passband edge. How far down is it?

::: right
Right. $10\log_{10}(1 + \varepsilon^2T_n^2)$ = {answer}.
:::

::: misses
- [10*log(1 + (10^(Ap/10) - 1)*r^(2*n))] That's a Butterworth with the same edge loss.
- [any] Not yet. Find ε and $T_n(r)$.
:::
:::

::: check
given: n = 3 | 5; Ap = 0.5 | 1; r = 1.5 | 3
answer: 10*log(1 + (10^(Ap/10) - 1)*cosh(n*ln(r + sqrt(r^2 - 1)))^2) - 10*log(1 + (10^(Ap/10) - 1)*r^(2*n))
unit: dB
tolerance: 1%

## At {r} times the passband edge, how many dB more does an order-{n} Chebyshev ({Ap} dB ripple) attenuate than a Butterworth with the same edge loss?

::: right
Right. {answer} more.
:::

::: misses
- [any] Not yet. Compute both attenuations and subtract.
:::
:::

::: check
given: n = 2 | 3 | 4 | 5; Ap = 0.5 | 1 | 2
answer: -Ap*(1 + (-1)^n)/2
unit: dB
tolerance: 0.001

## What is the DC gain of an order-{n} Chebyshev low-pass with {Ap} dB of ripple?

::: right
Right. Even orders start at $-A_p$, odd orders at 0 dB: {answer}.
:::

::: misses
- [any] Not yet. Evaluate $T_n(0)$.
:::
:::

::: check
kind: choice

## A filter must pass short data pulses with as little overshoot and ringing as possible. Which response suits it best?

- [x] Bessel
- [ ] Butterworth
- [ ] Chebyshev
- [ ] Elliptic

::: right
Right. A Bessel filter keeps the group delay flattest, so a pulse's frequencies arrive together.
:::

::: misses
- [2] Butterworth is a good compromise, but it overshoots by about 10% at fourth order.
- [3] Chebyshev's sharp edge comes with more ringing.
- [4] Elliptic filters ring the most.
:::
:::

::: check
kind: choice

## Which response gives the sharpest transition from passband to stopband for a given order?

- [ ] Bessel
- [ ] Butterworth
- [ ] Chebyshev I
- [x] Elliptic

::: right
Right. Allowing ripple in both bands, and placing zeros in the stopband, gives the steepest edge.
:::

::: misses
- [1] Bessel is the gentlest.
- [2] Butterworth is smooth but moderate.
- [3] Chebyshev is sharp, but an elliptic of the same order is sharper.
:::
:::

::: check
kind: parts
given: r = 0.5 | 1 | 2; n = 2 | 3 | 5

## A Chebyshev filter of order {n} has {r} dB of ripple.

::: part
answer: sqrt(10^(r/10) - 1)
tolerance: 0.5%

### What's its ε?

::: misses
- [any] $\sqrt{10^{r/10} - 1}$.
:::
:::

::: part
answer: cosh(1/n*ln(1/sqrt(10^(r/10) - 1) + sqrt(1/(10^(r/10) - 1) - 1)))
tolerance: 0.5%

### Where is it 3 dB down, as a multiple of the ripple edge?

::: misses
- [any] $\cosh\left(\frac1n\text{arccosh}\frac1\varepsilon\right)$.
:::
:::
:::

::: check
kind: derivation
vars: e = 0.05..0.99, n = 1..10

## A Chebyshev filter with ripple factor e and order n.

::: step
answer: ln(1/e + sqrt(1/e^2 - 1))

### What's arccosh(1/e)?
:::

::: step
answer: cosh(ln(1/e + sqrt(1/e^2 - 1))/n)

### Where is it 3 dB down, as a multiple of the ripple edge?
:::

::: right
Right. Higher order brings the 3 dB point closer to the ripple edge.
:::
:::

::: explain
## Why does allowing ripple in the passband let a Chebyshev filter cut off more sharply than a Butterworth of the same order?

::: model
A Butterworth filter puts all its flexibility into staying as flat as possible near DC, which forces it to start bending down gradually long before the edge. A Chebyshev filter instead spreads its deviation evenly across the whole passband, wobbling up and down within the allowed ripple. Since it's allowed to sit lower in parts of the passband, it doesn't have to start falling early, and the same number of poles can be placed to produce a much steeper drop just after the edge. The poles move closer to the frequency axis to do this, which is also why the Chebyshev's step response rings more.
:::
:::

::: practice

::: check
given: x = 0.2 | 0.5 | 0.8
answer: 4*x^3 - 3*x
tolerance: 0.5%

## What is $T_3(x)$ for x = {x}?

::: misses
- [any] $4x^3 - 3x$.
:::
:::

::: check
given: Ap = 0.5 | 1 | 3
answer: 10^(Ap/10) - 1
tolerance: 0.5%

## What is ε² for {Ap} dB of passband ripple?

::: misses
- [any] $10^{A_p/10} - 1$.
:::
:::

::: check
given: n = 2..9 int
answer: 20*n
unit: dB
tolerance: 0.5%

## Far above its edge, how many dB per decade does an order-{n} Chebyshev roll off?

::: misses
- [any] $20n$, like any all-pole filter.
:::
:::
:::
