Sunday, April 20, 2008

What is Mathematics: Mathematical Induction

This is the first in my series on some interesting and important techniques and results described in the book What is Mathematics. The first chapter introduces the natural numbers, 1, 2, 3, ... In Leopold Kronecker's words: "God created the natural numbers; everything else is man's handiwork."

After introducing the basics of natural numbers, the authors introduce the fundamental technique of the principle of mathematical induction. This is a very simple, yet powerful, method for proving theorems about an infinite sequence of cases. In its simplest form, suppose you want to prove that a property An for all positive integers n (e.g., An might be the proposition that (1 + p)n ≥ (1 + np) for any p > -1). The principle of mathematical induction states that you can prove this using two steps:
  1. First, you prove that A1 holds, i.e., the property holds when n = 1 (often called the base case).
  2. Next, for every r ≥ 1 you show that if Ar holds then Ar+1 also holds (this is often called the inductive step).
One can see that the above two steps serve to establish An for all n ≥ 1.
The proposition that (1 + p)n ≥ (1 + np) for any p > -1 can be easily established using mathematical induction (this will prove to be a useful little inequality).

The principle of mathematical induction needs to be applied with care. The authors demonstrate the pitfalls of this method with the following "proof" that all numbers are, in fact, equal!

Let An be the statement "If a and b are any two positive integers such that max(a, b) = n, then a = b". The base case is certainly true: when n = 1, a and b must both be 1 (being positive integers). For the inductive case, assume Ar holds and let a and b be such that max(a, b) = r + 1. Clearly, then max(a - 1, b - 1) = r, and hence by assumption a - 1 = b - 1. Hence a = b. So An holds for all n. In particular, for any a and b, if max(a, b) = r, then Ar holds and hence for any a and b, a = b!

Can you see the hole in this proof?

What is Mathematics

In a previous post I mentioned that I was going to get a copy of the book What is Mathematics by Richard Courant and Herbert Robbins. Well, I've now got a copy of it and I'm reading through it. And I'm thoroughly enjoying it! The book is a mathematics book---it talks about the techniques and results in mathematics, often with proofs (at least when the proofs don't involve advanced techniques). But it's written in a very conversational style---as if Courant was sitting across the dining table from you and sharing with you his love of mathematics. (That imagery makes sense only if you can imagine discussing mathematics at the dinner table...:-)

As I read this book, I thought I'd put together a series of posts highlighting some of the most interesting and important methods and theorems that I encounter. Part of my purpose is to share this with you (and encourage you to get the book); but the other part is to summarize it for my own benefit. I'll keep this post updated with the list of all posts in this series. Here are the posts.
  1. Mathematical induction
  2. Prime numbers
  3. GCD

Thursday, April 3, 2008

International Bar-Code of Life

My friend Alon has a great post about his recent visit to Costa Rica where he learned about the International Bar-Code of Life Project from his host Dan Janzen, a Kyoto Prize winning biologist.

Monday, March 31, 2008

Mathematics books

My friend Vineet visited the US last week and I had a very enjoyable discussion with him. Vineet has a great interest in all things mathematical. So, not surprisingly, one of the interesting things we talked about was an old blog post of his that listed a series of great books on mathematics. You can go to the post to check out all his recommendations, but here I'm going to highlight three of them. Vineet recommended the first two for my kids:
  • Sideways Arithmetic from Wayside School by Louis Sacher.
    Louis Sacher is the author of the very popular Wayside School series; our kids have loved these books. This Sideways Arithmetic book consists of "50 mindboggling math puzzles". For example, the first puzzle in the books is: elf + elf = fool. The problem in this case is to identify the number that each letter stands for.
  • The Number Devil by Hans Magnus Enzensberger.
    This book looked even more interesting. It's about a young boy who visits a "...bizarre magical land of number tricks with the number devil as his host." And in this land, kids are introduced to all kinds of mathematical concepts including prime numbers ("prima donnas"), irrational numbers ("unreasonable"), and roots ("rutabagas"). Sounds fun and educational!

And for older kids (or adults like me!), he recommended "What is Mathematics?" by Richard Courant (after whom NYU's Courant Institute is named) et al. This was a book originally published in 1941, and recently revised in 1996! Any book in print since 1941 has to be a classic. This isn't a book about mathematics (in the sense that it isn't about the philosophy of mathematics or about meta-mathematics). Rather, it provides an elementary approach to the ideas and methods of mathematics. Albert Einstein apparently said of this book "A lucid representation of the fundamental concepts and methods of the whole field of mathematics...Easily understandable"!

I think I'm going to get all three books (for my kids and for me!) and check them out.

Thursday, March 20, 2008

David Swensen on investing

Stock markets all over the world are in free fall. With the demise of Bear Stearns, the sub-prime crisis is only appearing to get worse. Oil prices are going through the roof, and even food prices are surging. How should we react to all this? Specifically, how should we change our investment portfolio?

The answer, says, David Swensen is "do nothing"! David Swensen has run the hugely successful Yale endowment fund since 1988. He was interviewed by the NY Times about a month ago. His basic advice is:

Don’t try anything fancy. Stick to a simple diversified portfolio, keep your costs down and rebalance periodically to keep your asset allocations in line with your long-term goals.
...
For most people, he recommends a very basic approach: use index funds, exchange-traded funds and other low-cost instruments, and stick to your long-term asset allocation — even when the markets are in tumult.


And that's exactly what I'm doing, following the ETF portfolio I've written about in the past. I have no idea when the markets are going to turn around. And that's exactly the point: if I was to drastically change my asset allocation to react to current events, I'd have to figure out when to get back to this strategy (presumably when the markets start to recover). Which means I'd have to be right twice to make this strategy work---once to know when to sell (I'm already late on this) and then to know when to buy back into the market (I'm sure I'd be late for that too). Much simpler to leave well alone, and incur no trading or tax costs.

What strategy are you using?

Wednesday, March 19, 2008

My God, it's full of stars!

Arthur C. Clarke died early today in Sri Lanka. The NY Times has a very good obituary. Growing up, I was a great fan of Clarke's writing. His most famous work, 2001: A Space Odessey, is of course a classic book and movie (Stanley Kubrick co-wrote the movie). I must be the only person in the world who's read the book but not seen the movie! It turns out that Clarke wrote the book after he co-wrote the movie with Kubrick (based on Clarke's original ideas). He felt compelled to write the book because he disagreed with Kubrick's "...obscurism and mysticism..." in the movie (see here for a discussion). So the movie and the book disagree in exactly those areas where Clarke disagreed with Kubrick. In fact, Dave Bowman's famous line in the book as he enters the monolith ("My God, it's full of stars") does not appear in the movie!

While 2001 was an amazing book, he had other equally amazing books. I remember being particularly enthralled by Rendezvous with Rama, a fascinating story of an encounter with a huge, cylindrical alien craft that comes swooping into the solar system. And then, of course, there's his frightening classic Childhood's End, featuring aliens who look like devils. Clarke gave me a lot of joy with these and other books. I hope he finds that where he's gone now is full of stars!

Tuesday, March 18, 2008

Sudhir Venkatesh on the Colbert Report

I've written previously about Sudhir Venkatesh and his series on watching The Wire with thugs. Venkatesh recently appeared on the Colbert Report. Check out his short 5 minute appearance:



(Thanks to the folks over at Freakonomics for the pointer.)

On a related note, Ashish had pointed out in the comments to my previous note that Venkatesh has also done research on the economics of street prostitution. Not surprisingly then, Venkatesh has some interesting comments on the the recent events involving Eliot Spitzer.
/* Google Analytics tracking */