Free help with homework

Why join Brainly?

  • ask questions about your assignment
  • get answers with explanations
  • find similar questions

Suppose there are 4 prisoners named W, X, Y, and Z. Prisoner W is standing on one side of a wall, and prisoners X Y and Z are standing on the other side of

the wall. Prisoners X, Y, and Z are all standing in a straight line facing right – so X can see prisoner Y and Z, and Y can see prisoner Z. This is what their arrangement looks like:

W || X Y Z

Where the “||” represents a wall. The wall has no mirrors. So, prisoner W can see the wall and nothing else.

There are 2 white hats and 2 black hats and each prisoner has a hat on his head. Each prisoner can not see the color of his own hat, and can not remove the hat from his own head. But the prisoners do know that there are 2 white hats and 2 black hats among themselves.

The prison guard says that if one of the prisoners can correctly guess the color of his hat then the prisoners will be set free and released.

The puzzle for you is to figure out which prisoner would know the color of his own hat?


The Brainliest Answer!
Y will figure this one out because:

If X can see Y and Z with white and black, it means he has white or black too. If that is the case, he won't shout cause he has only 50-50 chance to be correct.

If X sees Y and Z with similar colors, of course, he shouts his color right away.

SO If X does not figure out / shouts his color, it is a cue for Y that he and Z have different colors. 

and so if Y sees Z with white hat, he has black. If Y sees Z with black hat, he has white. 

So they will be free and happy :) 

3 3 3
Such a very big help. Worth the points
I hope you can help me more next time. Logic is a problem 4 me
no problem ^_^
great answer
thank you.
The Brain
  • The Brain
  • Helper
Not sure about the answer?
Learn more with Brainly!
Having trouble with your homework?
Get free help!
  • 80% of questions are answered in under 10 minutes
  • Answers come with explanations, so that you can learn
  • Answer quality is ensured by our experts