Lecture 2: Roots of Unity #
This file formalizes results from Lecture 2, including the exponential addition law, the real power formula, and Theorem 2 which characterizes the n-th roots of unity as powers of the primitive root ω = exp(2πi/n) = cos(2π/n) + i·sin(2π/n).
Main declarations #
Complex.exp_add_prop1: Proposition 1 — exp(z+w) = exp(z) * exp(w), a thin wrapper around Mathlib'sComplex.exp_addfor pedagogical cross-referencing with the book.Complex.exp_mul_exp_neg_eq_one: Corollary — exp(z) * exp(-z) = 1.Complex.exp_add_two_pi_mul_I: Corollary — exp(z + 2πi) = exp(z) (periodicity).rpow_eq_exp_mul_log: Theorem 1 — b^x = exp(x * log b).rpow_add_mul: Corollary 1 — b^(x+y) = b^x * b^y.primitiveUnitRoot: The primitive n-th root of unity ω = exp(2πi/n).primitiveUnitRoot_eq: ω = cos(2π/n) + i·sin(2π/n), by Euler's formula.primitiveUnitRoot_isPrimitiveRoot: ω is a primitive n-th root of unity.roots_of_unity_eq_powers_of_primitiveUnitRoot: The roots of z^n = 1 are exactly {1, ω, ω², …, ω^(n-1)}.Complex.log_mul_eq_add_log_add_int: Theorem 3 — Log(z₁z₂) = Log(z₁) + Log(z₂) + n·2πi.Complex.log_mul_of_arg_sum: Theorem 3 (special case) — n = 0 when args sum is in (-π, π).
Proposition 1 (Exponential Addition Law): The complex exponential satisfies
exp(z + w) = exp(z) · exp(w) for all z, w ∈ ℂ.
This fundamental property means exp is a homomorphism from (ℂ, +) to (ℂ, ·).
The textbook proves this via ODE uniqueness: the functions t ↦ exp((t·z) + w) and
t ↦ exp(t·z) · exp(w) both satisfy f'(t) = z · f(t) with f(0) = exp(w).
This is a thin wrapper around Mathlib's Complex.exp_add, included for pedagogical
cross-referencing with the book's Proposition 1.
Periodicity of the complex exponential (Corollary of Proposition 1):
exp(z + 2πi) = exp(z) for all z ∈ ℂ.
The textbook derives this from Proposition 1 and the fact that exp(2πi) = 1
(Euler's formula). We prove it the same way.
The primitive n-th root of unity ω = exp(2πi/n), as in Theorem 2, Lecture 2.
Instances For
The primitive root of unity equals cos(2π/n) + i·sin(2π/n), by Euler's formula.
ω is a primitive n-th root of unity.
Theorem 2, Lecture 2. The roots of $z^n = 1$ are $1, \omega, \omega^2, \ldots, \omega^{n-1}$, where $\omega = \cos(2\pi/n) + i\sin(2\pi/n) = \exp(2\pi i/n)$.
More precisely, for $n > 0$, a complex number $z$ satisfies $z^n = 1$ if and only if $z = \omega^k$ for some $0 \le k < n$, where $\omega$ is the primitive $n$-th root of unity.
Theorem 3, Lecture 2 (general form): For nonzero complex numbers z₁ and z₂,
Log(z₁ z₂) = Log(z₁) + Log(z₂) + n · 2πi where n ∈ {-1, 0, 1}.
The correction term arises because Arg takes values in (-π, π], so the sum
Arg(z₁) + Arg(z₂) may fall outside this range, requiring a correction by ±2π.