5 friends are playing a game, passing a basketball back and forth. At each turn, the person with the ball randomly passes it to another person (one cannot pass the ball to oneself). The game starts with Daniel who is about to make the first pass of the game.
What is the probability that, after the pass, Daniel has the ball?
If your answer is of the form where and are coprime positive integers, submit
Bonus: Find the probability that, in a game of players, Daniel has the ball after the pass.
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.
Method #1
In a game of n players, let p k be the probability that Daniel has the ball after the k -th turn.
We have p k = n − 1 1 ( 1 − p k − 1 ) , and obviously p 0 = 1 and p 1 = 0
we can solve the recursive relation by subtracting both sides by n 1
p k − n 1 = − n − 1 1 p k − 1 + n − 1 1 − n 1 = − n − 1 1 p k − 1 + n ( n − 1 ) 1 = − n − 1 1 ( p k − 1 − n 1 )
and thus p k − n 1 is a geometric progression with common ratio − n − 1 1
p k − n 1 = ( p 1 − n 1 ) ( − n − 1 1 ) k − 1
and we have p k = n 1 + n n − 1 ( − n − 1 1 ) k
substituding n = 5 and k = 7 yields our answer p 7 = 5 1 + 5 4 ( − 4 1 ) 7 = 4 0 9 6 8 1 9
Method #2
The game can be visualised by a graph with the adjacency matrix
A = ⎝ ⎜ ⎜ ⎜ ⎜ ⎛ 0 1 1 1 1 1 0 1 1 1 1 1 0 1 1 1 1 1 0 1 1 1 1 1 0 ⎠ ⎟ ⎟ ⎟ ⎟ ⎞
Computing A 7 would give us the number of ways the ball passing can happen
A 7 = ⎝ ⎜ ⎜ ⎜ ⎜ ⎛ 3 2 7 6 3 2 7 7 3 2 7 7 3 2 7 7 3 2 7 7 3 2 7 7 3 2 7 6 3 2 7 7 3 2 7 7 3 2 7 7 3 2 7 7 3 2 7 7 3 2 7 6 3 2 7 7 3 2 7 7 3 2 7 7 3 2 7 7 3 2 7 7 3 2 7 6 3 2 7 7 3 2 7 7 3 2 7 7 3 2 7 7 3 2 7 7 3 2 7 6 ⎠ ⎟ ⎟ ⎟ ⎟ ⎞
The probability is therefore 3 2 7 7 × 4 + 3 2 7 6 3 2 7 6 = 4 0 9 6 8 1 9