- #1
dkotschessaa
- 1,060
- 783
Homework Statement
In a sequence of independent trials with probability of success p, what is the probability that there are r successes before the k-th failure?
Homework Equations
Binomial distribution
[itex] f(x;n,p) = {{n}\choose{r}} p^{x} (1-p)^{n-r} [/itex]
The Attempt at a Solution
I know that the answer is
[itex]{{k+r+1}\choose{r}} p^{r} (1-p)^{k} [/itex]
This almost makes sense to me.
Since x = number of successes = r
and I know n represents the number of trials - but I'm not sure how this amounts to k+r+1.
and if n is k+r+1, then the exponent of (1-p), which is n-x, should be
(k+r+1) - r = k+1
But here it is just k.
why?
-Dave K