Math toolkit
Complex numbers
Magnitude, phase, and why a phase factor has size 1
In the app every question checks your answer and explains a wrong one.
A number with a size and a direction
A complex number has a real part , an imaginary part , and . Draw it as the point in the plane. Its magnitude (or modulus) is the distance from the origin, . Its phase (or argument) is the angle from the positive real axis, measured counter-clockwise. This page covers what the lessons need.
In quantum mechanics we almost always need , which you can compute without square roots: , where is the complex conjugate (the reflection across the real axis).
Check yourself
What is for ?
Hints
- Which two real numbers are and here?
- Add the squares of the real and imaginary parts: .
Show the answer
Answer:
.
Common slips
- : That squares the sum, . Square each part first, then add: .
Check yourself
Compute for .
Hints
- What is ? Flip the sign of the imaginary part.
- Multiply out : the two cross terms cancel.
- Use on the last term.
Show the answer
Answer:
, which is .
Common slips
- : That treats as . With , the last term is .
- : That is . The conjugate flips the sign of the imaginary part: .
Polar form:
Euler’s formula puts a point on the unit circle at angle . So any complex number can be written with . Two facts carry most of the weight in these lessons:
- for every real : multiplying by a pure phase never changes a magnitude.
- Multiplying complex numbers multiplies magnitudes and adds phases: .
Check yourself
What is ?
- A
- B
- C
- D
Hints
- What is the magnitude of ?
- Magnitudes multiply, so . Square that.
Show the answer
Answer: D.
, so . A phase factor never changes a probability on its own.
Why not the others
- A. That squares the number itself, , which still carries a phase. Probabilities use , which is always real and non-negative.
- B. That keeps only the real part of the phase factor. The whole factor has magnitude exactly 1.
- C. That shrinks the number by the phase factor, as if counted as its real part . But , so only is left.
Check yourself
Write as a single complex number (e.g. i, -1, 1/sqrt(2)).
Hints
- Multiplying adds phases. What is ?
- Which point on the unit circle sits at angle ?
Show the answer
Answer:
.
Common slips
- : That adds the two numbers’ sizes. Multiplying multiplies magnitudes, , and adds the phases: .
Practice
Check yourself
What is when ?
Hints
- What is for any real ?
- So is just the positive number in front of the phase factor. Square it.
Show the answer
Answer:
The phase has magnitude 1; .
Check yourself
Compute .
Hints
- Expand term by term.
- Use on the last term.
Show the answer
Answer:
.
Common slips
- : That is , which drops the cross terms. .
- : That is , which uses the conjugate. Here multiplies itself: .
Check yourself
Which number has the same magnitude as but a phase of ?
- A
- B
- C
Show the answer
Answer: B.
, so a phase of just flips the sign.
Why not the others
- A. That phase is 1 radian, not radians.
- C. : that is a phase of , a quarter turn.
Go further
Free resources for when you want more than this refresher covers.
- Imaginary numbers are realWelch Labs · Video series
A video series on why mathematicians needed i, from Cardano’s cubic equations to the complex plane and Riemann surfaces.
- Precalculus 2e: Polar form of complex numbersOpenStax · Free book
Worked examples and exercises on polar form, multiplying and dividing in it, and taking powers with De Moivre’s theorem.
- Intuitive understanding of Euler’s formulaKalid Azad, BetterExplained · Article
Reads e^(iφ) as a rotation rather than a formula to memorize, with many pictures and analogies.
Lessons that use it
- Lesson 0: Orientation and diagnosticHow the lessons work, five key words, how states are written, and a quick check of the math the lessons assume
- Lesson 1: Qubits and measurementKets, amplitudes, the Born rule, and what a measurement leaves behind
- Lesson 2: Phase and the ± basisA global phase changes nothing; a relative phase shows up in another basis