Skip to content

Finite: ℤ/m and the places ​

Hypercomplex algebras introduces i_k, j_k and ε_k as formal generators with a square attached. But you do not have to adjoin them — ℤ/m already contains them, and which ones it contains is decided one prime at a time. This page follows that all the way down.

A square root of 1 is a root in every channel ​

The Chinese Remainder Theorem splits the ring: for m=∏piaim = \prod p_i^{a_i},

Z/m  ≅  ∏iZ/piai\mathbb{Z}/m \;≅\; \prod_i \mathbb{Z}/p_i^{a_i}

and a ring isomorphism carries x2=1x^2 = 1 to the same equation in each factor independently. So a square root of 1 mod m is a choice of root in each channel — and an odd prime power pap^a has exactly two, ±1± 1, because (Z/pa)×(\mathbb{Z}/p^a)^× is cyclic and so has a unique element of order 2.

Counting is then immediate. For odd m,

#{x:x2≡1(modm)}  =  2ω(m)\#\{x : x^2 ≡ 1 \pmod m\} \;=\; 2^{ω(m)}

with ω(m)ω(m) the number of distinct primes dividing m. These 2ω(m)2^{ω(m)} residues are exactly the ±1± 1 sign vectors over the CRT channels — a spectral basis, one coordinate per place. Two of them, 11 and m−1m-1, are the trivial pair; every other one is a genuine split unit, a square root of 1 that is not ±1± 1.

Sign vectors, as residues

15 = 3·5 gives 2² = 4; 1155 = 3·5·7·11 gives 2⁴ = 16 — one residue per ± choice across four places.

InPowerModList(1,12,15)\mathrm{PowerModList}(1, \frac{1}{2}, 15)Out[1,4,11,14]\bigl\lbrack1, 4, 11, 14\bigr\rbrackInPowerModList(1,12,1 155)\mathrm{PowerModList}(1, \frac{1}{2}, 1\,155)Out[1,34,76,274,386,419,461,496,659,694,736,769,881,1 079,1 121,1 154]\bigl\lbrack1, 34, 76, 274, 386, 419, 461, 496, 659, 694, 736, 769, 881, 1\,079, 1\,121, 1\,154\bigr\rbrack
source · editable

The rows of that second list are the sign vectors: 1 is (+,+,+,+)(+,+,+,+), 1154 is (−,−,−,−)(-,-,-,-), and the fourteen in between are the mixed ones. Reading a residue as a vector of signs is the whole content of the CRT here.

The 2-adic channel is the exception ​

The clean law is stated for odd m because 2 misbehaves, and it misbehaves in a way worth seeing: Z/2\mathbb{Z}/2 has one root of 1, Z/4\mathbb{Z}/4 has two, and Z/2a\mathbb{Z}/2^a for a≥3a ≥ 3 has four — namely ±1± 1 and ±1+2a−1± 1 + 2^{a-1}. The unit group stops being cyclic at 8, so it acquires a second independent element of order 2.

Powers of two break the count

InPowerModList(1,12,2)\mathrm{PowerModList}(1, \frac{1}{2}, 2)Out[1]\bigl\lbrack1\bigr\rbrackInPowerModList(1,12,4)\mathrm{PowerModList}(1, \frac{1}{2}, 4)Out[1,3]\bigl\lbrack1, 3\bigr\rbrackInPowerModList(1,12,8)\mathrm{PowerModList}(1, \frac{1}{2}, 8)Out[1,3,5,7]\bigl\lbrack1, 3, 5, 7\bigr\rbrackInPowerModList(1,12,16)\mathrm{PowerModList}(1, \frac{1}{2}, 16)Out[1,7,9,15]\bigl\lbrack1, 7, 9, 15\bigr\rbrack
source · editable

Imaginary units are rarer, and local ​

Now ask the same question for x2=−1x^2 = -1. Again it decomposes channel by channel, but now most channels have nothing to offer: Z/p\mathbb{Z}/p has a square root of −1-1 iffp≡1(mod4)p ≡ 1 \pmod 4. So

x2≡−1(modm) is solvable  ⟺  every odd prime factor of m≡1(mod4), and 4∤m.x^2 ≡ -1 \pmod m \text{ is solvable} \iff \text{every odd prime factor of } m ≡ 1 \pmod 4, \text{ and } 4 \nmid m.

Half the primes qualify, by Dirichlet. This is the asymmetry that makes split units the generic case and imaginary units special — and it is the same asymmetry that makes R[j]/(j2−1)≅R×R\mathbb{R}[j]/(j^2-1) ≅ \mathbb{R} × \mathbb{R} split while R[i]/(i2+1)≅C\mathbb{R}[i]/(i^2+1) ≅ \mathbb{C} does not.

Where √−1 lives

65 = 5·13, both ≡ 1 (mod 4), so two channels each contributing two roots. 15 = 3·5 has none: 3 ≡ 3 (mod 4) kills it.

InPowerModList(−1,12,5)\mathrm{PowerModList}(-1, \frac{1}{2}, 5)Out[2,3]\bigl\lbrack2, 3\bigr\rbrackInPowerModList(−1,12,65)\mathrm{PowerModList}(-1, \frac{1}{2}, 65)Out[8,18,47,57]\bigl\lbrack8, 18, 47, 57\bigr\rbrackInPowerModList(−1,12,15)\mathrm{PowerModList}(-1, \frac{1}{2}, 15)Out[]\bigl\lbrack\bigr\rbrack
source · editable

Hensel lifting up a prime power ​

Finding a root mod pp is a search; getting it mod pap^a is Hensel's lemma. If r2≡−1(modpk)r^2 ≡ -1 \pmod{p^k} then the correction

r′=r−r2+12r(modpk+1)r' = r - \frac{r^2+1}{2r} \pmod{p^{k+1}}

is a root one power higher, and 2r2r is invertible because pp is odd and r≢0r \not≡ 0. Each step is Newton's method on f(x)=x2+1f(x) = x^2+1 over the p-adics, and it converges for exactly the reason Newton's method does — which is why a root mod pp is enough to give a root mod pap^a for every aa, and in the limit a root in Zp\mathbb{Z}_p.

Both of these are one head: Wolfram's PowerModList(a, 1/r, m), the rr-th roots of aa mod mm. The split units are its (1,1/2)(1, 1/2) case and the imaginary units its (−1,1/2)(-1, 1/2) case, so there is no bespoke head to learn — and the same call reaches past squares.

One head, any root

Three cube roots of 8 mod 13, because 3 divides 12.

InPowerModList(8,13,13)\mathrm{PowerModList}(8, \frac{1}{3}, 13)Out[2,5,6]\bigl\lbrack2, 5, 6\bigr\rbrack
source · editable

2² ≡ −1 (mod 5), lifted

7² = 49 = 50 − 1, so 7 is the lift of 2 to ℤ/25; 182 is the lift to ℤ/625.

InPowerModList(−1,12,5)\mathrm{PowerModList}(-1, \frac{1}{2}, 5)Out[2,3]\bigl\lbrack2, 3\bigr\rbrackInPowerModList(−1,12,25)\mathrm{PowerModList}(-1, \frac{1}{2}, 25)Out[7,18]\bigl\lbrack7, 18\bigr\rbrackInPowerModList(−1,12,625)\mathrm{PowerModList}(-1, \frac{1}{2}, 625)Out[182,443]\bigl\lbrack182, 443\bigr\rbrack
source · editable

The identities transport ​

A split unit is not just a curiosity of ℤ/m: it is a homomorphism. If x2=1x^2 = 1 in ℤ/m then

R[j]/(j2−1)⟶Z/m,j↦x\mathbb{R}[j]/(j^2-1) \longrightarrow \mathbb{Z}/m, \qquad j ↦ x

respects addition and multiplication, so every identity the symbolic algebra proves becomes a fact about ℤ/m. The zero divisor and the idempotent both survive the trip: (1+j)(1−j)=0(1+j)(1-j) = 0 becomes (1+4)(1−4)=−15≡0(1+4)(1-4) = -15 ≡ 0, and 1+j2\tfrac{1+j}{2} — an idempotent because j2=1j^2 = 1 — lands on 5⋅8=40≡105 \cdot 8 = 40 ≡ 10, with 102=100≡1010^2 = 100 ≡ 10.

The same statement, twice

Left: the symbolic identity. Right: its image under j ↦ 4 in ℤ/15.

In(1+j1)(1−j1)(1+j_1)(1-j_1)Out00In(1+4)(1−4) mod 15(1+4)(1-4)\bmod15Out00In(1+j12)2(\frac{1+j_1}{2})^2Outj12+12\frac{j_1}{2}+\frac{1}{2}In10×10 mod 1510×10\bmod15Out1010
source · editable

This is why the idempotents matter. The split units, the CRT sign vectors and the orthogonal idempotents 1±j2\tfrac{1 ± j}{2} are three descriptions of one thing: a decomposition of the ring into independent channels.

Split, inert, degenerate — the square as a local invariant ​

Step back and the three columns of the grid stop looking like three arbitrary choices. Over a field, the quadratic algebra K[x]/(x2−d)K[x]/(x^2-d) has discriminant 4d4d, and exactly three things can happen:

ddalgebraunit
a square in KKK×KK × K — splitsj
a non-squarea quadratic fieldi
zeroK[ε]K[\varepsilon] — degenerate, the two roots collide\epsilon

So j, i and ε are not three unrelated inventions: they are the three outcomes of one construction, selected by whether dd is a square, a non-square, or zero. And "is dd a square" is a local question — it has a different answer at each place.

That is what the mod-m results above are really saying. Take d=−1d = -1:

  • at the real place, −1-1 is not a square, so R[x]/(x2+1)=C\mathbb{R}[x]/(x^2+1) = \mathbb{C} — inert;
  • at p≡1(mod4)p ≡ 1 \pmod 4, −1-1 is a square in Zp\mathbb{Z}_p, so the algebra splits;
  • at p≡3(mod4)p ≡ 3 \pmod 4 it is not, and the algebra is the unramified quadratic extension of Qp\mathbb{Q}_p;
  • at p=2p = 2 it is the awkward case, as it was in the counting above.

Whereas d=+1d = +1 splits at every place, which is why split units are everywhere and R[j]/(j2−1)≅R2\mathbb{R}[j]/(j^2-1) ≅ \mathbb{R}^2 already at the real place. A hypercomplex unit's character is not a property of the unit — it is a property of the unit at a place.

Where this is heading: profinite and adelic ​

The rings Z/m\mathbb{Z}/m are not separate objects. They form a system under divisibility — Z/m→Z/n\mathbb{Z}/m → \mathbb{Z}/n whenever n∣mn \mid m — and the inverse limit of that system is the profinite integers

Z^  =  lim←⁡mZ/m  ≅  ∏pZp,\widehat{\mathbb{Z}} \;=\; \varprojlim_m \mathbb{Z}/m \;≅\; \prod_p \mathbb{Z}_p,

so the CRT splitting at each finite level is the shadow of one product over all primes. Under that identification the split units assemble too: the elements of order dividing 2 in Z^×\widehat{\mathbb{Z}}^× are a sign per prime, ∏p{±1}\prod_p \{± 1\} — a Cantor-set of split units, of which the 2ω(m)2^{ω(m)} residues above are the finite truncations. Hensel lifting is the statement that a root mod pp already determines its coherent lift into Zp\mathbb{Z}_p, so "which units exist" stabilises per place.

Adjoining the archimedean place gives the adeles, AQ=R×∏p′Qp\mathbb{A}_{\mathbb{Q}} = \mathbb{R} × {\prod_p}' \mathbb{Q}_p, and the split/inert/degenerate trichotomy above is then a statement about all places at once: a quadratic algebra over Q\mathbb{Q} has a local character at each place, and those characters are not independent — quadratic reciprocity is precisely a constraint tying them together, so the local behaviours have to multiply out consistently. Which means the ± sign vectors that index the split units of ℤ/m are a fragment of something global, not just bookkeeping per modulus.

That is the direction, stated honestly as a direction: this page demonstrates the finite levels and the per-place criterion, and nothing here computes an adelic object. The pieces that would make it concrete — a Norm that names its ambient level, coefficients that live in ℤ/m rather than only mapping into it, and a per-place signature rather than one global square — are all still to build.