note tilly <blockquote type="cite"><blockquote type="cite"> Suppose I have two envelopes. All you know is that they contain different numbers. I randomly hand you one of them. You open it, look at it, then hand it back. You now have sufficient information to, with guaranteed better than even odds, correctly tell me whether I gave you the envelope with the larger number. How? </blockquote> No, that question actually is:<br> If I give you a number from a set of two diffrent numbers tell me if you got the small or large number?<br><br> My odds of doing that is exactly 50%. </blockquote> You'd think that your odds of doing that are 50%. It turns out that they don't have to be. This violates common sense, which is what makes the problem interesting.<p> Mathematicians are very interested in understanding situations where their intuitions differ from what happens. By examining those "pathological cases" you sharpen your intuition for how things work.<p> Note that in these weird boundary cases it is important to be very precise in your thinking. Any sloppiness will cause you to misanalyze the problem to fit your preconceptions, not reality. <blockquote type="cite"><blockquote type="cite"> If you sit down and do the algebra, you will find that your probability of being right turns out to be exactly 50% plus 1/2 the probability that you pick a number between my two. </blockquote> Hmm. If I choose to guess <tt>myNumber + epsilon</tt>(where epsilon is small enough) I have 50% chance of being between your two numbers and hence have 75% chance of being correct, which is silly:-) </blockquote> And that is what sloppiness looks like.<p> The algebra only works if your method of choosing the other number is <b>independent</b> of the number that you get. As soon as you introduce a dependency you have to analyze that dependency, and it changes the answer.<p> Since you don't seem inclined to try the algebra, allow me to demonstrate what it looks like. Suppose that the numbers that I have are <tt>x</tt> and <tt>y</tt> with <tt>x < y</tt>. Suppose that <tt>p(z)</tt> is the function that tells you for any number how likely you are to think that you got the larger one if you're handed that number. Then: <code> P(You're right) = P(You're handed x)*P(You don't think that x is larger) + P(You're handed y)*P(You think that y is larger) = 0.5 * (1 - p(x)) + 0.5 * p(y) = 0.5 + 0.5*(p(y) - p(x)) </code> So far we haven't introduced any details about the method. With the method that I described, though, <tt>p</tt> is a monotonically increasing function, in fact <tt>p(y) - p(x)</tt> is the probability that you pick a number between <tt>x</tt> and <tt>y</tt>, so you're better than even odds by half the probability that your number is between my two.<p> With the choosing method that you came up with, you <b>always</b> conclude that you're handed the smaller number. Therefore <tt>p(x)</tt> and <tt>p(y)</tt> are both <tt>0.5</tt> and your odds of being right remain at 50%. Slight difference!<p> If your eyes are glazing over at the algebra, then please examine the following (bad) ASCII art version of the picture that I described in my root node. <code> (Right if handed the larger) | <----------------------------| (even odds) (guaranteed) | (even odds) <-------------x------------------y---------------> | |-------------------------------> | (Right if handed the smaller) </code> As you can see, no matter what number you independently come up with, you never have worse than even odds of being right, and you have some chance of guaranteeing that you're right. That chance gives you better than even odds overall. 39366 388632