When trials are repeated independently, the number of trials until just before the event of interest first occurs is
, and if
is the probability of the event of interest occurring, The probability of the event of interest
st time is
should follow the geometric distribution
and denoted
One way to find the expected value
is to use a generating function.
Discrete case
Let
. Then
. Thus for,
,
. Therefore, the expectation can be found if
is found.
Continuous case
Let
. Then express
by the power series. Then
![]() |
![]() |
![]() |
|
![]() |
![]() |
||
![]() |
![]() |
||
![]() |
![]() |
. Then
Hypergeometric distribution There are
white balls and
black balls in the jar. Let
be the number of white balls when taking out
balls one by one without undoing (non-restoration extraction). The probability that the number of white balls is
is given by
follows the hypergeometric distribution and denoted by
, show
.
. On average, find out how many games you need to play to win for the first time.
![]() |
![]() |
![]() |
|
![]() |
![]() |
.
. Then
Let
. Then find
![]() |
![]() |
![]() |
|
![]() |
![]() |
and
(b) Let
be the numbr of games to play to win the first time. Then
.Thus the number of games to play to win the first time is
(c) If
is the number of winning lottery,
. Therefore, if you draw 3 lots, the probability of winning 2 of them is