Mathematical Proof and the Pythagorean Theorem


Mathematical Proof and the Pythagorean Theorem

Michael
Today we’re exploring an idea that can get overlooked in math class: mathematics isn’t only about calculation. It’s also about proof—the reasoning that shows why a result must be true. And the surprising theme is that calculation and proof are not rivals; they’re two sides of the same coin.

Anna
Let’s begin with a result almost everyone has met: the Pythagorean theorem. In a right-angled triangle, the square on the hypotenuse has the same area as the two squares on the other sides combined. There’s a wonderfully visual proof that makes that relationship seem almost immediate.

Michael
Take four identical copies of the triangle and arrange them inside a large square. In one arrangement, the open space left in the middle is a square whose side is the hypotenuse. Rearrange the same four triangles, and the leftover space becomes the two squares on the shorter sides. The triangles are unchanged, so the remaining areas must be equal: that’s the theorem.

Anna
It’s an elegant argument, but pictures can hide assumptions. To be certain the leftover shapes really are squares, for example, we need to know their corners are right angles. That helps explain why a visual demonstration and a fully articulated proof are not always quite the same thing.

Michael
Euclid’s proof takes a much more systematic route. It begins with basic statements about points and lines, develops results about areas of rectangles, parallelograms, and triangles, and then shows carefully how areas can be transformed. It’s longer than the picture, but it makes explicit which earlier facts support the conclusion.

Anna
There’s a memorable story about Thomas Hobbes, the seventeenth-century philosopher. He encountered Euclid’s Elements when he was about forty, opened to the Pythagorean theorem, and reportedly exclaimed, “By God, this is impossible.” He followed the proof backward through the propositions it relied on until he was convinced—and became fascinated by geometry.

Michael
His experience captures how a proof works: a surprising conclusion is reduced to simpler results, those results to still simpler ones, and eventually the chain reaches axioms—starting statements taken as basic. The Greek ideal was that the conclusion follows by logic from those foundations.

Anna
Why work so hard to prove something that a picture seems to show? One important part of the answer lies in the Pythagoreans’ discovery that the square root of two is irrational: it cannot be expressed as a ratio of natural numbers. The diagonal of a unit square is geometrically real, but it doesn’t fit into the hoped-for world of whole-number ratios.

Michael
That discovery exposed a gap between geometry and number. The Pythagoreans had hoped to explain everything through whole numbers, but the diagonal of the unit square resisted that description. The Greeks responded by building geometry from axioms and logic rather than relying only on numerical calculation.

Anna
That axiomatic approach became a lasting model for mathematics. Axioms may be treated as self-evident statements, or simply as assumptions we choose to investigate; logic then lets us derive theorems from them. It’s a framework that can support different mathematical theories, not just one particular picture of geometry.

Michael
Algebra developed along a different historical path, in India, China, and the Islamic world, rather than as a continuation of Greek geometry. Yet early algebra often justified its methods geometrically. A classic example is completing the square to solve a quadratic equation.

Anna
Around 800 CE, al-Khwarizmi described a way to solve the equation x squared plus ten x equals thirty-nine. Imagine x squared as a square of side x, and split the ten x into two rectangles, each with dimensions x by five. Together they form an L-shaped area of thirty-nine.

Michael
The L shape is missing a small square of side five. Add that square, whose area is twenty-five, and the larger shape becomes a complete square with area thirty-nine plus twenty-five, or sixty-four. Its side is eight, so x plus five is eight, which gives x equals three.

Anna
That’s algebra solved through a geometric picture. Al-Khwarizmi’s influential book gave us the word algebra, and his name gave us algorithm—a word that will matter later when we ask what calculations can and cannot be carried out by a systematic procedure.

Michael
By around 1600, mathematicians increasingly wrote these geometric relationships with symbols. They could represent the square by x squared, a rectangle by five x, and combine areas with plus signs. Completing the square then became a calculation with expressions, rather than something that required drawing and recognizing shapes.

Anna
Symbolic algebra made the work more efficient, though a picture can sometimes feel more immediately clear. The shift let mathematicians treat geometric objects through equations. Descartes’s geometry of 1637 is a landmark example: a circle of radius one can be represented by x squared plus y squared equals one, and a straight line by a linear equation.

Michael
Then finding where a line meets a circle becomes a matter of solving their equations together. Geometry could increasingly be handled through calculation. Newton called this kind of algebra universal arithmetic, because symbols were being added, multiplied, and subtracted much as numbers are.

Anna
That expansion of calculation also reached problems involving infinitely small pieces and curved shapes. Archimedes used ingenious slicing arguments to find areas and volumes. If you cut a circle into thin pizza-like slices and arrange them side by side, they approach a shape whose width is nearly the circle’s circumference; thinner slices make the approximation closer.

Michael
That kind of reasoning connects the circle’s area with its circumference and leads to the familiar area formula, pi r squared. Archimedes also compared horizontal slices of a sphere with corresponding slices in a cylinder and cone. Since the slice areas match in the relevant comparison, adding the slices gives a route to the sphere’s volume using volumes the Greeks already knew how to calculate.

Anna
There was another striking example just before 1600. Thomas Harriot studied the length of an equiangular spiral, a kind of spiral associated with the shape of a Nautilus shell. He divided a triangle into smaller, similar pieces and rearranged them into the spiral, revealing that its length equals the sum of two sides of the original triangle.

Michael
These arguments show how powerful geometric ingenuity could be, but they were not easy methods to invent. Calculus changed the situation. Introduced by Newton and Leibniz in the seventeenth century, it provided common calculation techniques for areas, volumes, slopes, and arc lengths, and opened the door to a flood of results.

Anna
The early methods were not always conceptually tidy. In a calculus textbook published by l’Hôpital in 1696—written with substantial help from Johann Bernoulli—curves were treated as if they were made of infinitesimal straight segments. That makes finding a tangent seem simple: extend the tiny straight segment at the point. But the assumption is puzzling, because a curve is also being treated as straight at an infinitesimal scale.

Michael
The same tension appeared in calculations with symbols such as dx. In a derivation of the slope of a tangent to a parabola, one step divides by dx, so dx is treated as nonzero; a later step neglects dx, as though it were zero. The calculation gets the correct slope, but its reasoning appears to use conflicting assumptions.

Anna
Mathematicians recognized that the foundations needed attention. Today, limits make the reasoning precise: rather than claiming that two plus dx equals two, we say that the value approaches two as dx approaches zero. Early excitement over calculus’s results, though, often came before a complete clarification of what the infinitesimals meant.

Michael
So calculation has proved to be a powerful form of proof. It can establish results that would have demanded exceptional geometric ingenuity. Now let’s turn the coin over: can proof itself be treated as a calculation?

Anna
Leibniz thought logic might be computable. He had designed a machine that could add and multiply, and imagined that people might one day settle arguments by saying, in effect, “Let us calculate.” He was too busy with his many other roles to develop the idea fully, and it took until the nineteenth century for a major step forward.

Michael
In 1847, George Boole developed what is now called Boolean algebra, a way of calculating with propositions that are either true or false. Propositions can be combined using operations such as and, or, and not. If A is true and B is false, then A or B is true, while A and B is false.

Anna
That gives a neat arithmetic-like system for propositional logic. But mathematics needs more than propositions combined in that simple way. It talks about variables that might represent numbers, points, lines, or sets; properties and relations, such as being even or less than another number; and quantifiers such as “for all x” and “there exists an x.”

Michael
Once all those ingredients are present, we can express mathematical statements. The harder question is how to identify every statement that is logically valid under all possible interpretations. In 1879, the German philosopher Gottlob Frege gave predicate logic an axiomatic foundation, with logical axioms and rules for deriving new valid formulas from old ones.

Anna
Frege’s system was later shown to be complete in a particular sense: its axioms and rules can derive every logically valid formula. That suggests a proof-generating procedure. List the axioms, then the results obtainable in one step, then those obtainable in two steps, three steps, and so on. Any statement that has a proof will eventually appear.

Michael
But there’s an important catch: this procedure only tells you that a statement is valid when it eventually finds a proof. If a statement is not valid, the search may keep going forever without telling you so. It generates all the valid proofs, but it does not necessarily decide validity by giving a definite answer for every case.

Anna
The broader questions about such procedures became clearer as mathematicians studied infinity in the nineteenth century. They needed a better understanding of real numbers for calculus, and new, non-Euclidean geometries made it important to find foundations that could accommodate different geometries. Richard Dedekind and Georg Cantor helped clarify the distinction between the discrete natural numbers and the continuous real numbers.

Michael
The natural numbers are an example of a discrete infinity: you can count them one by one. So are the integer-coordinate points in a plane, even though they’re arranged in two dimensions; they can still be listed in an order. Points on a line seem different, because there’s no obvious first point or next point to count.

Anna
Cantor’s diagonal argument makes the difference precise. Imagine that someone claims to have listed all the real numbers between zero and one, writing each as an infinite decimal. Look at the first digit of the first number, the second digit of the second, the third digit of the third, and so on. Now construct a new decimal that differs from each selected digit—for instance, changing a one to a two, and any other digit to a one.

Michael
The new number differs from the first listed number in its first decimal place, from the second in its second place, and from the third in its third place, continuing down the list. So it is not anywhere on the list. No proposed list can contain every real number in that interval: there are more real numbers than a sequence can enumerate.

Anna
The lecture also offers a geometric intuition. Suppose you try to remove the listed points from a line by taking a small bite around each one, making each successive bite half as wide as the previous bite. The total length you remove is bounded by a finite geometric series, so much of the line must remain. The diagonal argument is stronger as a demonstration, though, because it explicitly constructs a missing number.

Michael
The argument also connects infinity to computation. If there were an algorithm listing all computable real numbers, the diagonal construction would give a computable real different from every number on that list. So no algorithm can list them all in that way. And although we can list algorithms, we cannot have an algorithm that always picks out exactly the ones that define computable numbers.

Anna
That limitation reaches axiom systems too. If an axiom system could generate all the facts about computable numbers, it could tell us which algorithms define them. But the diagonal argument shows that no such procedure can do that in full. This connects to major results associated with Emil Post, Alan Turing, and Kurt Gödel: limitations on algorithms and on what formal systems can prove.

Michael
Predicate logic can express all of mathematics, so the limits on proof and computation have consequences for logic as well: deciding validity in logic is not always something an algorithm can do. Gödel also showed that mathematical questions can be encoded in arithmetic using just addition and multiplication, with the consequence that no axiom system produces every correct statement about those operations.

Anna
A concrete example involves polynomial equations—equations built from variables using addition and multiplication. Ask whether such an equation has integer solutions. There is no algorithm that can always identify the equations that have no integer solutions. Even a question stated in such familiar arithmetic language can run into fundamental limits.

Michael
That brings us back to the central idea. Calculation can be a form of proof, and proof can be organized as a computation—but neither has unlimited power. The diagonal argument helps expose those limits, while also showing why mathematics cannot be completely mechanized.

Anna
And that’s an encouraging conclusion for anyone learning mathematics: there will always be room for new ideas. Calculations are powerful, proofs explain why results hold, and understanding their limits helps us see what mathematics can—and cannot—settle.

Ask anything
We've read this whole study set, so questions about it get the best answers.