Math Isn't Beautiful
I've been drawing my son a map of the maths he'll learn from elementary school through high school, with each idea connected to the ones it depends on. I stopped at “the divisor must be nonzero.” After years of writing software, I know to check that condition. When I tried to get to the bottom of it, my first question was whether division by zero might be a bug in mathematics.
How does a discipline known for its rigour end up with an exception in the four operations of elementary arithmetic? Where does the restriction come from? Has anyone studied what it would take to give division by zero a meaning?
Allowing zero as a divisor means giving up some rules of arithmetic
Division reverses multiplication. On the left of the diagram, multiplying 1 by 2 gives 2. Following the arrow backwards from the result 2 recovers the input 1, corresponding to 2 ÷ 2 = 1. Multiplication by 2 can be reversed this way for any real number. On the right, multiplication by 0 sends every input to 0. That result alone cannot identify the original input.
Trying to reverse multiplication by zero poses two different problems. For 1/0, we need an arrow that reaches 1 after multiplication by 0. There isn't one. For 0/0, every input gets there. One equation has no solution, the other has no unique solution. Neither case gives the single answer division requires.
Suppose we give 1/0 a name, k. If division still reverses multiplication, we should be able to multiply the denominator back in. That gives k × 0 = 1. The distributive law gives k × 0 = k × (0 + 0) = k × 0 + k × 0. Subtracting k × 0 from both sides gives k × 0 = 0. For both calculations to work, 1 must equal 0. Multiplying that equality by an arbitrary number makes that number equal to zero too. Requiring division to undo multiplication therefore rules out zero as a divisor. Giving division by zero a value requires changing the rules.
Give division by zero a value and the restriction moves elsewhere
Bergstra, Hirshfeld and Tucker wrote a paper about an algebraic structure called a meadow. Every element has a reciprocal, zero included. The two equations they require of the reciprocal operation imply that the reciprocal of 0 is 0. Apply this to the rationals and 1/0 equals 0. Every division now has a value, but cancelling a denominator still requires it to be nonzero. Meadows and the equational specification of division
Another approach gives infinity a place of its own. It starts with the complex numbers. No real number has square −1, so we introduce an element i with i² = −1. The complex numbers are the expressions x + iy, with x and y real. Draw the real number line horizontally and add a vertical axis for the imaginary part. The number x + iy then has coordinates (x, y). This is the complex plane. Taking a reciprocal moves each nonzero point to a new position. For example, 1/2 goes to 2, and 1/4 goes to 4. More generally, if a nonzero complex number is at distance r from the origin, its reciprocal is at distance 1/r. The closer the original point gets to zero, the farther away its reciprocal goes.
To give those distant points a place, set a sphere on the complex plane with its south pole touching the origin. Draw a line from the north pole to any point in the plane. Its other intersection with the sphere represents that point on the sphere. The origin maps to the south pole. As the point in the plane moves farther away, the line becomes more nearly horizontal and its intersection with the sphere approaches the north pole. This happens in every direction.
Every finite complex number now has a position, with only the north pole left over. Label it ∞ and we have the Riemann sphere. On this space the reciprocal map extends continuously to 0 and ∞ by exchanging them. It now expresses what happens as a point approaches zero and its reciprocal tends to infinity. We still cannot apply all the rules of ordinary arithmetic: ∞ − ∞ remains undefined. The reciprocal transformation
On a computer, the choice also affects whether a calculation can continue. Under IEEE 754's default exception handling, 1.0 / +0.0 returns positive infinity and 0.0 / 0.0 returns NaN. Even comparing NaN to itself for numerical equality returns false. Lean's math library makes a different choice for real numbers. It sets x / 0 equal to 0 for every x. Writing x / y requires no proof about y. To prove the cancellation rule (x / y) × y = x for every x, however, we need y ≠ 0. These systems handle division by zero, though multiplication by zero still sends different inputs to the same result. Default floating-point exception results · Mathlib's definition of a field
Each of these choices has a use, but none allows every divisor while preserving all the familiar rules of arithmetic. Give division by zero a value and a condition has to go somewhere else. What began as an untidy exception now requires a choice about what division should do.
That proof also expanded brackets and subtracted the same number from both sides. Where do those rules come from? I wanted to start with 1 + 1 = 2 and work out where addition comes from.
At the root of 1 + 1 = 2 are definitions we chose
Start with the usual sequence of natural numbers, 0, 1, 2, 3, and so on. Write S for the successor operation, which takes a number to the next one. Then 1 is S(0), and 2 is S(1). The recursive definition of addition has two rules.
1 | a + 0 = a |
Applying these gives 1 + 1 = 1 + S(0) = S(1 + 0) = S(1) = 2. The calculation fits on one line. The definition is what bothers me: its second rule already uses a plus sign on the right, as though addition could explain itself. To justify the recursion we need to show that an operation satisfying the two rules exists and that any two operations satisfying them agree on every sum.
The construction can proceed without a plus sign. Fix a natural number a and fill in a table, one entry for each natural number. Put a in the first entry, S(a) in the next, S(S(a)) in the one after. This uses only the successor operation, which we already have. Any two functions satisfying the rules agree at the starting position. Whenever their values agree, taking the successor gives the same next value. By induction they agree everywhere. That proves uniqueness.
To establish that the infinite table exists as a function, Dedekind first constructed it on each finite initial stretch. He showed that extending a stretch preserves all the earlier entries. The compatible pieces give the whole table. Now write a + b for the value in slot b. This defines addition with the fixed number a. Carry out the same construction for each a and we have addition on the natural numbers. Dedekind’s recursion theorems, §§125 and 126
The construction assumes that the natural numbers and their successor relation have already been given. Dedekind described their foundations in terms of a set, a starting point and a successor map. With our convention of starting at 0, these form the triple (N, 0, S). Dedekind's book starts at 1. These three objects must satisfy conditions: successors keep distinct positions distinct, the starting point is nobody's successor, and the chain generated by following S from the start takes up all of N. The last condition rules out extra elements unreachable from the start. These conditions determine the structure up to isomorphism. Its elements in any two models can be matched one for one, preserving the starting point and the successor relation. The 0, 1, 2, 3 on the page are names for those positions.
If 1, 2, 3, … are mnemonic symbols whose meanings we assign, could I define 1, 3, 5, … as a sequence of natural numbers?
Yes. Following the convention of starting at 0 used above, call the new starting element 1. Define its successor to be 3, the successor of 3 to be 5, and so on. Every element has a successor, distinct elements have distinct successors, and the starting element 1 is nobody's successor. Repeated succession from 1 reaches every element of the sequence. This satisfies the same structural requirements.
| Position in the sequence | Start | First successor | Second successor | Third successor |
|---|---|---|---|---|
| Usual symbols | 0 | 1 | 2 | 3 |
| Redefined symbols | 1 | 3 | 5 | 7 |
Addition must follow the new starting element and successor operation. Write it as ⊕. The starting element 1 plays the role previously assigned to 0, so a ⊕ 1 = a. Since 3 is the successor of the starting element, a ⊕ 3 is the successor of a. Thus 3 ⊕ 3 = 5 corresponds to the usual 1 + 1 = 2.
Here 1, 3 and 5 carry their newly assigned meanings. If we also use them as ordinary integers, we need to distinguish the two operations. In ordinary integer arithmetic, the new addition can be expressed as a ⊕ b = a + b − 1. The structural requirements for natural numbers do not prescribe the symbols 0, 1, 2, 3.
Addition can be constructed rigorously once the natural numbers and their underlying structure are in place. Construct the natural numbers in set theory and I can ask what justifies its axioms. Each explanation rests on another set of premises. I wanted a starting point that required me to take nothing for granted. Even 1 + 1 = 2 comes with assumptions.
The axioms had to fit the arithmetic people already knew
A starting point and a successor map satisfying the conditions above describe the structure of the natural numbers. Those conditions serve as axioms when we take them as the starting point for a proof. Historically, arithmetic came first. People counted and calculated long before anyone set out to find foundations for what they were doing.
| When | What mathematicians were already doing | What came later |
|---|---|---|
| Second millennium BCE | Babylonian and Egyptian texts contain calculation tables, fractions and problems about area. An Old Babylonian multiplication table | These calculations predate modern axioms for the natural numbers by millennia. |
| Around 300 BCE | Euclid's Elements organizes proofs in geometry and number theory around definitions, postulates and common notions. | Axiomatic arguments were already in use. Modern foundations for the natural numbers lay much further ahead. |
| 16th century | Complex numbers enter calculations with algebraic equations. Pages from Bombelli's Algebra | Their interpretation and rigorous construction continued to develop. |
| 17th century | Newton and Leibniz develop calculus. Leibniz's 1684 paper on differential calculus | Much of the modern foundation for limits and the real numbers took shape in the 19th century. |
| 19th century | Analysis becomes more rigorous, and algebraists systematically investigate the laws that operations obey. | Mathematicians spell out which objects and operations satisfy each law, and under what conditions. |
| 1888 and 1889 | Dedekind and then Peano publish their work on the foundations of the natural numbers. | The arithmetic people had long used acquires a modern account of its foundations. |
| 1908 onwards | Zermelo proposes axioms for set theory. Fraenkel, Skolem and others develop them further around 1922. | This work eventually leads to ZF and, with the axiom of choice, ZFC, widely used foundations for mathematics. |
The Egyptian Rhind papyrus preserves calculations with fractions, multiplication, division and areas. Books VII to IX of Euclid's Elements deal with number theory. Thousands of years separate the ancient calculations from Peano's axioms of 1889. The British Museum on the Rhind papyrus · Euclid's Elements, Book VII · Zermelo's axioms and their later development
The laws also predate their names. In Book VII, Proposition 16, Euclid proved that for the positive integers he considered, exchanging the two factors leaves the product unchanged. In 1814, while studying operators, François-Joseph Servois used the terms commutative and distributive. What changed in the 19th century was the level of abstraction. Mathematicians studied the laws in their own right and asked which operations on which objects satisfied them. Euclid's Proposition VII.16 · Servois's paper of 1814
Counting and the four operations predate their own modern axioms by millennia. Anyone looking for foundations of arithmetic already had plenty of results to explain. Whether proposed premises could recover those results was part of judging their suitability.
In a 1907 lecture Bertrand Russell used 2 + 2 = 4 to make a point about mathematical foundations. We can deduce this equation from a few premises. But when deciding whether to accept those premises, we reason the other way: we already believe the equation, and recovering it along with other familiar results counts in their favour. One passing test can't prove an implementation correct, but if my addition failed this test, I'd have to ask which operation I'd implemented. Russell’s lecture, collected in Volume 5
The same goes for 1 + 1 = 2. In a proof, 1 + 1 = 2 is a conclusion. When choosing axioms, it's an acceptance test. People had kept accounts for thousands of years before Peano wrote down his axioms. Deduction runs from axioms to arithmetic; historically, people calculated first and looked for foundations later. Peano’s 1889 treatise on arithmetic
Calculus was also in use before its foundations were settled. In 1858, teaching calculus for the first time in Zürich, Richard Dedekind had to explain why an increasing quantity with an upper bound has a limit. He had to appeal to the geometry of a straight line, and relying on that intuition bothered him. To finish the lesson using arithmetic alone, he needed an account of why the real line had no holes. He eventually constructed the reals from cuts in the rationals, supplying a foundation for methods of analysis already in use. Dedekind’s preface to Continuity and Irrational Numbers
| Perspective | Order |
|---|---|
| The history of the arithmetic and analysis considered here | Calculate and use the results → identify patterns and develop proofs → return to the definitions and foundations |
| A textbook organized around axioms | State the axioms and basic concepts → give definitions → derive theorems → show applications |
Proofs, definitions and axioms develop alongside one another in individual branches of mathematics. The table captures the direction the examples above have in common. The textbook starts with the foundations that people worked out later, then reasons forward from them. Reading in that order makes it easy to imagine that mathematics grew that way too.
It's harder for me to see this as something that came naturally. People knew the results before finding premises to organize them. The textbook leaves out much of that searching and revising, giving us a clean route from premises to conclusion.
Number systems keep expanding, without a universal test for what counts as a number
Follow the nested sets in a textbook and extending a number system starts to look like maintaining code. The natural numbers have no room for 2 − 5, so in come the negative numbers. The integers have no room for 1 ÷ 2, so in come the fractions. Learning the subject in that order leaves the impression that mathematics is a series of patches to old definitions.
The diagram makes it look as though every calculation we can't do forces us out into a bigger box. But we could leave 2 − 5 outside the domain of subtraction on the natural numbers, just as ordinary division excludes zero as a divisor. Or we could return zero whenever there isn't enough to subtract. Then every subtraction has a result, but subtracting 5 from 2 gives 0, and adding 5 back doesn't get us back to 2.
Suppose we insist that every subtraction give an answer and that adding back what we subtracted recover the original number. Then the result of 2 − 5 must satisfy x + 5 = 2. No natural number does. With negative numbers available, −3 does the job. Before extending a number system, we have to choose which laws of arithmetic to preserve.
Once we've chosen an extension, we still have to prove that operations on the old numbers give the same results in the new system. That requires a construction at each step from the natural numbers to the integers and the rationals.
For example, we can use pairs of natural numbers to represent differences. Both (2, 5) and (7, 10) represent −3, so the construction of the integers has to treat these pairs as the same object. An original natural number n is represented by (n, 0). Define addition of pairs by adding the corresponding entries. Then (2, 0) + (3, 0) = (5, 0), preserving the familiar sum 2 + 3 = 5. When we build fractions from pairs of integers, 1/2 and 2/4 likewise have to represent the same number. We rule out zero denominators and group together pairs whose cross products agree. Each extension needs a rule for when different expressions stand for the same object.
For the reals we have to decide what “getting closer” means. Start with 1.4² < 2 < 1.5² and subdivide the interval, keeping a lower endpoint whose square is less than 2 and an upper endpoint whose square exceeds 2. The interval can be made arbitrarily short, yet no rational number has square 2. Sequences of rational numbers can supply a new object to fill that gap. A sequence is called Cauchy if, for any positive distance fixed in advance, all its terms sufficiently far along lie within that distance of one another. Group two Cauchy sequences together when the difference between their corresponding terms tends to zero. Those classes, with arithmetic defined on them, form the reals. Built into the whole construction is the usual distance between two numbers, the absolute value of their difference.
We could instead compare integers by whether they give the same remainders on division by 3, then by 9, then by 27 and higher powers of 3. Now 81 looks more like 0 than 3 does. Divide 3 and 0 by 3 and their remainders agree. Division by 9 distinguishes them. The remainders of 81 and 0 agree all the way up to division by 81. On this scale, every extra factor of 3 in a nonzero integer cuts its distance from 0 by a factor of three.
So 3, 9, 27, 81 and the rest head off to infinity on the ordinary number line and head straight for 0 in the 3-adic distance. The distance works on rational numbers too. Using it to define Cauchy sequences and carrying out the same completion gives the 3-adic numbers. Writing the natural numbers as 1, 3, 5, … preserved the successor and arithmetic relations. Here we've changed which sequences converge to zero. Which number system a completion gives depends on the distance we start with. Completions of the rationals and the p-adic numbers
The outermost box in the diagram contains the reals. The imaginary unit i we met earlier sits outside it. I could draw another box for the complex numbers and still have no room for all the quaternions. To construct the quaternions, we adjoin three units i, j and k to the reals. Multiplication even loses commutativity there. The product ij is k, while ji is −k. Natural numbers, rational numbers and quaternions each have a precise definition. Calling them all “numbers” by habit leaves me without a general test I can apply to any new object someone constructs. The diagram can tell my son which boxes contain 1/2. It can't tell him what all the numbers are.
Explaining the exception at zero has required choices about where operations apply, which properties to preserve and even what “getting closer” means. Each choice has a reason that needs explaining. As the premises and adjustments accumulate, I find it harder to see mathematics as complete and symmetrical from the start.
Even Euler's identity owes some of its simplicity to convention
The complex numbers also give us Euler's identity, eiπ + 1 = 0, a favourite example of mathematical beauty. In one equation we have the base of natural logarithms e, the imaginary unit i, the circle constant π, and the numbers 1 and 0. Having seen the choices that go into defining a number system, I want to know how much those choices have to do with these five constants turning up together.
In the complex plane, multiply a rightward arrow by i and it points straight up. Multiply by i again and it points left, because i² = −1. The quarter-turn works for any position z = x + iy. Multiplication by i gives −y + ix, so the coordinates (x, y) become (−y, x). That's a ninety-degree turn counterclockwise.
Start a point at 1. Give it a velocity equal at every instant to its position multiplied by i. At 1 the velocity points straight up; at i it points left. The velocity is always perpendicular to the radius, so the point travels around the circle. Its speed also equals the radius. On this unit circle the point covers one unit of arc in one unit of time.
The power series shows how this motion connects to the exponential. The real function et is its own derivative. Its power series is 1 + t + t²/2! + t³/3! + …, where n! is the product of the integers from 1 to n. The series still converges when its argument is a complex number z, so it can define the complex exponential exp(z). Put z = it and differentiate with respect to the real time variable t. The derivative is i × exp(it), and the value at t = 0 is 1. That's precisely the motion we prescribed. Halfway round, the point has covered a distance π and arrived at −1. In symbols, exp(iπ) = −1.
Write the angle in radians as x, and eix gives a position on the unit circle. One full turn is 2π. Adding any whole number of turns leaves the final position unchanged, so ei(x + 2kπ) = eix for every integer k. In this sense, it takes the angle modulo 2π and maps it to a point on the circle. The remainder is an angle, while the complex exponential gives the complex number at that angle.
Thus 0, 2π and 4π all correspond to the starting point 1, while π, 3π and 5π correspond to −1 on the opposite side. The statement eiπ = −1 says that starting at 1 and turning halfway around the circle brings us to −1. We can trace how those seemingly mysterious constants ended up together.
The identity connects complex multiplication to the exponential function through the definitions and calculation above. How short the last line looks also depends on how we write it. A different unit of angle or a different exponential base introduces an extra factor.
For example, with an angle of d degrees, the position becomes exp(iπd/180). Half a turn still ends at −1. Radians make the conversion factor disappear. Using base e saves a factor too, since the derivative of aᵗ picks up ln(a) for a positive base a. Move −1 across the equals sign and the equation includes 0. Write τ = 2π for one full turn and the return to the start becomes exp(iτ) = 1. Changing units preserves the connection between growth and rotation. Simply moving a term changes whether all five constants appear together.
Choose the answer first, then assemble the equation
If several famous constants ending in 0, 1 or −1 are enough to inspire awe, we can assemble examples on the spot. Take e, π, √2 and i. Choose the answer first, then fit the constants into it.
Start with zero:
sin²(ln π) + cos²(ln π) − ln e = 0
Putting π and a logarithm inside trigonometric functions, then adding e, looks like a meeting of several branches of mathematics. For every real a, sin²a + cos²a = 1, and ln e = 1. The left-hand side is 1 − 1. Replace ln π with √2, or any other real number, and the result stays the same.
Next, make one:
ln(π√2) / (√2 · ln π) = 1
Take the logarithm of π raised to the power √2, divide by √2 · ln π, and the result is 1. The reason is ln(ab) = b ln a. Expanding the numerator makes it identical to the denominator. Whenever a > 0, a ≠ 1 and b ≠ 0, replacing π and √2 with a and b gives another equation. There are infinitely many choices.
Finally, make minus one:
exp(iπ[(√2)² + ln e]) = −1
Here exp(z) is the ez defined earlier. The expression in brackets is 2 + 1 = 3, so the whole expression is e3iπ. One full turn followed by half a turn still lands at −1. We have e, i, π and √2 together, with a tidy answer.
I assembled all three by inserting constants into existing identities for trigonometric functions, logarithms and complex exponentials. Famous constants, dense notation and a simple result are an appearance we can manufacture in bulk. To assess what a formula contains, we still have to ask which relationship it reveals, what its proof needs, and what remains when the constants change. A few constants sharing a line no longer strike me as mysterious.
Beyond the pretty formulas lie long proofs and exceptions
Euler's identity owes some of its simplicity to our choice of definitions, units and notation. Choosing it to represent mathematical beauty adds another selection. Much of mathematics is far less tidy.
The four colour theorem has a concise conclusion: four colours suffice to colour a map on a plane so that regions sharing a stretch of boundary have different colours. A child with a box of crayons can try it. The proof asks what the smallest counterexample would look like. First show that it must contain one of a particular list of local configurations. Then show that no configuration on the list can occur in a smallest counterexample. One later proof got the list down to 633 configurations for a computer to check. The conclusion takes only a few sentences to explain, giving little sense of how many cases the proof must handle. The proof in the authors’ own words
Some classification results themselves contain many exceptions. Mathematicians use groups to describe symmetries. Finite groups have basic building blocks called finite simple groups, much as integers have primes. The classification theorem lists whole families of them, then another 26 known as the sporadic groups. The largest, the Monster, has about 8 × 1053 elements. All 26 need their own entries to complete the classification. Ronald Solomon’s history of the classification · The Monster in the ATLAS
A simple rule doesn't guarantee we can prove what it will do. Pick a positive integer: halve it if it's even, or multiply by three and add one if it's odd. Starting at 6 gives 6, 3, 10, 5, 16, 8, 4, 2, 1. Does the sequence eventually reach 1 from every positive starting integer? The Collatz conjecture says it does. Induction on the size of the starting number runs into an obstacle. The first step from 5 lands at 16, where knowing that every number smaller than 5 reaches 1 is of no help with that step. A child can run this loop. Nobody has proved that it reaches 1 on every input. Terence Tao on Collatz orbits
Even the real numbers we can name individually are limited by the language we use to describe them. Fix a language with a finite alphabet and use finite strings to name numbers. List the strings of length one, then those of length two, then three, and so on. All the descriptions fit on a single list, making the set countable. Keep only the descriptions that pick out a single real number and the list is still at most countable. The reals are uncountable, so no such list can contain them all. Even within the interval from 0 to 1, all the numbers that can be named this way take up no length at all. Cover the first with a short interval, the second with one half as long, and keep halving the length. For any positive length fixed in advance, a sufficiently short first interval lets the whole list fit under that total length. That's what measure zero means. The three words “all real numbers” can of course refer to the entire set. That limit on finite descriptions tells me how little of the real line a textbook can cover with individually named numbers, though it says nothing by itself about beauty.
I stopped at “the divisor must be nonzero” on my son's map because it spoiled the tidy picture of the four operations. Explaining that one line took multiplication, the distributive law and the requirement that division undo multiplication. To explain the simplest sum I needed the natural numbers, the successor operation and a recursive construction. Further out, every family of numbers has a definition of its own, and every extension has properties it's meant to preserve.
Each detail has a reason. Including them all means filling the map with conditions, conventions, trade-offs and unanswered questions alongside its clean lines and elegant equations. The harder I try to explain mathematics clearly, the harder I find it to see it as beautiful.
- Blog Link: https://johnsonlee.io/2026/11/28/math-is-not-beautiful.en/
- Copyright Declaration: 著作权归作者所有。商业转载请联系作者获得授权,非商业转载请注明出处。
