TL;DR
A complex number has two parts: a real part and an imaginary part, written . The letter is a new number defined by one rule, . With that rule you can add, subtract and multiply these pairs like ordinary algebra, and multiplying by a complex number of size 1 turns a point around the origin.
Complex numbers are not a mystical extra. They are a compact way to store a point on a flat plane, and the multiplication rule does the geometry for you.
Where you'll see it: in the signal processing behind the Fourier transform, in the phasor analysis of alternating-current circuits, and in the wave functions of quantum mechanics.
Intuition
The square root that did not fit
Ask for a number whose square is 2 and you get , which sits on the number line. Ask for a number whose square is and nothing on the number line works. A positive number squared is positive, and a negative number squared is also positive.
For centuries mathematicians treated as a useful trick that cancelled out at the end. Solving some cubic equations forced the issue: intermediate steps needed square roots of negative numbers, even when the final answers were ordinary real numbers. So the trick was kept, and it turned out to be a real tool. The name "imaginary" stuck, and it is a poor name, because these numbers are as concrete as any other.
A point on a plane
A real number is a point on a line. A complex number needs two coordinates, so it is a point on a plane. Write and read it as: go 3 units along the horizontal axis (the real axis), then 4 units up the vertical axis (the imaginary axis). This plane is called the Argand diagram, or the complex plane.
This is exactly how a Vector looks. The difference is the multiplication rule. Two vectors have no natural product that gives another vector in the same plane. Two complex numbers do, and the product has a clean geometric meaning: it rotates and scales.
flowchart LR N[Natural numbers] --> Z[Integers] Z --> Q[Rational numbers] Q --> R[Real numbers] R --> C[Complex numbers]
Each set in that chain is a larger world that contains the last one. The complex numbers are the last stop: every polynomial equation with complex coefficients has a complex solution, so you never need a bigger set for solving equations.
The math
Definition
A complex number is an expression where and are real numbers and is a symbol with . The number is the real part, written , and is the imaginary part, written . The set of all such numbers is written .
Two complex numbers are equal exactly when their real parts are equal and their imaginary parts are equal. This is why a pair is a good description: is the pair , and nothing more.
Arithmetic
Treat like a variable and collect terms, then replace with :
The second line comes from expanding the product term by term: , and then using on the last term.
Modulus and conjugate
The modulus of is its distance from the origin, the length of the arrow:
The conjugate flips the sign of the imaginary part: . Multiplying a number by its conjugate always gives a real number:
This is how you divide complex numbers. Multiply the top and bottom by the conjugate of the bottom, and the bottom becomes real.
Multiplication rotates
Let be a complex number with . Multiplying by leaves the length of unchanged and rotates it by the angle of . The simplest case is . Then is turned a quarter turn counter-clockwise, because multiplying by twice gives , which is a half turn. Each factor of is one quarter turn.
- Re(e^{ix}) = cos x
- Im(e^{ix}) = sin x
The plot shows the real and imaginary parts of the number for each angle , which is the unit-length rotation. You will meet that exponential in Euler's formula. For now the picture is enough: a unit complex number is a direction.
Worked examples
Let and .
- Sum: .
- Product, expanding: .
- Simplify each term: .
- Replace with : .
Interpretation: the real and imaginary parts of the product are not the products of the parts. You have to expand the way you would for two binomials, and the term is what flips a sign and moves a term into the real part.
Let .
- Modulus: .
- Conjugate: , and , as expected.
- Divide by : multiply top and bottom by , so .
- Check: .
Interpretation: is 5 units from the origin, so its reciprocal is as far from the origin. The angle flips sign, which is why points along the conjugate direction.
Take the point , which is the point on the plane. Multiply by :
- .
- Replace with : .
- Read the new point: .
Check the picture. The original point is up and to the right. A quarter turn counter-clockwise moves the point to up and to the left, and it keeps the same distance from the origin: and agree.
Tradeoffs and failure modes
Complex numbers are the right tool when a problem has two coupled quantities that rotate or oscillate together. They are the wrong tool when the two quantities really are independent. Some common traps:
| Situation | What goes wrong | Better choice |
|---|---|---|
| Storing two independent measurements | Multiplying them as if they were rotations gives nonsense | Use a plain two-element Vector |
| Taking with negative , | The rule fails for negative inputs; but | Work with directly |
| Comparing sizes, as in " is bigger than " | Complex numbers have no ordering that respects the arithmetic | Compare moduli instead |
| Ignoring the conjugate in a formula for a real quantity | You get a complex answer where a real one is expected | Take the real part, or multiply by the conjugate |
A practical rule: if a formula is supposed to give a real answer and you get an imaginary part, the imaginary part is usually a sign error or a missing conjugate, and the bug is worth hunting down before you use the result.
History
Gerolamo Cardano's 1545 book Ars Magna solved cubic equations and had to handle square roots of negative numbers along the way. Cardano himself found these numbers troubling. Rafael Bombelli, in the 1570s, gave explicit rules for adding and multiplying them and showed that they produced correct real answers. That was the first real working system.
René Descartes called them "imaginary" in 1637, and the name was meant as a criticism. The geometric picture came later. Caspar Wessel, Jean-Robert Argand and Carl Friedrich Gauss each described the plane representation around 1797 to 1831, and Gauss popularised the term "complex number". Leonhard Euler used the letter for in the 18th century, and that notation is the one we still use.
The picture caught on because it made the numbers useful for physics. Once a rotation or an oscillation could be written as multiplication by a complex number, whole fields of engineering and physics could use one rule for two quantities at once.
Check yourself
QuestionWhat is ?Show answer
. Each power of cycles through , , , , so and the pattern repeats every four powers.
QuestionCompute .Show answer
Expand: . The answer is real because and are conjugates, and the product of a number and its conjugate is always , which here is .
QuestionWhat is the modulus of ?Show answer
. The sign of the imaginary part does not change the length, which is why the modulus uses .
QuestionWhy does multiplying by twice give a half turn, and what does that tell you about the rule ?Show answer
Multiplying by once rotates a point by a quarter turn. Doing it twice is two quarter turns, which is a half turn, and a half turn takes a point to its opposite, . So is not an arbitrary definition: it is the statement that two quarter turns equal one half turn. The rule is the geometry written as algebra.
QuestionA circuit has impedance ohms. A student says the magnitude of the impedance is ohms. Is that right?Show answer
No. The magnitude is ohms. Adding the parts, , is not the same as taking the length of the vector , which is the Pythagorean distance. The student mixed up the sum of the parts with the length of the arrow.