The Geometric Distribution
הוצג
8:39
הסתברות, משתנים אקראיים והתפלגויות הסתברות
כדורסלנית רבה חמש רמות ברצף. הקהל בטוח שהיא בחום לילה הזה. אבל השביעו מה שיכול לעשות כוח המזל בלבד. הטילו מטבע הוגן עשרים פעמים. יש…
קריינות באנגלית · כתוביות באנגלית ובסינית 中文 שאפשר להחליף ביניהן
בשיעור הזה
| English | משמעות |
|---|---|
| geometric/ˌdʒiːəʊˈmetrɪk/ | גיאומטרי |
| geometric random variable/ˌdʒiːəʊˈmetrɪk ˈrændəm ˈveərɪəbl/ | משתנה רנדומלי גיאומטרי |
Waiting for the first success
- The geometric 几何 distribution counts trials until the first success.
- Extension: this former topic 4.12 was removed from the AP Statistics exam curriculum for 2026–27; see College Board’s revisions.
- A geometric random variable 几何随机变量 $X$ = the number of trials to get the first success.
- Example: how many rolls until you get your first six?
- Unlike binomial, $n$ isn't fixed — you stop the moment you succeed.
The geometric setting
- Same trial conditions as binomial, but a different stopping rule:
- Repeated independent binary trials, each with the same success probability $p$, where $0<p\le1$.
- You keep going until the first success, then stop.
- "Until first success" is the signal word for geometric.

The geometric distribution: trials until the first success
The geometric formula
-
$$P(X = k) = (1-p)^{k-1}\,p$$
- To succeed first on trial $k$: fail the first $k-1$ times, then succeed.
- $(1-p)^{k-1}$ = those failures; $p$ = the success on trial $k$.
- The probabilities shrink as $k$ grows — early success is most likely.
The geometric mean
- The mean (expected number of trials) is:
-
$$\mu_X = \frac{1}{p}$$
- If $p = 0.2$, expect $1/0.2 = 5$ trials on average until the first success.
- Rarer successes (smaller $p$) mean you wait longer — makes intuitive sense.
Geometric vs. binomial comes down to the stopping rule. Binomial: fixed $n$, count successes. Geometric: run until the first success, count trials. Check the trial assumptions too: fixed trials give a binomial count only when BINS holds; waiting until the first success is geometric only for independent trials at constant $p>0$. And the geometric mean is $1/p$ — not $np$.
Roll a die until the first six; $p = 1/6$.
- $P(X = 3) = (5/6)^2 (1/6) = \tfrac{25}{36}\cdot\tfrac{1}{6} \approx 0.116$ — first six on the $3$rd roll.
- Mean: $\mu_X = 1/(1/6) = 6$ rolls expected until the first six.
- Makes sense — a six comes up on average once every six rolls.
A geometric random variable counts trials until the first success, with independent trials at constant $p$. Then $P(X=k)=(1-p)^{k-1}p$ and the mean is $\mu_X = \frac{1}{p}$. The key contrast with binomial: geometric runs until the first success (variable trials), binomial has a fixed $n$.
Write from the data: find the expected wait
- Trials repeat until the first success.
- The success probability is 0.25. The lesson expected waits 5 and 6 use other probabilities.
Independent trials each succeed with probability p=0.25 and continue until the first success. Find the expected number of trials, including the successful trial.
The geometric mean is 1 divided by the success probability.
Independent trials have constant success probability p=0.25. What is the expected number of trials until the first success, including that trial?
רמת קושי 1/5 · 100 מטבעות + בונוס קטן בהשלמה הראשונה היום
1 divided by 0.25 is 4.
Rolling until the first success
Keep rolling until the target appears — that's a geometric count.
A geometric variable has p = 0.2. Find the mean number of trials, 1/p.
רמת קושי 2/5 · 140 מטבעות + בונוס קטן בהשלמה הראשונה היום
μ = 1/p = 1/0.2 = 5.
Which situation is geometric (not binomial)?
רמת קושי 1/5 · 100 מטבעות + בונוס קטן בהשלמה הראשונה היום
With independent binary trials and constant success probability, counting until the first success is geometric; counting successes in a fixed number of trials is binomial.
Roll a die until the first six (p = 1/6). Find the expected number of rolls.
רמת קושי 2/5 · 140 מטבעות + בונוס קטן בהשלמה הראשונה היום
μ = 1/p = 1/(1/6) = 6.
In the geometric formula P(X=k) = (1−p)^(k−1)·p, the (1−p)^(k−1) part is the first k−1 failures.
רמת קושי 1/5 · 100 מטבעות + בונוס קטן בהשלמה הראשונה היום
Fail k−1 times, then succeed on trial k.
The mean of a geometric random variable is 1 divided by ___ (the letter for success probability).
רמת קושי 1/5 · 100 מטבעות + בונוס קטן בהשלמה הראשונה היום
μ = 1/p.
מה השתבש? רק צוות האתר רואה זאת.