Category: Complex Numbers Level: 201
|wv| = |w||v|, arg(wv) = arg w + arg v
Multiplying by a complex number turns and stretches. Multiplying by i is a quarter turn. In general the angles add and the lengths multiply.
Take z = 2 + i. Then i·z = 2i + i² = −1 + 2i. The arrow keeps its length and turns 90° counterclockwise.
i(2 + i) = 2i + i2 = -1 + 2i
Two quarter turns make a half turn, which points the arrow the other way. That is why i² = −1: multiplying by −1 is a 180° turn.
i2 z = i(-1 + 2i) = -2 - i = -z
Now multiply w = 1 + i by v = 1 + 2i. Measure each one: w has length √2 and angle 45°, v has length √5 and angle 63.43°.
|w| = √2, arg w = 45°; |v| = √5, arg v ≈ 63.43°
The product points at 45° + 63.43° = 108.43°. Lay the angle of v on top of the angle of w and you land on the angle of wv.
arg(wv) = 45° + 63.43° = 108.43°
The product has length √2 · √5 = √10 ≈ 3.162. Multiplying it out the long way agrees: (1 + i)(1 + 2i) = −1 + 3i.
(1 + i)(1 + 2i) = 1 + 2i + i + 2i2 = -1 + 3i
cd svg-generator python3 -m svgmath render complex-multiplication --out /tmp/complex-multiplication
Source: svgmath/diagrams/complex_numbers.py