Part 5. Going deeper: the circle as a Lie group and an algebraic group#
Very advanced material
This part goes beyond the course syllabus. It uses the notions of a manifold, a tangent space and a Lie algebra, and in its second half algebraic groups over an arbitrary ring. Reading it and doing the exercises take extra time. You can skip it without loss for the rest of the chapter, but it is here that you see why all the earlier computations worked.
In parts 1–4 we proved each property of the circle by a separate computation: closure by an identity, the composition of Chebyshev polynomials by induction, the derivative formula by induction with the Leibniz rule, minimal polynomials by factorization. These facts are not independent, however. They all follow from a single structure: the unit circle is a Lie group, that is, a group that is also a smooth manifold, with smooth group operations. Every Lie group has its Lie algebra: the tangent space at the identity element. For the circle this is the line \(\R\), and the exponential map
is a group homomorphism: addition in the Lie algebra turns into multiplication of points. This fact is deep, because all the key properties of the circle become its simple consequences.
The second idea of this part is even more interesting. The circle is defined by polynomials: the equation \(a^2+b^2=1\) and the formula for the operation. So it is an algebraic group, and the analytic notions — the tangent space, a vector field, the derivative — can be replaced by pure algebra. It is enough to compute with dual numbers \(a+\varepsilon a'\), where \(\varepsilon^2=0\). Then all the properties that followed from the circle being a Lie group can be derived in a completely formal way, without limits and without real numbers. The computer checks such a computation exactly as in part 1.
from fractions import Fraction
import mpmath
import sympy as sp
a, b, c, d = sp.symbols("a b c d")
u, v, w, s, t, x = sp.symbols("u v w s t x")
eps = sp.Symbol("epsilon")
def m(P, Q):
"""Prawo grupowe okręgu (część 1)."""
a, b = P
c, d = Q
return (a * c - b * d, a * d + b * c)
def obetnij(w):
"""Rachunek na liczbach dualnych: odrzucamy wyrazy z ε², ε³, …"""
return sp.expand(sp.expand(w).series(eps, 0, 2).removeO())
Dictionary: the Lie group and parts 1–4#
Before we turn to computations, let us collect how the earlier facts look in the language of Lie groups. The point \(P=\exp(\theta)\) is the rotation by the angle \(\theta\), and the power \(P^n\) is \(\exp(n\theta)\): taking powers in the group corresponds to multiplication by \(n\) in the Lie algebra.
Fact from parts 1–4 |
In the language of Lie groups |
|---|---|
\(P^n=(T_n(a),\ bU_{n-1}(a))\), that is, \(T_n(\cos\theta)=\cos n\theta\) |
\(\exp(\theta)^n=\exp(n\theta)\) |
\(T_m\circ T_n=T_{mn}\) |
\(m(n\theta)=(mn)\theta\) |
\(T_n'=nU_{n-1}\) |
the differential of the power map \(P\mapsto P^n\) at \(e\) is multiplication by \(n\) |
Chebyshev’s equation \((1-a^2)T_n''-aT_n'+n^2T_n=0\) |
\(\cos n\theta\) is an eigenfunction of the operator \(\frac{d^2}{d\theta^2}\) |
points of order \(n\): \(\cos\frac{2\pi k}{n}\) |
the kernel of \(\exp\) is \(2\pi\Z\), so the points whose order divides \(n\) are \(\exp\bigl(\frac{2\pi}{n}\Z\bigr)\) |
the parameter \(t\) and the operation \(\frac{s+t}{1-st}\) |
a local coordinate at \(e\); the logarithm is \(\operatorname{arctg}\) |
The strongest theorem behind this table says that a connected commutative Lie group is the quotient of its Lie algebra by a discrete subgroup: \(S^1\cong\R/2\pi\Z\). In this way a group “written crookedly” in the plane becomes ordinary addition of numbers modulo \(2\pi\). Analytic proofs of these facts are given by Stillwell (Naive Lie Theory) and Hall (Lie Groups, Lie Algebras, and Representations); see the literature at the end.
The tangent space without analysis: dual numbers#
Take the ring of dual numbers \(\Q[\varepsilon]/(\varepsilon^2)\) and look for points of the circle “infinitely close” to the identity element, that is, of the form \((1+\varepsilon u,\ \varepsilon v)\). The equation of the circle gives a condition on \(u\) and \(v\):
print("(1 + εu)² + (εv)² - 1 =", obetnij((1 + eps * u)**2 + (eps * v)**2 - 1))
(1 + εu)² + (εv)² - 1 = 2*epsilon*u
Hence \(2u=0\), that is, \(u=0\) (over a field of characteristic different from \(2\)), while \(v\) is arbitrary. The points \((1,\varepsilon v)\) form the tangent space at \(e=(1,0)\): a line parametrized by a single number \(v\). This definition requires neither limits nor real numbers, and it works over every field. Let us check how such points multiply:
iloczyn = m((1, eps * v), (1, eps * w))
print("(1, εv)·(1, εw) =", tuple(obetnij(z) for z in iloczyn))
Q = (sp.Integer(1), sp.Integer(0))
for _ in range(7):
Q = tuple(obetnij(z) for z in m(Q, (1, eps * v)))
print("(1, εv)^7 =", Q)
(1, εv)·(1, εw) = (1, epsilon*v + epsilon*w)
(1, εv)^7 = (1, 7*epsilon*v)
Multiplying tangent points is adding the vectors, \(v+w\), and the \(n\)-th power is multiplication by \(n\). This is the Lie algebra of the circle: the space \(\Q\) (or \(\R\), or \(\F_p\)) with the Lie bracket equal to zero, because the group is commutative.
The invariant field is the field \(D\) from part 2#
Let us move an arbitrary point \(P=(a,b)\) by an infinitesimal rotation \((1,\varepsilon)\):
print("P·(1, ε) =", m((a, b), (1, eps)))
P·(1, ε) = (a - b*epsilon, a*epsilon + b)
We got \((a-\varepsilon b,\ b+\varepsilon a)=P+\varepsilon\,(-b,a)\). For a polynomial \(f(a,b)\) this means
which is exactly the vector field \(D\) that we used for the derivative in part 2. Now we can see where it came from: it is the invariant vector field determined by a tangent vector at \(e\) and carried over the whole group by multiplication. Invariance means that \(D\) commutes with the translations \(L_Q(P)=Q\cdot P\). Let us check this for a few polynomials \(f\):
def D(f):
return -b * sp.diff(f, a) + a * sp.diff(f, b)
LQ = m((c, d), (a, b)) # przesunięcie o punkt Q = (c, d)
def przesun(f):
return f.subs({a: LQ[0], b: LQ[1]}, simultaneous=True)
for f in (a, b, a**3 * b + b**2, a**5 - 7 * a * b**4):
print(f"f = {str(f):20} D(f∘L_Q) - (Df)∘L_Q =",
sp.expand(D(przesun(f)) - przesun(D(f))))
f = a D(f∘L_Q) - (Df)∘L_Q = 0
f = b D(f∘L_Q) - (Df)∘L_Q = 0
f = a**3*b + b**2 D(f∘L_Q) - (Df)∘L_Q = 0
f = a**5 - 7*a*b**4 D(f∘L_Q) - (Df)∘L_Q = 0
The derivative formula without induction#
In part 2 the formula \(T_n'=nU_{n-1}\) required induction with the Leibniz rule. In the language of algebraic groups the proof is shorter and needs no induction. The group is commutative, so
The first coordinate of the left-hand side is \(T_n(a-\varepsilon b)=T_n(a)-\varepsilon\,b\,T_n'(a)\) (Taylor’s formula over the dual numbers is exact, because \(\varepsilon^2=0\)). The first coordinate of the right-hand side is \(T_n(a)-n\varepsilon\,b\,U_{n-1}(a)\). Comparing the coefficients of \(\varepsilon\) gives \(T_n'=nU_{n-1}\). Every step is an equality in a ring, and for specific \(n\) the computer checks it exactly:
zgodne = True
for n in range(1, 16):
Tn, Un = sp.chebyshevt(n, a), sp.chebyshevu(n - 1, a)
lewa = obetnij(Tn.subs(a, a - eps * b))
prawa = obetnij(m((Tn, b * Un), (1, n * eps))[0])
zgodne &= sp.expand(lewa - prawa) == 0
print("T_n(a - εb) = pierwsza współrzędna P^n·(1, nε) dla n ≤ 15:", zgodne)
T_n(a - εb) = pierwsza współrzędna P^n·(1, nε) dla n ≤ 15: True
Abstraction did two things here. It shortened the proof: one line instead of induction. It also explained what really happens: the differential of the power map at \(e\) is multiplication by \(n\) in the Lie algebra, and the rest is carrying this fact over the group.
The formal logarithm and Machin’s formula#
In part 1 we parametrized the circle by the number \(t\) (the slope of a line through \((-1,0)\)), and multiplication of points turned into the operation
Since \(F(s,0)=s\), \(F(s,t)=F(t,s)\) and \(F\) is associative, while its power series at \(0\) has integer coefficients, \(F\) is a formal group law: the circle group viewed in a neighborhood of the identity element. Every one-dimensional formal group law over \(\Q\) has a logarithm: a series \(\log_F\) with \(\log_F(t)=t+\dots\) such that \(\log_F(F(s,t))=\log_F(s)+\log_F(t)\). The logarithm thus carries the group operation over to addition in the Lie algebra. For the circle it is
Let us check this as an equality of formal series up to degree \(15\):
N = 16
log_F = sum((-1)**k * x**(2 * k + 1) / (2 * k + 1) for k in range(N // 2))
F = (s + t) / (1 - s * t)
roznica = log_F.subs(x, F) - log_F.subs(x, s) - log_F.subs(x, t)
szereg = sp.series(sp.series(roznica, s, 0, N).removeO(), t, 0, N).removeO()
reszta = [mon for mon in sp.Poly(sp.expand(szereg), s, t).monoms()
if sum(mon) < N]
print("wyrazy stopnia < 16 w log_F(F(s,t)) - log_F(s) - log_F(t):", reszta)
wyrazy stopnia < 16 w log_F(F(s,t)) - log_F(s) - log_F(t): []
Now comes a new phenomenon that is hard to expect without this abstraction. Let us compute, in the group of rational points of the circle and in the parameter \(t\), the expression \(4\cdot\frac15\ominus\frac1{239}\), that is, “four times the point \(t=\frac15\) and once the inverse of the point \(t=\frac1{239}\)”:
def F_wym(s, t):
return (s + t) / (1 - s * t)
z = Fraction(0)
for _ in range(4):
z = F_wym(z, Fraction(1, 5))
print("4·(1/5) =", z, " 4·(1/5) ⊖ 1/239 =", F_wym(z, Fraction(-1, 239)))
4·(1/5) = 120/119 4·(1/5) ⊖ 1/239 = 1
The result is exactly \(t=1\), the point corresponding to the angle \(\frac{\pi}{2}\) (\(t\) is the tangent of half the angle). The logarithm is a homomorphism, but only up to the kernel of the exponential map; this is why we get
Which value? A rough estimate \(0<\arctan x<x\) for \(x>0\) is enough: the left-hand side lies in the interval \(\bigl(-\frac1{239},\ \frac45\bigr)\), and the only element of \(\frac\pi4+\pi\Z\) in this interval is \(\frac\pi4\). This is how Machin’s formula (1706) arises:
which was used until the mid-20th century to compute record approximations of \(\pi\). Let us compute \(\pi\) exactly with fractions, summing \(40\) terms of each of the two series:
def arctg_ulamek(q, wyrazy):
return sum(Fraction((-1)**k, 2 * k + 1) * q**(2 * k + 1)
for k in range(wyrazy))
pi_machin = 4 * (4 * arctg_ulamek(Fraction(1, 5), 40)
- arctg_ulamek(Fraction(1, 239), 40))
mpmath.mp.dps = 70
pi_przybl = mpmath.mpf(pi_machin.numerator) / pi_machin.denominator
blad = abs(pi_przybl - mpmath.pi)
print("π ≈", mpmath.nstr(pi_przybl, 55))
print("błąd ≈", mpmath.nstr(blad, 3))
π ≈ 3.141592653589793238462643383279502884197169399375105821
błąd ≈ 4.6e-58
The identity \(4\cdot\frac15\ominus\frac1{239}=1\) is an ordinary computation with fractions in the group of rational points of the circle. Only the logarithm, that is, the passage to the Lie algebra, turns it into a fast formula for \(\pi\).
One group, different forms#
Over the complex numbers the circle becomes the multiplicative group \(\C^\times\). The map \((a,b)\mapsto a+ib\) has the inverse
and multiplication of numbers \(z\) corresponds to multiplication of points:
z1, z2 = sp.symbols("z_1 z_2")
def punkt(z):
return ((z + 1 / z) / 2, (z - 1 / z) / (2 * sp.I))
print("na okręgu:", sp.simplify(punkt(z1)[0]**2 + punkt(z1)[1]**2))
print("punkt(z₁)·punkt(z₂) - punkt(z₁z₂) =",
[sp.simplify(p - q)
for p, q in zip(m(punkt(z1), punkt(z2)), punkt(z1 * z2))])
na okręgu: 1
punkt(z₁)·punkt(z₂) - punkt(z₁z₂) = [0, 0]
Over \(\R\) this is not so: the circle has the point \((0,1)\) of order \(4\), while in \(\R^\times\) the only element of finite order other than \(1\) is \(-1\), so the groups are not isomorphic. Over \(\F_p\) we saw both possibilities in part 4: \(p-1\) points (when \(-1\) is a square, the circle “is” the group \(\F_p^\times\)) and \(p+1\) points (when it is not). The circle is a form of the multiplicative group (an algebraic torus): two algebraic groups that become the same after a field extension may differ over the original field. This idea leads to Galois cohomology and the theory of algebraic tori.
Characteristic \(p\): the differential can vanish#
Over \(\F_p\) the Lie algebra of the circle is \(\F_p\), and the differential of the power map \(P\mapsto P^p\) is multiplication by \(p\), that is, zero. In characteristic zero this cannot happen. Which polynomial has zero derivative? For example \(x^p\), because \((x^p)'=px^{p-1}=0\) in \(\F_p\). Indeed, for an odd prime \(p\):
frobenius = {p: sp.Poly(sp.chebyshevt(p, x) - x**p, x).trunc(p).is_zero
for p in sp.primerange(3, 60)}
print("T_p(x) ≡ x^p (mod p) dla nieparzystych p < 60:",
all(frobenius.values()))
print("T_2(x) mod 2 =", sp.Poly(sp.chebyshevt(2, x), x).trunc(2).as_expr())
T_p(x) ≡ x^p (mod p) dla nieparzystych p < 60: True
T_2(x) mod 2 = 1
The proof is one line in the ring \(\F_p[i]\): \((a+ib)^p=a^p+i^pb^p\), and \(i^p=\pm i\) for odd \(p\), so the first coordinate of \(P^p\) is \(a^p\). Raising to the \(p\)-th power turns into the Frobenius endomorphism. This phenomenon — a map that is a bijection on points but has zero differential — does not exist for Lie groups over \(\R\). It was discovered only by the theory of algebraic groups. Among other things, it implies that in characteristic \(p\) the circle has no points of order \(p\). Frobenius also plays the main role in the proof of the Lucas–Lehmer test from part 4: when \(q\) is an odd prime and \(M_q\) is prime, raising to the power \(M_q\) acts on the points of the hyperbola \(x^2-3y^2=1\) like the conjugation \(x+y\sqrt3\mapsto x-y\sqrt3\), so the order of the point \((2,1)\) divides \(M_q+1=2^q\).
What abstraction gives us#
The notions of a Lie group and an algebraic group are not empty names. In this chapter they did three things.
They organized the proofs. The facts from parts 2 and 3 are a single observation, “taking powers is multiplication by \(n\) in the Lie algebra”, seen from different sides.
They shortened the proofs. The formula \(T_n'=nU_{n-1}\) follows from the commutativity of the group in one line, without induction.
They revealed new phenomena. Machin’s formula for \(\pi\) is the logarithm of an identity in the group of rational points. The circle and \(\C^\times\) are the same group over \(\C\), but different over \(\R\) and over \(\F_p\). In characteristic \(p\) the differential of the power map vanishes and Frobenius appears.
The power of mathematics lies in the fact that such organized abstractions naturally shorten and organize proofs, and along the way reveal phenomena that were not visible before.
Exercises#
The exercises are formal: each can be solved by a computation with polynomials or dual numbers and checked in SymPy.
Hopf algebra. The coordinate ring of the circle is \(A=\Q[a,b]/(a^2+b^2-1)\). The group operation is given by the homomorphism \(\Delta\colon A\to A\otimes A\), \(a\mapsto a\otimes a-b\otimes b\), \(b\mapsto a\otimes b+b\otimes a\). Write down the counit \(e^*(a)=1\), \(e^*(b)=0\) and the antipode \(S(a)=a\), \(S(b)=-b\), and then check the Hopf algebra axioms symbolically. Which axiom is the associativity from part 1, and which one is the inverse element?
Invariant differentials. Show that the form \(\omega=\frac{db}{a}=-\frac{da}{b}\) is invariant under translations and that \(\omega(D)=1\). Write \(\omega\) in the parameter \(t\) and integrate formally: why do you get \(2\operatorname{arctg}t\)?
Values at \(1\). Using only the points \((1,\varepsilon v)\) and dual numbers, prove that \(U_{n-1}(1)=n\), and hence \(T_n'(1)=n^2\). Then compute \(T_n''(1)\) with numbers satisfying \(\varepsilon^3=0\).
Machin-like formulas. Decide in the group of rational points whether \(\frac\pi4=\operatorname{arctg}\frac12+\operatorname{arctg}\frac13\) (Euler) and \(\frac\pi4=2\operatorname{arctg}\frac12-\operatorname{arctg}\frac17\). Hint: \(\operatorname{arctg}\frac1x\) is the argument of the Gaussian integer \(x+i\), and Machin’s formula expresses the fact that \((5+i)^4(239-i)\) is a real multiple of \(1+i\). Compute this product in \(\Z[i]\).
The logarithm of the multiplicative group. For the law \(G(s,t)=s+t+st\) (the group \(\C^\times\) in the parameter \(t=z-1\)) find the formal logarithm and compare it with \(\log(1+t)\). Why does the same isomorphism with \(S^1\), written in the parameters, give the equality \(\operatorname{arctg}t=\frac{1}{2i}\log\frac{1+it}{1-it}\)?
The kernel of the power map. Show that in characteristic \(0\) (and in characteristic \(p\nmid n\)) the differential of \(P\mapsto P^n\) is invertible, so the equation \(P^n=e\) has \(n\) solutions over an algebraically closed field. Compare with the number of roots of \(T_n(x)-1\) from part 3 and with the case \(n=p\) in characteristic \(p\).
Frobenius. Prove \(T_p(x)\equiv x^p\pmod p\) for odd primes \(p\) and \(T_{p^k}=T_p\circ\dots\circ T_p\equiv x^{p^k}\). What is the analogue for \(U_{p-1}\)?
The hyperbola. Repeat the construction of the tangent space, the invariant field and the logarithm for the group \(x^2-Dy^2=1\) from part 4. Which series replaces \(\arctan\)? Which phenomenon related to Pell’s equation corresponds to the fact that this group is not compact over \(\R\)?
Literature and further reading#
J. Stillwell, Naive Lie Theory, Springer, 2008 (DOI) — Lie groups starting from the circle and the quaternions, accessibly written.
B. C. Hall, Lie Groups, Lie Algebras, and Representations, 2nd ed., Springer, 2015 (DOI) — the standard textbook on matrix groups.
W. C. Waterhouse, Introduction to Affine Group Schemes, Springer, 1979 (DOI) — algebraic groups via Hopf algebras; the circle and dual numbers appear from the first chapters on.
J. S. Milne, Algebraic Groups, Cambridge University Press, 2017 (DOI) and the author’s free notes Algebraic Groups; Lie Algebras; Lie Groups; Reductive Groups.
J. H. Silverman, The Arithmetic of Elliptic Curves, 2nd ed., Springer, 2009 (DOI) — a chapter on formal groups; the same notion for elliptic curves.
F. Lemmermeyer, Conics — a Poor Man’s Elliptic Curves, arXiv:math/0311306 — the arithmetic of conics as groups, the circle over \(\F_p\), analogies with elliptic curves.
Encyclopedia entries: Lie group, formal group law, algebraic torus, dual number, Machin-like formula.