Chapter 8 of this course reuses fourier-analysis's discrete Fourier
transform, or DFT, to describe an image's frequency content. The DFT is
built entirely out of complex exponentials. This section builds the three
complex-number facts that machinery needs: modulus, argument, and Euler's
formula. It builds them in the same polar form Chapter 8 will use, so
they are ready tools by the time that chapter reaches for them.
Quick review
Practice from earlier coursework, pulled in for this topic.
From Fourier Analysis
What algebraic structure does S^1, the unit circle, form under multiplication?
Right on try — credit. Right — the answer had already been shown, so no credit this time. Next try is worth Answer shown after three tries — this one no longer earns credit. You chose to see the answer — this one earns no credit.
S^1 is not closed under addition of complex numbers (1+1=2 is not on the unit circle), so it fails to be a vector space under the usual operations.
A field needs both an addition and a multiplication satisfying several axioms together; S^1 under multiplication alone is a group, not a field.
Multiplication on S^1 is associative, has an identity (1), and every element has an inverse -- exactly the group axioms.
Why
S^1 is a group under multiplication: multiplying two points adds their angles (mod 2\pi), the point 1 is the identity, and every point's complex conjugate is its multiplicative inverse.
Check the group axioms one at a time: closure, identity, inverses, associativity.
From Fourier Analysis
What point on the unit circle does \theta=\pi/2 correspond to?
Right on try — credit. Right — the answer had already been shown, so no credit this time. Next try is worth Answer shown after three tries — this one no longer earns credit. You chose to see the answer — this one earns no credit.
-1 is the point for \theta=\pi, a quarter turn further around than \pi/2.
1 is the point for \theta=0, the starting point before any rotation at all.
-i is the point for \theta=3\pi/2 (or equivalently -\pi/2), a rotation in the opposite direction from \pi/2.
Why
e^{i\pi/2}=\cos(\pi/2)+i\sin(\pi/2)=0+i=i.
Evaluate \cos(\pi/2) and \sin(\pi/2) separately, then combine as \cos\theta+i\sin\theta.
A complex number is really just two ordinary numbers, a and b, packaged together and written a+bi. Picture it as a point's (a, b) spot on a flat plane, the same way (3, 4) locates a point on an ordinary graph. Its modulus, |z|, is nothing but that point's straight-line distance from the origin. It is the same distance rule you would use for any two points on a plane. Its argument is just the angle that line makes with the positive x-axis, the same "angle from the starting direction" idea used everywhere in math.
Euler's formula is the one fact that makes complex numbers pay off for this course. It says a complex number can be described by "how far" (its modulus) and "which way" (its argument) instead of by its raw a and b parts. Once a calculation is described in terms of "how far" and "which way," multiplying two of these numbers gets very simple. Multiply the two "how far" numbers, and just add the two angles.
That one shortcut is why Chapter 8 describes an image's frequency content differently than raw numbers would. It uses a magnitude, how strong one frequency is, and a phase, which way it is shifted. That beats using two raw numbers that do not mean much on their own.
A complex number z = a+bi has a modulus, |z| = \sqrt{a^2+b^2}, its distance from the origin in the complex plane. It also has an argument, \theta = \arctan(b/a), its angle from the positive real axis (with quadrant care). Euler's formula, e^{i\theta} = \cos\theta + i\sin\theta, lets any complex number be written in polar form, z = re^{i\theta} with r = |z|. Multiplying two complex numbers in this form multiplies their two distances and adds their two angles: z_1 z_2 = r_1 r_2 e^{i(\theta_1 + \theta_2)}.
That single fact is the reason the Fourier transform gets described using magnitude and phase. Its output values are complex numbers of exactly this form. Magnitude, |z|, is how much of one frequency is present. Phase, \theta, is how that frequency is shifted. Describing it this way beats using the raw real and imaginary parts directly.
Modulus and argument, read off the plane
Drag either point and watch its modulus (distance from the origin) and argument (angle) update live -- these are exactly the two numbers a magnitude-phase spectrum will report per frequency in Chapter 8.
Loading interactive…
Worked example
Magnitude and phase from a raw complex value
-
1
A single Fourier coefficient comes out as z = -3 + 4i. Report its "how far" number and its "which way" number. The "how far" number is the modulus, the plain distance from the origin: |z| = \sqrt{a^2+b^2} with a=-3, b=4.
-
2|z| = \sqrt{(-3)^2+4^2} = \sqrt{9+16} = \sqrt{25} = 5
That distance comes out to 5.
-
3
The "which way" number is the angle. Since a<0 and b>0, the point sits in the upper-left part of the plane, so \theta = \pi - \arctan\!\left(\frac{4}{3}\right) \approx \pi - 0.927 \approx 2.214 That angle, measured in radians, is about 2.214.
Loading interactive…
Worked example
Multiplying two complex numbers in polar form
-
1
Given z_1 = 2e^{i\pi/2} and z_2 = 3e^{i\pi}, find z_1z_2 in the same "how far, which way" form. Multiply the two "how far" numbers together, then add the two angles.
-
2z_1z_2 = (2\cdot3)e^{i(\pi/2+\pi)} = 6e^{i3\pi/2}
The product's distance from the origin is 6; its angle is 3\pi/2.
Loading interactive…
Where this goes next
Radio and audio engineering
Chapter 8 will report every result as a magnitude/phase pair. For example: "this image has a strong horizontal-stripe frequency, shifted by this much." That is the same kind of object a radio receiver or an audio equalizer reports about a signal over time. It too gives a magnitude, the signal's strength at one frequency, and a phase, its timing offset at that frequency. An engineer tuning a camera's blur filter, or a radio's tuning stage, reads this exact same re^{i\theta} structure. Only the kind of signal changes.
Check your understanding (counts toward your progress)
Compute |z| for z = -3+4i.
Right on try — credit. Right — the answer had already been shown, so no credit this time. Next try is worth Answer shown after three tries — this one no longer earns credit. You chose to see the answer — this one earns no credit.
Why
|z|=\sqrt{(-3)^2+4^2}=\sqrt{9+16}=\sqrt{25}=5.
Correct answer
Also accepted:
Why
In an image's magnitude/phase frequency spectrum, what does the magnitude at a given frequency represent?
Right on try — credit. Right — the answer had already been shown, so no credit this time. Next try is worth Answer shown after three tries — this one no longer earns credit. You chose to see the answer — this one earns no credit.
Location within the image isn't something a single frequency-domain number encodes -- the Fourier transform trades spatial location for frequency content.
Frequency-domain values are about signal structure, not color per se.
One magnitude value describes ONE frequency's strength, not a count of all frequencies present.
Why
Magnitude, |z| for the complex Fourier coefficient at that frequency, reports how strongly that particular frequency contributes to the image.
A complex number has magnitude 10 and lies exactly on the positive imaginary axis. Write its value as a+bi -- what is b?
Right on try — credit. Right — the answer had already been shown, so no credit this time. Next try is worth Answer shown after three tries — this one no longer earns credit. You chose to see the answer — this one earns no credit.
Why
|z|=\sqrt{0^2+7^2}=7.
Correct answer
Also accepted:
Why
Find the magnitude of z = 5 + 0i.
Right on try — credit. Right — the answer had already been shown, so no credit this time. Next try is worth Answer shown after three tries — this one no longer earns credit. You chose to see the answer — this one earns no credit.
Why
|z|=\sqrt{5^2+0^2}=\sqrt{25}=5.
Correct answer
Also accepted:
Why
Practice: Modulus, argument, and multiplication (3 problems · doesn’t affect your progress)
Find the magnitude and phase (in radians) of z = 5+0i. Enter just the magnitude.
Right on try — credit. Right — the answer had already been shown, so no credit this time. Next try is worth Answer shown after three tries — this one no longer earns credit. You chose to see the answer — this one earns no credit.
Why
|z|=\sqrt{5^2+0^2}=5; the phase is 0 since z lies on the positive real axis.
Correct answer
Also accepted:
Why
This complex number lies entirely on the imaginary axis. z = 0+7i. What is |z|?
Right on try — credit. Right — the answer had already been shown, so no credit this time. Next try is worth Answer shown after three tries — this one no longer earns credit. You chose to see the answer — this one earns no credit.
Why
|z|=\sqrt{0^2+7^2}=7.
Correct answer
Also accepted:
Why
Multiply z_1=2e^{i\pi/4} by z_2=3e^{i\pi/2} directly in polar form -- do not convert either factor to a+bi first.
AI grading isn't configured on this deployment.
Right on try — credit. Right — the answer had already been shown, so no credit this time. Next try is worth Answer shown after three tries — this one no longer earns credit. You chose to see the answer — this one earns no credit.
First mistake
Correct answer
Also accepted:
Why
Why
Multiply moduli and add arguments: z_1z_2=(2\cdot3)e^{i(\pi/4+\pi/2)}=6e^{i3\pi/4}.