• NEET
      • Class 11th
      • Class 12th
      • Class 12th Plus
    • JEE
      • Class 11th
      • Class 12th
      • Class 12th Plus
    • Class 6-10
      • Class 6th
      • Class 7th
      • Class 8th
      • Class 9th
      • Class 10th
    • View All Options
      • Online Courses
      • Distance Learning
      • Hindi Medium Courses
      • International Olympiad
    • NEET
      • Class 11th
      • Class 12th
      • Class 12th Plus
    • JEE (Main+Advanced)
      • Class 11th
      • Class 12th
      • Class 12th Plus
    • JEE Main
      • Class 11th
      • Class 12th
      • Class 12th Plus
  • Classroom
    • NEET
      • 2025
      • 2024
      • 2023
      • 2022
    • JEE
      • 2025
      • 2024
      • 2023
      • 2022
    • Class 6-10
    • JEE Main
      • Previous Year Papers
      • Sample Papers
      • Result
      • Analysis
      • Syllabus
      • Exam Date
    • JEE Advanced
      • Previous Year Papers
      • Sample Papers
      • Mock Test
      • Result
      • Analysis
      • Syllabus
      • Exam Date
    • NEET
      • Previous Year Papers
      • Sample Papers
      • Mock Test
      • Result
      • Analysis
      • Syllabus
      • Exam Date
      • College Predictor
      • Counselling
    • NCERT Solutions
      • Class 6
      • Class 7
      • Class 8
      • Class 9
      • Class 10
      • Class 11
      • Class 12
    • CBSE
      • Notes
      • Sample Papers
      • Question Papers
    • Olympiad
      • NSO
      • IMO
      • NMTC
  • NEW
    • TALLENTEX
    • AOSAT
  • ALLEN E-Store
    • ALLEN for Schools
    • About ALLEN
    • Blogs
    • News
    • Careers
    • Request a call back
    • Book home demo
Home
JEE Maths
Geometric Distribution

Geometric Distribution 

The Geometric Distribution is a discrete probability distribution that models the number of Bernoulli trials needed for a success to occur. It's widely used in statistics, especially in situations involving repeated independent trials like flipping coins or rolling dice until a desired outcome is achieved. Unlike the Hyper Geometric Distribution, which deals with selection without replacement, the geometric distribution focuses on independent trials with constant success probability.

1.0What is Geometric Distribution?

The Geometric distribution gives the probability that the first success will occur on the k-th trial in a sequence of independent Bernoulli trials, each with the same probability p of success.

Formula for Geometric Distribution

The Probability Mass Function (PMF) of the geometric distribution is:

P(X=k)=(1−p)k−1⋅p,k=1,2,3,…

Where:

  • p is the probability of success,
  • (1 - p) is the probability of failure,
  • k is the trial number on which the first success occurs.

Example of Geometric Distribution

Example 1: Suppose the probability of getting a heads when flipping a fair coin is p = 0.5. What is the probability that the first heads appear on the 3rd toss?

Solution:

P(X=3)=(1−0.5)2⋅0.5⇒P(X=3)=0.25⋅0.5⇒P(X=3)=0.125So, the probability is 0.125.

2.0Mean and Variance of Geometric Distribution

Meanμ=p1​Varianceσ2=p21−p​

Geometric distribution mean tells us the expected number of trials until the first success.

3.0Geometric Distribution CDF (Cumulative Distribution Function)

The Geometric distribution CDF gives the probability that the first success occurs on or before the k-th trial:

P(X≤k)=1−(1−p)k

4.0Geometric Distribution PDF

In discrete distributions, we often use PMF (Probability Mass Function) instead of PDF (Probability Density Function). So:

  • Geometric distribution pdf typically refers to the PMF: 

P(X=k)=(1−p)k−1⋅p

Graph: 

Geometric distribution pdf graph

Here's the graph of the Cumulative Distribution Function (CDF) for a Geometric Distribution with p = 0.3. It shows the probability that the first success occurs on or before trial number kk.

5.0PMF of Geometric Distribution

The Probability Mass Function (PMF) of the Geometric Distribution gives the probability that the first success occurs on the k-th trial.

PMF Formula:

P(X=k)=(1−p)k−1⋅p for k=1,2,3,…

Where:

  • X = number of trials until the first success
  • p = probability of success on each trial
  • (1 - p) = probability of failure on each trial
  • k = trial number of first success

Graph: 

PMF of Geometric Distribution Graph

Here’s the graph of the Probability Mass Function (PMF) for a Geometric Distribution with p=0.3p = 0.3. The x-axis represents the trial number kk, and the y-axis gives the probability that the first success occurs on the trial.

Here’s the graph of the Probability Mass Function (PMF) for a Geometric Distribution with p=0.3p=0.3. The x-axis represents the trial number k, and the y-axis gives the probability that the first success occurs on the kth trial.

Example:

If a coin has a probability of heads p = 0.5, then the probability that the first head appears on the 3rd toss is:

P(X=3)=(1−0.5)2⋅0.5=0.25⋅0.5=0.125

6.0Probability Generating Function of Geometric Distribution

The probability generating function (PGF) of a geometric distribution is:

GX​(t)=1−(1−p)tpt​,∣t∣<1−p1​

This function helps in finding moments like mean and variance.

7.0Geometric Distribution vs Hyper Geometric Distribution

Feature

Geometric Distribution

Hyper Geometric Distribution

Replacement

With replacement

Without replacement

Independence

Trials are independent

Trials are dependent

Use case

Wait for the first success

Probability of k successes in n draws

8.0Solved Example on Geometric Distribution

Example 1: A fair die is rolled repeatedly until a “4” appears. What is the probability that the number “4” appears for the first time on the 3rd roll?

Solution:

This follows a geometric distribution withp=61​(probability of getting a 4)We need:P(X=3)=(1−p)3−1⋅p⇒P(X=3)=(65​)2⋅61​=21625​Answer: 21625​

Example 2: The probability of success in a single trial is p=0.2p = 0.2. Find the expected number of trials until the first success.

Solution:

In geometric distribution:

Mean (Expected value) =1p=10.2=5Mean (Expected value)=p1​=0.21​=5

Example 3:

Solution:

Using the memoryless property:P(X>4∣X>2)=P(X>2)=(1−p)2=(0.6)2=0.36Answer: 0.36

Example 4: A light bulb has a 10% chance of failing on any given day. What is the probability that it survives at least 5 days?

Solution:

Let X be the day the first failure occurs.We want P(X>5)=(1−p)5=(0.9)5=0.59049Answer: 0.59049 

Example 5: A man tries to start his bike each morning. The probability of success on each try is 0.3. He pays ₹1 for each attempt. What is the expected cost to start the bike successfully?

Solution:

LetX∼Geometric(0.3).Expected number of attempts=p1​=0.31​=310​≈3.33Expected cost=310​Answer: 310​

Example 6: A biased coin has a probability of heads p = 0.3. What is the probability that the first head appears on the 4th toss?

Solution: 

P(X=4)=(1−0.3)3⋅0.3⇒P(X=4)=(0.7)3⋅0.3⇒P(X=4)=0.343⋅0.3⇒P(X=4)=0.1029Answer: 0.1029

9.0Practice Questions on Geometric Distribution 

  1. If the probability of a machine failing is 0.1, what is the probability it fails for the first time on the 5th day?
  2. A basketball player has a 0.7 chance of making a free throw. What is the expected number of attempts needed for the first success?
  3. What is the variance of a geometric distribution where p = 0.3?
  4.  ComputeP(X≤4)when p=0.25.
  5. Find the PGF of a geometric distribution with p = 0.4.

Table of Contents


  • 1.0What is Geometric Distribution?
  • 1.1Formula for Geometric Distribution
  • 1.2Example of Geometric Distribution
  • 2.0Mean and Variance of Geometric Distribution
  • 3.0Geometric Distribution CDF (Cumulative Distribution Function)
  • 4.0Geometric Distribution PDF
  • 5.0PMF of Geometric Distribution
  • 6.0Probability Generating Function of Geometric Distribution
  • 7.0Geometric Distribution vs Hyper Geometric Distribution
  • 8.0Solved Example on Geometric Distribution
  • 9.0Practice Questions on Geometric Distribution 

Frequently Asked Questions

It models the number of trials until the first success in a sequence of independent experiments.

Discrete.

Geometric involves independent trials with replacement; hyper geometric involves dependent trials without replacement.

Yes, in some definitions, it starts at 0 (when counting the number of failures before success), but commonly it starts at 1.

Join ALLEN!

(Session 2025 - 26)


Choose class
Choose your goal
Preferred Mode
Choose State
  • About
    • About us
    • Blog
    • News
    • MyExam EduBlogs
    • Privacy policy
    • Public notice
    • Careers
    • Dhoni Inspires NEET Aspirants
    • Dhoni Inspires JEE Aspirants
  • Help & Support
    • Refund policy
    • Transfer policy
    • Terms & Conditions
    • Contact us
  • Popular goals
    • NEET Coaching
    • JEE Coaching
    • 6th to 10th
  • Courses
    • Online Courses
    • Distance Learning
    • Online Test Series
    • International Olympiads Online Course
    • NEET Test Series
    • JEE Test Series
    • JEE Main Test Series
  • Centers
    • Kota
    • Bangalore
    • Indore
    • Delhi
    • More centres
  • Exam information
    • JEE Main
    • JEE Advanced
    • NEET UG
    • CBSE
    • NCERT Solutions
    • Olympiad
    • NEET 2025 Results
    • NEET 2025 Answer Key
    • NEET College Predictor
    • NEET 2025 Counselling

ALLEN Career Institute Pvt. Ltd. © All Rights Reserved.

ISO