Going first, second, or last?

Sue and Kelly are playing a game with 5 sticks of lengths 1, 2, 3, 4, and 5. In this game, Sue randomly picks 2 of the sticks and Kelly deliberately picks 1 stick. In addition, Kelly can choose when she makes her pick (picking first, picking between Sue's picks, or picking last). Kelly's goal is to form a non-degenerate triangle from the 3 sticks chosen.

Which sequence of picks will give Kelly the greatest chance of making a triangle?

Kelly-Sue-Sue Sue-Kelly-Sue Sue-Sue-Kelly The three sequences are equivalent

This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try refreshing the page, (b) enabling javascript if it is disabled on your browser and, finally, (c) loading the non-javascript version of this page . We're sorry about the hassle.

7 solutions

Jimin Khim Staff
Sep 25, 2017

There are the following 10 ways to choose 3 out of 5 sticks of lengths 1, 2, 3, 4, 5:

123 , 124 , 125 , 134 , 135 , 145 , 234 , 235 , 245 , 345 . 123,\ 124,\ 125,\ 134,\ 135,\ 145,\ {\color{#D61F06} 234},\ 235,\ {\color{#D61F06} 245},\ {\color{#D61F06} 345}.

Three facts to note about this list are as follows:

  1. Only three combinations ( 234 , 245 , 345 ) ({\color{#D61F06}234}, {\color{#D61F06}245}, {\color{#D61F06}345}) can generate a non-degenerate triangle.
  2. Any combination of numbers that includes the number "1" (the shortest side) cannot generate a triangle because the difference between the longest and second longest sides will always be at least 1.
  3. Without "1" among the three sticks chosen (two by Sue, one by Kelly), "4" is the magic number that always give a triangle no matter what the other two numbers are, i.e. whether the other two are 2-3, 2-5, or 3-5. (For example, 3 is not magical since it wouldn't be able to make a triangle if the other two are 2-5 rather than 4-5.)

Now, let's calculate the probability that Sue and Kelly together can get a non-degenerate triangle, for each of the 3 sequences given:

A. Kelly-Sue-Sue (Kelly going first)

As explained, 4 always works as long as 1 is not one of the other two numbers. However, even without 1, the number 2, 3, or 5 doesn't always work because of the possibility of getting 235. So, 4 is the best choice for Kelly, and we need to calculate the probability that, given Kelly's pick of 4, Sue randomly picks two numbers, not including 1, out of 1, 2, 3, 5: 1 ( 1 1 ) × ( 3 1 ) ( 4 2 ) = 1 3 6 = 0.5. ( or equivalently ( 3 2 ) ( 4 2 ) = 0.5 ) 1 - \frac{{1\choose1} \times {3\choose1}}{4\choose2}=1-\frac{3}{6}=0.5. \qquad \left(\text{or equivalently }\frac{3\choose2}{4\choose2}=0.5\right)

B. Sue-Kelly-Sue (Kelly going second)

  1. Sue first picks 1:
    Kelly doesn't even need to make her pick because there is no chance to get a triangle with 1 included. So, the probability here is 1 5 × 0 = 0. \frac15 \times 0=0.
  2. Sue first picks 2, 3, or 5:
    Kelly definitely chooses 4 and hopes that Sue will not pick "1" out of the remaining three numbers which include "1" and two numbers other than Sue's pick (2, 3, or 5) and Kelly's pick (4). The total probability of this happening (for all three of 2, 3, and 5) is 3 × 1 5 × 2 3 = 2 5 . 3\times \frac15 \times \frac23=\frac25.
  3. Sue first picks 4:
    Kelly chooses one of 2, 3, 5 (anything but 1) and hopes for exactly the same as in 2 just above, the probability of which is 1 5 × 2 3 = 2 15 . \frac15 \times \frac23=\frac2{15}.

Therefore, all together, the probability of getting a triangle for the sequence Sue-Kelly-Sue is 0 + 2 5 + 2 15 = 8 15 0.53. 0+\frac25+\frac2{15}=\frac8{15}\approx 0.53.

C. Sue-Sue-Kelly (Kelly going last)

As explained in fact #3 above, if Sue happens not to include "1" in her two random choices, all Kelly needs to do is to either choose 4 if it's not there, or choose anything but 1 if 4 is already there. Therefore, the probability to be calculated in this case is just the probability that Sue's two picks don't include 1 : 1 ( 1 1 ) × ( 4 1 ) ( 5 2 ) = 1 4 10 = 0.6. ( or equivalently ( 4 2 ) ( 5 2 ) = 0.6 ) 1 - \frac{{1\choose1} \times {4\choose1}}{5\choose2}=1-\frac{4}{10}=0.6. \qquad \left(\text{or equivalently }\frac{4\choose2}{5\choose2}=0.6\right)

From A, B, C, we can conclude that the sequence Sue-Sue-Kelly has the greatest probability of 0.6.

Couldn't we somewhat intuitively see that if Kelly goes last she will definitely play optimally while in other cases there is a chance she makes mistake

<> <> - 3 years, 8 months ago

As I explained in cases A and B, it just cannot be a mistake for Kelly to choose 4. Again, 4 is the magic number. (Choose something else like 3 and see if there is any possibility that you can beat 4.)

Jimin Khim Staff - 3 years, 8 months ago
B. Boom
Oct 9, 2017

Relevant wiki: Triangle Inequality

The three ways to make a non-degenerate triangle are 234, 245 and 345, all others fail.

Every combination of two sticks that does not contain the 1 can thus be made into a triangle (23, 24, 25, 34, 35, 45).

This means it does not matter which sticks you get as long as it's not stick number 1.

When you choose a stick before the end, the chances of drawing the 1 randomly increases (because there are less options to choose from). For that reason alone, picking last offers the best chance.

"It does not matter as long as it's not stick 1" is not true - we also want to avoid 2,3,5

Matt McNabb - 3 years, 8 months ago

Log in to reply

But if we had any two of the two three five combination we could pick 4 as our last move

Connor McCormick - 3 years, 8 months ago
Fredric Kardon
Oct 9, 2017

If Sue's 2 picks include a 1, Kelly can't make a triangle. If Sue's 2 picks don't include a 1, Kelly can always make a triangle. The sequence of picks giving Sue the greatest chance of not picking a one gives Kelly the greatest chance of making a triangle. If Kelly picks before either of Sue's picks, Kelly will not pick 1, and this will increase the chance of Sue picking 1 (as there are fewer sticks remaining). Therefore Kelly should pick after both of Sue's picks.

235 is degenerate, but this is also avoided when Kelly picks last

Michael Stevenson - 3 years, 8 months ago

Relevant wiki: Geometric Probability - Problem Solving

The only valid combinations are a < b < c a < b < c where a > c b a > c - b and c < a + b c < a + b . This leaves the choices { 2 , 3 , 4 } , { 2 , 4 , 5 } , { 3 , 4 , 5 } \{2,3,4\},\{2,4,5\},\{3,4,5\} .


Analysis of KSS :

Each of Kelly's choices leaves four sticks for Sue; there are six equally likely pairs she can pick.

Kelly Sue’s winning picks probability 1 (none) 0 2 34 , 45 1 / 3 3 24 , 45 1 / 3 4 23 , 25 , 35 1 / 2 5 24 , 34 1 / 3 \begin{array}{llr} \hline \text{Kelly} & \text{Sue's winning picks} & \text{probability} \\ \hline 1 & \text{(none)} & 0 \\ 2 & 34, 45 & 1/3 \\ 3 & 24, 45 & 1/3 \\ 4 & 23, 25, 35 & 1/2 \\ 5 & 24, 34 & 1/3 \\ \hline\end{array} Thus if Kelly picks first, her best odds are with stick #4, giving probability of winning 1 / 2 1/2 .


Analysis of SKS :

Consider the possibilities of the first draw, and the following choices for Kelly. We can immediately rule out K = 1 K = 1 . After Kelly's choice, Sue will have three remaining sticks to pick from, each with probability 1 / 3 1/3 .

Sue Kelly Sue’s winning picks probability 1 any none 0 2 3 4 1 / 3 4 3 , 5 2 / 3 5 4 1 / 3 3 2 4 1 / 3 4 2 , 5 2 / 3 5 4 1 / 3 4 2 3 , 5 2 / 3 3 5 1 / 3 5 2 , 3 2 / 3 5 2 4 1 / 3 3 4 1 / 3 4 2 , 3 2 / 3 \begin{array}{lllr} \hline \text{Sue} & \text{Kelly} & \text{Sue's winning picks} & \text{probability} \\ \hline 1 & \text{any} & \text{none} & 0 \\ \hline 2 & 3 & 4 & 1/3 \\ & 4 & 3,5 & \boxed{2/3} \\ & 5 & 4 & 1/3 \\ \hline 3 & 2 & 4 & 1/3 \\ & 4 & 2,5 & \boxed{2/3} \\ & 5 & 4 & 1/3 \\ \hline 4 & 2 & 3,5 & \boxed{2/3} \\ & 3 & 5 & 1/3 \\ & 5 & 2,3 & \boxed{2/3} \\ \hline 5 & 2 & 4 & 1/3 \\ & 3 & 4 & 1/3 \\ & 4 & 2,3 & \boxed{2/3} \\ \hline \end{array}

Thus, for S = 1 S = 1 there is no chance of winning; for S 2 S \geq 2 , Kelly can always choose a stick to make the remaining chance of winning 2 / 3 2/3 . The combined probability is 1 5 × 0 + 4 5 × 2 3 = 8 15 . \tfrac15\times 0 + \tfrac45\times\tfrac23 = \tfrac8{15}.


Analysis of SSK :

There are 10 possible combinations for Sue to draw initially. Four of these contain length 1, with no chance of winning. For the remaining six (23, 24, 25, 34, 35, 45), Kelly can always choose a stick to complete the triangle. Thus the combined probability is 6 / 10 = 3 / 5 6/10 = 3/5 .


Conclusion: the probabilities compare as 3 5 > 8 15 > 1 2 S S K > S K S > K S S . \frac 3 5 > \frac 8{15} > \frac 12 \ \ \ \ \ \therefore\ \ \ \ \ \ \boxed{SSK} > SKS > KSS.

How different would the results be if Sue picked the sticks adversarially?

Agnishom Chattopadhyay - 3 years, 8 months ago

Log in to reply

The chance of making a triangle would be zero. Sue could always pick the stick of length 1 to mess up everything.

Arjen Vreugdenhil - 3 years, 8 months ago
Zain Majumder
Oct 10, 2017

234, 245, and 345 are the only options, which can be found by quickly using the triangle inequality. The important observation is that 1 is in no triangle. In fact, after listing all possibilities, only one degenerate triangle out of seven does not contain a 1: 235. It is clear that minimizing the chance of a 1 getting chosen will maximize the probability of a triangle. Intuitively, having Sue pick last is the worst option since there are less "safe" sticks to choose from. But I'll quickly do the math anyway:

The probability Sue picks a 1 will always be the probability she picks 1 on her first turn + the probability she doesn't pick 1 on her first turn but picks 1 on her second turn.

If Kelly chooses first, then Sue has a 1 4 + 3 4 1 3 = 1 2 \frac{1}{4}+\frac{3}{4}*\frac{1}{3}=\frac{1}{2} probability of picking 1.

If Kelly chooses second, then Sue has a 1 5 + 4 5 1 3 = 7 15 \frac{1}{5}+\frac{4}{5}*\frac{1}{3}=\frac{7}{15} probability of picking 1.

If Kelly chooses last, then Sue has a 1 5 + 4 5 1 4 = 2 5 \frac{1}{5}+\frac{4}{5}*\frac{1}{4}=\frac{2}{5} probability of picking 1.

Therefore, Kelly will have a greater chance of creating a triangle if she picks last.

Matthew Feig
Oct 10, 2017

Claim: The probability of Kelly making a triangle is the same as the probability of Sue NOT selecting the stick of length 1. (See below for the reasoning.) If this claim is true, the best thing Kelly can do is to delay her choice and leave as many non-1 sticks in the pile as possible during Sue's selections. So later is better. P ( K S S ) = 1 × 3 4 × 2 3 = 1 2 = 15 30 P(KSS) = 1 \times \frac{3}{4} \times \frac{2}{3} = \frac{1}{2} = \frac{15}{30} P ( S K S ) = 4 5 × 1 × 2 3 = 8 15 = 16 30 P(SKS) = \frac{4}{5} \times 1 \times \frac{2}{3} = \frac{8}{15} = \frac{16}{30} P ( S S K ) = 4 5 × 3 4 × 1 = 3 5 = 18 30 P(SSK) = \frac{4}{5} \times \frac{3}{4} \times 1 = \frac{3}{5} = \frac{18}{30} Reasoning behind the claim:

  • If Sue randomly selects 1, Kelly will never be able to form a triangle, no matter when she selects.

  • If Sue randomly avoids 1, Kelly will always be able to form a triangle, no matter when she selects. Kelly just has to avoid the number 1 and the combination 2-3-5.
    Both of these are always doable for Kelly, no matter when she selects.

Unclest John
Oct 9, 2017

4 must be one of the sticks chosen. Since Sue is choosing randomly, the probability of the pick sequence creating a non-degenerate triangle is maximized when Sue chooses a 4. Thus, Sue should make both picks before Kelly.

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...