Solution:
Key idea: A probability distribution lists every value xi of a random variable X with its probability pi=P(X=xi). Every pi must lie between 0 and 1, and all the pi must add up to 1. Without replacement we count selections with combinations: choose the defectives from the 5 defective items and the rest from the 25−5=20 good items.
Step 1 — Count all possible selections.
Four items are chosen from 25.
25C4=12650
Step 2 — List the values of X.
Here X is the number of defective items among the four, so X can be 0, 1, 2, 3 or 4.
Step 3 — Find P(X=0).
All four items are good.
P(X=0)=1265020C4
P(X=0)=126504845
P(X=0)=2530969
Step 4 — Find P(X=1).
One defective and three good items are chosen.
P(X=1)=126505C1×20C3
P(X=1)=126505×1140
P(X=1)=253114
Step 5 — Find P(X=2).
Two defective and two good items are chosen.
P(X=2)=126505C2×20C2
P(X=2)=1265010×190
P(X=2)=25338
Step 6 — Find P(X=3).
Three defective items and one good item are chosen.
P(X=3)=126505C3×20C1
P(X=3)=1265010×20
P(X=3)=2534
Step 7 — Find P(X=4).
All four items are defective.
P(X=4)=126505C4
P(X=4)=126505
P(X=4)=25301
Step 8 — Write the distribution and check it.
Over the common denominator 2530 the probabilities are 2530969,25301140,2530380,253040,25301, and 969+1140+380+40+1=2530, so they add to 1.
| X | 0 | 1 | 2 | 3 | 4 |
|---|
| P(X) | 2530969 | 253114 | 25338 | 2534 | 25301 |
Note: The book's printed answers 5630969 for X=0 and 607201 for X=4 are misprints for 2530969 and 25301; only these values make the total 1.
Therefore, P(X=0)=2530969, P(X=1)=253114, P(X=2)=25338, P(X=3)=2534 and P(X=4)=25301.