Amanda decides to practice shooting hoops from the free throw line. She decides to take 100 shots before dinner.
Her first shot has a 50% chance of going in.
But for Amanda, every time she makes a shot, it builds her confidence, so the probability of making the next shot goes up, But every time she misses, she gets discouraged so the probability of her making her next shot goes down.
In fact, after n shots, the probability of her making her next shot is given by P = n + 2 b + 1 , where b is the number of shots she has made so far (as opposed to ones she has missed).
So, after she has completed 100 shots, if the probability she has made exactly 83 of them is b a , where a and b are coprime positive integers, what is a + b ?
More probability questions
Photo credit: http://polymathprogrammer.com/
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.
Nice write up, Spider! :)
If P n , j is the probability that Amanda has made j shots after n attempts, for 0 ≤ j ≤ n , then it is clear that P 1 , 0 = P 1 , 1 = 2 1 . Moreover, it is clear that P n + 1 , 0 = P n , 0 × n + 2 n + 1 P n + 1 , n + 1 = P n , n × n + 2 n + 1 for all n ≥ 1 , and hence it follows that P n , 0 = P n , n = n + 1 1 n ≥ 1 . More generally, if 1 ≤ j ≤ n then conditional probability arguments tell us that P n + 1 , j = P n , j × n + 2 n − j + 1 + P n , j − 1 × n + 2 j Arguing by induction, if we assume that P n , j = n + 1 1 for all 0 ≤ j ≤ n it follows that P n + 1 , j = n + 2 1 for all 1 ≤ j ≤ n , and hence for all 0 ≤ j ≤ n + 1 .
Thus we deduce that P n , j = n + 1 1 for all 0 ≤ j ≤ n . Since P 1 0 0 , 8 3 = 1 0 1 1 , the answer is 1 0 2 .
Incidentally, this is another variant of the classic Polya's urn model. Two marbles, one black and one white, are in an urn. Every second, a marble is chosen from the urn at random, and returned together with another marble of the same colour. If X n is the number of white marbles in the urn after n seconds, then X n has the same distribution as B n + 1 , where B n is the number of hoops Amanda makes after n attempts. With this insight, the fact that the distribution of B n is uniform is a standard result.
Nice analogy with Polya's urn problem...
One clarification in Polya's urn problem... The marble isn't just replaced with another marble of the same colour but also returned to the urn itself. (If it were just replaced with a marble of the same colour, it wouldn't be a very interesting problem! :) )
Ah yes, very nice, Mark! :) I was just working on this when your notification came in, but you've said it as well as I ever could... Nice explanation!
Can you elaborate P ⊂ n , 0 = n + 1 1 ?
It turns out, that the added factor P = n + 2 b + 1 is enough to leave her with an equal probability of all possible outcomes. So, after 100 shots, each of the 1 0 1 possible outcomes (making 0 through 1 0 0 shots) is equiprobable, so the probability of her making exactly 8 3 shots is 1 / 1 0 1 , and 1 + 1 0 1 = 1 0 2
but... How do you know the probabilities are all equal?
Log in to reply
Ah, good question... Lemme think about how to prove it...
See Mark's proof below... He said it as well (if not better) than I would have! :)
The probability of a single combinations is given by:
∏ n = 0 8 2 n + 2 n + 1 ∗ ∏ n = 1 1 7 n + 2 + 8 2 n
There are ( 8 3 1 0 0 ) ways to arrange the succesfull shots.
Hence the probability for all the combinations is:
∏ n = 0 8 2 n + 2 n + 1 ∗ ∏ n = 1 1 7 n + 2 + 8 2 n ∗ ( 8 3 1 0 0 ) = 1 0 1 1
The answer is 1 + 1 0 1 = 1 0 2
Ah, nice succinct solution! :)
The solution is split into three steps :
1)Since the experiment will be conducted 100 times, no matter what the outcomes are, we can easily predict the denominator of the final term,
D r = ( 1 0 1 ) ! , obtained by substituting n = 0, 1,.... , 100, in the denominator of the given expression.
2)A portion of numerator, like our lifes, comes from success, and some from failure. The successes will be dealt with first,
N r ( i t h s u c c e s s ) = b + 1 ,
since we are looking at i t h success, so far there must have been (i-1) successes. Hence, b = i-1, substituting,
N r ( i t h s u c c e s s ) = i
So the 83 successes put togather, contribute,
N r ( a l l s u c c e s s e s ) = 8 3 !
3) Now for the portion of the numerator contributed by failures,
N r ( i t h f a i l u r e ) = N r ( 1 − n + 2 b + 1 ) ,
N r ( i t h f a i l u r e ) = n + 2 − ( b + 1 )
N r ( i t h f a i l u r e ) = n − b + 1
On little deliberation, one can realise that (n-b) is the number of failures so far, also, we are trying to commit the i t h failure, so there have been i-1 failures so far. Thus, n-b = i-1.
N r ( i t h f a i l u r e ) = i
Since we have 17 failures in total,
N r ( a l l f a i l u r e s ) = 1 7 !
The probability that 17 failures and 83 successes occur in a particular order is,
P ( 8 3 − S , 1 7 − F ) = 1 0 1 ! 8 3 ! . 1 7 !
The total number of arrangements that can lead to this case is 100 choose 17. Thus the required prob is,
P = 8 3 ! . 1 7 ! 1 0 0 ! . 1 0 1 ! 8 3 ! . 1 7 ! = 1 0 1 1
You should define terms as you use them. What do D r , N r , N r mean?
Nice write up, @Rahul Dewani !
Problem Loading...
Note Loading...
Set Loading...
Wow, Mark & Geoff's general solutions are brilliant. I never would have thought of that.
I solved it only considering the 83 made shots out of 100.
With 100 shots attempted, there would be 100 probabilities multiplied together. The probability for each made shot, as stated, is:
P m a k e = s h o t s + 2 m a k e s + 1
so the probability for each missed shot would be:
P m i s s = 1 − s h o t s + 2 m a k e s + 1 = s h o t s + 2 s h o t s + 2 − ( m a k e s + 1 ) = s h o t s + 2 ( s h o t s − m a k e s ) + 1 = s h o t s + 2 m i s s e s + 1
where "makes," "misses," and "shots" represent the number of makes, misses, and shots taken prior to any given shot.
The number of prior shots taken will run from zero (at the first shot) to 99 (at the 100th shot). So the denominator of each probability (shots + 2, regardless of whether the shot is made or missed) will run from 2 to 101. Therefore, when all 100 probability fractions are multiplied, the denominator will be equal to 101!
At each of the 83 shots made, the number of prior shots made will run from zero (at the first shot made) to 82 (at the 83rd shot made). So 83 of the fractions will represent the probability that the shot is made, and those numerators (makes + 1) will run from 1 to 83. The locations in the sequence of those made shots will be dealt with later, but those numerators of 1 through 83 will be multiplied regardless of their locations, so when the 100 probability fractions are multiplied, there will be an 83! in the numerator.
Similarly, at each of the 17 shots missed, the number of prior shots missed will run from zero (at the first shot missed) to 16 (at the 17th shot missed). So 17 of the fractions will represent the probability that the shot is missed, and those numerators (misses + 1) will run from 1 to 17, which means the numerator will include 17! for the misses in addition to 83! for the makes.
So when all of the probabilities are multiplied, the result will be:
1 0 1 ! 8 3 ! 1 7 !
Now we just have to account for all of the different places in the sequence the 17 misses and 83 makes can go. Out of 100 shots, we need to choose 17 slots for the misses, or 83 slots for the makes, both of which are equivalent:
( 1 7 1 0 0 ) = ( 8 3 1 0 0 ) = 1 7 ! 8 3 ! 1 0 0 !
Then we multiply the product of the 100 probabilities by the combination of all possible locations of the makes and misses:
1 0 1 ! 8 3 ! 1 7 ! ∗ 1 7 ! 8 3 ! 1 0 0 ! = 1 0 1 ! 1 7 ! 8 3 ! 8 3 ! 1 7 ! 1 0 0 ! = 1 0 1 1
Now that I saw how each number of makes from 0 to 100 is equally probable, I could have arrived to that conclusion in the same way. The product of the probabilities would be:
[ ( s h o t s − 1 ) + 2 ] ! [ ( m a k e s − 1 ) + 1 ] ! [ ( m i s s e s − 1 ) + 1 ] ! = ( s h o t s + 1 ) ! m a k e s ! m i s s e s !
And the combination for the locations of the makes and misses:
( m a k e s s h o t s ) o r ( m i s s e s s h o t s ) = m a k e s ! m i s s e s ! s h o t s !
and the final result would be:
( s h o t s + 1 ) ! m a k e s ! m i s s e s ! ∗ m a k e s ! m i s s e s ! s h o t s ! = ( s h o t s + 1 ) ! m a k e s ! m i s s e s ! m a k e s ! m i s s e s ! s h o t s ! = s h o t s + 1 1
for any number of makes and total shots under the given conditions. So not nearly as elegant, and I'm sure I'm stating the obvious and using incorrect terminology, but that's how I did it so I figured I'd type it up.