Saturday, 9 February 2008

It Ain't Fair............ is it???



Had a chance to take ten of my students down to the Center for Mathematical Sciences in Cambridge last night to hear a lecture by Richard Weber of Queen’s College. He is the one in the right on the picture during his appearance on the British TV game show, Who Wants to be a Millionaire. He also happens to be the Churchill Professor of Mathematics for Operational Research. His primary work is in problems in communications and systems, and the mathematics of optimization, algorithms, probability and game theory.

On this particular night, he was talking about “The Disputed Garment Problem”, an ancient problem involving the concept of fair division. It seems a simple idea. We all think we know when the division is un-fair, and if we picked an honest, unbiased third person to make the division, it would seem that a fair result would follow, and yet, it seldom does. If you ask people to describe the rules that a fair division would entail, most people can come up with several rules, what a mathematician would call the axiom set, and probably agree with each other. But then when you make a decision consistent with those rules, the same people will scratch their heads and say, “Wait, that’s not fair.” What is even more scary is that often they can make five or six rules, and you find out that it is Impossible to meet all those rules.

So let’s look at a simple example. The Babylonian Talmud is a compilation of the ancient laws from an oral tradition set down during the first five centuries after Christ. They serve as the basis of Jewish religious, criminal and civil law. In one of the problems the Talmud offers:
Two people dispute the possession over a garment. One claims that he should get half, the other claims all of it. The solution of the Talmud is that the first gets ¼, and the other gets ¾ .

The Talmud is a terse document, (sort of like 19th century math books). It tells you what to do, but not why. In this case however, the reasoning seems somewhat clear. Since half the garment is not in dispute, it should go to the one who claims the whole. The other half, claimed by both, shall be shared equally, giving the 3:1 split.

Given that beginning, a more interesting problem involves sharing by three wives in what is called the marriage contract problem:
A man has three wives whose marriage contracts specify that in the case of his death they receive 100, 200 and 300 units respectively. But when he dies he leaves less than a sufficient amount to cover the 600 debt. How should the estate be divided.

The answers the Talmud gives for different amounts is surprising, and somewhat confusing. If the man leaves an estate of 100 units, the three wives will divide it equally (see below). If the estate has a value of 300 the wives divide it proportional to their claim, each getting ½ the amount they were promised. But what is happening in the case with 200 remaining? The question for the reader is, what will be the division of an estate with 400 remaining? (I will give the answer later, but don’t cheat, try to work it out. And additional clues will come if you are really stuck…. I was)

Estate..wife 1...wife 2....wife 3
100.....33 1/3...33 1/3....33 1/3
200.....50 ......75........75
300.....50 ......100......150


Ok, so which of those seem like a fair division to you, and which do you think most people would agree with. With your answer tucked away, here's a similar problem with a different twist. Three people want to build a runway for their private planes. For Pilot A, the cost of a runway for his plane would be 100 units. For Pilot B, with a bigger plane and therefore a longer runway needed, the cost would be 200 units. And Pilot C, needing an even longer runway, would have to pay 300 units. If they form a coalition, they can build one runway big enough for all three for the 300 units. How should the share the costs?

Should they pay 100 units each? Probably not, the first guy would see no advantage to the coalition. What about each paying half of what they would pay for their separate runways? If that sounds fair, then look again at the marriage contract problem above for an estate of 300; are these really the same problem? The numbers are all the same. The only difference is that in one case they are sharing a debt of 600 units and paying a combined 300, and in the earlier case they had a combined credit of 600 and sharing a combined payout of 300. Is fair in one case the same as fair in the other case?

The good professor provided another alternative to the airplane problem, using a method called the Shapley value, named for Lloyd Stowell Shapley, from UCLA. The method is founded on objection and counter-objection of each party being balanced. But an easier way to understand the value is to take every possible permuation (different orders of the pilots) and how much each would pay if they joined the coalition in each order. For instance if they joined in the order 3,2,1, the large plane pilot would have to pay for the whole runway, the other two would pay nothing. Here is a list of ALL the possible orders and the amount each pays:

Order.......Pilot 1...Pilot 2...Pilot 3
1,2,3.......100.......100.......100
1,3,2.......100 .......0 .......200
2,1,3 ....... 0.......200.......100
2,3,1 ....... 0.......200.......100
3,1,2 ....... 0.......0.......300
3,2,1....... 0 ......0.......300

Now if you add up all the possible amounts, the six ways add up to 1800 dollars. Since pilot one pays 200 of the 1800, his share of 300 should be 1/9 of the 300 units, or 33.33 units. Pilot 2 should bay 5/18 of the 300 or 83.33 units, and the last pilot shoud pay 11/18 of the 300, or 183.33 units.
Now that’s what I'd like for public service, good progressive taxation… make the rich guys carry the burden.

I expressed my dislike for the three wives solution on the night. I explained that if my bank went bankrupt and offered me 10 cents on the dollar, and paid another guy 50 cents on the dollar because he had more money, I would be screaming like a stuck pig. But if fair on one problem is fair on the other, then I’m REALLY not liking the rich guy getting 61 percent of his money back, and the little guy gets 33 % return.

Ok, so I’m going to make it a little more complicated in a minute, but I want to go back to the case of the three wives in the Talmud. If the rule is consistent, then any two wives should get the same amount they would get if there were only two of them and the estate was the sum of what they shared and the division was by the disputed garment solution. Ummm, let me try again. In the case for 300 in the estate, wife 1 and wife 2 get a total of 150 units, and their claim is for 100 and 200. If we use the logic of the disputed garment, then since wife 1 only claims 100 units, wife 2 should get the 50 extra right off, and they should share the remaining 100 equally giving a solution for the two of 50, 150… ok, that works, and if you check the other two possible groupings (wives 1 and 3 and wives 2 and 3) it also works out. So maybe this is the Talmudic approach. Can you find the solution for 400 units in the estate now?

For over 1500 years scholars studied the Talmud and couldn’t find a rule to explain the determination of values that was more specific than the general rule I just gave. Then Robert Aumann, a professor at the Hebrew University of Jerusalem, showed that the solutions were the ones you would get by using the Nucleolus for the coalitional game (I will spare the general reader the several pages of equations with subscripts and other assorted devices of mathematical torture that explain Nuclelus, but if you are, like me, one who shouts “Show me the Math”, you may find an extended description here. .)

Now, if you STILL haven’t figured out how much each person gets with the division of an estate of 400 units, here is a physical method that, remarkably, gives the solution for any amount less than the 600 units promised the three wives.


Imagine the image shows six interconnected tanks. The two tanks on the left hold fifty units of liquid each and represent the share of wife 1. The second set has two tanks of 100 units each, and represent the second wife's total promised 200 units, and the third set of two each hold 150 units, to represent the 300 units of wife three. Now we pour an amount of liquid equal to the value of the estate into the top three tanks, divided equally between them. Behold, what is left when the connection across the bottom is allowed to do its thing, is the Talmudic solution. The solution above shows the answer for the division of an estate of 100 units. Here is the one for 300 units to help you see the physical solution method.

Now admit it, even if your not a math/science person, even if you don’t think the solution is fair, that’s a pretty cute trick… ahh go on, admit it. Ok, if you STILL don't have the answer for 400, the division is 50, 125, 225....

Ok, here is a little postscript, one more thing that disturbs me about the Talmudic settlement. Suppose hubby dies, and they have 200 units in the estate. Everyone gets a settlement, and then they find more money hidden away under the mattress, say 200 units. How do we handle that. If we treat it like a single 200 dollar estate, then the wives each double what they had after the first settlement. Wife one gets another 50 units, wife two gets another 75 units, and wife three gets another 75 units. But now wife 1 has her entire promised amount back, while the other two have only a partial amount. But if we treat it as if we are adjusting for a 400 unit estate, now wife one gets nothing, even though the settlement is twice as large as origninally thought.
Do you see my point? A fair division added to a fair division does not seem fair. Is THAT fair?? hmmm.... Sometimes I like math better when there are only pure numbers... reality makes things complicated.

Sunday, 20 January 2008

Signs of the Times (or of the Thames)


In 1887 Oscar Wilde wrote: `We have really everything in common with America nowadays except, of course, language'. Some say he may have been paraphrasing something by George B. Shaw. Whichever said it first, they were wrong; the British are different. I've been over here for a while, and I don't giggle anymore when I hear a seven-year-old ask his mom to buy him some new rubbers (erasers). I even know I'm not looking for footweae when I go to a boot sale (flea-market). But sometimes the British road signs just take me back to square one.

The sign above is an example. It is located in Greenwich near the loaction where they are restoring the Cutty Sark. You have to figure out what it means. It is not just that they use the same words to mean different stuff. They just have a different mind set. North of my home here in Stoke Ferry as I drove towards Kings Lynn there was a sign that read, "Cats Eyes removed ahead" Yikes!!!

A common road sign that I have yet to figure out has the warning, "Beware of oncoming traffic in center of road"???? If there is a problem with oncoming traffic in the center of the road, shouldn't this sign be turned the other way and say something like, "Get your Butt back in your own lane!" You see? The British just think differently.

Ok, one more example. I was in London to see the "Tut" exhibit last weekend (a bit disappointing, actually) and in King's Cross station I noticed this sign.




The sign is located on an electronic schedule that tells you the track on which trains depart. When the station is busiest, they apparently turn them off so people won't crowd around them.... YES, READ IT AGAIN... In the peak periods they remove information. People blindly wandering from track to track apparently are less likely to congregate in one place and create congestion... Ok, I don't really know why they have such a sign, or why they would do it.... My only explanation... The British ARE different.

Wednesday, 9 January 2008

Mentos and Coke.... But Why?


Talking to my kids about Mentos and coke eruptions recently, and found this on a web site... this may be the ULTIMATE Mentos and coke performance on the net.

The kids always say wow... and then... WHY? Why does Mentos and Diet Coke make such an explosion, does it have to be diet coke?

The answer is.... well actually there are several possible answers and no one is sure exactly which is the dominant factor. There are some things we think we know, so here is what I think I understand about the eruptions now:

When they bottle pop, the expose the liquid to a highly pressurized Carbon Dioxide (C02) gas, that is what puts the "fizz" in soda pop. When the bottle is capped, the molecules of CO2 are trapped in the liquid and because of the surface tension, they can't expand. Now if you shake one up, and pop the lid, the shaking has broken the surface tension enough to let the molecules of CO2 start to expand and you get a blast all over the place, the expanding molecules take up more space, pushing out the soda pop. But if you open it gently, the surface tension is only mildly disturbed near the top of the bottle or can, and a few thousand molecules expand and rise to the surface or foam up in the bottle.

Two things seem to be the most important factors, surface tension, and the ability of the carbon dioxide molecules to get close together. If you drop salt, marbles, sugar, or most anything else into the pop, it will start to fizz. If the material has soap or fats that break down the surface tension of the liquid, you get more bubbles. And if the material has lots of corners and crevaces for the molecules of CO2 to hook onto, then you get more (bigger) bubbles. This idea is called nucleation If the surface is jagged or irregular, it encourages this nuclaeation, and more tiny molecules of gas expand.

Mentos is good in both aspects, the gum arabic and gelatins in the coating disolve and promote lowering of the surface tension in the liquid. In addition, the candy itself is covered with tiny little depressiions, sort of like a golf ball. They provide a prime source of nucleation sites. Add one more quality to help make a big eruption, the Mentos are heavy. Well heavy enough that they sink quickly to the bottom of the bottle. If they set at the top and expanded, there would be a rush of gas out of the bottle, but mostly invisible. At the bottom, the expansion of the gas is so quick that as they press outward, the cola can not get out of the way and so it is pushed right out the top and up into the sky.

Does it have to be diet. Some say diet is much better, maybe something in the artificial sweetener. Others claim the only difference is that the non-diet soda is a sticky mess to clean up, and there is really no difference in the pressure of the eruptions. Heat seams to make a difference, hot cola shoots higher than cold cola.

So what else might effect it? Go ahead, but a couple of liters of Diet Coke, and a couple of packages of Mentos and have a little experiment. Make a mess, have a ball... and if you learn something along the way... well, that's just the price you pay.

Sunday, 6 January 2008

Christmas in Paris 2007


Trying to type on a French keyboard; yes Virginia; there is a difference!!!


Got to love a city where they have streets named for mathematicians.... this one is in the 17 th district near my apartment,,,,, visited the Eiffel Tower; The Louvre; Notre Dame; all the tourist sites, but near the Pantheon there is a little Gothic church, St. Etienne; that was Pascal's church, and where he is buried.


The Arts de Metiers Museum in Paris was a great visit; Pascal's Calculating machine, at nineteen??? What a mind!!! and Foucault's penulum could still be there watching; but the streets called; the food; the bakeries, Paris is a fest for the nose as well as the eyes. Walking; watching the people; and then sitting on a bench by the Eiffel Tower, listening to evey dilect known to man; watching children on a hand turned carousel..... Can life get better than this???


At the Louvre I got to stand close up and contemplate the Beautiful statue of Pascal by Pajou . They also have another of D'Alembert who was instrumental in the French measurement of the Paris Meridian.


I tried to get a close-up of the roulette or cycloid which he is considering.


One of my favorite stories about Pascal relates to the roulette . Pascal was a very devout man, and also a wonderful mathematician early in his life. When he was in his early teens he wrote one of the important papers on analytic geometry at 16 and invented the calculating machine shown below when he was only nineteen, and in truth, it was not significantly improved on until the first electronic calculator/computers. Later, along with his studies in pressure and physics, he helped to create the study of probability in his letters with Fermat (around 1554) .


But then, at about age 31, he had an accident when his horses ran into the river at the bridge at Neuilly (Paris). Miraculosly, he was saved when the harnesses broke and the horses fell into the river leaving the carrage, and an unharmed Pascal, on the bridge. Pascal took this as a sign that God was not pleased with the time and attention he gave to math and physics, and so he abandoned them entirely to devote himself to the study of Religion. It was during this time that he wrote most of the documents which would be gathered to create his Penses.


Then about three years later, so the story goes, Pascal developed an ulcer that caused him such discomfort he could find no rest at all (he always did have problems with insomnia). To occupy his mind, he turned his attention to an article on the cycloid, a question much in consideration in all of Europe at the time. As Pascal used the new calculus of indivisibles created by Cavalieri to solve the area under the curve his pain disappeared. He took this as a sign that God did not object to his study of math, and returned to consider the problem and others for the few remaining years of his life. He died at thirty-nine from cancer of the stomach that had spread to his brain.