X represents the number of defective bolts drawn.
∴ X can take values 0, 1, 2 or 3
∵ there are total 25 bolts (20 good + 5 defectives) bolts
n(S) = total possible ways of selecting 5 bolts = 25 C4
P(X = 0) = P(selecting no defective bolt)
![](https://www.sarthaks.com/?qa=blob&qa_blobid=2658203892565440664)
P(X = 1) = P(selecting 1 defective bolt and 3 good bolts)
![](https://www.sarthaks.com/?qa=blob&qa_blobid=18236942283205474361)
P(X = 2) = P(selecting 2 defective bolts and 2 good bolts)
![](https://www.sarthaks.com/?qa=blob&qa_blobid=8399196088980658801)
P(X = 3) = P(selecting 3 defective bolts and 1 good bolt)
![](https://www.sarthaks.com/?qa=blob&qa_blobid=14552698222330680057)
P(X = 4) = P(selecting 4 defective bolts and no good bolt)
![](https://www.sarthaks.com/?qa=blob&qa_blobid=11173566232336535044)
Now we have pi and xi.
Following table represents the probability distribution of X :
![](https://www.sarthaks.com/?qa=blob&qa_blobid=11468145442139165306)