Complex Numbers
☰ Contents
A complex number has a real part and an imaginary part, and is written a + bi. The imaginary unit i is defined by . Such a number does not fit on a line, so complex numbers live on a plane, where adding is a shift and multiplying is a turn.
What is the square root of a negative number?
A negative number has no real square root, because every real number squared is zero or positive, so has no solution on the number line. Mathematics answers this by defining a new number, i, whose square is −1. Every negative number then has two square roots: those of −16 are 4i and −4i, because squaring 4i gives , and 16 × (−1) = −16. In general for any positive a, so . The definition works because i obeys all the ordinary rules of algebra, with one extra fact: wherever it appears. One rule does change. The law holds only when a and b are not negative, so is i × i = −1, not . Check a square root by squaring it: squaring 5i gives , and 25 × (−1) = −25, the number you started from.
i^5 = i^(4 × 1 + 1) = i^1 = i: each factor of i is a quarter turn, four of them are a full turn, so only the remainder on dividing 5 by 4 matters
Find where i¹⁴ lands
With i defined by , every other square root of a negative follows: . Algebra still works with i in an expression: expand brackets as before, and replace with −1 wherever it appears. See The Imaginary Unit.
The powers of i repeat in a cycle of four: i, −1, −i, 1. To find i2027, divide the exponent by 4 and keep the remainder. Since 2027 = 4 × 506 + 3, i2027 . See Powers of i.
Now you
What is ?
What is ?
How do you add and multiply complex numbers?
To add complex numbers, add the real parts and the imaginary parts separately: (3 + 2i) + (1 − 5i) = 4 − 3i, since 3 + 1 = 4 and 2 − 5 = −3. See Adding Complex Numbers. For multiplication, expand the brackets as if i were a letter, then replace with −1: (2 + i)(3 + 4i) gives , which is 2 + 11i. Adding never mixes the parts, because a real number and a multiple of i are unlike terms, as 3 and 2x are. Multiplying does mix them, because i × i is real. Division needs one more step: multiply the top and bottom by the conjugate of the denominator, which makes the denominator real. Moduli multiply, which checks the product: is 5, is 25, and is 4 + 121 = 125 = 5 × 25.
moduli multiply and arguments add: |z₁z₂| = |z₁||z₂| and arg(z₁z₂) = arg z₁ + arg z₂
Set z₂ = i and watch z₁z₂
b = (−1, 2)
Make the resultant lie along the y-axis
Written out in full, with replaced by −1:
.
The last step is where mistakes happen: is −10 × (−1) = +10, not −10. See Multiplying Complex Numbers.
Dividing with the conjugate
The conjugate of a + bi is a − bi. A number times its conjugate is always real, because the middle terms cancel and becomes : . See Complex Conjugates.
It is the same move as rationalizing a denominator with a surd in it. See Dividing Complex Numbers.
(4 + i) / (2 − 3i) = (4 + i)(2 + 3i) / ((2 − 3i)(2 + 3i)) = (5 + 14i) / 13.
Now you
To divide by 1 + 2i, multiply by which conjugate?
To divide by 4 + 3i, multiply by which conjugate?
Where do complex numbers come from in an equation?
Complex numbers appear when a quadratic has a negative discriminant. Its graph then misses the x-axis, so there are no real roots, yet the quadratic formula still works once is written as i. For , the discriminant is 16 − 52 = −36, and , so / . See Complex Roots of a Quadratic. The formula survives because completing the square, which produces it, never needs the square root to be real. The sign of the discriminant sorts the cases: a positive value gives two real roots, zero gives one repeated root, and only a negative value brings in i. Test the pair against the coefficients. The roots add to 2 + 2 = 4, the sum of their real parts, and multiply to , which match and for this equation.
the roots have left the real line: x = ±i√2
Drag the vertex until the discriminant is zero
The two roots are conjugates of each other. When the coefficients are real, non-real roots always come in conjugate pairs.
So a cubic with real coefficients has either three real roots or one real root and a conjugate pair, and its graph always crosses the x-axis. Given one non-real root, its conjugate is a second root. Multiply the two matching factors to get a real quadratic, then divide the cubic by it to find the real root. See Complex Roots of a Cubic and the quadratics and polynomials guide.
Now you
Solve
Solve
What does a complex number look like?
A complex number looks like a point on a plane. Plot a + bi at (a, b), with the real part along the horizontal axis and the imaginary part up the vertical axis; this plane is called the Argand diagram. See The Argand Diagram. The point for −2 + 3i sits 2 to the left of the origin and 3 up. A point can also be given by its distance from the origin, the modulus, and its angle from the positive real axis, the argument. A plane is needed because a complex number has two independent parts, and a line has room for only one. Multiplying by i turns every point a quarter turn counterclockwise: , so (2, 1) moves to (−1, 2). Lengths confirm the turn. Both points are from the origin, since and .
the point at angle θ on the unit circle has coordinates (cos θ, sin θ)
Turn until the sine is 1
The modulus |z| is its distance from the origin. The arrow to a + bi is the hypotenuse of a right-angled triangle with legs a and b, so . For 3 + 4i the modulus is . See The Modulus of a Complex Number.
The argument is the angle the arrow makes with the positive real axis, measured counterclockwise, and in the same triangle . A calculator's inverse tangent only returns angles between −90° and 90°, so for a point in the second or third quadrant, sketch it and adjust by 180°. See The Argument of a Complex Number.
Writing a number by its modulus r and argument is polar form: , because the real part is and the imaginary part is . See Polar Form and The Form .
Division reverses both steps: divide the moduli and subtract the arguments. See Dividing in Polar Form.
Now you
What is the argument of 3?
What is the argument of 2 + 2i?
What is De Moivre's theorem?
De Moivre's theorem is the rule for whole-number powers in polar form: n = rn. Raising z to the power n raises the modulus to the power n and multiplies the argument by n. For z = 2(cos 30° + i sin 30°), the cube has modulus 2 × 2 × 2 = 8 and argument 90°, three times 30°, so . See De Moivre's Theorem. The theorem holds because multiplying complex numbers multiplies their moduli and adds their arguments, and a power is repeated multiplication; induction on n makes this a proof. Large powers need one extra step: an argument past 180° is brought back into the range −180° to 180° by subtracting 360°, so 300° becomes −60°. Confirm the example in Cartesian form: , its square is , and multiplying that by gives 8i.
z^5 = w with arg w = 0°: the 5 roots sit 72° apart starting at 0°/5 = 0°, a regular polygon because De Moivre divides the argument by n and full turns divide into equal slices
Set n = 3 and turn w to i
One use is to derive trigonometric identities. Expand with the binomial theorem and match the real part against . Replace with to get . See Multiple Angles by De Moivre.
The reverse direction turns a power of into cosines of multiple angles, the form needed before integrating. If |z| = 1, then is the conjugate of z, so and zn n . See The Identity .
De Moivre also sums series of cosines: the sum of is the real part of the sum of zk, which is a geometric series with ratio z. See Summing a Series with De Moivre and the sequences and series guide.
Now you
Raise r=2 at 30° to the power 3.
Raise r=2 at 40° to the power 3.
The roots of unity
The equation zn = 1 has n solutions, each of modulus 1, with arguments 0°, , and so on, because each of those angles times n is a whole number of turns. See The Roots of Unity.
Joined in order, they are the vertices of a regular polygon: the fifth roots of 1 form a regular pentagon. See Regular Polygons from the Roots of Unity.
The same method finds the nth roots of any complex number. Take the real nth root of the modulus, divide the argument by n, then step around by to collect the rest. The cube roots of 8i all have modulus 2, at 30°, 150° and 270°. See The nth Roots of a Complex Number.
Behind all of this is the exponential form. Substitute into the series for ex and the terms sort into the series for cosine and sine, so e and every complex number is re. De Moivre is then the index law (e)n = ein. See The Exponential Form of a Complex Number.
How do you read a complex equation as a picture?
Read every modulus as a distance and every argument as a direction: |z − a| is the distance from z to the point a, so |z − a| = r is the circle with center a and radius r. For example, |z − 3 + 2i| = 4 is the circle of radius 4 centered at 3 − 2i, because z − 3 + 2i is z − (3 − 2i). Always rewrite the expression as z minus one number before reading off the center. The picture works because z − a is the arrow from a to z, and a modulus is a length. With two moduli, |z − 1| = |z − 5| says z is as far from 1 as from 5, so it is the perpendicular bisector: the vertical line through (1 + 5) ÷ 2 = 3. Test a point: z = 7 − 2i makes z − 3 + 2i equal to 4, whose modulus is 4.
|z − z₁| = 2.55 and |z − z₂| = 2.06: not equal, so z is off the locus, on the side of the nearer point
Drag z until the two bands are the same length
|z − a| = |z − b| says z is the same distance from a as from b, so z lies on the perpendicular bisector of the segment from a to b. See Circles and Bisectors on the Argand Diagram.
Fixing an argument gives a half-line: arg(z − a) = 45° is the ray from a pointing at 45°. Changing an equals sign to an inequality shades a region: is the whole disc of radius 3, and a strict inequality leaves out the boundary. See Rays and Regions on the Argand Diagram.
The mistakes worth naming
- Losing the sign on . is +10, because .
- Trusting the calculator's inverse tangent for the argument. It returns an angle between −90° and 90°. Sketch the point, and add or subtract 180° in the second or third quadrant.
- Writing . The rule holds only for non-negative a and b. Convert first: .
- Forgetting that non-real roots come in pairs. If 2 + 3i is a root and the coefficients are real, then 2 − 3i is also a root.
- Giving only one nth root. A complex number has three cube roots, evenly spaced around a circle.
Where this leads next
Rotation is multiplication by a complex number here and a 2 × 2 matrix in the matrices guide. The identity e comes from the Maclaurin series in the sequences and series guide, and every polynomial in the quadratics and polynomials guide has its full set of roots once complex numbers are allowed.
Your turn
Three to try — tap what you get.
i²
(2 + 3i) + (1 − i)
|3 + 4i|
Questions and answers
- Are imaginary numbers real, or are they made up?
- They are as real as negative numbers, and they were doubted for the same reason: nothing you can count looks like one. A complex number is a point on a plane, written a + bi, and the rules for adding and multiplying those points are forced by ordinary algebra rather than invented. The name imaginary is a seventeenth-century insult that stuck. Nothing about the arithmetic is provisional, and engineering uses it daily to describe alternating current and oscillation.
- Why does multiplying by i rotate a number by 90 degrees?
- Because multiplying by i twice gives minus one, and minus one is a half turn. If one multiplication by i is a fixed rotation and doing it twice turns you through 180 degrees, then one multiplication must turn you through 90. You can check it directly: 1 times i is i, which sits one unit up the vertical axis, a quarter turn from where 1 sits on the horizontal axis.
- How do you divide two complex numbers?
- Multiply the top and bottom by the conjugate of the denominator. The conjugate of c + di is c minus di, and multiplying a complex number by its own conjugate always gives a real number, c squared plus d squared. That clears the i out of the denominator, leaving something you can split into a real part and an imaginary part. It is the same maneuver as rationalising a surd denominator.
- What is De Moivre's theorem used for?
- It raises a complex number to a power by multiplying its angle instead of expanding a bracket. Written in polar form, the nth power of r(cos t + i sin t) is r to the n, at angle nt. That makes an expansion that would take a page of algebra into one line, and it also runs backwards to find the n distinct nth roots of any complex number, which is where the roots of unity come from.
- Why does every polynomial have a complex root?
- This is the fundamental theorem of algebra, and it is the payoff for extending the number system. Once i exists, a polynomial of degree n has exactly n roots counted with multiplicity. Real coefficients force a further pattern: complex roots come in conjugate pairs, so a cubic with real coefficients either has three real roots or one real root and a conjugate pair. That is why a cubic always crosses the axis at least once.
- What does the equation |z - 3| = 2 mean on an Argand diagram?
- It is a circle of radius 2 centered at the point 3. The modulus of a difference is the distance between two points, so the equation says the distance from z to 3 is always 2, which is the definition of a circle. Reading modulus as distance turns a page of complex equations into geometry: an equation with two moduli set equal is a perpendicular bisector, and an argument fixed to a constant is a ray.