To solve each part of the problem, we'll analyze the basketball shooting process step by step.
(1) Calculate the probability that B takes the second shot.
Let's consider the possible ways B can end up taking the second shot:
Adding these probabilities:
[
P[B\ \text{takes second shot}] = 0.2 + 0.4 = 0.6.
]
Answer to (1): 0.6
(2) Calculate the probability that A takes the ( i )-th shot.
We can model the situation as a Markov chain with two states: A shooting and B shooting.
Let ( p_i ) be the probability that A takes the ( i )-th shot. The recurrence relation for ( p_i ) is:
[
p_i = 0.4 p_{i-1} + 0.2,
]
where:
- ( 0.4 ) is the probability that A continues shooting (makes the shot) times the probability that the previous shooter was A.
- ( 0.2 ) is the probability that B misses (and A gets to shoot) times the probability that the previous shooter was B.
With the initial condition ( p_1 = 0.5 ), we solve the recurrence:
The steady-state (particular solution) is:
[
p^* = \frac{0.2}{1 - 0.4} = \frac{0.2}{0.6} = \frac{1}{3}.
]
The homogeneous solution of the recurrence is:
[
p_i^0 = (0.4)^{i-1} C,
]
where ( C ) is a constant determined by the initial condition.
Combining the steady-state and homogeneous solutions:
[
p_i = p^* + (p_1 - p^*) (0.4)^{i-1}.
]
Plugging in the values:
[
p_i = \frac{1}{3} + \left( \frac{1}{2} - \frac{1}{3} \right) (0.4)^{i-1} = \frac{1}{3} + \frac{1}{6} (0.4)^{i-1}.
]
Answer to (2): An explicit formula: P(A takes shot i) = (1 ⁄ 3) + (1 ⁄ 6) × (0.4)⁽ᶦ − ¹⁾
(3) Calculate the expected number of times A shoots in the first ( n ) shots, ( E(Y) ).
The expected number ( E(Y) ) is the sum of the probabilities that A takes each shot:
[
E(Y) = \sum_{i=1}^{n} p_i = \sum_{i=1}^{n} \left( \frac{1}{3} + \frac{1}{6} (0.4)^{i-1} \right) = \frac{1}{3} n + \frac{1}{6} \sum_{i=1}^{n} (0.4)^{i-1}.
]
Compute the sum of the geometric series:
[
\sum_{i=1}^{n} (0.4)^{i-1} = \frac{1 - (0.4)^n}{1 - 0.4} = \frac{1 - (0.4)^n}{0.6}.
]
Then:
[
E(Y) = \frac{1}{3} n + \frac{1}{6} \times \frac{1 - (0.4)^n}{0.6} = \frac{1}{3} n + \frac{5}{18} \left( 1 - (0.4)^n \right).
]
Answer to (3): An explicit formula: E(Y) = (1⁄3)·n + (5⁄18) × [1 − (0.4)ⁿ]