Sunday, July 16, 2006

Raglan's Scale and the Hero of Star Wars


Joseph Campbell's The Hero with a Thousand Faces was a very influential book for me. It helped me see how Myth pervades all human cultures--including my own. I found it all utterly fascinating. I was glued to the television when Bill Moyers interviewed Campbell for The Power of Myth. (side note: I remember during that interview, Campbell said the he thought Judas was given a bad rap because he also fit the Hero profile--the one that "kills the beast." I wonder if he would have felt vindicated by the recent discovery of the Gospel of Judas?)

The Bill Moyers interview of Joseph Campbell was filmed at George Lucas' Skywalker Ranch. Lucas himself has always said that Campbell's Hero was one of his greatest influences. And my copy of Hero had Luke Skywalker on the cover. It was plainly obvious to me that Luke was an example of the hero. He was the hero of the Star Wars trilogy.

When the prequel trilogy came out we had a new hero. Anakin was the hero of the new trilogy, while Luke was the hero of the original trilogy. There was one small problem, though. When viewed as a six-part epic (in other words, pretend you saw Phantom Menace first and Return of the Jedi last), Anakin never really ceases to be the hero. I had noticed this, but never really gave it too much thought until recently when I had a conversation with my brother on the topic. He said he saw an interview with George Lucas where Lucas said that Anakin was always supposed to be the hero and the reason he made the prequel trilogy was to drive that point home.

To put this to the test, we used Raglan's Scale. I remember reading about Raglan back when I was on my big mythology kick. But I've been recently reintroduced to him thanks to an interview with the late Alan Dundes in Brian Flemming's movie. Lord Raglan came up with a list of 22 common traits that heroes tend to have.

LORD RAGLANS SCALE

  1. The hero's mother is a royal virgin
  2. His father is a king and
  3. often a near relative of the mother, but
  4. the circumstances of his conception are unusual, and
  5. he is also reputed to be the son of a god
  6. at birth an attempt is made, usually by his father or maternal grandfather, to kill him, but
  7. He is spirited away, and
  8. Reared by foster-parents in a far country
  9. We are told nothing of his childhood, but
  10. On reaching manhood he returns or goes to his future kingdom.
  11. After a victory over the king and or giant, dragon, or wild beast
  12. He marries a princess, often the daughter of his predecessor and
  13. becomes king
  14. For a time he reigns uneventfully and
  15. Prescribes laws but
  16. later loses favor with the gods and or his people and
  17. Is driven from from the throne and the city after which
  18. He meets with a mysterious death
  19. often at the top of a hill.
  20. his children, if any, do not succeed him.
  21. his body is not buried, but nevertheless
  22. he has one or more holy sepulchres.
We compared how many applied to Luke, and how many applied to Anakin. Some attributes are negotiable (Does Sith Lord = King? I say yes.) The ones I thought were a yes are in green, and the no's are in red.























Hero AttributeLukeAnakin
1possiblyyes
2yesyes
3nono
4noyes
5noyes
6nounknown
7yesyes
8yesarguably
9noyes
10yesyes
11yesyes
12noyes
13noyes
14noyes
15noyes
16noyes
17NAyes
18nomaybe
19NADeath Star = hill?
20NAyes
21NAyes
22NAyes
Total618

Luke doesn't even break into double digits (of course, he didn't die) but Anakin gets a whopping 18! Thet puts him right behind Oedipus, Theseus and Jesus, and just ahead of Romulus, Hercules and Perseus. Now that's some good hero company!

But now to test the final part of the theory, let's figure out Anakin's score based only on what we know from the original Star Wars trilogy. By my reasoning, I'm giving him numbers 9 through 22 except for 18 (since I didn't give it to him in my original calculation). I'm not sure about number 12, but I seem to remember that at some point in the original trilogy it was revealed that Luke and Leia's mother was a princess, so I'll give him that one. That makes a total of 13 -- more than twice Luke's score.

Therefore, according to the Raglan scale, the hero of Star Wars is unquestionably . . .
Anakin!

Tuesday, July 04, 2006

John Von Neumann and the Mathematician's Trap


This little story about the great mathematician John Von Neumann has always been one of my favorites. I will tell it the way I first heard it. I have since heard a few variations on the story, leading me to think that there may be a component of Urban Legend to it. But I really don't care, because I think it's such a great story that it's worth retelling.

John Von Neumann was considered by many to be one of the most brilliant minds of the twentieth century. He reportedly had an IQ of 180. He was a pioneer of Game Theory, which was very important during the nuclear arms race. (Because GT assumes that all players act in their own best enlightened self-interest, GT turned out to be a much better model for evolutionary biology than for human behavior.) He was also one of the two people (Alan Turing being the other) who is credited with being the father of the modern computer.

The story goes that someone once posed to Von Neumann the following problem:

Two trains are 20 miles apart on the same track heading towards each other at 10 miles per hour, on a collision course. At the same time, a bee takes off from the nose of one train at 20 miles per hour, towards the other train. As soon as the bee reaches the other train, it bangs huwey and heads off at 20 miles per hour back towards the first train. It continues to do this until the trains collide, killing the bee.










The question is, how far does the bee fly (d) before the collision?

This is a pretty staight-forward problem for anyone who has studied Mathematical Analysis or Pre-Calculus. The initial separation is D = 20 miles (from here on out I will use the variable D, then substitute the value of 20 miles at the end. I think this makes it easier to follow the steps.) The bee is traveling twice as fast as each of the trains, therefore covering twice the distance as the approaching train before the first turn-around. So the distance d1 that the bee travels on the first leg, plus the distance the approaching train travels (one half d1) equals D.
Therefore d1 = 2/3 D.

As the bee begins leg #2, not only has the turn-around train covered the distance 1/3 D, but so has the train the bee is now heading towards. That means the remaining free distance D' = 1/3 D. By the same argument as above, the bee covers two thirds of this distance on his second leg.
Therefore d2 = 2/3 D' = (2/3)*(1/3)*D.

For leg #3, by the above argument, the remaining distance D'' = 1/3 D', which the bee covers two thirds of.
Therefore d3 = 2/3 D'' = (2/3)*(1/3)*D' = (2/3)*(1/3)*(1/3)*D.

I hope you all can see the pattern that's developing. Each trip gets one third shorter. Symboically speaking, if we move the 2 and the D out to the begining, we get 2D*(1/3)*(1/3)*... with the number of 1/3's being equal to the leg#. Since this is the same as raising (1/3) to the exponent equal to the leg#, we get
dn = 2D/3^n.

This means that on the nth leg of its journey, the bee flies 2D times one third raised to the power n (or conversely, 2D divided by three raised to the power n). Now that we know how far the bee travels on each leg, it's time to find out the total distance. The distance the bee travels after n legs (d'n) equals
d'n = d1 + d2 + ... + dn, which equals
d'n = 2D/3 + 2D/3^2 + ... + 2D/3^n, which when we factor out the 2D we get
d'n = 2D*(1/3 + 1/3^2 + ... + 1/3^n), which in mathematical notation is written as

(note: I've been having trouble with my free Math graphics software. The formulas look neat when I compose them, but when I go to export them, the software keeps changing the capital Sigma "Σ" to a capital Ess "S" which is begining to frustrate me. When I work out the prblem, I will edit this post to add the cool mathematical graphics. In the meantime, please bear with my poor man's notations.)

d'n = 2D * (x=1 --> n)Σ[1/3^x]

Let me take a moment to try to explain my rigged notation. Σ means "summation." The expression inside the brackets is what is being summed. The expression inside the parenthesis tells you over what values you perform the summation. So for the above expression, that means we will be adding up the values of 1/3^x for the values of x=1 through x=n. In other words, 1/3^1 + 1/3^2 + ... + 1/3^n.

There may be a formula for solving that sum; I may even have been taught that formula. But unfortunately, that's not the kind of knowledge that I tend to retain. Therefore we will solve this using the algorithm I remember and can (kind of) explain. What I will do is sum up the first few terms, look for a pattern, then use induction to prove it. Hopefully my explanation will at least make an inkling of sense to those of you who are completely lost right now. So here we go.

1/3 =1/3
1/3 + 1/9 = 4/9
1/3 + 1/9 + 1/27 = 13/27
1/3 + 1/9 + 1/27 + 1/81 = 40/81
. . .

The pattern I see here is that the numerator (top part of the fraction) is half of the denominator (bottom part of the fraction) minus one. In other words,
1/2*(3-1)=1
1/2*(9-1)=4
1/2*(27-1)=13
1/2*(81-1)=40
Since the denominator is just 3^n, then the numerator is 1/2*(3^n - 1).

So the formula that I need to test with induction is
(x=1 --> n)Σ[1/3^x] =? 1/2*(3^n - 1)/3^n

Before I proceed further, let's do a quick refresher on mathematical induction. The basic idea is that you prove a general expression by first proving that it is consistent, ie. IF it's true for some specific case, then it must necesarrily be true for some general case. Then prove that it's true for that specific case, and you're done.

The normal route is to assume that an expression is true for some value x=n, then attempt to prove that it must necesarrily be true for x=n+1. Which of course means it's also true for n+2 (substitute n+1 for n), n+3 and all x greater than n. Now if you prove it's true for x=n=1, then it must be true for all n. Since we've already proven our formula true for n=1 (and 2 and 3 and4), we only need to prove that if it's true for x=n, then it must also be true for x=n+1.

We have
1. (x=1 --> n)Σ[1/3^x] = 1/2*(3^n - 1)/3^n
which we are assuming to be true for x=n, and trying to see if
2. (x=1 --> n+1)Σ[1/3^x] =? 1/2*(3^{n+1} - 1)/3^{n+1}
is also true.
If we recall that adding 1 to an exponent is the same as multiplying by the base
3. 3^{n+1}=3*3^n, we get
4. (x=1 --> n+1)Σ[1/3^x] =? 1/2*(3*3^n - 1)/3*3^n
Going back to the meaning of Σ as summation, summing up to x=n+1 is the same as summing up to n, then adding the next term where x=n+1. In other words,
5. (x=1 --> n+1)Σ[1/3^x] = (x=1 --> n)Σ[1/3^x] + 1/3^{n+1}
Substituting statements 1. and 3. into 5. we get
6. (x=1 --> n+1)Σ[1/3^x] = 1/2*(3^n - 1)/3^n + 1/3*3^n
= 3*(3^n - 1)/2*3*3^n + 2/2*3*3^n
=(3*3^n - 3 +2)/2*3*3^n = (3*3^n - 1)/2*3*3^n = 1/2*(3*3^n - 1)/3*3^n
which is the expression we were trying to prove in statement 4.

Since we've already proven it for n=1, then expression 1. has now been proven true for all n.
1. (x=1 --> n)Σ[1/3^x] = 1/2*(3^n - 1)/3^n

Back to our friend the bee. We now have an expression for how far the bee flies after n legs
7. d'n = 2D * 1/2*(3^n - 1)/3^n = D*(3^n - 1)/3^n
and we need to solve it for how far the bee flies before dying. In actuality, the bee will stop flying (okay, "in actuality" this would never happen) when the distance between the trains is less than the body length of the bee. However, since the summation quickly converges on the solution, we can assume that the bee is a point, ignore the famous paradox, and do the summation up to n=infinity.
7. d'n = D*(3^n - 1)/3^n = D*(3^n/3^n - 1/3^n) = D*(1 - 1/3^n)
Quick refresher on infinite limits: as we let n get infinitely large, 3^n approaches infinity, and 1/3^n approaches zero. Therefore the limit as n approaches infinity is
d = limit(n-->infinity)[D*(1 - 1/3^n)] = D*(1-0) = D = 20 miles!
Woo-hoo!!

We have just solved this problem by the infinite series method. Infinite series are very important in Mathematical Analysis and Pre-Calculus as they form the basis for derivatives and integration and everything which is Calculus and Differential Equations. That's why all students of Math, Physics and Engineering get to do a ton of infinite series problems before they graduate. The reason I call this problem the "Mathematician's Trap," is because virtually all mathematicians who see this problem will try to solve it the way we just did.

However, if you were to give the problem to someone who's only had basic Algebra, they might solve it differently. The trains crash at the midway point which is at 10 miles. Since each train is going 10 mph, this takes one hour. During that same hour, the bee is flying at 20 mph, therefore the bee flies 20 miles! Wow, that was a lot easier!

(note: Some of you may have noticed that for the infinite series solution, I didn't use the respective speeds of the bee and the trains, but only their ratio. This would also work for the algebraic solution, but it would make the math a little more complicated, which rather defeats the purpose of what I was trying to prove. In fact, as a general case, as long as the speeds of the two trains adds up to the speed of the bee, the distance traveled by the bee will always be the initial separation of the trains, ie. d=D. You can see this in the following thought experiment. Since the speeds of the trains added together equals the speed of the bee, at any given moment in time, the distance covered by the two trains together is equal to the distance covered by the bee. That means that at any given moment in time, the available flying space left is equal to what would be the remaining distance if the bee were flying unimpeded from point A to point B. Therefore d=D. Think about it.)

The moral of the story is that being smarter or better educated can often times put you at a disadvantage. When someone is trained at doing something a certain way, that action is virtually automatic. It takes great insight to be able to "step outside of the box" and ask if there's an easier way to do it. (I'm currently working on another post on just this subject which should hopefully be up soon.) Even brilliant mathematicians will fall into the trap, which brings us back to John Von Neumann.

When posed with the above problem (or some variation of it), JVN took all of five to ten seconds to come up with the correct solution. This floored the questioner who said "I'm impressed that you didn't fall for the Mathematician's Trap." After getting a perplexed look from our genius, he asked "How did you solve the problem?"

"By infinite series, of course!"