BrightChamps Logo
Login
Creative Math Ideas Image
Live Math Learners Count Icon1228 Learners

Last updated on June 18th, 2025

Math Whiteboard Illustration

Probability Mass Function

Professor Greenline Explaining Math Concepts

The probability mass function is a function used specifically to predict the probability of a discrete random variable. It is used in real-life situations to calculate discrete probabilities, such as predicting the loss of a business based on discrete probabilities. In this topic, you’ll learn how to use the probability mass function to determine the likelihood.

Probability Mass Function for UK Students
Professor Greenline from BrightChamps

What is Probability Mass Function

Probability mass function (PMF) indicates the probability assigned to each possible value of a discrete random variable. For e.g., when we flip a coin twice, the PMF gives the probability of each possible outcome, which is heads or tails.

 


The formula for the Probability Mass Function:

 


f(x) = P(X = x)


Where: f(x) or P(X = x): the probability of a discrete random variable X 


X: discrete random variable


x: possible value that the random variable takes
 

Struggling with Math?

Get 1:1 Coaching to Boost Grades Fast !

curious child
Professor Greenline from BrightChamps

Known facts

There are unique characteristics of Probability Mass Function (PMF) that you might not know. We’ll explore a few key facts:

  • The PMF function follows two conditions:
    The probability of each possible outcome should be non-negative. The sum of all probabilities for every possible should be equivalent to one.

     
  • PMF can be used in calculating the predicted values for any random discrete variable.

     
  • Variance of a discrete random variable can be calculated using the formula assigned for variance.

     
  • The PMF can be visually represented on a graph. Here, the x-axis will represent the possible values of the discrete random variable and y-axis will represent their corresponding probabilities.
     
Professor Greenline from BrightChamps

Properties of Probability Mass Function

Understanding the properties of the probability mass function enables us to identify the function easily. Here are a few properties that will help:

 

  • f(x) = P (X = x) > 0.

    Since the PMF cannot be negative.

 

  • ∑x∈ S f(x) = 1       

    The total of all probabilities should be equivalent to 1

 

  • P (X ∈ E) = ∑x∈ E f(x) 

    To calculate the probability of an event E, add up the probabilities of the values of x in E using the PMF whereas, the CDF is calculated by adding up PMF values.
Professor Greenline from BrightChamps

Probability Mass Function Formulas

The Probability Mass Function for a discrete variable X can be mathematically expressed as: f(x) = P(X = x). There are various other formulas to determine PMF for different distribution, as listed below:

 


Probability Mass Function in Binomial Distribution:

 


In binomial distribution represents the number of possible outcomes, the likelihood of success, and the likelihood of failure.


The formula we use for the binomial distribution:


P (X = x) = nCx px (1 - p)n-x


Here:


n: Number of outcomes


p: probability of success


(1- p): the probability of failure

 


Probability Mass Function in Poisson Distribution:

 


The Poisson distribution represents the average and the quantity of independent events that occurred during a certain period.


The formula we use for the binomial distribution:


P(X = x) = [λxeλ] / x!


Here, the mean represented is the symbol λ.
 

Professor Greenline from BrightChamps

How to represent Probability Mass Function

We graphically represent the probability mass function in different forms, such as tables or graphs. For example, if a coin is flipped 4 times and x is the random variable that indicates the quantity of tails. The probability for the mass function of the event:
 

Number of Tails (X) Outcomes P (X = x)
0 {HHHH} 1/16
1 {HHHT, HHTH, HTHH, THHH} 1/4
2 {HHTT, HTHT, HTTH, THHT, THTH, TTHH} 3/8
3 {TTTH, TTHT, THTT, HTTT} 1/4
4 {TTTT} 1/16

Let’s now plot this in a probability mass function graph:

Professor Greenline from BrightChamps

Real-life applications of Probability Mass Function

We use the probability mass function to understand the probability of discrete events in different real-life situations. Let’s look at some:

 

 

  • PMF is used in businesses to analyze the number of customers visiting a shop within a certain period.

     
  • The doctors use the PMF to determine the number of factors that affect a person’s disease.

     
  • Children can use PMF to predict the probability of drawing a particular car out of the deck.

     
  • It can be used to determine the probability of getting a particular number by rolling a die.

     
  • Players use the PMF to predict the scores or the number of successful shots in the game they play.
     
Max Pointing Out Common Math Mistakes

Common mistakes and How to Avoid Them in Calculating Probability Mass Function

The probability mass function is of paramount importance in math. However, students might find it difficult to grasp the concept leading to many mistakes. Here we list a few common mistakes along with some tricks to avoid them:
 

Mistake 1

Red Cross Icon Indicating Mistakes to Avoid in This Math Topic

Incorrect Distribution of Probabilities
 

Green Checkmark Icon Indicating Correct Solutions in This Math Topic

Students ignore the total and distribute probabilities that do not add up to one. Ensure that the total of all probabilities is equal to 1.
 

Mistake 2

Red Cross Icon Indicating Mistakes to Avoid in This Math Topic

Confusion between PMF with CDF
 

Green Checkmark Icon Indicating Correct Solutions in This Math Topic

Some students mistakenly apply Cumulative probability where the probability mass function has to be used. Keep in mind that PMF is used to obtain the probability of a specific value whereas, CDF determines the value that is equal to or less than a specific value.
 

Mistake 3

Red Cross Icon Indicating Mistakes to Avoid in This Math Topic

Applying Incorrect Formula
 

Green Checkmark Icon Indicating Correct Solutions in This Math Topic

Using the incorrect probability mass function formula when the problem follows Poisson distribution.

 

For example: applying the binomial PMF. It is important to determine the type of discrete probability distribution first. Then, apply the correct formula.
 

Mistake 4

Red Cross Icon Indicating Mistakes to Avoid in This Math Topic

Ignoring the Probability Conditions
 

Green Checkmark Icon Indicating Correct Solutions in This Math Topic

They overlook the conditions of probability such as distributing negative or values greater than 1 results in inaccurate outcomes. Understand the constraints of a probability which should follow:
0 ≤ P (X = x)  ≤ 1
 

Mistake 5

Red Cross Icon Indicating Mistakes to Avoid in This Math Topic

Rounding too Early
 

Green Checkmark Icon Indicating Correct Solutions in This Math Topic

They round the probability too soon in calculations, resulting in incorrect outcomes. Include all the decimal values during calculation, and do not round off till the last step.
 

arrow-right

Level Up with a Math Certification!

2X Faster Learning (Grades 1-12)

curious child
Max from BrightChamps Saying "Hey"

Solved examples of Probability Mass Function

Ray, the Character from BrightChamps Explaining Math Concepts
Max, the Girl Character from BrightChamps

Problem 1

Given a probability mass function: f(x) = bx3, for x = 4,5, 6.

Ray, the Boy Character from BrightChamps Saying "Let’s Begin"

b = 1/405 which satisfies the condition, the probability adds up to 1.
 

Explanation

∑xϵS f(x) = 1

 

We now substitute the given function:

 

6x=4 bx3 = 1

 

b (43+ 53 + 63) = 1

 

b (64+ 125 + 216) = 1 

 

b(405) = 1

 

b = 1/405

 

Max from BrightChamps Praising Clear Math Explanations

Turn your child into a math star!

#1 Math Hack Schools Won't Teach!

curious child
Ray Thinking Deeply About Math Problems

FAQs on Probability Mass Function

1.What do you mean by probability mass function?

Math FAQ Answers Dropdown Arrow

2.What are the constraints of a PMF?

Math FAQ Answers Dropdown Arrow

3.What is the major distinction between PMF and PDF?

Math FAQ Answers Dropdown Arrow

4.Give two common distributions that apply PMFs.

Math FAQ Answers Dropdown Arrow

5.Is there a negative PMF?

Math FAQ Answers Dropdown Arrow

Struggling with Math?

Get 1:1 Coaching to Boost Grades Fast !

curious child
Math Teacher Background Image
Math Teacher Image

Jaipreet Kour Wazir

About the Author

Jaipreet Kour Wazir is a data wizard with over 5 years of expertise in simplifying complex data concepts. From crunching numbers to crafting insightful visualizations, she turns raw data into compelling stories. Her journey from analytics to education ref

Max, the Girl Character from BrightChamps

Fun Fact

: She compares datasets to puzzle games—the more you play with them, the clearer the picture becomes!

INDONESIA - Axa Tower 45th floor, JL prof. Dr Satrio Kav. 18, Kel. Karet Kuningan, Kec. Setiabudi, Kota Adm. Jakarta Selatan, Prov. DKI Jakarta
INDIA - H.No. 8-2-699/1, SyNo. 346, Rd No. 12, Banjara Hills, Hyderabad, Telangana - 500034
SINGAPORE - 60 Paya Lebar Road #05-16, Paya Lebar Square, Singapore (409051)
USA - 251, Little Falls Drive, Wilmington, Delaware 19808
VIETNAM (Office 1) - Hung Vuong Building, 670 Ba Thang Hai, ward 14, district 10, Ho Chi Minh City
VIETNAM (Office 2) - 143 Nguyễn Thị Thập, Khu đô thị Him Lam, Quận 7, Thành phố Hồ Chí Minh 700000, Vietnam
Dubai - BrightChamps, 8W building 5th Floor, DAFZ, Dubai, United Arab Emirates
UK - Ground floor, Redwood House, Brotherswood Court, Almondsbury Business Park, Bristol, BS32 4QW, United Kingdom