Complex Numbers

See a complex number as a point in the plane. The real part runs sideways, the imaginary part runs up. The modulus is the distance from the origin to that point. Adding two complex numbers draws the diagonal of a parallelogram. That diagonal is never longer than the two sides added together. This is the triangle inequality. For example, walk 3 steps east with a 🧭 compass, then turn and walk 4 more. The straight-line distance back is shorter than the bent path. The modulus measures exactly that straight line.

∣z∣=a2+b2(z=a+bi)|z| = \sqrt{a^2 + b^2} \quad (z = a + bi)
∣z+wβˆ£β‰€βˆ£z∣+∣w∣|z + w| \le |z| + |w|

Examples & Exercises

Prove completely that for all complex numbers z,w∈Cz, w \in \mathbb{C}, the triangle inequality ∣z+wβˆ£β‰€βˆ£z∣+∣w∣|z + w| \le |z| + |w| holds. Start, without hints, by expanding ∣z+w∣2|z + w|^2 through the conjugate.

∣z+wβˆ£β‰€βˆ£z∣+∣w∣(z,w∈C)|z + w| \le |z| + |w| \qquad (z, w \in \mathbb{C})
z=1.2+0.8iz = 1.2 + 0.8i, w=βˆ’0.6+1.1iw = -0.6 + 1.1i: ∣z+w∣=3.97β‰ˆ1.992|z + w| = \sqrt{3.97} \approx 1.992 while ∣z∣+∣wβˆ£β‰ˆ2.695|z| + |w| \approx 2.695, a slack of about 0.7030.703.
Show proof
  1. First expand ∣z+w∣2|z + w|^2 using ∣΢∣2=ΞΆΞΆΛ‰|\zeta|^2 = \zeta \bar{\zeta} for ΢∈C\zeta \in \mathbb{C}. Since z+wβ€Ύ=zΛ‰+wΛ‰\overline{z + w} = \bar{z} + \bar{w}, ∣z+w∣2=(z+w)(zΛ‰+wΛ‰)=zzΛ‰+zwΛ‰+wzΛ‰+wwΛ‰=∣z∣2+zwΛ‰+zΛ‰w+∣w∣2|z + w|^2 = (z + w)(\bar{z} + \bar{w}) = z\bar{z} + z\bar{w} + w\bar{z} + w\bar{w} = |z|^2 + z\bar{w} + \bar{z}w + |w|^2. Here zΛ‰w=zwΛ‰β€Ύ\bar{z}w = \overline{z\bar{w}}, because zwΛ‰β€Ύ=zˉ wΛ‰β€Ύ=zΛ‰w\overline{z\bar{w}} = \bar{z}\,\overline{\bar{w}} = \bar{z}w. For any complex number ΞΆ\zeta, ΞΆ+ΞΆΛ‰=2 Re ΢\zeta + \bar{\zeta} = 2\,\mathrm{Re}\,\zeta; taking ΞΆ=zwΛ‰\zeta = z\bar{w} gives ∣z+w∣2=∣z∣2+2 Re(zwΛ‰)+∣w∣2|z + w|^2 = |z|^2 + 2\,\mathrm{Re}(z\bar{w}) + |w|^2.
  2. Next, a lemma: Reβ€‰ΞΆβ‰€βˆ£ΞΆβˆ£\mathrm{Re}\,\zeta \le |\zeta| for every ΢∈C\zeta \in \mathbb{C}. Proof: write ΞΆ=u+vi\zeta = u + vi with u,v∈Ru, v \in \mathbb{R}. Then Re ΢=uβ‰€βˆ£u∣=u2≀u2+v2=∣΢∣\mathrm{Re}\,\zeta = u \le |u| = \sqrt{u^2} \le \sqrt{u^2 + v^2} = |\zeta|, where the middle step uses u2≀u2+v2u^2 \le u^2 + v^2 (as v2β‰₯0v^2 \ge 0) and the monotonicity of the square root. Hence Re(zwΛ‰)β‰€βˆ£zwΛ‰βˆ£\mathrm{Re}(z\bar{w}) \le |z\bar{w}|.
  3. Now compute ∣zwΛ‰βˆ£=∣zβˆ£β€‰βˆ£w∣|z\bar{w}| = |z|\,|w| directly. Both sides are β‰₯0\ge 0, so it suffices to compare squares: ∣zwΛ‰βˆ£2=(zwΛ‰) (zwΛ‰)β€Ύ=(zwΛ‰)(zΛ‰w)=(zzΛ‰)(wwΛ‰)=∣z∣2∣w∣2=(∣zβˆ£β€‰βˆ£w∣)2|z\bar{w}|^2 = (z\bar{w})\,\overline{(z\bar{w})} = (z\bar{w})(\bar{z}w) = (z\bar{z})(w\bar{w}) = |z|^2 |w|^2 = (|z|\,|w|)^2. The square root is monotone on [0,∞)[0, \infty) (equivalently, nonnegative numbers with equal squares are equal), so ∣zwΛ‰βˆ£=∣zβˆ£β€‰βˆ£w∣|z\bar{w}| = |z|\,|w|.
  4. Combine everything: ∣z+w∣2=∣z∣2+2 Re(zwΛ‰)+∣w∣2β‰€βˆ£z∣2+2∣zwΛ‰βˆ£+∣w∣2=∣z∣2+2∣zβˆ£β€‰βˆ£w∣+∣w∣2=(∣z∣+∣w∣)2|z + w|^2 = |z|^2 + 2\,\mathrm{Re}(z\bar{w}) + |w|^2 \le |z|^2 + 2|z\bar{w}| + |w|^2 = |z|^2 + 2|z|\,|w| + |w|^2 = (|z| + |w|)^2. Both sides are β‰₯0\ge 0 and the square root is monotone on [0,∞)[0, \infty), so taking square roots gives ∣z+wβˆ£β‰€βˆ£z∣+∣w∣|z + w| \le |z| + |w|. ∎

Prove completely that for all z,w∈Cz, w \in \mathbb{C}, the parallelogram identity ∣z+w∣2+∣zβˆ’w∣2=2∣z∣2+2∣w∣2|z + w|^2 + |z - w|^2 = 2|z|^2 + 2|w|^2 holds. Expand all four terms in the form ΞΆΞΆΛ‰\zeta \bar{\zeta} and show explicitly how the cross terms cancel.

∣z+w∣2+∣zβˆ’w∣2=2∣z∣2+2∣w∣2(z,w∈C)|z + w|^2 + |z - w|^2 = 2|z|^2 + 2|w|^2 \qquad (z, w \in \mathbb{C})
z=1.2+0.8iz = 1.2 + 0.8i, w=βˆ’0.6+1.1iw = -0.6 + 1.1i: ∣z+w∣2+∣zβˆ’w∣2=3.97+3.33=7.30|z + w|^2 + |z - w|^2 = 3.97 + 3.33 = 7.30 and 2∣z∣2+2∣w∣2=2(2.08+1.57)=7.302|z|^2 + 2|w|^2 = 2(2.08 + 1.57) = 7.30.
Show proof
  1. Expand the sum term. Since z+wβ€Ύ=zΛ‰+wΛ‰\overline{z + w} = \bar{z} + \bar{w}, ∣z+w∣2=(z+w)(zΛ‰+wΛ‰)=zzΛ‰+zwΛ‰+wzΛ‰+wwΛ‰=∣z∣2+zwΛ‰+zΛ‰w+∣w∣2|z + w|^2 = (z + w)(\bar{z} + \bar{w}) = z\bar{z} + z\bar{w} + w\bar{z} + w\bar{w} = |z|^2 + z\bar{w} + \bar{z}w + |w|^2.
  2. Expand the difference term. Since zβˆ’wβ€Ύ=zΛ‰βˆ’wΛ‰\overline{z - w} = \bar{z} - \bar{w}, ∣zβˆ’w∣2=(zβˆ’w)(zΛ‰βˆ’wΛ‰)=zzΛ‰βˆ’zwΛ‰βˆ’wzΛ‰+wwΛ‰=∣z∣2βˆ’zwΛ‰βˆ’zΛ‰w+∣w∣2|z - w|^2 = (z - w)(\bar{z} - \bar{w}) = z\bar{z} - z\bar{w} - w\bar{z} + w\bar{w} = |z|^2 - z\bar{w} - \bar{z}w + |w|^2. Only the cross terms zwΛ‰z\bar{w} and zΛ‰w\bar{z}w have changed sign.
  3. Add the two expansions. The cross terms cancel, +zwΛ‰βˆ’zwΛ‰=0+z\bar{w} - z\bar{w} = 0 and +zΛ‰wβˆ’zΛ‰w=0+\bar{z}w - \bar{z}w = 0, while the diagonal terms double: ∣z+w∣2+∣zβˆ’w∣2=(∣z∣2+∣w∣2)+(∣z∣2+∣w∣2)=2∣z∣2+2∣w∣2|z + w|^2 + |z - w|^2 = (|z|^2 + |w|^2) + (|z|^2 + |w|^2) = 2|z|^2 + 2|w|^2. ∎
  4. Why this identity is a bridge: by the Jordan-von Neumann theorem, a norm satisfying the parallelogram law for all vectors is exactly a norm coming from an inner product β€” this computation in C\mathbb{C} is the seed of that direction, and it returns in the parallelogram-law scene of the sequences chapter.

Prove completely that for all z,w∈Cz, w \in \mathbb{C}: (i) ∣zw∣=∣zβˆ£β€‰βˆ£w∣|zw| = |z|\,|w|, (ii) z+wβ€Ύ=zΛ‰+wΛ‰\overline{z + w} = \bar{z} + \bar{w}, (iii) zwβ€Ύ=zˉ wΛ‰\overline{zw} = \bar{z}\,\bar{w}, and (iv) zzΛ‰=∣z∣2z\bar{z} = |z|^2. Write z=a+biz = a + bi and w=c+diw = c + di with a,b,c,d∈Ra, b, c, d \in \mathbb{R} and carry out the component computations explicitly.

∣zw∣=∣zβˆ£β€‰βˆ£w∣,z+wβ€Ύ=zΛ‰+wΛ‰,zwβ€Ύ=zˉ wΛ‰,zzΛ‰=∣z∣2|zw| = |z|\,|w|, \qquad \overline{z + w} = \bar{z} + \bar{w}, \qquad \overline{zw} = \bar{z}\,\bar{w}, \qquad z\bar{z} = |z|^2
z=1+iz = 1 + i, w=1βˆ’0.5iw = 1 - 0.5i: zw=1.5+0.5izw = 1.5 + 0.5i, so ∣zw∣=2.5β‰ˆ1.581|zw| = \sqrt{2.5} \approx 1.581, matching ∣zβˆ£β€‰βˆ£w∣=2β‹…1.25=2.5|z|\,|w| = \sqrt{2} \cdot \sqrt{1.25} = \sqrt{2.5}.
Show proof
  1. Start with (iv). Since zΛ‰=aβˆ’bi\bar{z} = a - bi, zzΛ‰=(a+bi)(aβˆ’bi)=a2βˆ’abi+abiβˆ’b2i2=a2+b2=∣z∣2z\bar{z} = (a + bi)(a - bi) = a^2 - abi + abi - b^2 i^2 = a^2 + b^2 = |z|^2. The cross terms βˆ’abi+abi-abi + abi cancel, and i2=βˆ’1i^2 = -1 turns βˆ’b2i2-b^2 i^2 into +b2+b^2.
  2. (ii) Conjugate of a sum: z+w=(a+c)+(b+d)iz + w = (a + c) + (b + d)i, so z+wβ€Ύ=(a+c)βˆ’(b+d)i=(aβˆ’bi)+(cβˆ’di)=zΛ‰+wΛ‰\overline{z + w} = (a + c) - (b + d)i = (a - bi) + (c - di) = \bar{z} + \bar{w}.
  3. (iii) Conjugate of a product: first zw=(a+bi)(c+di)=ac+adi+bci+bdi2=(acβˆ’bd)+(ad+bc)izw = (a + bi)(c + di) = ac + adi + bci + bdi^2 = (ac - bd) + (ad + bc)i, so zwβ€Ύ=(acβˆ’bd)βˆ’(ad+bc)i\overline{zw} = (ac - bd) - (ad + bc)i. Meanwhile zˉ wΛ‰=(aβˆ’bi)(cβˆ’di)=acβˆ’adiβˆ’bci+bdi2=(acβˆ’bd)βˆ’(ad+bc)i\bar{z}\,\bar{w} = (a - bi)(c - di) = ac - adi - bci + bdi^2 = (ac - bd) - (ad + bc)i. The two computations agree, so zwβ€Ύ=zˉ wΛ‰\overline{zw} = \bar{z}\,\bar{w}.
  4. (i) Modulus of a product: using (iii) and (iv), ∣zw∣2=(zw) (zw)β€Ύ=(zw)(zΛ‰wΛ‰)=(zzΛ‰)(wwΛ‰)=∣z∣2∣w∣2=(∣zβˆ£β€‰βˆ£w∣)2|zw|^2 = (zw)\,\overline{(zw)} = (zw)(\bar{z}\bar{w}) = (z\bar{z})(w\bar{w}) = |z|^2 |w|^2 = (|z|\,|w|)^2. Both sides are β‰₯0\ge 0, so taking square roots gives ∣zw∣=∣zβˆ£β€‰βˆ£w∣|zw| = |z|\,|w|. ∎

2. Number Systems