---
title: Dividing complex numbers
heading: Dividing un-rotates and shrinks
eyebrow: A3 · Lesson 5 · Dividing complex numbers
xp: 40
---

::: hook
A voltage divider made of a resistor and a capacitor gives an output that's a fraction of the input, but a complex fraction: $\frac{Z_2}{Z_1 + Z_2}$, where the $Z$s are complex numbers. Its size says how much signal gets through and its angle says how much the output is delayed. Every filter, every amplifier's gain and every impedance ratio is a complex division, so it pays to be able to do one quickly, in either form.

::: play
- The arrows are $z_1$ and $z_2$, and the third is $z_1 / z_2$.
- Turn $z_2$ by changing $\theta_2$. Which way does the quotient turn?
- Make $z_2$ longer. What happens to the quotient's length?
:::
:::

```sim plot
view: complex
range: 6
slider: r1 = 0.5..5 step 0.5 = 4
slider: t1 = -180..180 step 5 = 60 °
slider: r2 = 0.5..4 step 0.5 = 2
slider: t2 = -180..180 step 5 = 20 °
arrow: r1∠t1 | label: z₁
arrow: r2∠t2 | color: ch2 | label: z₂
arrow: r1∠t1/(r2∠t2) | color: ch3 | label: z₁/z₂
readout: |z₁/z₂| = r1/r2 | digits: 3
readout: angle of z₁/z₂ = t1 - t2 ° | digits: 3
```

::: predict
## $z_1$ is at 60° and $z_2$ is at 20°. At what angle is $z_1 / z_2$?

- [ ] 80°
- [x] 40°
- [ ] 3°
- [ ] −40°

::: reveal
40°. Multiplying adds angles, so dividing, which undoes a multiplication, subtracts them: $60° - 20° = 40°$. The lengths divide, $4/2 = 2$. In polar form, division is as easy as multiplication.
:::
:::

::: nameit
## Division in polar form

Since multiplying multiplies lengths and adds angles, dividing does the reverse:

$$\frac{r_1\angle\theta_1}{r_2\angle\theta_2} = \frac{r_1}{r_2}\angle(\theta_1 - \theta_2)$$

The **reciprocal** of $r\angle\theta$ is $\frac{1}{r}\angle(-\theta)$: shorter (if $r > 1$) and turned the other way. Dividing by $j = 1\angle 90°$ turns an arrow back 90°, so $\frac{1}{j} = -j$.

## Division in rectangular form

To divide $\frac{a + jb}{c + jd}$, multiply top and bottom by the **conjugate** of the bottom, $c - jd$. The bottom becomes real:

$$(c + jd)(c - jd) = c^2 + d^2$$

so

$$\frac{a + jb}{c + jd} = \frac{(a + jb)(c - jd)}{c^2 + d^2} = \frac{(ac + bd) + j(bc - ad)}{c^2 + d^2}$$

In particular, the reciprocal is $\dfrac{1}{c + jd} = \dfrac{c - jd}{c^2 + d^2}$.

**Which form to use.** If the numbers are already in polar form, divide there. If they're sums (like $R + jX$), either convert to polar first or use the conjugate trick. For a magnitude alone, you never need to divide in rectangular form:

$$\left|\frac{z_1}{z_2}\right| = \frac{|z_1|}{|z_2|}$$

## A complex divider

A divider with $Z_1 = R$ on top and $Z_2 = jX$ below has the ratio

$$\frac{jX}{R + jX} \qquad \text{with magnitude } \frac{X}{\sqrt{R^2 + X^2}} \text{ and angle } 90° - \tan^{-1}\frac{X}{R}$$

The magnitude is always less than 1, and the angle says the output leads or lags the input. C3 and C4 are built on ratios like this one.
:::

::: example
## Divide $\dfrac{3 + 4j}{1 - 2j}$.

::: solution
1. **Multiply top and bottom by $1 + 2j$.**
   $$\begin{aligned} \frac{3 + 4j}{1 - 2j} &= \frac{(3 + 4j)(1 + 2j)}{(1 - 2j)(1 + 2j)} \\ &= \frac{3 + 6j + 4j + 8j^2}{1 + 4} \\ &= \frac{-5 + 10j}{5} \\ &= -1 + 2j \end{aligned}$$
2. **Check in polar form.** $|3 + 4j| = 5$ and $|1 - 2j| = \sqrt5$, so the quotient should have length
   $$\frac{5}{\sqrt5} = \sqrt5$$
   And $|-1 + 2j| = \sqrt5$.

**Answer:** $-1 + 2j$.
:::
:::

::: example
## A divider has a 1 kΩ resistor on top and a reactance of $-j\,1$ kΩ below (a capacitor at its corner frequency). What is its ratio?

::: solution
1. **Write the ratio.**
   $$\frac{-j1000}{1000 - j1000} = \frac{-j}{1 - j}$$
2. **Divide in polar form.**
   $$\frac{1\angle{-90°}}{\sqrt2\angle{-45°}} = 0.707\angle{-45°}$$
3. **Interpret it.** The output is 0.707 of the input (3 dB down) and lags it by 45°. That's what "corner frequency" means for an RC low-pass filter.

**Answer:** the ratio is $0.707\angle{-45°}$: the output is 3 dB down and lags the input by 45°.
:::
:::

::: example
## A load has impedance $Z = 100 + j50$ Ω. Find its admittance $Y = 1/Z$.

::: solution
1. **Multiply by the conjugate.** Multiply the top and bottom by $100 - j50$:
   $$\begin{aligned} Y &= \frac{100 - j50}{100^2 + 50^2} \\ &= \frac{100 - j50}{12\,500} \\ &= 0.008 - j0.004\ \text{S} \end{aligned}$$
2. **Name the parts.** The real part, 8 mS, is the conductance and the imaginary part, $-4$ mS, the susceptance.
3. **Compare with the parts of $Z$.** They are not simply 1/100 and 1/50: each part of $Y$ depends on both parts of $Z$.

**Answer:** $Y = 0.008 - j0.004$ S, a conductance of 8 mS and a susceptance of $-4$ mS.
:::
:::

::: check
given: r1 = 4 | 6 | 10; t1 = 30 | 75 | 120; r2 = 3 | 5; t2 = 15 | 50
answer: r1/r2
tolerance: 0.5%

## What is the magnitude of $\dfrac{\given{r1}\angle\given{t1}°}{\given{r2}\angle\given{t2}°}$?

::: right
Right. Lengths divide: {answer}.
:::

::: misses
- [r1*r2] That's the product. Divide the lengths.
- [r1 - r2] Lengths divide; angles subtract.
- [any] Not yet. Divide the magnitudes.
:::
:::

::: check
given: r1 = 4 | 6 | 10; t1 = 30 | 75 | 120; r2 = 2 | 5; t2 = 15 | 50
answer: t1 - t2
unit: °
tolerance: 0.2%

## What is the angle of $\dfrac{\given{r1}\angle\given{t1}°}{\given{r2}\angle\given{t2}°}$?

::: right
Right. Angles subtract: $\given{t1}° - \given{t2}°$ = {answer}.
:::

::: misses
- [t1 + t2] That's for multiplying. Division subtracts the angles.
- [t2 - t1] Top minus bottom.
- [t1/t2] Angles subtract; it's the lengths that divide.
- [any] Not yet. Subtract the bottom's angle from the top's.
:::
:::

::: check
given: c = 1 | 2 | 3; d = 4 | 5 | -6
answer: c/(c^2 + d^2)
tolerance: 0.5%

## What is the real part of $\dfrac{1}{\given{c} + j(\given{d})}$?

::: right
Right. $\frac{1}{c + jd} = \frac{c - jd}{c^2 + d^2}$, with real part {answer}.
:::

::: misses
- [1/c] You can't take the reciprocal of each part. Multiply by the conjugate.
- [c/(c^2 - d^2)] $(c + jd)(c - jd) = c^2 + d^2$: plus, because $j^2 = -1$.
- [any] Not yet. Multiply top and bottom by $c - jd$.
:::
:::

::: check
given: a = 2 | 5; b = 1 | 3; c = 1 | 2; d = 2 | 3
answer: (b*c - a*d)/(c^2 + d^2)
tolerance: 0.5%

## What is the imaginary part of $\dfrac{\given{a} + \given{b}j}{\given{c} + \given{d}j}$?

::: right
Right. $\frac{(a + jb)(c - jd)}{c^2 + d^2}$ has imaginary part $(bc - ad)/(c^2 + d^2)$ = {answer}.
:::

::: misses
- [b/d] Parts don't divide separately. Multiply by the conjugate of the bottom.
- [(b*c + a*d)/(c^2 + d^2)] Multiplying by $c - jd$ gives $-ad$, not $+ad$.
- [(a*c + b*d)/(c^2 + d^2)] That's the real part.
- [any] Not yet. Multiply top and bottom by $\given{c} - \given{d}j$.
:::
:::

::: check
given: a = 2 | 3 | 7; b = 4 | 5 | 1
answer: -a
tolerance: 0.01

## What is the imaginary part of $\dfrac{\given{a} + \given{b}j}{j}$?

::: right
Right. Dividing by $j$ multiplies by $-j$: $(\given{a} + \given{b}j)(-j) = \given{b} - \given{a}j$.
:::

::: misses
- [a] Dividing by $j$ turns the arrow back 90°: multiply by $-j$.
- [b] That's the real part.
- [any] Not yet. $1/j = -j$.
:::
:::

::: check
given: R = 1 | 2.2 | 10; X = 2 | 4.7 | 3.3
answer: X/sqrt(R^2 + X^2)
tolerance: 0.5%

## A divider has $R$ = {R} kΩ on top and a reactance $jX$ with $X$ = {X} kΩ below. What is the magnitude of $\dfrac{jX}{R + jX}$?

::: right
Right. $|jX|/|R + jX| = X/\sqrt{R^2 + X^2}$ = {answer}.
:::

::: misses
- [X/(R + X)] That treats them as two resistors. $|R + jX|$ uses Pythagoras.
- [R/sqrt(R^2 + X^2)] That's the ratio across the resistor.
- [any] Not yet. Divide the magnitudes: $|jX|$ is $X$ and $|R + jX|$ is $\sqrt{R^2 + X^2}$.
:::
:::

::: check
kind: parts
given: R = 100 | 220; X = 50 | 150 | -80

## A load has impedance $Z = \given{R} + j(\given{X})$ Ω. Find its admittance $Y = 1/Z$.

::: part
answer: R/(R^2 + X^2)
unit: S
tolerance: 0.5%

### What is the real part of $Y$?

::: misses
- [1/R] Each part of $Y$ depends on both parts of $Z$.
- [any] Multiply the top and bottom by the conjugate.
:::
:::

::: part
answer: -X/(R^2 + X^2)
unit: S
tolerance: 0.5%

### What is its imaginary part?

::: misses
- [X/(R^2 + X^2)] The conjugate flips the sign.
- [-1/X] Each part of $Y$ depends on both parts of $Z$.
- [any] $\frac{R - jX}{R^2 + X^2}$.
:::
:::

::: part
answer: 1/sqrt(R^2 + X^2)
unit: S
tolerance: 0.5%

### What is $|Y|$?

::: misses
- [any] One over $|Z|$.
:::
:::
:::

::: check
kind: derivation
vars: c = 0.5..3, d = -3..3

## Derive $1/(c + jd)$ in rectangular form.

::: step
answer: c^2 + d^2

### Multiply the top and bottom by the conjugate $c - jd$. What is the new denominator?
:::

::: step
answer: c/(c^2 + d^2)

### What is the real part of $1/(c + jd)$?
:::

::: step
answer: -d/(c^2 + d^2)

### What is its imaginary part?

::: misses
- [d/(c^2 + d^2)] The conjugate carries the minus sign.
:::
:::

::: right
Right. $\frac{1}{c + jd} = \frac{c - jd}{c^2 + d^2}$: the reciprocal points the opposite way in angle, with one over the length.
:::
:::

::: explain
## Why does multiplying the top and bottom of $\frac{a + jb}{c + jd}$ by $c - jd$ make the division possible?

::: model
Multiplying the top and bottom by the same number doesn't change the fraction. Choosing the conjugate of the bottom makes the bottom $(c + jd)(c - jd) = c^2 + d^2$, a real number, because the imaginary parts cancel and $j^2 = -1$ turns $-j^2d^2$ into $+d^2$. Dividing a complex number by a real number just divides each part, so the result can be read straight off in the form $x + jy$.
:::
:::

::: practice

::: check
given: r1 = 3 | 8 | 12; t1 = -40 | 10 | 95; r2 = 4 | 6; t2 = 25 | 70
answer: t1 - t2
unit: °
tolerance: 0.2%

## What is the angle of $\given{r1}\angle\given{t1}° \div \given{r2}\angle\given{t2}°$?

::: misses
- [t1 + t2] Division subtracts angles.
- [any] Top's angle minus bottom's.
:::
:::

::: check
given: c = 2 | 4 | 5; d = 1 | -3 | 2
answer: -d/(c^2 + d^2)
tolerance: 0.5%

## What is the imaginary part of $\dfrac{1}{\given{c} + j(\given{d})}$?

::: misses
- [1/d] Multiply by the conjugate.
- [d/(c^2 + d^2)] The conjugate flips the sign of the imaginary part.
- [any] $\frac{c - jd}{c^2 + d^2}$.
:::
:::

::: check
given: a = 1 | 4; b = 2 | 6; c = 3 | 1; d = 1 | 5
answer: (a*c + b*d)/(c^2 + d^2)
tolerance: 0.5%

## What is the real part of $\dfrac{\given{a} + \given{b}j}{\given{c} + \given{d}j}$?

::: misses
- [a/c] Multiply by the conjugate of the bottom.
- [(a*c - b*d)/(c^2 + d^2)] $(jb)(-jd) = +bd$.
- [any] $\frac{(a + jb)(c - jd)}{c^2 + d^2}$.
:::
:::

::: check
given: R = 1 | 3.3 | 4.7; X = 2 | 5.6 | 10
answer: 90 - atan(X/R)*180/pi
unit: °
tolerance: 0.5%

## What is the angle of $\dfrac{jX}{R + jX}$ for $R$ = {R} kΩ and $X$ = {X} kΩ?

::: misses
- [atan(X/R)*180/pi] That's the bottom's angle. The top is at 90°: subtract.
- [-atan(X/R)*180/pi] Include the top's 90°.
- [any] $90° - \tan^{-1}(X/R)$.
:::
:::

::: check
given: r = 0.5 | 2 | 4; t = 30 | -60 | 135
answer: 1/r
tolerance: 0.5%

## What is the magnitude of $1/(\given{r}\angle\given{t}°)$?

::: misses
- [r] The reciprocal's length is $1/r$.
- [any] $\frac{1}{r}\angle(-\theta)$.
:::
:::
:::
