The geometric distribution models the number of trials needed to obtain the first success.
Consider repeated independent trials where:
If \(X\) is the number of trials needed to obtain the first success:
\(X \sim \text{Geo}(p)\)
The probability that the first success occurs on the \(r^{th}\) trial is:
\[ P(X=r) = (1-p)^{r-1}p \]If \(X \sim \text{Geo}(p)\):
A machine produces items where the probability of a defective item is \(p=0.2\).
Let \(X\) be the trial number of the first defective item.
\(X \sim \text{Geo}(0.2)\)
Find \(P(X=4)\).
Step 1: Substitute into the formula
\[ P(X=4) = (1-0.2)^{3}(0.2) \]Step 2: Calculate
\[ P(X=4) = (0.8)^3(0.2) \]The probability that the first success occurs after more than \(r\) trials is:
\[ P(X > r) = (1-p)^r \]Example:
If \(p=0.3\), find \(P(X>3)\).
\[ P(X>3) = (0.7)^3 \]