Player A wins the series if A wins 5 games before B wins 5 games. The series can last for a minimum of 5 games and a maximum of 9 games.
If player A wins the series in exactly n games, then A must win the n-th game, and A must win exactly 4 out of the first n−1 games. The number of ways this can happen is given by n−1C4.
The possible values for n are 5,6,7,8, and 9.
Total number of ways for A to win the series is the sum of the number of ways A can win in 5,6,7,8, or 9 games:
Total ways =4C4+5C4+6C4+7C4+8C4
Using the property nCr+nCr−1=n+1Cr, we can simplify the sum:
4C4=5C5
5C5+5C4=6C5
6C5+6C4=7C5
7C5+7C4=8C5
8C5+8C4=9C5
Therefore, the total number of ways is:
9C5=5!4!9!=4×3×2×19×8×7×6=126
Answer: 126