Showing posts with label mathematician. Show all posts
Showing posts with label mathematician. Show all posts

Monday, 24 January 2011

Proving 1 + 1 = 2

Mathematics is the science where we always prove things. This has even entered into popular rhetorics: If we claim that some fact or other is “mathematically proven” it is the highest kind of authority. Usually this is sloppy phrasing or simply a lie, because sociological, psychological, political, even physical facts cannot be mathematically proven, because you can only mathematically prove mathematic statements, and they are not. Mostly they are, if at all, juristically proven (“true beyond a reasonable doubt”). But in our own sphere we mathematicians prove everything, and if we can’t we don’t assume that thing as true (be that painful as it may).

I have a few times explained this to students. Usually the consequence is that someone ask me how you can prove that 1 + 1 = 2, or something along that line. In these cases I have to admit I generally just answer that this is indeed possible to prove, but don’t show how. The reason is that it simply would take too long. But here in this medium I have all the time I need.

If you read this article (and others in the same vein, which are sure to come soon) you will know what lies at the heart of mathematics. This is the stuff they don’t teach at school and I promise, it won’t contain any of the stuff you learned to hate when you were 14. (Fractions, for example: A neat and immensely useful method, but how on earth could anybody like doing them? It’s the results and the proofs that give satisfaction, the nuts-and-bolts calculations is just work for performing monkeys.)

If you feel that despite this you cannot be interested just skip this article! Mathematics is just one of my topics in this blog.

We start by asking: what are 1 and 2 anyway, or to be more exact: what are numbers?

For quite some time mathematicians have been using a tool called the axiomatic method. This lies at the roots of all mathematics, and certainly deserves to be talked about in detail. But I want to keep this article as short as possible and so I am forced to defer this undertaking to some other time. But I promise I will make good for it soon!

The basic idea is this: We might think we all share a common notion of numbers (that is natural numbers, 1,2,3,4 etc.). But is it true? In prehistoric times people used to count “one–two–many…” (allegedly there is still a tribe in Brazil that does that), and I read somewhere that in Indo-European languages the words “nine” and “new” are etymologically related—because when nine was invented after centuries of people only knowing 1 to 8 it became the new number (about 5000 years ago).

So I think we certainly do not have an instinctive notion of numbers. We merely learn it at a young age because our world is filled with numbers.

Learning numbers that way resembles learning a game by watching other people play and trying for yourself until you are sure you are doing it right. The downside is that in this way you can never be sure you are doing it right. Maybe in the next match a situation might arise where you do not know what to do? Some special case you are not prepared for?

But mathematicians want to be sure. In this analogy, it would mean that we want to thoroughly read the rules of the game before we play.

So mathematicians (actually it was an Italian, Giuseppe Peano) wrote down a set of rules (or axioms) for natural numbers. They clearly state which (natural) numbers exist and some properties of them. Here are Peano’s axioms:

  1. There is a natural number, call it 1.
  2. For every natural number n there is a natural number n′ which is the successor of n.
  3. The successor of any natural number is not 1.
  4. If two natural numbers have the same successors, they are the same.
  5. If a set of natural numbers contains 1 and, for every number n in it also contains its successor n′, then that set is the set of all natural numbers.

Once we have these rules we will never give a thought to what natural numbers actually are. We don’t know and we don’t need to know. All we need to know is that we can use these rules freely. We have no idea what numbers are, but we know what they do. (If I write any more on this, it is bound to get philosophical and I am going to reserve that for some other occasion. Suffice to say that however you may look on the matter, if you accept these rules as true you are still with me—and we will not use anything other than these rules.)

Adding up

Now can define a few numbers and give them names:

  • 1 we already know.
  • 2 = 1′
  • 3 = 2′ = 1″

and so on …

Now we know what 1 and 2 are, what what do we mean by “+”?

The task at hand is to define addition using only the Peano rules of natural numbers. This is done by stating two simple laws of addition, which I am sure will concur with your “instinctive” notion of Addition. We state:

“+” is an operator between two natural numbers that satisfies the following laws:

  1. n + 1 = n′ for all natural numbers n.
  2. n + m′ = n′ + m for all natural numbers n and m.
Now what is 1 + 1? We simply use the first rule, setting n = 1 and get

1 + 1 = 1′ = 2.

That is a proof. If we consent that natural numbers satisfy the Peano rules and that addition satisfies the two rules stated above and 2 is the successor of 1 then 1 + 1 = 2 is mathematically proven.

Now that was disappointingly simple. Let’s try for something harder. What’s 2 + 2 (that is 1′ + 1′)?

This time we start with addition rule (2). We find 1′ + 1′ = 1″ + 1. After that we once again use rule (1) and obtain

2 + 2 = 1′ + 1′ = 1″ + 1 = 1′′′ = 4.

I think you will now have no problem calculating 5 + 9 or whatever takes your fancy.

Sunday, 2 January 2011

What mathematicians find funny

As I mentioned in my second Dan Brown article there are special mathematicians’ and physicists’ jokes but they are not good. Here is a particularly hideous example:

All the real functions are having a party, when suddenly someone shouts: “A differential operator is coming! Run for your lifes, he will kill or distort us all!”

The all scatter and run away except one who stays behind. When the differential operator arrives he confronts the remaining function: why it is not afraid like the others?

The functions answers: “I am exp(x), you cannot harm me.”

But the differential operator laughs: “But I am ∂/∂y, ha ha ha!”

This is a typical example. If you have forgotten your calculus you may not understand it, but if you do it’s still not funny. Do mathematicians laugh at that kind of joke? No. In fact, the only kind of enjoyment to be gotten from jokes like these is in the knowledge that you understand them. Some people have tried to collect mathematical jokes and all they could scrape together was a sad little pile which made no-one laugh.

There are some jokes with which mathematicians make fun of physicists and vice versa. They feed off an ancient rivalry and some of them are rather good.

The following one is a variant of the popular “how to catch a lion” jokes. I have read a lot of them, which go: “How does a [insert profession] catch a lion?” followed by a more or less funny answer. Other than the “How many […] does it take to change a light bulb?” jokes catching-lion jokes seem to focus on scientific professions and their various sub-categories—e.g. general physicists, newtonian physicists, relativity physicists, string theorists, theoretical physicists etc. Or different kinds of mathematicians. Or programmers of different programming languages. Many are stupid and shallow, but most require you to know the basic characteristics of the respective fields, languages etc. The one I’m going to show you may very well be the original one. It is a thing a physicist might tell to make fun of mathematicians.

How does a mathematician catch a lion?

He puts up a cage, steps inside, closes the door and declares “Let this be the outside!”

So much for mathematical jokes, but what about the actual sense of humour of mathematicians, or of scientists in general? What do we find funny?

Generally scientists (or at least those that I have met) are a sarcastic lot. Then again, most people seem to be these days, so it may be nothing of note.

The best way I can think of to describe the sense of humour of scientist is to talk about the cartoons that are pinned to walls at the university institutes. In the foreword to The Far Side Gallery, Pt.3, renowned biologist Stephen Jay Gould stated that, judging by the walls of his institute, the favorite cartoonist of his collegues was Gary Larson. I found this to be true at our university too.

Why Larson? Firstly, if you have never seen any of his work, do so today! It’s really great! The Far Side Gallery, parts 2 and 3 show him at his best, I think. Some years ago it was practically impossible to find any Larson on the internet: Gary Larson had put out a letter to the world (by way of his lawyer) asking people not to infringe his copyright that way. It was not the most friendly thing to do, but of course he was perfectly entitled to it. Amazingly people complied, at least for the time being. It seems Larson has given up on this endeavor since, as by now the Cartoons have returned to the web in droves. So, have fun with the search engine of your choice!

By the way: There seems to be only a single small black-and-white photograph availabe of Gary Larson the man. There’s a guy who values his privacy. Almost like Pynchon.

So why exactly do scientist like Larson so much? He drew a lot of cartoons featuring all kinds of scientist (always wearing white lab coats, don’t cha know) and these, small wonder, are the favorites. Now other cartoonists have drawn scientists in lab coats too, what makes Larson’s special? I think his basic shtick in these cartoons is to show that scientists are childish and silly just like everybody else. It ran counter to the public perception of us so we loved it.

But in the last few years clearly Larson has been superseded by a new artist. Despite the fact that Larson got a lot right about scientists from a psychological point of view, he badly blundered when it came to the nuts and bolts. As I mentioned his scientists wear lab coats at all times, and they write on chalkboards and what they write is utter gibberish. There were jokes about scientists but never jokes about science, because Larson did not have the kind of knowledge it took to do them.

Since then a new cartoonist has entered the scene who is an actual scientist (a rocket scientist, to be exact), and he gets everything right. His name is Randall Munroe and he draws the XKCD webcomic.

I suspect it may boring stuff for biologists but physicists, mathematicians and other computer creatures find it delightful. These days institute corridors are filled with prints of Munroes little stick people (male and female) and at the last mathematicians’ party I came across more than one XKCD T-shirt.

I don’t think anyone will get every one of Randall Munroe’s comic strips (I know I don’t), unless you know a thing about relativity, string theory, iPods, MMORP games, mathematics, chess, Unix, programming and 10.000 other things. It feels good if you know what some of the more obscure ones are about. Like a huge in-joke. I think this accounts for much of the strip’s appeal.

Also the people in it are geeks drawn by a geek behaving in an authentic geeky way (let me stress the word “authentic”) and so we real-life geeks can relate to it.

Randall Munroe must be credited for helping the female scientist (or the nerd girl, to put it bluntly) to get her rights. In XKCD’s world, science is an equal-gender business and there is a lot of love and romance between the little stick people. It is a long way from the all-male labcoat wearers. It’s not completely the way reality looks like today but it is what I (and many others) hope we will achieve one day, and I think we’re heading in the right direction.

Speaking of science and romance, these have always been held to be mutually exclusive by popular culture. Lab coat wearers are basically asexual. In mainstream movies the professor is never the one who gets the girl in the end (except if they never were much of a professor anyway, like Indiana Jones). Of course that is not true, scientists have the same feelings as other people. Still we are full of nerdy quirks. XKCD shows how it works out.

There a small downsides to Randall Munroes cartoons too, of course. He does indulge in a certain amount of soapbox preaching on the greatness of science, for example (“because it works, bitches!”, as he puts it), which I personally find a little menacing. Also he writes from his own point of view, which is physics, so for example biologists will feel severely underrepresented, not to mention linguists, sociologists, or musicologists. Still it is the best thing of the last years.

Saturday, 18 December 2010

Dan Brown part 2: φ

Just as I recently announced I have written an article about one of the many things Dan Brown could and should have gotten right in his books but did not. Those things are legion; and people more patient than me have already had their shot at it. For example there is a really excellent (and really long) article in Danny’s (don’t know his surname, I’m afraid) blog No Loss for Words titled Dan Brown is a fraud: A list of errors in Angels and Demons, which deals with this one book alone, and to which I, some years ago, had the honor of contributing a little thing as well.

Despite this abundance of material I have decided to confine myself to a single passage in the book The Da Vinci Code, which deals with a mathematical fact, which naturally interests me.

For your enjoyment here is the passage in its whole atrocious glory:

He felt himself suddenly reeling back to Harvard, standing in front of his “Symbolism in Art” class, writing his favorite number on the chalkboard.
1.618
Langdon turned to face his sea of eager students. “Who can tell me what this number is?”
A long-legged math major in back raised his hand. “That’s the number PHI.” He pronounced it fee.
“Nice job, Stettner,” Langdon said. “Everyone, meet PHI.”
“Not to be confused with PI,” Stettner added, grinning. “As we mathematicians like to say: PHI is one H of a lot cooler than PI!”
Langdon laughed, but nobody else seemed to get the joke.
Stettner slumped.
“This number PHI,” Langdon continued, “one-point-six-one-eight, is a very important number in art. Who can tell me why?”
Stettner tried to redeem himself. “Because it’s so pretty?”
Everyone laughed.

And I laughed too, a kind of sad, hollow laugh. Who would have thought it possible to get so much wrong in so little a piece of text? We are indeed witnessing a master at work. (Please excuse my bitterness, this thing happens to touch the field of my profession—who wouldn’t be touchy there?)

Most of which can be said (complained) about the matter has been said by the world’s most intelligent human being, the uncomparable Cecil Adams, but I’d like to add a few points of my own.

First of all, we are talking about a Greek letter here, φ. Am I too demanding in assuming that it should be possible, in the 21st century, to print some Greek letters in a book instead of writing it as “phi”? I mean, obviously this blog can do it, why not Doubleday Group publishers? Alright, minor point. By the way, if anything it should be “phi”, not “PHI”. “PHI” is obviously uppercase, which in Greek is Φ. The Golden Section (which is the thing meant here), however, is always a lowercase φ.

Secondly, the main point of Cecil Adams, φ is not 1.618. Just like 1/3 is not 0.333. φ is an irrational number, which have a unending, nonrepeating sequence of decimals after the comma. You just cannot write them that way. How to do it, then? Well, simply write

φ=

which is the definition of φ. If you like to have the decimal expansion, please at least write it with dots: φ=1.618… But this thing that Brown (or Langdon, depending on how you look at it) wrote down, simply is not φ.

But this has been said before. Now I come to that which has not.

It is this: There are much too few letter in the alphabet for mathematics. There are 26, each lowercase and uppercase. Letters from other latin script variants are not used (e.g. ä, ç, ñ). And then there are the greek letters, where those that look like latin letters are excluded (an uppercase α, for example, looks just like an A). There are even a couple of hebrew letters that are used. Still it is too little. Therefore all letters are reused all the time and each one is used to name at least half a dozen things from various areas of mathematics. φ too. The most important are as angle parameters in functions, and the Euler φ function.

The point I’m trying to make here is that the Golden Section is not an important mathematical concept, and even less a frequently encountered one. I must have written several thousand φs since I began studying mathematics, and at most 20 of them denoted the Golden Section. If you ask a mathematician what φ is, in 99 of 100 cases (or more) the answer will not be Brown’s. The concept of Brown is called the Golden Section or Golden Ratio. If we name it with a letter, it is traditionally φ, but most of the time φ denotes something else.

And finally:

“Not to be confused with PI,” Stettner added, grinning. “As we mathematicians like to say: PHI is one H of a lot cooler than PI!”

If that guy is a mathematician he must be very drunk. Or on drugs. Or both. Because what he say is utter, utter bosh.

How can anyone confuse φ with PI (π)? Once a tutor told us not to confuse “angles” with “angels”, but that was a joke. A singularly lame one, but still. Anyway, “As we mathematicians like to say: PHI is one H of a lot cooler than PI!”. No, we mathematicians don’t say things like that.

Dan Brown, as he has showed on other occasions, has a rather weird conception of the sense of humor of scientists. There are indeed mathematicians’ jokes and physicists’ jokes, which other people don’t find funny at all (neither do mathematicians, to be honest). Its an interesting phenomenon and I may write a short piece about it some time. [Here it is.] Anyway, these jokes are in no way like these things Brown puts into our mouths. Not a bit. It’s a completely different style.

And finally, no mathematician would say that φ is cooler than π because it isn’t. It simply isn’t. φ does have a couple of beautiful properties, mathematically, but they are rather trivial. There is nothing a high school student could not understand. For example, that there is a relationship between φ and the Fibonacci numbers is completely correct, but it is no difficult or deep thing. I have written a PDF document that shows how it is done and you will probably not need more than 10 minutes to read and understand all of it (it’s also in Wikipedia).

π, on the other hand, is a monster that has baffled mathematicians for millenia. It drove the ancient Greeks crazy. There’s still many unsolved question left that involve it. It pops up in unexpected places. It is the reason you cannot square the circle.

(Here is my first article about Dan Brown.)