A machine fires its first shot and hits the target, but it misses its second shot.
All its subsequent shots have a probability of hitting the target equal to the proportion of targets hit beforehand. For example, if it hits 5 out of the first 8 shots, then the shot has a probability of to hit the target.
What is the probability that it hits exactly 50 out of its first 100 shots?
If the probability can be expressed as , where and are coprime positive integers, submit .
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.
Relevant wiki: Conditional Probability - Problem Solving
If p n , k is the probability that k hits have been obtained after n + 1 shots, then p 1 , 0 = p 1 , 2 = 0 and p 1 , 1 = 1 . If n ≥ 1 then standard conditional probability considerations give p n + 1 , k = = p n , k P [ ( n + 2 ) n d shot a miss ∣ k hits so far ] + p n , k − 1 P [ ( n + 2 ) n d shot a hit ∣ k − 1 hits so far ] n + 1 n + 1 − k p n , k + n + 1 k − 1 p n , k − 1 for all 1 ≤ k ≤ n + 1 , while p n + 1 , 0 = p n + 1 , n + 1 = 0 .
A simple induction on n shows that p n , k = { n 1 0 1 ≤ k ≤ n , k = 0 , n + 1 To answer the question, we need p 9 9 , 5 0 = 9 9 1 .
This is an alternative representation of a very familiar problem --- that of Polya's Urn . In that model, we start with an urn containing 1 black ball and 1 white ball. Every second, a ball is chosen from the urn at random, and then returned, together with a second ball of the same colour. Polya's urn exhibits a number of interesting properties, and therefore so does the Kaboobly cannon.
The probability distribution of the number of hits achieved after n + 1 shots is (ignoring the impossible 0 , n + 1 options) is uniform. However, the proportion P n of hits after n shots defines a random variable, and this sequence P n of random variables has a delicate property which makes it what is called a martingale (with respect to itself). This has the consequence that the sequence of random variables P n converges, with probability 1 , to a limit. The value of that limit is a continuous random variable which is uniformly distributed over ( 0 , 1 ) .
Thus every Kaboobly cannon will end up hitting the target a fixed proportion of times, but every cannon will have a different success rate, and all success rates are equally likely!