Ray Vickson said:
You say "P(1,1) the prob that the master wins 1 out of 1". That is not possible to say, because it depends on who is his opponent; each opponent has a different win/lose probability.
Using a generating-function method, the probabilty that the master loses exactly ##m## of the matches is the coefficient of ##z^m## in the expansion of the generating function
f(z) = (q_1 + p_1 z)(q_2 + p_2 z) \cdots (q_n + p_n z), \;\; q_i = 1 - p_i \; \text{for} \: i = 1,2, \ldots, n
Here, ##p_i## is the probability he loses against opponent ##i##.
Note that if all the ##p_i## were equal to some common value ##p##, ##f(z)## would be the generating function of a binomial distribution, and the coefficient of ##z^m## would be ##C(n.m) p^m q^{n-m}##. However, your case has unequal ##p_i##, so it will be more complicated.
mmm you are right. I was also thinking about that but this is what my instructor said, so I just followed what he said
Let's play around with a few toy examples; if these don't help please feel free to ask follow up questions.
So, let's assume that our Grand Master is only playing a single game. This means that we have a single value p1 which is the probability that the master wins. [Edit - note that, as mentioned below, I got the probability backward. p1 is the odds that the master
loses. However, for the computations below, the formulae hold, but with the k's flipped around]So, if k=1, our answer should just be p1 (which is the probability of winning 1 out of 1 games), and if k=0, we should return 1−p1 instead.
If we have 2 games to play, then we have two values, p1 and p2, and which means that k∈{0,1,2} (since we can win anywhere from 0-2 games).
To win 0 games, we'd have to lose both games, which means that the probability of that happening is (1−p1)(1−p2). Similarly, the probability of winning both games is p1p2. Finally, the probability of winning exactly one of the two games is p1(1−p2)+p2(1−p1) (or the probability of winning game one then losing game two, plus the probability of losing game one and then winning game two).
This generalizes to arbitrary numbers of games....
.
.
I think that we are assuming matches are played in a row.