
Abstract Algebra (12): Algebra in the Wild — Cryptography, Coding Theory, and Beyond
From RSA encryption to error-correcting codes to particle physics — abstract algebra's most powerful real-world applications, and where to go next.

For eleven articles, we have built algebra from the ground up: groups, rings, fields, Galois theory, modules, representations, categories. At times, the material may have felt like pure abstraction — beautiful, perhaps, but detached from the “real world.” This final article corrects that impression. The structures we have studied are not just mathematically elegant; they are the backbone of technologies and theories that shape modern life. By the end of this article, the question “is abstract algebra useful?” should feel about as well-posed as “is calculus useful?” — the answer is so overwhelmingly yes that the question itself sounds quaint.
The fact that algebra has applications is not, by itself, surprising. What is surprising is how deep those applications go. RSA encryption is not just “an application that happens to use modular arithmetic” — its security rests on a hard problem about $\mathbb{Z}/n$ that we still cannot solve. Reed-Solomon codes are not “an application that happens to use polynomials” — they exploit the precise interplay between polynomial degree and the count of roots in a finite field. The standard model of particle physics is not “an application that happens to use group theory” — its very structure is dictated by the irreducible representations of certain Lie groups. In each case, the applied technology is the algebraic structure, transcribed into a different language.
This article walks through six applications, in roughly increasing order of conceptual depth: RSA, elliptic curve cryptography, Reed-Solomon codes, QR codes, particle physics symmetries, and crystallography. The selection is not exhaustive but is meant to convey the range. Each section gives enough math to see the algebraic skeleton, then steps back to make the broader point. The pace is faster than in previous articles — we are not re-deriving the algebra, just noting where it lives.

RSA Encryption#
The RSA cryptosystem, invented by Rivest, Shamir, and Adleman in 1977, is the canonical first example of public-key cryptography. The math is entirely elementary — modular arithmetic, Fermat’s little theorem, the Chinese remainder theorem — but the system relies on a computational asymmetry: factoring large integers is hard, even though multiplying them is easy.

Public-key cryptography itself is one of the genuinely surprising ideas of the 20th century. Before 1976, all serious cryptography assumed Alice and Bob shared a secret key, established somehow in advance. The Diffie-Hellman paper (1976) and then RSA (1977) showed that two parties who have never communicated can establish a shared secret over a public channel. This was so counterintuitive that it took the cryptographic community years to fully accept it. The mathematical content is simple — modular exponentiation is one-way (easy to compute, hard to invert without a trapdoor) — but the conceptual leap was profound.
Setup. Pick two large primes $p, q$ (in practice, hundreds of digits each). Compute $n = pq$ . Compute $\phi(n) = (p-1)(q-1)$ — Euler’s totient. Pick $e$ coprime to $\phi(n)$ (commonly $e = 65537$ ). Compute $d = e^{-1} \pmod{\phi(n)}$ using the extended Euclidean algorithm.
Public key: $(n, e)$ . Private key: $d$ .
Encryption. To send a message $m$ (encoded as an integer $0 < m < n$ ), compute $c = m^e \pmod n$ .
Decryption. Compute $m = c^d \pmod n$ .
Why it works. By Fermat-Euler, $m^{\phi(n)} \equiv 1 \pmod n$ when $\gcd(m, n) = 1$ . So $m^{ed} = m^{1 + k\phi(n)} = m \cdot (m^{\phi(n)})^k \equiv m \pmod n$ . Encrypting then decrypting recovers the message.
Why it’s secure. Computing $d$ from $(n, e)$ requires knowing $\phi(n) = (p-1)(q-1)$ , which essentially requires factoring $n$ . As of 2026, factoring a $2048$ -bit RSA modulus by classical means takes more compute than has ever been spent on anything. So the system is practically secure (against classical adversaries; quantum is a separate story).
A worked toy example. Take $p = 11, q = 13$ , so $n = 143$ , $\phi(n) = 120$ . Pick $e = 7$ (coprime to $120$ ). Compute $d \equiv 7^{-1} \pmod{120}$ : by extended Euclidean, $7 \cdot 103 = 721 = 6 \cdot 120 + 1$ , so $d = 103$ .
Encrypt $m = 9$ : $c = 9^7 \pmod{143}$ . Compute $9^2 = 81$ , $9^4 = 81^2 = 6561 = 45 \cdot 143 + 126 \equiv 126 \pmod{143}$ , $9^7 = 9^4 \cdot 9^2 \cdot 9 = 126 \cdot 81 \cdot 9 \pmod{143}$ . Computing step by step: $126 \cdot 81 = 10206 \equiv 10206 - 71 \cdot 143 = 10206 - 10153 = 53 \pmod{143}$ . Then $53 \cdot 9 = 477 \equiv 477 - 3 \cdot 143 = 48 \pmod{143}$ . So $c = 48$ .
Decrypt: $48^{103} \pmod{143}$ . Skipping the arithmetic (which takes about a page by repeated squaring), the result is $9$ , recovering the original message.
This is the entire algebraic content of RSA in fewer than 100 lines of arithmetic. Real RSA uses $2048$ -bit primes instead of $11$ and $13$ , with the same arithmetic structure scaled up.

The algebraic content of RSA is exactly the structure theorem for $(\mathbb{Z}/n)^\times$ when $n = pq$ : it is cyclic of order $\phi(n) = (p-1)(q-1)$ , and Fermat-Euler is the statement that any element raised to that power is $1$ . Everything else is bookkeeping. The fact that this elementary structure underpins the security of trillions of dollars of internet commerce is, depending on your perspective, either deeply satisfying or unnerving.
Elliptic Curve Cryptography#
The natural next step beyond RSA. Instead of $(\mathbb{Z}/n)^\times$ , use the group of points on an elliptic curve over a finite field.

An elliptic curve over $\mathbb{F}_p$ is the set of solutions $(x, y) \in \mathbb{F}_p^2$ to an equation of the form
$$y^2 = x^3 + ax + b,$$together with a “point at infinity” $\mathcal{O}$ . (The condition $4a^3 + 27b^2 \neq 0$ ensures the curve is smooth.)
The set of points has a group structure. Given two points $P, Q$ on the curve, draw the line through them; it meets the curve in a unique third point $R'$ . The reflection of $R'$ across the $x$ -axis is defined to be $P + Q$ . This is associative (a non-trivial theorem), $\mathcal{O}$ is the identity, and inverses exist (negation is reflection across $x$ -axis).
The group law has explicit formulas. For points $P_1 = (x_1, y_1)$ and $P_2 = (x_2, y_2)$ with $P_1 \neq \pm P_2$ , the slope of the line through them is $\lambda = (y_2 - y_1)/(x_2 - x_1)$ , and $P_1 + P_2 = (x_3, y_3)$ with $x_3 = \lambda^2 - x_1 - x_2$ and $y_3 = \lambda(x_1 - x_3) - y_1$ . For $P_1 = P_2$ (point doubling), the slope is the tangent: $\lambda = (3 x_1^2 + a)/(2 y_1)$ . These formulas, computed in $\mathbb{F}_p$ using modular arithmetic, are what real ECC implementations use.

The order of the group $E(\mathbb{F}_p)$ is roughly $p$ (Hasse’s theorem: $|E(\mathbb{F}_p)| = p + 1 - a_p$ with $|a_p| \leq 2\sqrt p$ ). Generally cyclic for cryptographic curves. The “discrete log” problem on $E(\mathbb{F}_p)$ — given $P$ and $nP$ , find $n$ — is believed to be much harder than the discrete log on $\mathbb{F}_p^\times$ , so smaller key sizes give equivalent security: a $256$ -bit elliptic curve provides roughly the same security as a $3072$ -bit RSA modulus.
ECDSA (Elliptic Curve Digital Signature Algorithm) uses this group for digital signatures. Bitcoin and most modern cryptosystems use a specific elliptic curve called secp256k1, defined by $y^2 = x^3 + 7$ over $\mathbb{F}_p$ for a specific 256-bit prime $p$ .

The conceptual jump from RSA to ECC is significant. RSA uses a familiar group, $(\mathbb{Z}/n)^\times$ . ECC uses a much more exotic group, the points of an algebraic curve. The exoticism is the source of the strength: there are very few known attacks on the elliptic curve discrete log, fewer than for the integer factorization problem. The math required to even define $E(\mathbb{F}_p)$ — algebraic geometry, formal group laws, the theory of Mordell-Weil — is dramatically richer than what RSA needs. And yet, computationally, ECC is faster than RSA at equivalent security levels. This is the kind of payoff that makes algebraic geometry feel essential.
A historical note: Diffie and Hellman invented the key-exchange idea in 1976, building on the work of others. Miller and Koblitz independently proposed using elliptic curves in 1985-1986. ECC took two more decades to become standard, partly because the math is harder to teach (you have to construct $E(\mathbb{F}_p)$ , whereas $(\mathbb{Z}/n)^\times$ is taught in elementary number theory) and partly because patents on ECDSA implementations slowed adoption. As of the late 2010s and 2020s, ECC has become the cryptographic primitive of choice for new protocols: TLS 1.3, modern SSH, Bitcoin, Ethereum, all rely on it. The cycle from “abstract algebra paper” to “billion-dollar industry standard” took about 30 years.
Reed-Solomon Codes#
Cryptography is one part of practical algebra; coding theory is another. The problem: send data over a noisy channel, with some symbols corrupted in transit. How do you recover the original message?

The Reed-Solomon answer: encode your message as the evaluations of a polynomial at known points. If the polynomial has degree $\leq k$ , then $n$ evaluations determine it uniquely (when $n > k$ ). So with redundant evaluations, you can recover the polynomial even if some of them are wrong.
Construction. Fix a finite field $\mathbb{F}_q$ and points $\alpha_1, \ldots, \alpha_n \in \mathbb{F}_q$ (with $n \leq q$ ). To encode a message $(m_0, m_1, \ldots, m_{k-1}) \in \mathbb{F}_q^k$ , form the polynomial $f(x) = m_0 + m_1 x + \cdots + m_{k-1} x^{k-1}$ and transmit $(f(\alpha_1), f(\alpha_2), \ldots, f(\alpha_n))$ .
Decoding. With at most $\lfloor (n-k)/2 \rfloor$ errors, the original polynomial $f$ can be recovered. The Berlekamp-Welch algorithm and its successors do this efficiently in time polynomial in $n$ and $q$ .
Why this works. Two distinct polynomials of degree $\leq k$ agree at $\leq k$ points (degree-bound theorem from article 6). So if two received words come from polynomials differing in $> 2k$ positions, they cannot be confused. Conversely, with $\leq \lfloor (n-k)/2 \rfloor$ errors, the received word lies within Hamming distance $(n-k)/2$ of exactly one valid codeword. The polynomial structure of $\mathbb{F}_q[x]$ provides the redundancy.
A toy example. Take $\mathbb{F}_5$ and message $(m_0, m_1) = (3, 2) \in \mathbb{F}_5^2$ , so $f(x) = 3 + 2x$ . Encode using points $\alpha = (0, 1, 2, 3, 4)$ : transmit $(3, 0, 2, 4, 1)$ in $\mathbb{F}_5^5$ . (Compute: $f(0) = 3, f(1) = 5 = 0, f(2) = 7 = 2, f(3) = 9 = 4, f(4) = 11 = 1$ .)

Suppose we receive $(3, 0, 4, 4, 1)$ — one error at position $\alpha = 2$ . Use Lagrange interpolation: any 2 correctly-received values determine the polynomial. Since we don’t know which are correct, try subsets. The first two values give $f(0) = 3, f(1) = 0$ , hence $f(x) = 3 + 2x$ (consistent with the rest except position 2, identifying $\alpha = 2$ as the erroneous position). For real Reed-Solomon decoding, the Berlekamp-Massey or Sugiyama algorithms automate this, but the algebraic skeleton is exactly polynomial interpolation.

Where it’s used. Reed-Solomon codes are everywhere in storage and transmission: CDs and DVDs, hard drive sector ECC, RAID-6 disk arrays, deep-space probe communications, satellite TV. The Voyager probes use Reed-Solomon (concatenated with a convolutional code) to send back data from beyond the heliopause — the algebraic redundancy is what allows correct readings despite billions of kilometers of cosmic radiation.
Beyond classical Reed-Solomon, more sophisticated codes have been developed: Bose-Chaudhuri-Hocquenghem (BCH) codes (a generalization), Goppa codes (used in the McEliece post-quantum cryptosystem), polar codes (used in 5G cellular), turbo codes, and LDPC (low-density parity-check) codes. Each builds on the polynomial-and-finite-field framework but with different constructions tuned to different channel models. The whole subject is a satisfying example of pure algebra — finite fields, polynomial rings, ideal theory — paying off in practical engineering.
The algebraic skeleton is exactly the polynomial division and degree theory of article 6, applied over a finite field. The cleverness is in the choice of polynomial as the carrier: it gives both compact encoding and efficient decoding via the same division-with-remainder algorithm that proved Bezout’s identity in $F[x]$ .
QR Codes#
A more visible application. Every QR code on every package, restaurant menu, and event ticket is built on the same Reed-Solomon framework as the Voyager probes — with one extra layer.
A QR code stores binary data (text, URLs, etc.) plus error correction using Reed-Solomon over $\mathbb{F}_{2^8} = \mathbb{F}_{256}$ . The choice of $\mathbb{F}_{256}$ is so each “symbol” is a byte, fitting cleanly into computer architecture.
Each QR code has four error-correction levels: L (7%), M (15%), Q (25%), H (30%). At level H, up to 30% of the symbols can be corrupted and the code is still readable. This is what makes QR codes robust to the kinds of damage they typically encounter: smudges, glare, partial occlusion, low resolution.
The construction uses $\mathbb{F}_{256}$ defined as $\mathbb{F}_2[x] / (x^8 + x^4 + x^3 + x^2 + 1)$ , a quotient by an irreducible polynomial of degree $8$ . This is the field-extension construction from article 7 made concrete. The field elements are $256$ residue classes, each represented as a polynomial of degree $< 8$ with binary coefficients — i.e., as a byte. Field arithmetic in $\mathbb{F}_{256}$ is implemented in hardware and software using either lookup tables (for $256 \times 256 = 64K$ multiplications) or carry-less multiplication instructions (PCLMULQDQ on Intel CPUs).
Reed-Solomon decoding of QR codes runs in microseconds on modern hardware. The polynomial structure of $\mathbb{F}_{256}[x]$ — division algorithm, irreducibility, error-locator polynomials — is essential infrastructure.

The level of integration is striking: a smartphone reading a QR code is doing finite-field arithmetic in $\mathbb{F}_{256}$ , polynomial root-finding, and matrix manipulations over $\mathbb{F}_2$ , all in milliseconds. The mathematics — irreducible polynomials, finite fields, Reed-Solomon decoding — was developed between 1830 (Galois) and 1960 (Reed and Solomon). It took another 30 years for commodity hardware to make it practical for consumer applications, and now nearly every person on the planet uses it daily without knowing its name.
A small observation about the choice of field. Why $\mathbb{F}_{256}$ rather than, say, $\mathbb{F}_{257}$ or $\mathbb{F}_{251}$ ? The latter are also fields and would give similar Reed-Solomon properties. The reason is purely practical: $256 = 2^8$ matches a byte exactly. Bytes are the unit of memory and disk I/O on every modern computer, so doing arithmetic in $\mathbb{F}_{256}$ aligns with the hardware. If we used $\mathbb{F}_{257}$ instead, every “symbol” would have to be 9 bits, which wastes memory and complicates implementation. This is one of the cleanest examples of where pure mathematics meets engineering constraints: the choice of field is not arbitrary; it is dictated by the byte size of the underlying machine.
Lie Groups, Quarks, and SU(3)#
Stepping firmly outside cryptography and coding, the most spectacular application of representation theory in physics is the standard model of particle physics. The structure of fundamental particles is dictated by the representations of certain Lie groups: $\mathrm{SU}(3) \times \mathrm{SU}(2) \times U(1)$ , the gauge group of the standard model.
The simplest piece of this picture is the flavor $\mathrm{SU}(3)$ , an approximate symmetry of the three lightest quark flavors: up, down, strange. These three quarks form the fundamental (defining) representation of $\mathrm{SU}(3)$ — a 3-dimensional irreducible representation. Their antiparticles form the conjugate (or dual) representation, also 3-dimensional. The fact that quarks come in three flavors that mix under an approximate $\mathrm{SU}(3)$ symmetry is one of the deepest empirical observations of modern particle physics, and it was understood through pure rep-theory before the quark model was experimentally confirmed.
The meson octet. Mesons are quark-antiquark bound states. Using $\mathrm{SU}(3)$ representation theory, a quark-antiquark pair lives in $\mathbf{3} \otimes \bar{\mathbf{3}}$ . By Clebsch-Gordan in $\mathrm{SU}(3)$ :
$$\mathbf{3} \otimes \bar{\mathbf{3}} = \mathbf{8} \oplus \mathbf{1}.$$So mesons come in two groups: the octet (8 mesons) and the singlet (1 meson). This predicts the existence of 8 light pseudoscalar mesons — exactly the pions, kaons, and eta mesons that experimentalists had observed by the 1960s. The pion triplet ($\pi^+, \pi^0, \pi^-$ ), the four kaons ($K^+, K^0, \bar K^0, K^-$ ), and the eta meson together make up the 8. The eta-prime is the singlet. This isn’t a numerical coincidence — the $\mathrm{SU}(3)$ representation theory predicts the multiplet structure exactly, and experiment confirms it to within a few percent (the deviations are due to the fact that $\mathrm{SU}(3)$ flavor symmetry is approximate, broken by the quark mass differences).
The baryon decuplet. Baryons are three-quark states. They live in $\mathbf{3} \otimes \mathbf{3} \otimes \mathbf{3}$ , which decomposes as $\mathbf{10} \oplus \mathbf{8} \oplus \mathbf{8} \oplus \mathbf{1}$ . The $\mathbf{10}$ corresponds to the baryon decuplet — including the famous $\Omega^-$ particle, which Murray Gell-Mann predicted in 1962 based on the missing slot in the decuplet, and which was experimentally discovered in 1964. This was one of the most striking confirmations of representation theory in physics: a particle was predicted to exist, with predicted mass and quantum numbers, purely from the structure of an $\mathrm{SU}(3)$ representation. Gell-Mann and Ne’eman shared credit for the “Eightfold Way,” named for the $\mathbf{8}$ -dimensional meson and baryon octets, and it earned Gell-Mann the 1969 Nobel Prize.

The full standard model uses the local gauge group $\mathrm{SU}(3)_C \times \mathrm{SU}(2)_L \times U(1)_Y$ , with the three factors corresponding to the strong force (color), the weak force (left-handed isospin), and weak hypercharge. Each fermion (quark or lepton) is a representation of this group. The Higgs mechanism breaks $\mathrm{SU}(2)_L \times U(1)_Y$ down to $U(1)_{\mathrm{em}}$ (electromagnetism), giving particles their masses.
Every aspect of this picture — the choice of gauge groups, the assignment of fermions to representations, the interaction structure — is dictated by Lie group representation theory. The algebra is not “an aid to computation”; it is the actual language in which particle physics is formulated. There is no simpler way to express the standard model than through the representations of these Lie groups, and there is no known reason why the universe should obey these specific representations rather than others. That is one of the deep mysteries of fundamental physics: the standard model is the universe’s homework, and we got it back already graded.
Beyond the standard model, attempts to unify the three forces (grand unified theories, GUTs) propose embedding $\mathrm{SU}(3) \times \mathrm{SU}(2) \times U(1)$ into a larger simple group like $\mathrm{SU}(5)$ , $\mathrm{SO}(10)$ , or $E_6$ . Each of these embedding schemes is a question in pure representation theory: how do the standard-model particles fit into representations of the larger group? Some predictions (like proton decay) follow from the embeddings; others (like the precise pattern of neutrino masses) depend on which symmetry-breaking mechanism is invoked. None of the GUT proposals has been experimentally verified, but they are all built on the same rep-theory framework as the standard model itself. If any GUT turns out to be correct, it will be because nature literally selected an irreducible representation of one of these Lie groups.
Wallpaper Groups and Crystallography#
A different flavor of application: classifying patterns by their symmetries. The 17 wallpaper groups are the possible symmetry groups of a periodic 2D pattern. Every repeating wallpaper pattern, every tile floor, every Escher print, has its symmetry group among these 17. This is one of the cleanest applications of group theory in classical art and architecture: the symmetries of Alhambra tiles, of Escher prints, of fabric patterns, all fall into one of seventeen possible types. M.C. Escher famously corresponded with the mathematician Coxeter to understand which of his prints belonged to which group.
The classification combines:
- Translation symmetries — necessarily by a 2D lattice $\mathbb{Z}^2$ .
- Rotation symmetries — must have order $1, 2, 3, 4$ , or $6$ (the crystallographic restriction).
- Reflection symmetries and glide reflections (reflection composed with a translation parallel to the reflection axis).
The crystallographic restriction is a beautiful application of basic algebra: the rotation must preserve the lattice, so its $2 \times 2$ matrix has integer trace. The trace of a rotation by angle $\theta$ is $2 \cos \theta$ , which must be an integer. The only solutions in $[0, 2\pi)$ are $\theta = 0, \pi/3, \pi/2, 2\pi/3, \pi, 4\pi/3, 3\pi/2, 5\pi/3$ — orders $1, 6, 4, 3, 2, 3, 4, 6$ . So no order-$5$ or order-$7$ rotations in any wallpaper group. (This is why pentagonal tilings are not periodic — they are quasiperiodic, like the Penrose tilings.)

Combining the allowed rotations with reflections and glide reflections, exhaustive case analysis (originally by Fedorov in 1891) gives exactly 17 isomorphism classes. Each has a name (p1, p2, pm, pg, cm, …) following crystallographic notation, and each can be displayed as a small fundamental domain that tiles the plane.
The 3D analogue gives 230 space groups, classifying all crystallographic symmetries in three dimensions. This is the algebraic skeleton of solid-state physics: every crystal in nature has its structure described by one of these 230 groups, and X-ray crystallography determines which group from diffraction patterns. Linus Pauling won a Nobel for understanding the algebra; Watson and Crick used Rosalind Franklin’s diffraction data to determine the structure of DNA.
The remarkable thing is how much concrete information is encoded in these classifications. Knowing the wallpaper group of a pattern tells you the structure of its symmetry orbit, the index of the rotation subgroup, the irreducible representations of the symmetry group (which control vibration modes in solid-state physics), and so on. Pure algebra meeting concrete materials science.
A small example: suppose you find a wallpaper pattern with both 3-fold and 6-fold rotational symmetries somewhere. Algebraically, the rotation subgroup is generated by a 6-fold rotation, since 6 is divisible by 3. Knowing this fixes the rotation subgroup as $\mathbb{Z}/6$ , which combined with whatever reflections exist narrows the wallpaper group to one of just three: p6, p6m, or p3m1 (depending on reflection structure). Two seconds of algebraic reasoning eliminates 14 of the 17 possibilities. This is the kind of algebraic forensics that crystallographers do routinely when analyzing materials.
The Penrose tiling deserves a mention because it sits outside the wallpaper group classification. It has 5-fold rotational symmetry, which the crystallographic restriction forbids — so the tiling cannot be periodic. It is quasiperiodic: it has long-range order without translational symmetry. The discovery of physical quasicrystals in 1982 (by Daniel Shechtman, Nobel 2011) showed that real materials can violate the classical crystallographic restriction, by living in higher-dimensional periodic lattices and projecting down. The algebraic explanation involves cut-and-project schemes from $\mathbb{Z}^5$ down to $\mathbb{R}^2$ , and the symmetry group is no longer one of the 17 wallpaper groups — it is something genuinely new. A nice example of pure mathematics being slightly ahead of physics: the algebraic framework for quasicrystals existed before the physical discovery.
Where to Go Next#
The applications above are a thin slice. Other places algebra is foundational:
- Algebraic topology (Hatcher’s textbook): homology, cohomology, fundamental groups, fiber bundles. The algebra of “space.”
- Algebraic geometry (Vakil’s notes, Hartshorne): schemes, sheaves, varieties. The algebra of “polynomial equations.”
- Number theory (Neukirch, Lang): class field theory, modular forms, arithmetic geometry. The algebra of “the integers.”
- Lie theory (Hall, Fulton-Harris): Lie groups, Lie algebras, root systems. The algebra of “continuous symmetry.”
- Homological algebra (Weibel): Tor, Ext, derived categories. The algebra of “exact sequences.”
- Mathematical physics (Fulton-Harris, Hall): representation theory of Lie algebras, quantum groups.
The unifying theme of this entire series has been structure. Groups capture symmetry. Rings capture arithmetic. Fields and Galois theory capture the structure of solutions to polynomial equations. Modules unify linear algebra and abelian group theory. Representations make groups concrete. Categories provide a language for all of these at once. And applications show that this structure is not a mathematical fantasy — it describes the real world, from the encryption protecting your data to the symmetries governing fundamental particles.
Mathematics is not a spectator sport. The best way to learn algebra is to do algebra: work through exercises, compute examples, prove theorems, and — above all — look for algebraic structure in every mathematical situation you encounter. The structures are there, waiting to be found.
A final reflection. When we began this series with groups, the definitions might have seemed arbitrary: a set with an associative operation, an identity, and inverses. Twelve articles later, we have seen that these axioms capture symmetry in all its forms — from the symmetries of a triangle to the gauge symmetries of fundamental physics. We have seen that generalizing from groups to rings to fields to modules reveals unexpected connections (abelian groups and canonical forms are the same theorem). We have seen that stepping up one more level of abstraction — to categories — does not take us further from reality but closer to the structural heart of mathematics.
The journey continues. Wherever your mathematical interests take you — whether it is algebraic geometry, number theory, topology, physics, or computer science — the algebraic thinking we have developed will serve you well. Abstract algebra is not just one branch of mathematics; it is a way of seeing structure, and that vision transforms everything it touches.
I want to close with a more concrete observation. Every application we covered in this article was made possible by mathematicians who, at the time, were not thinking about applications. Galois studied polynomial equations because he wanted to understand them, not because he foresaw error-correcting codes. Sophus Lie studied continuous symmetry because he wanted to extend Galois’s work, not because he foresaw the standard model of particle physics. Hilbert proved his basis theorem because he wanted to make algebraic geometry rigorous, not because he foresaw computer algebra systems. The applications came later, often a century later, often by people who did not know they were using the original mathematician’s work.
This is not a coincidence. It is structure being structure. When the patterns are general enough, they apply broadly enough that some application eventually appears. The mathematicians’ job is to see the patterns clearly. The applicators’ job is to recognize the patterns in their own problems. And the educators’ job is to teach the patterns well enough that future generations can do both. That, ultimately, is what this series has been trying to do — to teach the patterns well enough that you can recognize them, when you encounter them in the wild.
If you have made it this far, you have all the tools you need. The rest is practice.
Bonus: A Few Other Applications Worth Knowing#
The six applications above are the headliners. Here are five more that I find interesting, in less detail.
The discrete logarithm and Diffie-Hellman. Given $g \in \mathbb{F}_p^\times$ and $h = g^a$ , finding $a$ is the discrete log problem. Diffie-Hellman key exchange uses this asymmetry: Alice picks $a$ , sends $g^a$ over a public channel; Bob picks $b$ , sends $g^b$ . Both compute $g^{ab} = (g^a)^b = (g^b)^a$ as a shared secret. The eavesdropper, knowing $g, g^a, g^b$ , must solve the discrete log to find $a$ or $b$ . This is the foundation of TLS, the protocol securing the modern web. The algebraic structure is just the cyclic group $\mathbb{F}_p^\times$ .
Lattice-based cryptography. Modern post-quantum cryptography (designed to resist Shor’s algorithm on a quantum computer) often uses lattices — discrete subgroups of $\mathbb{R}^n$ . The hard problems are “shortest vector” and “closest vector” in a lattice, both believed to remain hard even for quantum adversaries. The algebra here is much richer than basic group theory: it involves modules over polynomial rings $\mathbb{Z}[x]/(f)$ , ideal lattices, and ring learning with errors. NIST has been standardizing post-quantum cryptosystems since 2017, and the leading candidates (Kyber, Dilithium) are all lattice-based. The algebra is closer to article 9 (modules) than to article 4 (groups).
Fast Fourier transform and group representations. The FFT (Fast Fourier Transform) is the algorithm that makes signal processing, image compression, and audio analysis practical — a $O(n \log n)$ algorithm where naive computation would be $O(n^2)$ . The algebraic structure: the FFT decomposes a function on $\mathbb{Z}/n$ into its components in the irreducible representations of $\mathbb{Z}/n$ , which (since $\mathbb{Z}/n$ is abelian) are all 1-dimensional and given by the $n$ -th roots of unity. The “fast” part of FFT comes from the recursive structure when $n = 2^k$ . There are FFT analogues for non-abelian groups (Diaconis-Rockmore), used in computational group theory and computational physics.
Chern classes and the index theorem. In differential geometry and topology, Chern classes assign to a vector bundle on a manifold $M$ certain cohomology classes. The Atiyah-Singer index theorem says that the analytic index of an elliptic differential operator on $M$ (the difference between the dimensions of its kernel and cokernel) equals a topological quantity computed from Chern classes and other characteristic classes. This is one of the deepest results of 20th-century mathematics, with applications to physics (anomaly cancellation in gauge theories), number theory (Riemann-Roch for arithmetic varieties), and topology (Hirzebruch’s signature theorem). The whole apparatus rests on group cohomology, principal bundles, and characteristic classes — all built from the algebra of topological/algebraic groups.
Computer algebra systems. Mathematica, SageMath, Maple, and Magma rely on algorithms that are explicit applications of the theory in this series: polynomial factorization (Berlekamp, Cantor-Zassenhaus, LLL), Gröbner basis computation (Buchberger’s algorithm in $k[x_1, \ldots, x_n]$ ), characteristic polynomial computation, integer factorization (Pollard’s rho, ECM, GNFS), Gaussian elimination over arbitrary fields. Whenever a CAS does symbolic algebra, it is executing a chain of theorems we have proved in this series, often with sophisticated optimizations. Understanding the algebra makes you understand what the CAS can and cannot do — and when it returns “result too complex” or hangs, you can usually predict the algebraic obstruction.
These five applications, together with the six in the main body, span cryptography, communications, physics, materials science, signal processing, geometry, and computational mathematics. The list is not exhaustive — algebra also appears in robotics (kinematic groups), economics (utility theory), biology (phylogenetic trees, codon redundancy), and music theory (transposition groups). Wherever there is structure preserved under operations, there is algebra to be found.
A Closing Thought on Style#
I have tried throughout this series to make the algebra feel less like a list of definitions and more like a way of seeing. Reading proofs carefully is essential, but it is not enough — you also need to develop taste. Knowing which theorems are deep and which are technical, which definitions are natural and which are ad-hoc, which generalizations pay off and which lead to dead ends. That taste comes from doing the math: from working examples until they feel inevitable, from proving the same theorem in multiple ways until you see what the “right” proof is, from spotting the same pattern in different settings until you have to give it a name.
The recurring question I have asked myself while writing these articles is: “Why does this matter?” Not “why is this useful in applications” — that question is real but not the central one. I mean: why does this particular structural fact organize so much of subsequent mathematics? Why does Lagrange’s theorem matter, why does the first isomorphism theorem matter, why does Maschke’s theorem matter? The answer is usually that the fact captures a pattern that recurs across many specific instances, and once you see the pattern, you stop having to rediscover it each time.
This is the central skill of mathematical work: pattern recognition followed by precise formulation. The patterns are out there, in the structure of integers, in the symmetries of geometric objects, in the arithmetic of polynomials, in the representations of physical particles. The job is to recognize them, name them, prove their consequences, and apply them. Algebra is the toolkit for doing all four.
I hope this series has been a useful introduction to that toolkit. The articles are by no means complete — most can be expanded into a semester’s course or a textbook — but they aim to give you enough to navigate further reading on your own. Pick a direction (algebraic geometry, number theory, representation theory of Lie groups, homological algebra, applied mathematics), find a textbook in that direction, and start working through the exercises. The patterns you have learned to recognize will recur, in new forms, with new applications, and the toolkit you have built will keep paying dividends.
Mathematics is the slow accumulation of structural insight, one definition at a time. The journey from “I have heard of groups” to “I can use representation theory to predict particle interactions” is long, but every step is well-defined and each builds on the last. That is the genuine satisfaction of the subject — not that it is useful (though it is), but that it makes sense, in a way that very few other things do. Welcome to the structure. The structure is welcoming you back.
Deeper Dive: Worked Applications#
The applications chapter is the place where everything we have built gets cashed in for concrete computational examples. Five problems:
Computation A: RSA in $11$ -bit numbers. Pick primes $p = 61, q = 53$ . Then $n = pq = 3233$ and $\varphi(n) = (p-1)(q-1) = 60 \cdot 52 = 3120$ . Choose public exponent $e = 17$ (coprime to $3120$ ). Compute private exponent $d = e^{-1} \bmod 3120$ via extended Euclidean: $\gcd(17, 3120) = 1$ with $1 = 17 \cdot 2753 - 3120 \cdot 15$ , so $d = 2753$ . To encrypt the message $m = 65$ (representing the letter “A” in ASCII): $c = m^e \bmod n = 65^{17} \bmod 3233$ . Compute by repeated squaring: $65^2 = 4225 \equiv 992$ , $65^4 \equiv 992^2 \equiv 984064 \equiv 2240$ , $65^8 \equiv 2240^2 \equiv 5017600 \equiv 2050$ , $65^{16} \equiv 2050^2 \equiv 4202500 \equiv 1623$ , then $65^{17} = 65^{16} \cdot 65 \equiv 1623 \cdot 65 \equiv 105495 \equiv 2790 \pmod{3233}$ . So ciphertext is $2790$ .
To decrypt: $m = c^d \bmod n = 2790^{2753} \bmod 3233$ . By Fermat-Euler, $2790^{3120} \equiv 1$ , and $17 \cdot 2753 = 46801 \equiv 1 \pmod{3120}$ ($46801 = 15 \cdot 3120 + 1$ ), so $2790^{2753 \cdot 17} = 2790^{46801} \equiv 2790^1 \cdot 2790^{15 \cdot 3120} \equiv 2790$ . The full computation of $2790^{2753} \bmod 3233$ recovers $65$ . The number-theoretic guarantee that this works is exactly Lagrange’s theorem applied to $(\mathbb{Z}/n)^*$ , which has order $\varphi(n)$ .
The security of RSA at production scale (e.g., $n$ a $4096$ -bit number) relies on the difficulty of factoring $n$ . There is no polynomial-time classical algorithm for this; Shor’s quantum algorithm solves it in polynomial time, which is why post-quantum cryptography is now a research priority.
Computation B: Diffie–Hellman in $\mathbb{F}_{23}^*$ . The group $(\mathbb{Z}/23)^*$ is cyclic of order $22$ , generated by $g = 5$ (check: $5^{11} \equiv 22 \equiv -1$ , so $5$ has order $22$ ). Alice picks secret $a = 6$ , computes $A = 5^6 \bmod 23 = 15625 \bmod 23$ . Compute $5^2 = 25 \equiv 2$ , $5^4 \equiv 4$ , $5^6 = 5^4 \cdot 5^2 \equiv 4 \cdot 2 = 8$ . So $A = 8$ , sent publicly. Bob picks $b = 15$ , computes $B = 5^{15} \bmod 23$ . $5^8 = 5^4 \cdot 5^4 \equiv 16$ , $5^{15} = 5^8 \cdot 5^4 \cdot 5^2 \cdot 5 = 16 \cdot 4 \cdot 2 \cdot 5 = 640 \equiv 19 \pmod{23}$ . So $B = 19$ , sent publicly. Shared key: Alice computes $B^a = 19^6 \bmod 23$ , Bob computes $A^b = 8^{15} \bmod 23$ . Both equal $g^{ab} = 5^{90} \bmod 23$ . By Fermat $5^{22} \equiv 1$ , and $90 = 4 \cdot 22 + 2$ , so $5^{90} \equiv 5^2 \equiv 2$ . Shared key is $2$ .
Computation C: error correction with a Hamming code. The $(7, 4)$ Hamming code over $\mathbb{F}_2$ encodes $4$ -bit messages as $7$ -bit codewords by adding $3$ parity bits, giving minimum distance $3$ and the ability to correct any single-bit error. The parity-check matrix is $H = \begin{pmatrix} 0 & 0 & 0 & 1 & 1 & 1 & 1 \\ 0 & 1 & 1 & 0 & 0 & 1 & 1 \\ 1 & 0 & 1 & 0 & 1 & 0 & 1 \end{pmatrix}$ . A codeword $c \in \mathbb{F}_2^7$ satisfies $Hc = 0$ . If a single bit is flipped at position $i$ , the syndrome $H c'$ equals the $i$ th column of $H$ , which is the binary representation of $i$ . So the syndrome reads off the error location.
Concrete: receive $c' = (1, 0, 1, 1, 1, 0, 1)^T$ . Compute $H c' = (1+1+0+1, 0+1+1+0+1, 1+1+1+0+1) = (1, 1, 0)$ — this is the binary number $011 = 3$ if we read the syndrome as a bit string from top to bottom — wait, $(1, 1, 0)^T$ corresponds to the column $\binom{1}{1}\binom{0}{}$ , which is column $\ldots$ let me just match against the columns: $(1,1,0)$ matches column $6$ (the column $(1,1,0)^T$ ). So the error is at position $6$ . Flip that bit: corrected codeword is $(1,0,1,1,1,1,1)^T$ .
The whole construction lives in $\mathbb{F}_2^7$ , a $7$ -dimensional vector space over $\mathbb{F}_2$ . The code is a $4$ -dimensional linear subspace, the dual is a $3$ -dimensional subspace, and the syndrome map is the quotient $\mathbb{F}_2^7 \to \mathbb{F}_2^7 / \text{code}$ . Linear algebra over $\mathbb{F}_2$ is the entire content.
Computation D: a Burnside-style enumeration. How many ways to colour the four sides of a square with two colours, up to rotation? The rotation group is $C_4 = \{e, r, r^2, r^3\}$ . Fixed colourings: $|\text{Fix}(e)| = 2^4 = 16$ , $|\text{Fix}(r)| = 2$ (all sides same colour), $|\text{Fix}(r^2)| = 4$ (opposite sides match), $|\text{Fix}(r^3)| = 2$ . Average: $(16 + 2 + 4 + 2)/4 = 24/4 = 6$ . So there are $6$ distinct colourings up to rotation. Burnside is the workhorse here, and it generalizes to combinatorial enumeration on graphs (chromatic polynomials), Latin squares, and chemical isomers (Polya theory).
Computation E: Galois theory of $x^4 - 5x^2 + 6$ . Factor: $(x^2 - 2)(x^2 - 3)$ , splitting over $\mathbb{Q}(\sqrt{2}, \sqrt{3})$ , degree $4$ extension we computed in Part 7. Galois group: the Klein four-group $\{e, \sigma, \tau, \sigma\tau\}$ where $\sigma$ swaps $\pm\sqrt{2}$ and $\tau$ swaps $\pm\sqrt{3}$ . Three intermediate quadratic fields: $\mathbb{Q}(\sqrt{2}), \mathbb{Q}(\sqrt{3}), \mathbb{Q}(\sqrt{6})$ , corresponding to the three subgroups of order $2$ .
This is the classical “biquadratic” extension, central to undergraduate algebra and the simplest non-cyclic Galois extension of $\mathbb{Q}$ . Every quadratic field $\mathbb{Q}(\sqrt{d})$ is Galois with group $\mathbb{Z}/2$ , and biquadratic fields are the next layer up.
Common Pitfalls for Beginners#
The first pitfall: thinking that “abstract algebra has nothing to do with computation.” It has everything to do with computation, and the pure-versus-applied distinction is largely artificial. The same Galois theory that classifies polynomial solvability also runs the elliptic curve cryptography in TLS handshakes. The same representation theory that describes simple Lie algebras also predicts spectral lines in atomic physics.
The second pitfall: assuming applied means “less rigorous.” The cryptographic protocols described above all rely on rigorous theorems: Lagrange, Fermat, the Chinese Remainder Theorem, the unique factorization in $\mathbb{F}_p[x]$ . Without these, there is no proof that decryption inverts encryption, and the systems would be heuristic. Modern cryptography is among the most rigorous applied subjects in existence.
The third pitfall: thinking the applications are an afterthought. They are not — they are why the abstract subject was built. Galois invented his theory specifically to settle the unsolvability of the quintic. Hilbert built his algebraic number theory specifically to attack reciprocity laws. The abstract structure was always in service of a concrete problem.
Where This Shows Up#
Public-key infrastructure. Every HTTPS connection, every signed software update, every authenticated email uses some combination of RSA, ECC, and Diffie-Hellman — all rooted in finite group theory. The transition to post-quantum cryptography (Kyber, Dilithium, McEliece) replaces these with lattice-based and code-based schemes that draw on yet more algebraic structure: structured lattices over rings, error-correcting codes over $\mathbb{F}_q$ , and isogenies between elliptic curves.
Quantum computing. Quantum algorithms exploit the linear algebra of unitary operators on Hilbert spaces. Shor’s algorithm uses the quantum Fourier transform, which is essentially representation theory of cyclic groups $\mathbb{Z}/n$ . Grover’s algorithm uses amplitude amplification, which is geometric. The whole subject is algebraic.
Standard model physics. The gauge group $SU(3) \times SU(2) \times U(1)$ classifies fundamental forces. Particles transform in irreducible representations of this group: quarks in $\mathbf{3}$ of $SU(3)$ , electroweak doublets in $\mathbf{2}$ of $SU(2)$ , hypercharge in irreps of $U(1)$ . The Higgs mechanism breaks the symmetry, producing massive gauge bosons. All of this is representation theory of compact Lie groups.
Coding and compression. Reed-Solomon codes, BCH codes, low-density parity-check codes, polar codes — all are constructed using algebraic methods. The deep-space communication protocols that delivered the Voyager images, the cellular protocols (LTE, 5G), and the data center error correction all run on this algebra.
What I Want You to Carry Forward#
Three reflections to close the series:
The unifying theme. Twelve articles ago we started with “what is a group?” and ended with “how does the Standard Model work?” Every step was forced by the previous one: groups need actions, actions need quotients, quotients need normality, normality leads to homomorphisms, homomorphisms lead to representations, representations need linearity, linearity needs fields, fields need extensions, extensions need Galois groups, Galois groups need solvability, solvability needs a categorical perspective. Nothing was arbitrary.
The discipline of computation. If you have worked the examples in each article — multiplied permutations, factored polynomials, computed Galois groups, written character tables — you have built a reflex. Abstract algebra cannot be learned by reading alone; it must be done. The reward is that, at the end, the abstract structures feel inevitable rather than arbitrary, because you have seen them in many concrete instances.
The role of algebra in modern mathematics. Algebra is one of the three pillars of mathematics, alongside analysis and topology, and it has cross-pollinated with both: algebraic topology, algebraic geometry, algebraic combinatorics, algebraic number theory, representation theory of Lie groups, homological algebra. The trend is unidirectional: subjects with “algebraic” in their name proliferate, because algebraic methods are precise and they often reduce hard problems to classifications.
Mathematics is the slow accumulation of structural insight, one definition at a time. The journey from “I have heard of groups” to “I can use representation theory to predict particle interactions” is long, but every step is well-defined and each builds on the last. That is the genuine satisfaction of the subject — not that it is useful (though it is), but that it makes sense, in a way that very few other things do. Welcome to the structure. The structure is welcoming you back.
Abstract Algebra 12 parts
- 01 Abstract Algebra (1): Groups — Your First Encounter with Algebraic Structure
- 02 Abstract Algebra (2): Group Actions — How Groups Move Things Around
- 03 Abstract Algebra (3): Quotient Groups and Homomorphisms: The Art of Collapsing Structure
- 04 Abstract Algebra (4): Sylow Theorems — Dissecting Finite Groups
- 05 Abstract Algebra (5): Rings and Ideals — When Multiplication Enters the Picture
- 06 Abstract Algebra (6): Polynomial Rings — Factorization and Unique Decomposition
- 07 Abstract Algebra (7): Field Extensions — Building Bigger Number Systems
- 08 Abstract Algebra (8): Galois Theory — The Bridge Between Fields and Groups
- 09 Abstract Algebra (9): Modules — Generalizing Vector Spaces
- 10 Abstract Algebra (10): Representation Theory — Groups Acting on Vector Spaces
- 11 Abstract Algebra (11): Category Theory — The Language of Mathematical Structure
- 12 Abstract Algebra (12): Algebra in the Wild — Cryptography, Coding Theory, and Beyond you are here