School teacher has a bag of hats

In summary, the conversation is discussing a puzzle where a school teacher has placed hats on four blindfolded students and asks them to determine the color of their own hat based on the color of their classmates' hats. The fourth student is able to figure out the color of their hat before their blindfold is removed, and the conversation then delves into various assumptions and possible solutions for the puzzle.
  • #1
The Bob
1,126
0
Right. Here I go.

A school teacher sits four pupils around a table so that two are facing another two. The pupils are not allowed to look side-ways.

The school teacher has a bag of hats (4 are black and 3 are white). He blindfolds the pupils and randomly places hats on the pupils heads.

One at a time the teacher asks the pupils if they know what colour hat they have one. The first pupil says no and removes his blindfold and is then asked again. He still states that he does not know. The second pupil says no and removes her blindfold and still does not know. The third pupil does the same. Just before the blindfold of the fourth pupil is removed the pupil shouts 'STOP. I know what colour my hat is'.

What is the colour of this pupils hat and how does he know?

The Bob (2004 ©)
 
Science news on Phys.org
  • #2
white
Because I like to answer white.
 
  • #3
TenNen said:
white
Because I like to answer white.

I asked how he knows not why you want to say white.

If I am not going to get sensable answers then what is the point in me posts these messages? They are here to make people think not to make fun of me.

Sorry to sound a bit mean.

The Bob (2004 ©)
 
  • #4
I am sorry, I didn't mean to offend you, not at all, really!
I didn't complete the whole sentence, I meant "I don't know how, I just answer white Because I like to answer white".

So I will now leave it blank waiting for some others who will join to have fun with you, not to make fun of you.

You didn't sound mean at all, even a little. It is I who now have to say "thank you, Bob" for your excuse...

Does that clear up everything ? ~lol~
 
Last edited:
  • #5
No Problem. :biggrin:

TenNen said:
I am sorry, I didn't mean to offend you, not at all, really!
I didn't complete the whole sentence, I meant "I don't know how, I just answer white Because I like to answer white".

It is just I thought you may have been having ago at me because of my age. That is all. I may be young but no stupid.

TenNen said:
So I will now leave it blank waiting for some others who will join to have fun with you, not to make fun of you.

I do not want you to leave it blank at all. I want people to try to have fun at it (and because off hand I have forgotten but I will remember :rolleyes: ).

TenNen said:
You didn't sound mean at all, even a little. It is I who now have to say "thank you, Bob" for your excuse...

Does that clear up everything ? ~lol~

Everything is clear except what is my excuse?

Cya Around :biggrin:

The Bob (2004 ©)

P.S. Back to the point in hand. What is the colour of the pupils hat and why is it? How does the person know?
 
  • #6
First assumption - The fourth pupil is smarter than the third pupil. This must be the case. The third pupil has all the information the fourth pupil has and more, yet fails to solve the problem. If the problem is solvable by the fourth pupil, it is solvable by the third pupil. The alternative is an awful answer like "The teacher told the fourth pupil ahead of time."

Second assumption - Hats can be seen in the reflections of the eyes of the pupils across the table. I believe the author is giving a hint by using "pupil" instead of "student"

Third assumption - The nature of the reflected image is poor, such that one could only be sure of the color if one had two different reflected hats for comparisson.

Fourth assumption - This is the assumption that only the fourth sudent is clever enough to make. A white hat would have a stark, identifiable reflection. Anyone who only saw black hat reflections would remain uncertain, but if someone saw a white hat reflected, he would know it for sure. A black hat reflected from the eyes black pupil would be an indefinite thing.

Fifth assumption - the pupil next to the fianal pupil did not go first, and the final pupil knows this from hearing the voices of the pupils.

Since the pupil next to the final pupil did not see a white hat reflection, neither he nor the student next to him had a white hat on. The final pupil figures this out, and knows he has a black hat.

Njorl
 
  • #7
The Bob said:
Just before the blindfold of the fourth pupil is removed the pupil shouts 'STOP. I know what colour my hat is'.

The Bob (2004 ©)

It clearly says that the fourth pupil shouts before his blindfold is removed, so there is no chance that he sees any sort of reflection in the eyes of the pupil sitting in front of him.

Also stop making these vague assumptions.
 
  • #8
I don't think so, we can wait for his solution to his own joke.
 
  • #9
vikasj007 said:
It clearly says that the fourth pupil shouts before his blindfold is removed, so there is no chance that he sees any sort of reflection in the eyes of the pupil sitting in front of him.

Also stop making these vague assumptions.

My solution does not require the fourth pupil to see anything. It only requires that he knows no other pupil has seen a white hat reflected.

Assumptions are required. The puzzle is not solvable from a strictly logical viewpoint. If it were, the third student could solve it. Therefore, it is a logical imperitive that assumptions be made.

Njorl
 
  • #10
hey, the bob,

could you please confirm that #1 and #2 sit on the same side of the table ? If that's true, this one's a real toughie. I can't seem to find any arrangement that would make #3 certain of his color. But the problem suggests that there would have to be more than one such configuration, for #4 to be able to eliminate them on the basis that #3 is unsure.

Also it would seem that #1 and #2 have access to the same information, as do #3 and #4. So, as Njorl suggested, there must be something that breaks the symmetry. I'm not sure if the sequence of being asked can provide the breaking of this symmetry. But I can see why Njorl chose to resort to "additional cleverness" !
 
  • #11
If the students were allowed to look sideways, it would be logically solvable this way -

First student sees something other than 3 white hats. If three white were seen, the pupil would know his own hat was black.

Second pupil knows that the first pupil saw at least one black hat. If pupils 3 and 4 both have white hats, his own hat is black. 3 and 4 do not both have white hats.

Pupil 3 knows that pupil 2 saw at least one black hat between pupil 3 and 4. Pupil 3 sees a black hat on pupil 4, so he does not know if he has a black or white hat.

Pupil 4 knows that pupil 3 would know his own hat color if he saw a white hat on top of pupil 4's head. Pupil 4 knows his hat is black.

This solution requires looking sideways.

He could have put the students in a line, and disallowed looking backwards. Pupil 1 in back, pupil 4 in front.

Njorl
 
Last edited:
  • #12
Consider the information you get given that no sideways looking is allowed.

Pupil 1 sees 2 pupils across from him. He announces he does not know his own hat color. We know that he does not see either 3 white hats or 4 black hats. Considering that we know he only sees two hats, we have gained no information at all. We do not even know which two students he sees, only that he does not see himself.

The same for pupils 2 and 3.

Njorl
 
  • #13
Gokul43201 said:
hey, the bob,

could you please confirm that #1 and #2 sit on the same side of the table ? If that's true, this one's a real toughie. I can't seem to find any arrangement that would make #3 certain of his color. But the problem suggests that there would have to be more than one such configuration, for #4 to be able to eliminate them on the basis that #3 is unsure.

I can confirm that pupil 1 and 2 are on the same side and pupil 3 and 4 are on the same side. Pupil 1 and 2 can see pupil 3 and 4's hats but pupil 1 cannot see pupil 2's hat. This is the same for pupils 3 and 4.
 
  • #14
Njorl said:
Consider the information you get given that no sideways looking is allowed.

Pupil 1 sees 2 pupils across from him. He announces he does not know his own hat color. We know that he does not see either 3 white hats or 4 black hats. Considering that we know he only sees two hats, we have gained no information at all. We do not even know which two students he sees, only that he does not see himself.

Pupil 1 can see pupil 3 and 4's hats.
Pupil 2 can see pupil 3 and 4's hats.
Pupil 3 can see pupil 1 and 2's hats.
Pupil 4 can see pupil 1 and 2's hats.

It is pupil 4 that shouts stop and the order of calling is (obviously) 1, 2, 3 and 4.
 
Last edited:
  • #15
Pupil one states he does not know his hat color blindfolded.
All possibilities available prior to the annoncement are equally possible after the announcement.
The announcement yirlds no information.
Pupil one sees pupil 3&4's hats. He still does not know his own hat color.
All possibilities available prior to the annoncement are equally possible after the announcement.
The announcement yields no information.

Pupil two has gained no information.
Pupil two states he does not know his hat color blindfolded.
All possibilities available prior to the annoncement are equally possible after the announcement.
The announcement yields no information.
Pupil two sees pupil 3&4's hats. He still does not know his own hat color.
All possibilities available prior to the annoncement are equally possible after the announcement.
The announcement yields no information.

Pupil three has gained no information.
He announces he does not know his own hat color blindfolded.
All possibilities available prior to the annoncement are equally possible after the announcement.
The announcement yields no information.
He then sees pupil 1&2's hats. He states he still does not know his own hat color.
All possibilities available prior to the annoncement are equally possible after the announcement.
The announcement yields no information.


Pupil 4 has gained no information. He claims he knows his own hat color. From the information provided, this is not possible.

Njorl
 
  • #16
The question is possible. I know it is because it is outside my maths classroom at school. I cannot, however, off hand remember how it is done. The question is all I can remember. I will check and see if any other information is given, but I do not think there is.

The Bob (2004 ©)
 
  • #17
May I assume that we have all conceded the floor to the bob ?

Njorl, you forgot to add "QED", so your proof is incomplete. The Bob will show us how.

Bonus question : How many times did Njorl hit CTRL+V ?
 
  • #18
Gokul43201 said:
May I assume that we have all conceded the floor to the bob ?

Njorl, you forgot to add "QED", so your proof is incomplete. The Bob will show us how.

Bonus question : How many times did Njorl hit CTRL+V ?

Sorry but what is QED?

I cannot show any of you how until tomorrow at about 1 P.M. GMT time I am afraid because I cannot remember it. I am disappointed that it was up and finished in a day. I will post another one for you all though that I do know the answer right now to.

Have fun with my posts

The Bob (2004 ©)
 
  • #19
The Bob said:
The question is possible. I know it is because it is outside my maths classroom at school. I cannot, however, off hand remember how it is done. The question is all I can remember. I will check and see if any other information is given, but I do not think there is.

The Bob (2004 ©)
If you do not embrace the possibility that your math teachers are wrong, you will never surpass them.

Njorl
 
  • #20
A good point. What annoys me more is that I did it myself a while ago and it was right. I believe (hint here) you have to assume the different possible combinations that the hats could be in. Then imagine what the pupil is thinking and then work it out.

Hope this helps a bit :biggrin:

The Bob (2004 ©)
 
  • #21
If it turns out I am wrong then I will start a new thread and remove the hats thread.

The Bob (2004 ©)
 
  • #22
Gokul43201 said:
May I assume that we have all conceded the floor to the bob ?

Njorl, you forgot to add "QED", so your proof is incomplete. The Bob will show us how.

Bonus question : How many times did Njorl hit CTRL+V ?

I think Njorl has used the CTRL + V command 8 times in this thread :biggrin:

The Bob (2004 ©)
 
  • #23
Gokul43201 said:
May I assume that we have all conceded the floor to the bob ?

Njorl, you forgot to add "QED", so your proof is incomplete. The Bob will show us how.

Bonus question : How many times did Njorl hit CTRL+V ?

Three times. (An alternate question might have been how many times did Njorl hit CTRL+C.)

In his last posting, Njorl copied, pasted, and edited the first half of paragraph 1, as needed, to make a longer paragraph in which the word "yields" was mispelled. Njorl corrected his mispelling in the pasted portion of the paragraph, but did not correct the original mispelling. (Normally, the photocopier catches most mispellings, right?)

Njorl then copied the entire first paragraph and edited it as needed for the second paragraph.

Repeat for the third paragraph.

What Njorl did not realize, is that he used the "American" spelling of anouncement in the first instance, then, in respect to The Bob, reverted to inserting the ever popular British "u" into subsequent spellings.

I would have to see the eyes of at least three other posters before venturing a guess as to how many times Njorl has hit CTRL+V in his lifetime.
 
  • #24
BobG said:
I would have to see the eyes of at least three other posters before venturing a guess as to how many times Njorl has hit CTRL+V in his lifetime.

Well I will say about 40 times a day.

Therefore 14,610 times a year and then multiple it by Njorl's age and add the necessary days and binjo. There is my random guess :biggrin:

The Bob (2004 ©)
 
  • #25
I use "shift insert" and "shift delete", thank you very much. Control V indeed!

Njorl
 
  • #26
Njorl said:
I use "shift insert" and "shift delete", thank you very much. Control V indeed!

Njorl

--~~##LOL##~~--
 
  • #27
Njorl said:
I use "shift insert" and "shift delete", thank you very much. Control V indeed!

Njorl

I know you can CUT using shift+delete, but how do you COPY ? Always wanted to know if there was one for that too !
 
  • #28
I never figured it out. I just cut and paste when I want to copy.
Njorl
 
  • #29
Njorl said:
If you do not embrace the possibility that your math teachers are wrong, you will never surpass them.

Njorl

Gokul43201 said:
The Bob will show us how.

Well thanks to everyone for trying my impossible question. I would like to thank Gokul43201 for his/her support and encouragement and to Njorl for allowing me to realize my mistake. It turns out I was wrong so I apologise for my mistake (I admit I was obviously hoping it was right but it wasn't).

Therefore here it is (the one that works :biggrin: ):

My Maths Noticeboard said:
Professor Pots has set a tough challenge for his four brightest students, who are sat facing each other. (Sorry I got this wrong in the original). He says "I have seven hats here, four black and three white. I will blindfold you all and then give you each a hat to wear. I will then remove the blindfolds and ask each of you in turn if you are able to work out the colour of your hat."

He does this. Each student thinks hard before he speaks and this is what each one says:
First Student: "I don't know".
Second Student: "Nor do I".
Third Student: "I don't know either".

Before his blindfold is removed, the fourth student announces the colour of his hat.

What is it and how does he know?

Well there it is. I hope it is easier now for you to do.

I apologise again.

The Bob (2004 ©)
 
  • #30
This is what Njorl solved in post#11.
 
  • #31
OK OK. Well Done Njorl.

I will post another that is correct for you all.

Sorry about this one.

The Bob (2004 ©)
 
  • #32
I remember in high school, there was a teacher who gave us broken brain teasers. He would give us a puzzle, and ask us to fix the puzzle so that it was solvable, but not trivial, then solve it. I wasn't very good at them then.

Strangely, working in the real world prepares you for this more than school. In school, they almost always give you problems with possible solutions. At work, it just isn't that way. In fact the first step is to explore if a problem can be solved. After 25 years, I can finally do broken brain teasers!

Njorl
 
  • #33
Yes, Njorl's post 11 is the solution.

Also, this problem is a little too pacifist for my taste. A more exciting version is the primitive tribal village that is visited by a missionary.

According to custom, if a woman discovers her husband has been unfaithful, she must kill him at midnight that very same night. Naturally, considering the consequences, villagers make sure no woman finds out her husband is cheating on her. Meaning all the men are unfaithful with only the meagerest attempts to hide the fact and none of the wives ever find out THEIR husband is cheating. They only know the husbands of all the other wives are cheating.

A missionary comes to the village and is apalled to discover one of these affairs and to be strongly suspicious that there are several more. She immediately calls a meeting of the 60 married couples and informs them, "I'm seriously disappointed in you people. I know at least one husband has been unfaithful to his wife. It's a good thing I've come to put end to this behavior."

What will happen as a result of the missionary's comments?
 
  • #34
Hey Bob, this is a nice one, but has been posted here before - with Hungarians instead of tribals, I think.

Those that haven't seen that thread may still work on this.

PS : I recommend starting each new puzzle in a new thread with an appropriate title, so it's easy to locate.
 
  • #35
Well I reckon all of the husbands will think she is talking to them and not come home to face the wife. However lots do it so they all know who is and who isn't guilty.

I think that is the point.

The Bob (2004 ©)
 

Similar threads

Replies
1
Views
1K
  • New Member Introductions
Replies
2
Views
377
  • STEM Educators and Teaching
Replies
19
Views
2K
  • STEM Educators and Teaching
Replies
16
Views
5K
  • STEM Educators and Teaching
Replies
9
Views
14K
  • STEM Educators and Teaching
Replies
15
Views
3K
  • Quantum Interpretations and Foundations
2
Replies
54
Views
4K
  • Electromagnetism
Replies
5
Views
5K
Replies
3
Views
2K
Back
Top