The probability mass function of the geometric random variable X, with probability p of a success is
Example 1:
Consider Exercise 3.2-2 on page 115. Each time customers visit a resturant they are given a game card. Suppose the probability of winning a prize with the game card is 0.2. Let X represent the number of visits to a resturant before winning a prize with the game card.What is the probability that a customer will win a prize for the first time on the 6th visit?
The probability of a success is p=0.2, and the probability of a failure is 1-p=0.8. The first success it to occur on the x = 6th trial. So p(x)= (0.2)(0.8)^(5)=0.06554
What is the probability that it will take the customer 6 or more visits to win a prize for the first time?
Solution:
Note: The sum of a geometric series is
P(X>=6) = S(0.2)(0.8)^(x-1) for x =6,7,....
= (0.2)(0.8)^6 [1/(1-0.8)]
=0.262144
Example 2:
Consider Exercise 3.2-1 on page 115. In a game of billiards, a player shoots until a miss occurs. A player misses on any given shot with a probability of 0.15. Let the random variable X denote the number of shots taken to obtain the first miss.
Solution