Geometric Distribution Formula

Geometric distribution is the probability distribution for the number of independent Bernoulli trials needed to get the first success, where each trial.

The Formula

P(X=k)=(1p)k1p,k=1,2,3,P(X = k) = (1 - p)^{k-1} \cdot p, \quad k = 1, 2, 3, \ldots

When to use: How many times do you have to roll a die before you get a 6? The geometric distribution answers this kind of question. Each trial is independent, and you keep going until you succeed. Most of the time it doesn't take too long, but occasionally you have an unlucky streak—that's why the distribution has a long right tail.

Quick Example

Probability of getting first heads on the 4th flip of a fair coin: P(X=4)=(10.5)410.5=(0.5)30.5=0.0625P(X = 4) = (1 - 0.5)^{4-1} \cdot 0.5 = (0.5)^3 \cdot 0.5 = 0.0625

Notation

XGeom(p)X \sim \text{Geom}(p). Mean: E(X)=1pE(X) = \frac{1}{p}. Standard deviation: σ=1pp\sigma = \frac{\sqrt{1-p}}{p}.

What This Formula Means

The probability distribution for the number of independent Bernoulli trials needed to get the first success, where each trial has success probability pp.

How many times do you have to roll a die before you get a 6? The geometric distribution answers this kind of question. Each trial is independent, and you keep going until you succeed. Most of the time it doesn't take too long, but occasionally you have an unlucky streak—that's why the distribution has a long right tail.

Formal View

P(X=k)=(1p)k1pP(X = k) = (1-p)^{k-1} p for k=1,2,3,k = 1, 2, 3, \ldots; E(X)=1pE(X) = \frac{1}{p}, Var(X)=1pp2\text{Var}(X) = \frac{1-p}{p^2}

Worked Examples

Example 1

medium
A basketball player makes free throws with probability p=0.7p=0.7. Find the probability they make their first free throw on exactly the 3rd attempt.

Answer

P(X=3)=(0.3)2(0.7)=0.063P(X=3) = (0.3)^2(0.7) = 0.063. 6.3% chance first make is on attempt 3.

First step

1
Geometric distribution: P(X=k)=(1p)k1pP(X=k) = (1-p)^{k-1} \cdot p

See the full worked solution + why-it-works coaching

SetupKey insightWhy it worksCommon pitfallConnection

Unlock answer keys One Family plan — every worked solution, all subjects

Example 2

hard
For a geometric distribution with p=0.4p=0.4: (a) find P(X3)P(X \leq 3), (b) find the expected number of trials until first success.

Example 3

medium
Derive a closed form for P(Xn)P(X \le n) when XX is geometric with parameter pp.

Common Mistakes

  • Using the binomial because both involve pp and 1p1-p - the geometric has no fixed nn; it counts trials until the first success.
  • Writing the exponent as kk instead of k1k-1 - the first k1k-1 trials are failures, so it's (1p)k1p(1-p)^{k-1}\cdot p.
  • Forgetting the trials must be independent with constant pp - if pp changes or trials are dependent, the geometric model fails.

Why This Formula Matters

It's the natural model for waiting-time questions — first defective part, first made free throw, first 6 rolled — that the binomial can't answer because there's no fixed number of trials. Recognizing 'count until first success' versus 'count of successes in nn trials' is what separates the geometric from the binomial, the single most-confused pair in probability distributions. Recognizing it by "Am I counting the number of trials up to and including the first success (not the number of successes in a fixed set of trials)?" — rather than by familiar numbers — is what lets a student tell it apart from binomial distribution and expected value and exponential distribution in a mixed problem set.

Frequently Asked Questions

What is the Geometric Distribution formula?

The probability distribution for the number of independent Bernoulli trials needed to get the first success, where each trial has success probability pp.

How do you use the Geometric Distribution formula?

How many times do you have to roll a die before you get a 6? The geometric distribution answers this kind of question. Each trial is independent, and you keep going until you succeed. Most of the time it doesn't take too long, but occasionally you have an unlucky streak—that's why the distribution has a long right tail.

What do the symbols mean in the Geometric Distribution formula?

XGeom(p)X \sim \text{Geom}(p). Mean: E(X)=1pE(X) = \frac{1}{p}. Standard deviation: σ=1pp\sigma = \frac{\sqrt{1-p}}{p}.

Why is the Geometric Distribution formula important in Math?

It's the natural model for waiting-time questions — first defective part, first made free throw, first 6 rolled — that the binomial can't answer because there's no fixed number of trials. Recognizing 'count until first success' versus 'count of successes in nn trials' is what separates the geometric from the binomial, the single most-confused pair in probability distributions. Recognizing it by "Am I counting the number of trials up to and including the first success (not the number of successes in a fixed set of trials)?" — rather than by familiar numbers — is what lets a student tell it apart from binomial distribution and expected value and exponential distribution in a mixed problem set.

What do students get wrong about Geometric Distribution?

The procedure for geometric distribution is the easy part; the trap is using the binomial because both involve pp and 1p1-p. Asking "Am I counting the number of trials up to and including the first success (not the number of successes in a fixed set of trials)?" first is what keeps a correct-looking calculation from being attached to the wrong concept.

What should I learn before the Geometric Distribution formula?

Before studying the Geometric Distribution formula, you should understand: binomial distribution, independent events, expected value.