1. Home
  2. Explore
  3. Mathematics
  4. Mathematical Proof and the Pythagorean Theorem

Study methods

Flashcards
Quiz
Fill in the blanks
Written test
Lesson
Notes
Podcast
Content

Mathematical Proof and the Pythagorean Theorem

Transcript

(bright music) - Well thank you, Lisa, and thank you to all the viewers who've tuned in. But I'd also like to thank Princeton University Press and the Royal Institution for giving me this opportunity to talk about my book. Now, why am I so obsessed with the idea of proof in mathematics? Well, one reason is that I think it doesn't get enough recognition in our teaching. Everybody knows that mathematics is about calculation, but more so if anything, it's about proof. And that's what I would like to emphasize.

Not that I've got anything against calculation. In fact, one of the things I want to explain today is that calculation and proof are basically two sides of the same coin. But to see what I'm talking about, let's begin with the proof. Now this is my favorite and it's of the Pythagorean theorem, which I'm sure all of you know. It's probably everybody's first theorem. And it says that the square on the hypotenuse of a right angle triangle is equal to the sum of the squares on the other two sides.

Now, there's a lovely visual proof of this, probably a very ancient proof even before Pythagoras, possibly, and it consists just of two pictures. The first picture takes four copies of the triangle and arranges them in a square, sort of head to tail like this. And it's clear when you do that that the remaining space is simply the square and the hypotenuse, the gray square. But if you rearrange the four triangles like this, the remaining space is obviously the squares on the other two sides, the black squares. Therefore, the gray area is equal to the black area, which is precisely Pythagoras theorem.

It's very clear, it's very simple, and you see it immediately. In fact, I believe the word theorem means what is seen. That was the original meaning. But if you think a little more, you might quibble slightly because we may have been deceived by these pictures. It's not absolutely certain that that gray area is a square. You would have to check, I think, that the angles in the corners are right angles. And if you look in Euclid, for instance, for his proof of the Pythagorean theorem,

you'll see it's entirely different from this. It starts with some very simple assumptions, like this aligns you're only two points and it proceeds to develop a theory of areas of rectangles and parallelograms and triangles, and then it carefully transforms the squares on two sides of the triangles to the square on the hypotenuse. So it's very convincing also, but also very elaborate. And this led to a remarkable reaction to Euclid's proof, which I enjoy immensely.

It's the reaction of Thomas Hobbes, the English 17th century philosopher, who apparently didn't meet geometry in his younger days. He first came across it when he was 40 years old and happened to see a copy of "Euclid's Elements" in the gentleman's library. And it was open to the Pythagorean theorem, which he read. And he said, "By God, this is impossible." And I don't blame him entirely. If you hadn't seen that proof I just showed you, it does seem very surprising

that there's a simple relationship between the sides and the hypotenuse of the right angle triangle. Well, what did he do? He read the proof, which referred him back to some other proposition which referred him back to another that at last he was convinced of that truth. This made him in love with geometry. A wonderful story and it also illustrates the way proofs work. You find simpler things on which the proof depends and then simpler things on which they depend, and finally, you get back to self-evident propositions which are known as axioms. So that's what Hobbes was impressed by. The fact that this surprising theorem follows by logic from self-evident statements about points and lines.

But still, as I say, it is a very elaborate proof. And why did the Greeks go to so much trouble to prove something that you could just see? Well, it appears that the reason that they were so concerned about proof in geometry is another discovery of the Pythagoreans. And this is perhaps the more important discovery the Pythagorean theorems, cause as I said, Pythagoreans as I said, Pythagorean theorem itself was discovered in many cultures in India, China, Babylonia before Pythagoras even.

But what the Pythagoreans discovered, which was more influential than any of the other discoveries, is the irrationality of root two. Irrationality means root two is not a ratio of natural numbers. That's what irrationality originally meant, not a ratio. But, of course, it always seems to us to mean crazy or senseless. And this dual meaning is also what the Pythagoreans thought because this very much upset their theory of the world. They believed or hoped that everything could be explained in terms of whole numbers.

But by discovering root two is not explainable in this way, they've discovered a kind of chasm between geometry and numbers, 'cause root two certainly belongs to geometry. There it is as the diagonal of the unit square. But according to this discovery, it doesn't belong to the world of numbers. So there is a divorce between geometry and number theory and they realize that to find the truth of geometry, they would have to take another approach. And that's the origin of this axiomatic method, which is exemplified by Europe. Here's a picture of the first printed edition of "Euclid's Elements".

But the essence of "Euclid's Elements" is that there are certain axioms self-evident statements about points and lines and circles and you derive theorems from them by logic. So everything follows in an undeniable way from undeniable statements. That's the certainty that the Greeks were looking for in geometry.

Now that is the method that has survived the whole history of mathematics. Today, it's become the model of the way we develop mathematics. You take certain axioms which might be self-evident statements or might be simply statements you want to assume and later find what things satisfy these statements. But in any case, you have a starting point called axioms and by means of logic, you deduce theorems. Now this sounds very different from algebra as we know it from high school, say.

Algebra developed separately from Greek mathematics. In fact, the Greeks never quite got the idea of algebra. They missed something and algebra developed an India, China, and the Islamic world. But surprisingly, it's still deferred to geometry for justification. The example I want to talk about is quadratic equations. Now we talk about completing the square to solve quadratic equations. This was very literally what they did in the early days. I want to show you an example from al-Khwarizmi, which is a is a book on algebra from around 800 C.E.

Al-Khwarizmi was not the first to do this, but he was the one who really made it, catch on. Algebra, as we know it, really begins with him. In fact, the name of his book gave us the word algebra and his own name al-Khwarizmi gave us the word algorithm, which is also very important for the rest of this story as you'll see. Now, al-Khwarizmi' algorithm for solving quadratic equations was like this.

If we got the equation with x squared plus 10x on one side, he views this as a square plus two rectangles. We would say the square is x squared, the square with side equal to x and he split a 10x into two pieces, a 5x and a 5x. One of them has width five and height x, the other has height five and width x. So these three objects together make an L-shaped piece, which the right-hand side tells us is equal to 39. Now when you look at that L-shape, it's just dying to be completed to a square

and the square has width five and height five so it has area 25. There it is. And when we've completed the square, we have basically this picture. An L-shaped area of size 39, a square of size 25, the width is x plus five, that was the square plus the width of the rectangle. But 39 plus 25 is 64, which is the square of eight. So this completed square is a square of width eight, which is also equal to x plus five, therefore x equal three. We've solved the quadratic equation by pure geometry.

He didn't have the symbol x or x squared or 5x. He just drew this picture. Now it wasn't until around 1600 that people started to do algebra the way we do it today, which is more like arithmetic. People realize you could write x squared, with the superscript two to denote the square with side x and 5x for the rectangle with size five and x and add a plus sign for the sum and so forth. And it became very efficient to deal with squares and rectangles simply by arithmetic operations plus and minus and multiplication. So it became possible to completely drop the geometric explanations, leaving just a calculation like this one. And this is what al-Khwarizmi did with squares and rectangles done with symbols, the x squared and the 10x.

And the completing the square bit I've highlighted in blue. And if you are inclined to think geometrically, you probably think this is not as clear as looking at squares and rectangles and maybe it isn't. But nevertheless, people got used to it and they got used to seeing that x squared plus 5x plus 5x plus five squared is the square of x plus five. So completing the square could be done by algebraic recognition rather than geometric recognition. And it was more efficient if you could just write things down like this without having to draw pictures of squares and rectangles.

And this led to a kind of takeover of geometry by algebra. And Descartes is, of course, famous for doing this in his geometry 1637. For instance, instead of drawing a circle, you could write down the equation x squared plus y squared equals one, which denotes a circle with radius one. Instead of drawing a straight line, you could write down a linear equation, which is why we call 'em linear incidentally. And if you wanted to find where the line intersects the circle, you could simultaneously solve the equation of the circle and the equation of the line.

So all in all, anything that Descartes did could be done by calculating with the equations. Newton later called this form of algebra, universal arithmetic 'cause he recognized that you're just adding and not applying and subtracting and so forth with symbols much the same as you do with numbers. So it's basically arithmetic. And the results of these calculations could very well be described as theorems because anything you got in geometry could now be got in algebra. So theorems are now things that you can obtain by calculation.

The next step was to expand algebra to calculate results of so-called infinite and infinitesimal processes, which is a further step in geometry, but also one that answers some very natural questions like the area of the square and comparing it to its circumference. And this picture illustrates how it could be done. If you slice the circle like a pizza into thin slices

and lay the slices side by side, you'll realize that the width of this sequence of triangles is very nearly the circumference of the circle. And as those slices get thinner and thinner, it gets nearer and nearer. So if you pretend there's such a thing as an infinite testament slice by slicing into infinitely many pieces, then it would be exact. And you could see that the area of the circle is related to the circumference and you get the formula pi r square, this sort of thing was done by Archimedes. And another thing that arched did was find the volume of the sphere again by slicing or dissecting into infinitely many pieces. He visualized the sphere as sitting inside a cylinder

and he considered a horizontal slice of the sphere, which is a a disc or circle. And he compared that with a cone also sitting inside the cylinder. And it turns out by your knowledge of the area of the circle, that the area of that slice of the sphere inside the sphere equals the area of the slice outside the cone. And therefore, if you imagine you can simply add all of these slices to get the volume of the sphere, you see that the volume of the sphere equals the volume outside the cone,

which is the volume that the Greeks already knew how to compute. And therefore our Archimedes was able to find the volume of the sphere. Let me give you one more example of this kind of infinite ingenuity. This is the length of a spiral and it was done by Thomas Harriet shortly before 1600. Now this spiral is called the Equiangular spiral. It's the kind of spiral that occurs in the Nautilus shell where you have lines coming from a certain point which all meet the spiral at the same angle.

Now, Harriet made this spiral by cutting up a triangle into similar shaped pieces. The triangle is on the left, the spiral is the rearrangement of those pieces on the right, and it's clear from this picture that the length of the spiral is equal to the length of the two sides of the triangle, and the spiral ends toward a true spiral by making the slices smaller and smaller. So in this, this way, Harriet was able to find the length of a curved line, a very surprising result. But all three of these examples we require a lot of ingenuity and not many people could think of the the kind of processes that are involved here. Calculus suddenly made all of this easy. Calculus, as the name suggests, is about calculation. It's a means of calculating volumes and areas and slopes and arc lengths all by similar calculations,

which were introduced by Newton and Wilhelm Leibniz in the 17th and 18th century. And suddenly there was a whole flood of new results that could be obtained by fairly easy calculations. And mathematicians were so excited by this that they didn't stop to think very much about what, what these infinite decimals, as they were called, really meant. Now let me give you an example from the first calculus textbook, which was written by l'Hôpital in 1696.

Actually, the book was ghost written by Johan Bernoulli, a very fine mathematician who was paid by l'Hôpital to help him write a book. And one of the early assumptions in in the book is that curves are made of infinitesimal straight segments. The book actually gives this picture showing a series of straight lines bending around. So they're pretending that a curve is also a straight,

somewhat contradictory assumption, but somehow you can make sense of that. And it helps to have assumptions like this if you wanna find tangents to curve. Because in this infinitesimal picture, a tangent is simply the continuation of one of those strength segments kind of contradictory and nonsensical, but it worked. Now, the same kind of contradiction was present in algebra. They, wrote infinite decimals by expressions such as dx, which they took to be sometimes zero and sometimes not.

Again, you can't really do that, but they did it all the same. And here's an example, calculating the slope of the tangent to a parabola. The derivation of this equation is not important, but if you look at the, the bit highlighted in blue, you'll see in the beginning the first step is to divide by dx. So that means you're assuming dx is not zero. Then the last step is neglecting the dx. So pretending it is zero, so you've made contradictory assumptions, but somehow got the right result, the slope of the tangent really is equal to two. Now, the mathematicians at the time realized that this was a little dodgy,

but they thought if they went to some more trouble, they could, they could justify it. And indeed it can be legitimized as we do today by talking about limits. Instead of saying two plus dx equals two, you would say that the limit of two plus dx equals two. And by introducing the concept of limit, you can legitimize these calculations that, but as I say, in their excitement over all these new results, mathematicians never bother to get this completely straight.

Anyway, the story so far is that by means of calculation first in algebra and then in calculus you are able to prove many things, many things that could not be done even by the Greeks, where they're very high standard of proof and ingenuity. So calculation, as I said, it's not to be ridiculed or belittled. It is a form of proof and it is very powerful. But next I wanna show the proof is a form of calculation. This is the other side of the coin.

Now the first to have the idea that logic could be done by calculation was Leibniz. And Leibniz knew something about computation. He even designed a calculating machine. This is a picture of it, which comes from a museum in Hanover which was where Leibniz lived. And it was a machine that could add and multiply.

So he knew something about it and he had this idea that logic might be done by calculation, and that sometime in the future it would be possible for people to settle arguments simply by saying, well, let us calculate. And the calculation would show who was right, but Leibniz was a very busy man. He was a diplomat and a librarian and a philosopher as well as being a mathematician. So he didn't get around to it, working out this idea in detail.

In fact, it didn't happen until the 19th century, a couple centuries later. And the first important step in the process of reducing logic to computation was done by Boole in 1847. And we now call what he did Boole algebra and is a form of algebra. And it describes a certain part of logic called propositioning logic.

And in proposition of logic, propositions are just denoted by letters like in algebra. And the only attribute one of these letters has is either been true or false, it has a proposition as just those two values, true or false. And you combine propositions by words such as and or not implies and rule notice that or was rather like the plus operation an anguish like modification. So let me give you an example. Suppose we have propositions, we're call A and B, and A happens to be true and B happens to be false. In that case, A plus B, which is A or B is also true, but A times B, which is A and B is false. So very simple computation and you can elaborate

to any degree you'd like. Any combination of letters by end or not implies given truth, values of of the variables, A, B, C, et cetera. You can calculate by these rules. Simple arithmetic kind of rules what the value of the proposition is, whether it's true or false. It corresponds rather beautifully to arithmetic, addition and modification.

But unfortunately it's not a rich enough logic to describe mathematics. 'Cause if you think about mathematics, mathematics involves variables, X, Y, Z and so on, which could stand for numbers or points or lines or sets. Many different things, many different interpretations of the variables are possible. And then there are predicates such as properties or relations. So you can say things like excess property P or x is in relation are to y. So the kind of propositions in this logic are quite

complicated and they require a lot of interpretation. You've gotta interpret the variables whether they stand for numbers or whatever. You've gotta interpret the properties whether property P is perhaps being even being odd, you've gotta interpret the relations such as maybe x is less than y or x equals y, or all of that has to be done before you think about combining propositions by end or not. And in addition to that, you've got to have quantifiers as they're called, the for all x and their exists in x. And when you've got all of that, then you can, you can state all the propositions of mathematics. So this is the language strong enough to express mathematics and it it has logic ingredients,

but how do you decide which are the logically valid statements, the statements that are valid under all possible interpretations. Now an example of a valid statement would be say if A has property P then there exists an x such that x has property P. That's true for all interpretations of x and all interpretations of the property P. But how do you find all of those things? It's not simply a matter of calculating sums products like it is in proposition.

Now, remarkably German philosopher Frege completely settled this question back in 1879. He made predicate logic an axiomatic system. He found some logic axioms which were self-evident, self evidently valid statements like the one I just mentioned about xs and x. And he stated some rules of inference which enabled you to derive new valid formulas from old ones. And he supposed he didn't prove that his axioms and his rules would would give you all the logically valid forms.

Now, it wasn't known at the time whether his axioms and rules were complete in the sense. That was not known for another 50 years. But in fact it is true. Frege's axiom rules are sufficient to derive all the logically valid formulas. And this gives a rather exciting possibility. Mainly you could describe an algorithm for generating all proofs and hence all logically valid formulas. And the algorithm would go something like this.

You could list all the formulas with one step proofs. They're the axioms themselves. You simply write down an axiom and that's considered a proof of the axiom. Then you write down the ones with two step proofs, the theorems that follow from the axioms in one step, one application of a rule. Then those were three step proofs, those were four step proofs and so on. And so anything that has a proof will eventually be reached by this process. Now it's worth dwelling on this idea a bit. I should say that Frege didn't imagine this possibility

as far as we know, it was only seriously considered in the 1920s when people began to think about calculations of this kind. And it's also important to realize what this does not do. It does not enable you to decide whether a proposition of logic is valid or not. If it is valid, you will eventually find it by this process, but you dunno how long you'll have to wait.

And if it's not valid, you may simply wait and wait in vain forever 'cause this, this process produces only valid proofs and not the invalid ones. So there is a slight catch to this. It's sort of one-sided. You can find all the valid formulas, but not necessarily all the invalid ones. Now this is an infinite computation, as I said, these things are are quite reasonable but not considered until the 1920s. In the 19th century, the concept of infinity was studied seriously for the first time. And the main reason for this was the need to understand the real numbers. Calculus, as we've seen, demands a better understanding of the real numbers. Another thing that happened in the 19th century was that non-nuclear in geometries were discovered. It was discovered that Euclid is not

the only possible geometry. And so a common foundation for all geometries was needed. And the real numbers seem the best way to get that. But to understand the real numbers, you've got to understand infinity and the two mathematicians who contributed the most to this initial understanding with Dedekind and Cantor. Between them, they uncovered the difference between the discreet, which is exemplified by the natural numbers and the continuous, which is exemplified by the real numbers and which had been a thorn in the side of mathematicians really since the time of the Pythagoreans.

The first problem about the discreet and continuous was really the discovery that route two is irrational. The continuous real numbers did not match up to the discreet natural numbers in some sense, but the Pythagoreans didn't really, couldn't really put their finger on what the difference was. Now let me illustrate the difference first with the picture.

The positive integers and what I've called the integer points in the plane are examples of discreet infinities. They're certainly infinite, but you can see their individual members are distinct and separate from all the others, whereas the points on the line somehow difficult to separate, they all hang together somehow.

Now another way to pinpoint the difference between these two infinities is to think about counting them. The positive integers of course you can count 1, 2, 3, 4. You can say there's a first one, there's a second one, there's a third one, fourth one, and so on. The same is true for the internship points in the plane. Not quite so obvious, but you can count them by starting at the bottom left hand corner, number one, and then those next to it, nearest to it, number two and three, then nearest to those 4, 5, 6, 7, 8, 9, 10 as I've listed there. And you can see that we in this way can give a number, a natural number to every one of those points in the two dimensional array. It's not at all clear that you could do that with points on the line. You might wanna say that the leftmost point is

the first point, but there's no nearest point to the leftmost point. You've just gotta take a stab somewhere else for the second point and somewhere else again for the third point. And it's not at all clear that you'll ever succeed in giving integer numbers to all the points on the line, but let's try,. Let's imagine we find a way of counting the points on the line point number 1, 2, 3 and so on. And you won't see the points in the line. So I'm gonna take a whole bite out of the line around point number one and point number two. And so the point number one is in the middle of that disc, that's the first bite outta the line. Point number two is in the middle of that one,

which is a half as wide as the first bite. The third is half as wide as the second bite and so on. I keep taking bites around the points. I'm enumerating each time half the size of the previous one. And I think you can see where I'm going with this. I'm not gonna remove all points. I cannot possibly remove all points from the line in this case because I've removed at most twice the first bite as I'm sure you know, a half plus quarter plus an eight plus a 16th et cetera, only used up a finite amount of the line. We must have missed most of it

in trying to enumerate points. Now I like to think that Euclid or our committees could have thought of this 'cause they were well aware that you could add up an infinite number of pieces and get a finite object. For instance, Euclid found the volume of the tetrahedron by forming an infinite sum of prisms. And Archimedes found the volume of a parabolic segment, which is a finite slice off of parabola by adding up infinitely many triangles. They were well aware in indeed of the infinite geometric series, which is involved here. So they could have done this, but as far as we know they didn't.

And indeed you may be a little worried about this argument because I've not shown you any specific point of the line that I've missed. I've shown that there must be many points that are missed in this process, but I've not pointed to even one of them. So you could doubt the processing on those grounds. So let me show you another way which is more explicit and really finds the missing points.

As we know, points on the line are the same as real numbers, and real numbers can be given by infinite decimal expansions. So I've taken a hypothetical infinite sequence of points x one, x two, x three, x four, et cetera, and described each of them as an infinite decimal expansion. And the actual expansions do not matter at all. But just for the sake of argument, I've written some particular numbers here, and I've highlighted the first digit in the first number, second digit in the second number, third digit in the third and so forth in red.

And you see when I've done that, I can write down a number which differs from all of the infinitely many numbers on the list. And the rule for making this number is very simple. If there's a red one, you change it to a two as I've done in the first decimal place. If the red number is not a one, you change it to a one which I've done for the other places. So I've made a number here deliberately different from each of the numbers on the list. It differs from x one in the first decimal place x two and the second decimal place, x place. So the beauty of the diagonal argument as this is called is that you've got an infinite amount of room to make this new number different from all the infinitely many other numbers.

So this x that I've made and computed very explicitly is different from all of x one, x two, x three and so on. So suddenly the idea of computation has come into this topic. The diagonal argument reveals something very interesting about computation. It shows that given real numbers x one, x two, x three, infinitely many, we can compute a real number different from it follows that there's no algorithm for listing all the compute computable numbers 'cause if there were, we could do it and then x would refute this algorithm by making a new computable number.

It follows in turn that there can be no algorithm for looking at algorithms and finding the ones that define computable numbers. Algorithms are just something you could write down, say in some programming language. So you could list all the algorithms certainly, but you couldn't pick out the ones that define computable numbers. So this tells us something about non-existence of algorithms for certain problems. Also, it tells us something about axiom systems because axioms produce true statements. And if you suppose there was an axiom system for generating facts about computable numbers, it could tell you which algorithms define computable numbers. And we've just shown that that's impossible.

Therefore, no axiom system can produce all the facts about computable numbers. Now what I've just described here are some of the baby versions of famous theorists in logic discovered by Post, Turing and Godel. Past was the one who first thought about in algorithms and realized that there would have to be unsolvable problems about algorithms.

Turing gave us specific definition of what an algorithm was in what's now known as the Turing machine. And he gave this exact argument about real computable numbers. In fact, his paper was called One Computable Numbers. And Godel was the one independently of these two incidentally, who found that no axiom system can generate all the facts of mathematics. So in conclusion, we've discovered as a result of the diagonal argument that proof and computation have limitations. And these arise ultimately from the unaccountability of the real numbers. The limitations are that there are mathematical problems

for which no algorithm gives all the correct answers. And it turns out that predicate logic, as I suggested before, can express all of mathematics so it can express these problems. And therefore deciding validity in logic is also unsolvable. Godel showed that problems could be described in arithmetic in terms of just addition and multiplication. So there cannot be axioms to imply all the correct statements about addition and multiplication. As simple as that sounds, there's no the axiom system to produce all equations.

And to be a little more specific, if you consider polynomial equations, now polynomials are things you get from variables simply by addition and multiplication. And so if you write down an equation between two polynomials and ask whether it has in integer solutions, if the answer is no, you are not always gonna be able to find that out. There's no algorithm for finding the ones that have no solutions.

So in the end, this diagonal argument has led us to very concrete limitations in the power of lodging in mathematics. So in finding that proof is the same as computation, we've actually found an achilles heel, the diagonal argument. But on the bright side, this means that mathematics will always need new ideas. You cannot mechanize mathematics. And on that note, I think I'll conclude.

Thank you for listening. (audience applauding)

Ask anything

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

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent