Sunday, April 15, 2012

The Impossible Puzzle

I'm leaving this one here not necessarily as a puzzle for you to solve, but as an insight in how freaky these math puzzles can get. This particular one is called ‘The Impossible Puzzle’. Solving it is in fact possible, but that title might hint at how difficult that is. Nevertheless, see how far you can get!

Sam and Priya are two very talented mathematicians.
Their friend Anna approaches them and says: “I have chosen two whole numbers, labeled A and B. Note that A is greater than 1 and B is greater than A. The sum of these numbers does not exceed 100.”

The others nod, so she continues: “In a moment, I will inform Sam of only the sum (A+B), and I will inform Priya of only the product (A×B). These announcements remain private!”
She does so, and the following conversation then takes place:

Priya says, “I don't know the values of A and B.”
Sam responds, “I already knew that.”
“In that case, I do know what their values are,” says Priya.
“Really?”, Sam ponders. “Then so do I.”

Now you too, can know what numbers A and B are.

Friday, January 20, 2012

The Impossible Vuvuzela

Mathematicians can describe a very strange theoretical object, which has two very paradoxic properties.

It looks like a horn, or maybe a trumpet. Hmmm, I guess it resembles one of those dreaded vuvuzelas most. It becomes thinner and thinner along its length — which, by the way, is infinite. You know what? Here's a picture:


On the one hand this vuvuzela has an infinite surface area. Because as the vuvuzela becomes longer, its exterior and interior become bigger, thus this vuvuzela of infinite length has an infinite surface.

On the other hand, its volume approaches π. That's right, a finite value. Surprisingly, this vuvuzela of infinite length has an exact finite volume.


Wednesday, December 14, 2011

The Mind Reader

I am thinking of a number between 1 and 9. You can ask me two yes/no questions and I will answer them truthfully.

You can't ask me any open questions, I will only answer “Yes” or “No”! However, if for some reason I cannot answer it, I will tell you “I don't know”.¹

What two questions should you ask me to find the number I'm thinking of?

¹ Let's pretend I'm a genius and that the difficulty of your question does not stop me from answering it. Also, me not knowing the answer is not the same as making me deal with an invalid answer! So having me divide by zero will do you no good. That's just cheating out of a valid yes/no question. Encoding the numbers as yes/no/don't know? Same story!

Tuesday, December 13, 2011

The Statistical Anomaly

“There are lies, damned lies, and statistics.” How is that for starting off with a cliché one-liner!? However, it is true that statistics can be quite misleading or difficult to interpret at times. Enter Simpson's Paradox. I'm going to demonstrate two interesting real-world examples of this.

ApplicantsAdmitted
Men844244%
Women432135%

The above numbers are grad school admissions at UC Berkeley from the fall of 1973. It sure seems that, compared to women, men were more likely to be admitted. Looking at these figures, would you accuse them of gender bias? Well, some people did, and sued the university!

So Berkeley decided to take a closer look at the numbers. Admissions are per department, so they wanted to find out which specific departments were guilty of a significant bias against women. Guess what... none of them were.


Thursday, November 17, 2011

The Diagonal Paradox

Shown here is a square with edges of length 1. The two orange edges will sum up to 2. Additionally, the length of the diagonal can be calculated using the Pythagorean Theorem. You know, A² + B² = C². That one. This gives √2 ≈ 1.41 for the diagonal.

Start carving out a stairway as shown in the pictures below. Realise that the total length of those orange lines will remain 2 no matter how many steps you chose to make!


From left to right, there are more (smaller) steps each time. But hang on a second: that orange line is quickly starting to look like the diagonal. Would it also approach 1.41 in length? If you made infinitely many steps, would its length turn out to be exactly √2?
No, not so, on both accounts.


Saturday, October 15, 2011

The Necktie Paradox

Tom and Michael are both given a cheap necktie by their respective wives for Christmas. At the office Christmas party they start arguing over which (who) is the cheapest. Having had a few drinks, they agree to have a silly bet. They will ask their wives how much their neckties cost. The guy with the more expensive necktie has to give it to the other as the prize.

Tom eagerly accepts the bet. He reasons that winning and losing are equally likely. “If I lose, then I lose the value of my necktie. But if I win, then I win more than the value of my necktie. Therefore this bet is ultimately to my advantage!”
Michael is eager to accept the bet as well... since he reasons in exactly the same way.

Either guy's reasoning seems sound, yet they cannot both have the advantage in the bet! Where is the fault?


Details: For a fair bet you'd expect both guys to have a 50% chance of winning it (100% together). In the extreme case where one guy would have a 100% chance of winning, it can only follow that the other guy has 0% chance, i.e. no chance at all. So that's why they can't both have the advantage (= a chance bigger than 50%).

Thursday, September 8, 2011

The Fuses Riddle

You have a bunch of fuses, each of which burns for exactly one minute. But, they burn unevenly. That is to say, half a length of fuse does not necessarily burn for half a minute. You have as many fuses and matches as you want.

How can you use these to measure 45 seconds?


Tuesday, August 23, 2011

The Coastline Paradox

What is the length of the coastline of Great Britain?

If you'd ask the Ordnance Survey (the mapping authority for the United Kingdom), they might give you a number of 11,073 miles (17,820 km). That's all well and good, but what does this number actually mean?

If I said the coastline had an infinite length, would I be wrong?


Wednesday, July 27, 2011

The Town's New Roads

A small town has four important places: a factory, school, soccer stadium and the shops. These four places are located on the corners of a square exactly 1 kilometer in size (see image on the left).
Now the municipality is planning the construction of roads in between. Each location should be directly or indirectly reachable from any other location. Extra intersections can be placed wherever. However, because of cutbacks, the designers are instructed to plan as little road as possible.

Here are some attempts to do that.
  1. The first image connects all places directly to every other place. While this makes for fast travelling, it doesn't quite result in a small amount of road. The total length here is 4×1 + 2×√2 ≈ 6.83 km.
  2. Since indirect connections were fine, the second image does away with the diagonals giving it a total road length of 4 kilometers.
  3. Looking for even shorter solutions, what happens if the road is built in the shape of a circle, touching every location? With π×√2 ≈ 4.44 km, that third image is worse.
  4. So in the last image, one of the roads is removed from the square, making a total of 3 km. While moving from the factory to the shops will be a pain, it is the shortest solution so far. Although an H-shape would be more practical, this is not relevant to the problem (that's still 3 km).
But 3 kilometers is not the shortest solution. What is?


Wednesday, July 13, 2011

The Uncountable Hotel

This story is a follow-up to The Infinite Hotel.

David Hilbert had been getting quite some attention with his Infinite Hotel. Georg Cantor, a fellow mathematician who was always in for an impossible challenge, wondered if he could design an even bigger hotel. So that when it was completely full, there would be no way all those guests could ever fit in Hilbert's hotel. No matter what clever trick Hilbert would come up with (and as we know, he had quite a few of those).

So Cantor started to think. Hilbert's hotel had an infinite amount of rooms, each denoted by its own room number. The first was number 1, the next number 2, and so on — all the way to infinity. Basically, there was a room for every possible positive (whole) number. How could he design more rooms than that? Hmmm... what if, maybe, his hotel was to include rooms for all negative numbers as well? A list of all rooms would then go on indefinitely in both the positive and the negative direction! Surely he would then have twice as many rooms as Hilbert did.

Cantor soon realized it was not going to be that easy. Infinity times two? That's still infinity. Just arrange the rooms so that you can match them, and you'll see:

Cantor's Room Number 1-1 2-2 3-3 4-4...
Hilbert's Room Number12345678...

The idea sounded good at first, but the above shows that Hilbert's hotel would still be able to house every potential guest in Cantor's hotel. It doesn't matter if you change the labels on the doors; the number of rooms is still infinite.


Saturday, July 2, 2011

The Ant On An Elastic Rope


An ant starts to walk along an elastic rope which is 1 km long, at a speed of 1 cm per second (relative to the rope it is crawling on). While this happens the rope is uniformly stretched by 1 km per second (i.e. after 1 second it is 2 km long, after 2 seconds it is 3 km long, etc.). Assume the rope will never break and we have an infinite amount of time on our hands. Will the ant ever reach the end of the rope?

Here's a hint: Yes, yes it will.


Tuesday, June 21, 2011

The Cube Dovetailing Puzzle

A cube consists of two halves, interlocked together as pictured above. The cube looks like that on all of its four sides. How would you separate the two halves without cutting, breaking or distorting them in any way? The answer is inside...

Thursday, June 9, 2011

The Missing Euro

“Three guests check into a hotel room. The clerk says the bill is €30, so each guest pays €10. Later the clerk realizes the bill should only be €25. To rectify this, he gives the bellhop €5 to return to the guests. On the way to the room, the bellhop realizes that he cannot divide the money equally. As the guests didn't know the total of the revised bill, the bellhop decides to just give each guest €1 and keep €2 for himself.

Now that each of the guests has been given €1 back, each has paid €9, bringing the total paid to €27. The bellhop has €2. If the guests originally handed over €30, what happened to the remaining €1?”
  source


Friday, May 27, 2011

The Mixing Problem

Say you have two barrels, one containing wine and the other containing an equal amount of water. You take a cup of wine from the wine barrel and add it to the water. If you want, you can stir it some — or not, it doesn't matter. Then take a cup of that wine/water mixture and return it into the wine barrel. The cup should hold the exact same amount so that both barrels once again contain equal volumes (but now mixed). The question is: which one of the mixtures is purer?

Thought about it? The answer is that both mixtures are equally pure! (← click to spoil)


Tuesday, May 10, 2011

The Supertask

In Greek mythology, Achilles was a hero of the Trojan War. Some 2500 years ago, philosopher Zeno of Elea included him into one of his paradoxes. Achilles was quite the runner... or maybe the paradox shows otherwise.

Suppose Achilles was in a 100 meter foot race with a tortoise. The tortoise is given a 25 meter head start. It would seem obvious that when Achilles eventually starts running, he will easily overtake the tortoise and then comfortably reach the finish line (with time to spare). Looking at it logically though, one could wonder how Achilles can ever beat the tortoise.


Tuesday, April 19, 2011

The Survey

A census taker rings the doorbell and a woman opens. She informs the census taker that she lives in the house with her three sons. “What are the ages of your boys, please?” the census taker asks.
“When you multiply all their ages, the result is 72,” the woman cryptically informs him.

The census taker has a confused look on his face, so the woman adds: “The sum of their ages is the same as the housenumber of the house next door.”
He finds this rather odd, but walks to the house next door, only to return shortly after. “I still don't know, can you give me another hint?”

“Sure,” the woman says, “my oldest son likes strawberries.”
The census taker nods and writes down the ages. What are they?


Wednesday, April 13, 2011

The Infinite Hotel

This story is a follow-up to The Highest Number.

David Hilbert had worked hard for it, but after what seemed like an eternity, his Grand Hotel was finally completed. So many people had been involved in building it, it was impossible to keep count. But there it was, up and running, with more guests coming in every day. And Hilbert's Grand Hotel was grand alright. You see, this hypothetical hotel had an infinite amount of rooms. A feature Hilbert was keen to advertise: “The hotel that always has a room available!

Business was good. Hilbert enjoyed his tasks as manager, as quirky situations tend to occur a lot in a hotel with infinitely many rooms. Such a situation often required a mind-bending solution, just the kind of challenge Hilbert liked. And with the hotel quickly filling up, things were about to get crazy.


Monday, April 11, 2011

The Coin Flip

Here's a quick riddle. Setup: you are blindfolded, wearing thick gloves. There are twenty coins on the table in front of you: ten are heads and ten are tails. You do not know which; you cannot see them because of the blindfold and you cannot feel them because of the gloves. The only thing you can do is flip coins upside down or move them around.

You are to divide the coins into two equal groups (thus ten coins each). The assignment is to get the same number of heads and the same number of tails in both groups. How can you do it? No peeking!

Hint: The solution is easy. But reasoning to that point... less so!


Tuesday, April 5, 2011

The 20 Prisoners And The Hats

The warden from The 100 Prisoners And The Light Bulb is up to another one of his sick games! He puts 20 death sentenced prisoners together in a cell and explains the rules of their upcoming ordeal.

“Tomorrow, at the execution, I will give you a chance to go free. I will queue you up randomly and put a hat on your head. The hat is either red or blue. You cannot see the color of your own hat, only those of the prisoners in front of you. You will not be allowed to look behind you, nor are you allowed to touch, or talk to the other prisoners in any way. To be clear, the last prisoner will only see the 19 prisoners in front of him. The second-to-last prisoner will only see the 18 prisoners in front of him, and so on.”

The warden grins. “Starting with the last person in the row, I will ask a simple question: What is the color of your hat?”

“If he answers correctly, I will set him free. But you can guess what happens when the answer is wrong. He will be put to death immediately. Regardless of the outcome, I will then move to the prisoner in front of him, and ask the same question. From the last one in the row to the first one, you will all be asked.”

The warden lowers his voice. “And another thing. I will tolerate no cheating. If anyone answers anything besides ‘red’ or ‘blue’, I will execute you all right then and there!”

As he leaves, the warden sarcastically shouts: “Good luck tomorrow!”

The twenty prisoners can still talk freely during the night, so they are having heated discussions about how to free as many prisoners as possible. This turns out to be a difficult task. What is the most prisoners that can definitely be saved, and how?


Wednesday, March 30, 2011

The Exponential Folding

How many times do you need to fold a piece of paper (A4 size) in half, to make it reach the moon? Assume that the paper is 0.1 mm thick and that the distance to the moon is 384,403 kilometers (238,857 miles) — the accepted average.

When you calculate this, you should find that there are only 42 folds necessary. Welcome to the world of exponentials!