---
title: Bilinear transformations
heading: Fractions of linear functions, which send circles to circles
eyebrow: A12 · Lesson 8 · Bilinear transformations
xp: 40
---

::: hook
The Smith chart is a picture of one function, $\Gamma = \frac{z - 1}{z + 1}$, which turns a normalized impedance into a reflection coefficient. It belongs to a family called **bilinear** (or Möbius) transformations, $w = \frac{az + b}{cz + d}$. These maps have a remarkable property: they send every circle and every straight line to a circle or a straight line. That's why the chart's curves of constant resistance and constant reactance are all circles, and why switching from impedance to admittance is a half-turn of the chart. This lesson works out what these maps do and how to build one to order.
:::

::: play
- The dashed circle is $\lvert\Gamma\rvert = 1$. Every impedance with positive resistance lands inside it.
- The first solid curve is the image of all impedances with resistance r: a circle touching the right edge at Γ = 1. Raise r and the circle shrinks toward that point.
- The second curve is the image of all impedances with reactance x (and positive resistance): an arc of a circle centered at $1 + j/x$.
- The dot is the load $z = r + jx$, where the two curves cross. The readouts give its reflection coefficient and VSWR.
:::

```sim plot
view: complex
range: 1.6
slider: r = 0.1..4 step 0.05 = 0.5
slider: x = -3..3 step 0.05 = 1
curve: exp(j*u) | over: u = 0..2*pi | dashed
curve: (r + j*tan(u) - 1)/(r + j*tan(u) + 1) | over: u = -1.565..1.565 | color: ch2
curve: (tan(u) + j*x - 1)/(tan(u) + j*x + 1) | over: u = 0..1.565 | color: ch3
dot: (r + j*x - 1)/(r + j*x + 1) | label: Γ
readout: size of Γ = abs((r + j*x - 1)/(r + j*x + 1)) | digits: 4
readout: VSWR = (1 + abs((r + j*x - 1)/(r + j*x + 1)))/(1 - abs((r + j*x - 1)/(r + j*x + 1))) | digits: 3
```

::: predict
## Where does $\Gamma = \frac{z - 1}{z + 1}$ send the right half-plane, every impedance with positive resistance?

- [ ] The upper half-plane
- [x] The inside of the unit circle
- [ ] The outside of the unit circle
- [ ] The right half-plane again

::: reveal
The inside of the unit circle. $\lvert\Gamma\rvert < 1$ exactly when z is closer to 1 than to −1, which is when its real part is positive. The boundary, the imaginary axis of pure reactances, goes to the unit circle itself: a lossless load reflects everything. That's why a passive load always plots inside the Smith chart.
:::
:::

::: nameit
## The maps

A **bilinear transformation** is $w = \frac{az + b}{cz + d}$ with $ad - bc \ne 0$ (otherwise the fraction is a constant). Its derivative, $\frac{ad - bc}{(cz + d)^2}$, is never zero, so the map is conformal everywhere except at $z = -d/c$, which goes to infinity. Its inverse is bilinear too: $z = \frac{dw - b}{-cw + a}$.

## Circles go to circles

Every bilinear map is a chain of simple steps: shift by $d/c$, invert ($1/z$), scale and rotate, and shift again, since $w = \frac ac + \frac{bc - ad}{c}\cdot\frac{1}{cz + d}$. Shifts, scalings and rotations obviously keep circles as circles. Inversion does too, if a straight line counts as a circle through infinity: a circle through the origin inverts to a line, and a line not through the origin inverts to a circle through it.

## Three points fix the map

A bilinear map has three free numbers (a, b, c, d up to a common factor), so you can send any three distinct points anywhere you like, and the map is then unique. The **cross ratio** $\frac{(z - z_1)(z_2 - z_3)}{(z - z_3)(z_2 - z_1)}$ is unchanged by every bilinear map, which gives a recipe: set the cross ratio of $(w, w_1, w_2, w_3)$ equal to that of $(z, z_1, z_2, z_3)$ and solve for w.

## The Smith chart

With $z = Z/Z_0$, $\Gamma = \frac{z - 1}{z + 1}$ sends $z = 0, 1, \infty$ to $\Gamma = -1, 0, 1$. For $z = r + jx$:

- the line of constant r becomes the circle with center $\frac{r}{r + 1}$ and radius $\frac{1}{r + 1}$;
- the line of constant x becomes the circle with center $1 + \frac jx$ and radius $\frac{1}{\lvert x\rvert}$;
- the admittance $y = 1/z$ has reflection coefficient $\frac{y - 1}{y + 1} = -\Gamma$, so reading admittances means turning the chart by 180°.
:::

::: example
## Find the image of the constant-resistance line r = 1 under $\Gamma = \frac{z - 1}{z + 1}$.

::: solution
1. **Use the rule.** By the rule above, the image is the circle with center $\frac12$ and radius $\frac12$, running from Γ = 0 to Γ = 1.
2. **Spot check with z = 1 + j.**
   $$\begin{aligned} \Gamma &= \frac{j}{2 + j} \\ &= \frac{j(2 - j)}{5} \\ &= 0.2 + 0.4j \end{aligned}$$
   and its distance from the center is
   $$\begin{aligned} d &= \lvert 0.2 + 0.4j - 0.5\rvert \\ &= \lvert -0.3 + 0.4j\rvert \\ &= 0.5 \end{aligned}$$
3. **Why it matters.** This circle matters in matching: a load on it already has the right resistance, so one series reactance moves it along the circle to the center, a perfect match.

**Answer:** the line r = 1 maps to the circle with center $\frac12$ and radius $\frac12$, running from Γ = 0 to Γ = 1.
:::
:::

::: example
## Find the bilinear map that sends 0, 1 and ∞ to −1, 0 and 1.

::: solution
1. **Send 1 to 0.** That puts a factor $z - 1$ on top.
2. **Send ∞ to 1.** The top and bottom must grow alike, so the bottom is $z + d$ with the same leading coefficient.
3. **Send 0 to −1.**
   $$\frac{-1}{d} = -1$$
   so d = 1.
4. **The map.**
   $$w = \frac{z - 1}{z + 1}$$
   the Smith chart's own. Seen this way, the chart is the unique bilinear map that puts a short at the left edge, a matched load at the center and an open at the right edge.

**Answer:** $w = \frac{z - 1}{z + 1}$, the Smith chart's map.
:::
:::

::: example
## A 50 Ω line feeds a load of $25 + 50j$ Ω. Find Γ, the VSWR and the return loss.

::: solution
1. **Normalize.**
   $$z = 0.5 + j$$
2. **Reflection coefficient.**
   $$\Gamma = \frac{-0.5 + j}{1.5 + j}$$
3. **Multiply top and bottom by $1.5 - j$.** The bottom is 3.25 and the top is
   $$\begin{aligned} \text{top} &= -0.75 + 0.5j + 1.5j + 1 \\ &= 0.25 + 2j \end{aligned}$$
   so
   $$\begin{aligned} \Gamma &= \frac{0.25 + 2j}{3.25} \\ &= 0.077 + 0.615j \end{aligned}$$
4. **Size and angle.** Its size is $\lvert\Gamma\rvert = 0.620$, at an angle of 82.9°.
5. **VSWR and return loss.**
   $$\begin{aligned} \text{VSWR} &= \frac{1 + 0.620}{1 - 0.620} \\ &= 4.27 \end{aligned}$$
   $$\begin{aligned} \text{RL} &= -20\log_{10}0.620 \\ &= 4.15\ \text{dB} \end{aligned}$$
6. **As an admittance.** The same load plots at $-\Gamma$, on the opposite side of the center.

**Answer:** $\Gamma = 0.077 + 0.615j$ (size 0.620 at 82.9°), the VSWR is 4.27, and the return loss is 4.15 dB.
:::
:::

::: check
kind: parts
given: r = 0.5 | 2; x = 0.5 | 1 | -1

## A normalized load $z = \given{r} + \given{x}j$.

::: part
answer: (r^2 + x^2 - 1)/((r + 1)^2 + x^2)
tolerance: 0.5%

### What is the real part of $\Gamma = \frac{z - 1}{z + 1}$?

::: misses
- [(r - 1)/(r + 1)] That ignores the reactance.
- [any] Multiply top and bottom by the conjugate of $z + 1$.
:::
:::

::: part
answer: 2*x/((r + 1)^2 + x^2)
tolerance: 0.5%

### What is its imaginary part?

::: misses
- [any] The cross terms give $2x$ over $(r + 1)^2 + x^2$.
:::
:::
:::

::: check
given: r = 0.25 | 0.5 | 2 | 3
answer: 1/(r + 1)
tolerance: 0.5%

## On the Smith chart, what is the radius of the circle of constant resistance r = {r}?

::: right
Right. $\frac{1}{r + 1}$, centered at $\frac{r}{r + 1}$, so every such circle touches Γ = 1.
:::

::: misses
- [r/(r + 1)] That's where its center is.
- [any] The line Re z = r maps to the circle from $\frac{r - 1}{r + 1}$ to 1.
:::
:::

::: check
given: x = 0.5 | 2 | 4
answer: 1/x
tolerance: 0.5%

## What is the radius of the circle of constant reactance x = {x}?

::: right
Right. $\frac1x$, centered at $1 + \frac jx$. Large reactances give small circles crowded near the open-circuit point.
:::

::: misses
- [x] It shrinks as x grows.
- [any] The center is $1 + j/x$ and the circle passes through Γ = 1.
:::
:::

::: check
given: g = 0.2 | 0.5 | 0.8
answer: (1 + g)/(1 - g)
tolerance: 0.5%

## A load has $\lvert\Gamma\rvert$ = {g}. What is the VSWR?

::: right
Right. $\frac{1 + \lvert\Gamma\rvert}{1 - \lvert\Gamma\rvert}$.
:::

::: misses
- [(1 - g)/(1 + g)] Upside down: the VSWR is at least 1.
- [any] The standing wave's maximum is $1 + \lvert\Gamma\rvert$ and its minimum $1 - \lvert\Gamma\rvert$.
:::
:::

::: check
given: g = 0.2 | 0.5 | -0.6
answer: (1 + g)/(1 - g)
tolerance: 0.5%

## The Smith chart's map has inverse $z = \frac{1 + \Gamma}{1 - \Gamma}$. What normalized impedance has the real reflection coefficient Γ = {g}?

::: right
Right. Positive Γ means more resistance than $Z_0$, and negative Γ means less.
:::

::: misses
- [(1 - g)/(1 + g)] That's the admittance.
- [any] Solve $\Gamma = \frac{z - 1}{z + 1}$ for z.
:::
:::

::: check
given: a = 2 | 3; b = 4 | 9
answer: sqrt(b)
tolerance: 0.5%

## The map $w = \frac{\given{a}z + \given{b}}{z + \given{a}}$ has two fixed points, where w = z. What is the positive one?

::: right
Right. $z^2 + az = az + b$ gives $z = \pm\sqrt b$: the a terms cancel.
:::

::: misses
- [b] Set $w = z$ and solve the quadratic.
- [any] $z(z + a) = az + b$.
:::
:::

::: check
kind: choice

## What does $w = 1/z$ do to a circle that passes through the origin?

- [ ] It sends it to another circle through the origin
- [x] It sends it to a straight line
- [ ] It sends it to a point
- [ ] It sends it to the unit circle

::: right
Right. The origin goes to infinity, so the image is a circle through infinity: a straight line.
:::

::: misses
- [1] The origin can't stay on the image: it goes to infinity.
- [3] A bilinear map is one-to-one, so a circle can't collapse to a point.
- [4] Only circles centered at the origin with radius 1 go to the unit circle.
:::
:::

::: check
kind: derivation
vars: a = 1..3, b = -2..2, c = 0.5..2, d = 1..3, w = -2..2

## Invert $w = \frac{az + b}{cz + d}$.

::: step
answer: (d*w - b)/(a - c*w)

### Solve for z in terms of w.
:::

::: step
answer: (a*d - b*c)/(c*w - a)^2

### What is $dz/dw$?
:::

::: right
Right. The inverse is bilinear with the matrix $\begin{pmatrix}d & -b\\ -c & a\end{pmatrix}$, and its derivative never vanishes while $ad - bc \ne 0$.
:::
:::

::: explain
## Why does every bilinear map send circles and lines to circles and lines?

::: model
A bilinear map is a chain of shifts, scalings, rotations and one inversion $1/z$. The first three move a circle without changing its shape. For the inversion, every circle or line has an equation $A\lvert z\rvert^2 + Bx + Cy + D = 0$ (with A = 0 for a line). Put $z = 1/w$: then $\lvert z\rvert^2 = 1/\lvert w\rvert^2$, $x = u/\lvert w\rvert^2$ and $y = -v/\lvert w\rvert^2$, and multiplying through by $\lvert w\rvert^2$ gives $A + Bu - Cv + D\lvert w\rvert^2 = 0$, an equation of the same form. So circles and lines map to circles and lines, and the image is a line exactly when D = 0, when the original passed through the origin.
:::
:::

::: practice

::: check
given: r = 0.5 | 3; x = 1 | -2
answer: sqrt(((r - 1)^2 + x^2)/((r + 1)^2 + x^2))
tolerance: 0.5%

## $\lvert\Gamma\rvert$ for $z = \given{r} + \given{x}j$?

::: misses
- [any] $\frac{\lvert z - 1\rvert}{\lvert z + 1\rvert}$.
:::
:::

::: check
given: r = 0.2 | 0.5 | 1 | 2 | 3 | 4
answer: r/(r + 1)
tolerance: 0.5%

## Center of the r = {r} circle?

::: misses
- [any] $\frac{r}{r + 1}$.
:::
:::

::: check
given: g = 0.05 | 0.1 | 0.2 | 0.3 | 0.5 | 0.7 | 0.9
answer: -20*log(g)
unit: dB
tolerance: 0.5%

## Return loss for $\lvert\Gamma\rvert$ = {g}?

::: misses
- [any] $-20\log_{10}\lvert\Gamma\rvert$.
:::
:::
:::
