Author Topic: An interesting problem  (Read 5945 times)

0 Members and 1 Guest are viewing this topic.

Offline iago

  • Leader
  • Administrator
  • Hero Member
  • *****
  • Posts: 17914
  • Fnord.
    • View Profile
    • SkullSecurity
An interesting problem
« on: March 03, 2005, 02:13:51 pm »
I'm adapting this from a problem we discussed in my Machine Learning class to match a problem posted by Newby:

There is a table with 3 guns.  Two of them are loaded, one isn't.  You have no way of telling which one is loaded.  A man tells you he will kill you unless you pick up one of the guns and shoot yourself in the head.  If the gun is loaded (66%), you die.  If the gun isn't (33%) you get to walk out and go home.

The man asks you which gun, 1, 2, or 3.  You choose gun 2.  He picks up gun 3, and shoots the ceiling (it's loaded).  At this point, he asks you if you would like to change your mind and pick gun 1.

The question is: should you change your mind? What are the odds that gun 2 is loaded? What are the odds that gun 1 is loaded?

Offline Mythix

  • The Dude
  • x86
  • Hero Member
  • *****
  • Posts: 1569
  • Victory
    • View Profile
    • Dark-Wire
Re: An interesting problem
« Reply #1 on: March 03, 2005, 04:22:46 pm »

The question is: should you change your mind? What are the odds that gun 2 is loaded? What are the odds that gun 1 is loaded?

50%!


Go for it.

Also if the gun you choose point it at the guy threatening to kill you, if it shoots you win, if it doesn't just say "haha I got you, I knew it wasn't loaded!"
Philosophy, n. A route of many roads leading from nowhere to nothing.

- Ambrose Bierce


Offline iago

  • Leader
  • Administrator
  • Hero Member
  • *****
  • Posts: 17914
  • Fnord.
    • View Profile
    • SkullSecurity
Re: An interesting problem
« Reply #2 on: March 03, 2005, 09:09:24 pm »

The question is: should you change your mind? What are the odds that gun 2 is loaded? What are the odds that gun 1 is loaded?

50%!

Wrong!  And you didn't answer all my questions, but 50% isn't correct for any of them.

Offline truste1

  • Hero Member
  • *****
  • Posts: 1130
  • I haven't visited my profile!
    • View Profile
Re: An interesting problem
« Reply #3 on: March 03, 2005, 09:12:07 pm »
No. 33%. 33%.
Ain't Life Grand?

Offline iago

  • Leader
  • Administrator
  • Hero Member
  • *****
  • Posts: 17914
  • Fnord.
    • View Profile
    • SkullSecurity
Re: An interesting problem
« Reply #4 on: March 03, 2005, 11:30:31 pm »
No. 33%. 33%.

No.  Because you have already eliminated gun 3 as being the unloaded gun.

Offline Quik

  • Webmaster Guy
  • x86
  • Hero Member
  • *****
  • Posts: 3262
  • \x51 \x75 \x69 \x6B \x5B \x78 \x38 \x36 \x5D
    • View Profile
Re: An interesting problem
« Reply #5 on: March 03, 2005, 11:46:21 pm »
1 out of 2 that the gun is loaded. Same with first gun.
Quote
[20:21:13] xar: i was just thinking about the time iago came over here and we made this huge bomb and light up the sky for 6 min
[20:21:15] xar: that was funny

Offline iago

  • Leader
  • Administrator
  • Hero Member
  • *****
  • Posts: 17914
  • Fnord.
    • View Profile
    • SkullSecurity
Re: An interesting problem
« Reply #6 on: March 04, 2005, 09:57:13 am »
1 out of 2 that the gun is loaded. Same with first gun.

Nope.

Offline truste1

  • Hero Member
  • *****
  • Posts: 1130
  • I haven't visited my profile!
    • View Profile
Re: An interesting problem
« Reply #7 on: March 04, 2005, 02:46:38 pm »
No. 33%. 33%.

No.  Because you have already eliminated gun 3 as being the unloaded gun.

No, you're wrong:

Quote
He picks up gun 3, and shoots the ceiling (it's loaded).

Right there you said gun 3 is loaded. Nowhere in your post did you say that there is only one bullet in the gun, so it's safe to assume that there is still more bullets in the gun. Hence the reason I said 33%, no gun has been eliminated as being unloaded.

But it doesn't matter anyway, 
Quote
... pick up one of the guns and shoot yourself in the head.
- you're required to shoot yourself in the head, not just attempt to shoot yourself in the head. Sucks.
Ain't Life Grand?

Offline iago

  • Leader
  • Administrator
  • Hero Member
  • *****
  • Posts: 17914
  • Fnord.
    • View Profile
    • SkullSecurity
Re: An interesting problem
« Reply #8 on: March 04, 2005, 03:37:11 pm »
The presumption is that when he shows you that Gun 3 is loaded, that elimates Gun 3 (it's thrown out the window or something).

Anyway, the answer is this:
Gun 1 (the gun you initially chose) - 33% that you're safe -- there were 3 guns to choose from, and you had a 1/3 of getting the right one.
Gun 2 - 66% that you're safe -- the easiest way to picture this is to think that gun 1 is 33% (that should be obvious), and the other gun has the inverted chance, since you know Gun 3 can't be the right one.

We actually drew out the full tree (which gun, which had no bullet, and which you chose) in class to prove it; you can draw it yourself if you don't believe me.

Offline truste1

  • Hero Member
  • *****
  • Posts: 1130
  • I haven't visited my profile!
    • View Profile
Re: An interesting problem
« Reply #9 on: March 04, 2005, 04:39:20 pm »
I'm still certain that, given my justification, my answer was correct.
Ain't Life Grand?

Offline iago

  • Leader
  • Administrator
  • Hero Member
  • *****
  • Posts: 17914
  • Fnord.
    • View Profile
    • SkullSecurity
Re: An interesting problem
« Reply #10 on: March 04, 2005, 06:41:31 pm »
I'm still certain that, given my justification, my answer was correct.

Yes, but your justification was wrong.

If A implies B (A -> B), and A is false, then B is irrelevant :P

Offline truste1

  • Hero Member
  • *****
  • Posts: 1130
  • I haven't visited my profile!
    • View Profile
Re: An interesting problem
« Reply #11 on: March 04, 2005, 06:47:18 pm »
You didn't give adequate details.
Ain't Life Grand?