In a string of 12 christmas lights, 3 are defective. Bulbs are selected at random, one at a time, until the third defective bulb is found. What is the probability that the third defective bulb is the third bulb tested?

1 Answer
Nov 22, 2017

P(Y=3)=1/64P(Y=3)=164 with replacement or 1/2201220 without replacement.

Explanation:

With replacement:

We can use the negative binomial probability distribution.

  • For this type of probability distribution, an experiment is repeated several times. Let YY be the number of the trial on which the r^"th"rth success occurs. Then YY is a negative binomial random variable, with parameters: probability pp is the probability of success on only one trial and rr is the number of successes.

Here the "experiment" is selecting bulbs, and a "success" is choosing a defective bulb. Then Y=3Y=3 is the number of the trial on which the third success occurs, where r=3r=3.

The probability of selecting a defective bulb is 3/12=1/4=0.25312=14=0.25. Therefore qq, the probability of "failure" is 1-p=0.751p=0.75.

The probability distribution formula is given by:

enter image source here

We then have:

enter image source here

enter image source here

=(1)(0.25)^2(1)(0.25)=(1)(0.25)2(1)(0.25)

=(0.25)^3=(0.25)3

=0.015625=0.015625

A considerably low probability, which makes sense; we would be surprised if we managed to pick all three defective bulbs in the first three random attempts.

Without replacement, we use the hypergeometric distribution.

  • For this type of probability distribution, a population consists of N items, where each item is one of two types: there are rr items of type one and the remaining N-rNr items are of type two. We select at random nn of the NN items, without replacement. Let YY be the number of items in the sample of nn items that are type one. Then YY is a hypergeometric random variable, with parameters N,r,nN,r,n.

Here the population is the total number of lights, so we have N=12N=12. Type one is a defective bulb, so r=3r=3, and hence the number of non-defective bulbs is given by 12-3=9123=9. Additionally, we have n=3n=3.

The hypergeometric probability distribution formula is given as:

enter image source here

Then we have:

enter image source here

P(Y=3)=((1)(1))/220P(Y=3)=(1)(1)220

=0.00bar45=0.00¯¯¯¯45