Two boys play basketball in the following way. They take turns shooting and stop when a basket is made. Player A goes first and has probability p_1 of making a basket on any throw. Player B, who shoots second, has probability p_2 of making a basket. The outcomes of the successive trials are assumed to be independent. a. Find the frequency function for the total number of attempts. b. What is the probability that player A wins?
ndevunidt
Answered question
2022-10-23
Find probability using geometric distribution Two boys play basketball in the following way. They take turns shooting and stop when a basket is made. Player A goes first and has probability of making a basket on any throw. Player B, who shoots second, has probability of making a basket. The outcomes of the successive trials are assumed to be independent. a. Find the frequency function for the total number of attempts. b. What is the probability that player A wins? My solution: a. suppose that they make k attempts. Then the answer depends on parity of k. If it means that first player made attempts and n first attempts were unsuccessful, while the last one was successful (he made a basket). As for second player, he made n unsuccessful attempts. Bot these probabilities are easily found by multiplication of respective probabilities for the first and second player. The case when k is even is solved in a similar way. b. According to part a., we know how to find the probability that the game is over at attempt. Therefore we sum these probabilities over . Is it correct?
Answer & Explanation
bigfreakystargl
Beginner2022-10-24Added 23 answers
Step 1 Nothing wrong with enumerating all the paths and then summing the probabilities. Another approach, which is sometimes simpler algebraically, is to do it recursively: Let be the probability A wins given the data you mention. Let's say A takes one shot. It goes in, with probability and misses with probability If it misses, you are in back at the start of a similar game...only now Player B shoots first and the probability that A wins from here is 1 - . Thus Step 2 A similar calculation shows that In this way we get two equations in two unknowns which can easily be solved to yield (trusting that no algebraic error was made). As a sanity check, if we assume both probabilities are , as in the case of alternating coin tosses, then this becomes which is the familiar answer.
Madilyn Quinn
Beginner2022-10-25Added 2 answers
Step 1 Odd number of attempts ending with success results that the first player wins with probability . So, the probability that the second player wins is 1 minus the probability above: . Step 2 Or, one can say that if the number of attempts ending with a success is even then the second player wins. The probability of this event is