
Probability Mass Function Formula Properties and Solved Examples
The concept of Probability Mass Function plays a key role in mathematics and is widely applicable to both real-life situations and exam scenarios. Understanding how a Probability Mass Function works is essential for students preparing for competitive exams, as well as anyone seeking to master statistics and probability topics.
What Is Probability Mass Function?
A Probability Mass Function (PMF) is a mathematical function that gives the probability that a discrete random variable is exactly equal to a particular value. You’ll find this concept applied in areas such as binomial and Poisson distributions, statistics, and data analysis. The PMF helps describe the behavior of discrete outcomes—like rolling dice, flipping coins, or counting the number of cars passing a point in an hour.
Key Formula for Probability Mass Function
Here’s the standard formula:
This means the probability that a discrete random variable
Step-by-Step Illustration
Let’s see how to find the Probability Mass Function for a simple example:
| Value of X (x) | P(X = x) |
|---|---|
| 0 | 0.1 |
| 1 | 0.2 |
| 2 | 0.3 |
| 3 | 0.4 |
Notice that the sum of all probabilities is 1:
To solve a PMF problem, follow these steps:
1. Identify all possible values of the discrete variable.2. Assign probabilities to each outcome so that each is between 0 and 1.
3. Ensure the sum of these probabilities equals 1.
Common Exam PMF Applications (Binomial and Poisson)
Binomial and Poisson distributions are two important cases for PMF. Here’s what the probability mass function looks like for each:
| Distribution | PMF Formula | Typical Example |
|---|---|---|
| Binomial | Number of heads in 10 coin tosses | |
| Poisson | Number of phone calls in a minute |
Properties and When to Use a PMF
- The probability of every possible value is between 0 and 1.
- The sum of all probabilities over all possible values is always 1.
- PMF is used for discrete (separate/countable) random variables, not continuous ones.
- No two values can get the same exact probability unless allowed by the variable’s definition.
Difference: PMF vs PDF vs CDF
| Aspect | PMF | CDF | |
|---|---|---|---|
| Type of Variable | Discrete | Continuous | Both |
| Expression | Probability of each exact value | Probability over an interval (not single value) | Probability up to a certain value (cumulative) |
Practice Problem: Find the PMF Constant
Example: Let the PMF be
2. The sum must be 1:
3. Solve for k:
So the PMF is:
| x | P(X = x) |
|---|---|
| 1 | 1/6 |
| 2 | 2/6 = 1/3 |
| 3 | 3/6 = 1/2 |
Real Life Examples of Probability Mass Function
- Counting the number of customers entering a shop in an hour.
- Rolling a die—PMF assigns 1/6 probability to each result from 1 to 6.
- Quality inspection: Probability that a batch has 0, 1, 2, or 3 defective items.
Cross-Disciplinary Usage
Probability Mass Function is not only useful in Maths but also plays an important role in Physics, Computer Science, and daily logical reasoning. Students preparing for JEE or NEET will see its relevance in various questions, including core probability problems and discrete probability distributions.
Try These Yourself
- Write the PMF for tossing two coins.
- For a six-sided dice, what is the PMF for getting even numbers?
- Check if the following is a valid PMF: 0.2, 0.5, 0.3 for three possible values.
- Find the probability a random variable equals 0, if PMF is for 0, 1, 2.
Frequent Errors and Misunderstandings
- Confusing PMF (for discrete) with PDF (for continuous variables).
- Assigning probabilities that do not sum to 1—always check your total!
- Assigning negative or greater than 1 values as probabilities.
- Forgetting PMF only applies to countable outcomes—not measurements or continuous ranges.
Relation to Other Concepts
The idea of Probability Mass Function connects closely with topics such as Probability Distribution and Cumulative Distribution Function (CDF). Mastering this helps with understanding more advanced concepts in future chapters, like random variables and statistical inference.
Classroom Tip
A quick way to remember Probability Mass Function is: “Mass” means it gives the ‘weight’ (probability) attached to each individual possible value. Vedantu’s teachers often use a table or bar chart to visually show the PMF for dice or coin examples in live online classes.
We explored Probability Mass Function—from definition, formula, examples, mistakes, and connections to other subjects. Continue practicing with Vedantu to become confident in solving problems using this concept. For more detailed guidance, check out related topics like Random Variables.
FAQs on Probability Mass Function for Discrete Random Variables
1. What is a probability mass function (PMF)?
A probability mass function (PMF) is a function that gives the probability that a discrete random variable takes a specific value. In simple terms, it assigns a probability to each possible outcome of a discrete variable.
For a discrete random variable X, the PMF is written as:
P(X = x)
Key properties of a PMF:
- P(X = x) ≥ 0 for all x
- ∑ P(X = x) = 1 over all possible values of X
2. What is the formula for a probability mass function?
The formula for a probability mass function is P(X = x), which gives the probability that a discrete random variable X equals a specific value x.
In general, a PMF must satisfy:
- P(X = x) ≥ 0
- ∑ P(X = x) = 1
- P(X = x) = 1/6, for x = 1, 2, 3, 4, 5, 6
3. What are the properties of a probability mass function?
A probability mass function must satisfy two main properties: non-negativity and total probability equal to 1.
The properties are:
- P(X = x) ≥ 0 for every possible value of X
- ∑ P(X = x) = 1 over all values of X
4. How do you find the probability mass function from a table?
To find the probability mass function from a table, divide each frequency by the total number of observations.
Steps:
- Find the total frequency N.
- For each value x, compute P(X = x) = frequency of x / N.
- Check that the probabilities add up to 1.
If values 0, 1, 2 have frequencies 2, 3, 5 (total = 10):
- P(0) = 2/10 = 0.2
- P(1) = 3/10 = 0.3
- P(2) = 5/10 = 0.5
5. What is the difference between a PMF and a PDF?
The main difference is that a PMF is used for discrete random variables, while a probability density function (PDF) is used for continuous random variables.
Key differences:
- PMF: Gives P(X = x) directly.
- PDF: Probability is found using an integral over an interval.
- PMF applies to countable values; PDF applies to uncountable (continuous) values.
6. Can a probability mass function be negative?
No, a probability mass function cannot be negative because probabilities are always greater than or equal to zero.
A valid PMF must satisfy:
- P(X = x) ≥ 0 for all x
- ∑ P(X = x) = 1
7. How do you check if a function is a valid PMF?
To check if a function is a valid probability mass function, verify non-negativity and that the total probability equals 1.
Steps:
- Ensure P(X = x) ≥ 0 for all values of x.
- Compute ∑ P(X = x) over all possible x.
- Confirm that the sum equals 1.
8. What is the expected value using a probability mass function?
The expected value (mean) of a discrete random variable using a PMF is E(X) = ∑ x · P(X = x).
Steps to calculate:
- Multiply each value x by its probability P(X = x).
- Add all the products.
If X takes values 1, 2, 3 with probabilities 0.2, 0.3, 0.5:
E(X) = 1(0.2) + 2(0.3) + 3(0.5) = 0.2 + 0.6 + 1.5 = 2.3.
9. Can you give an example of a probability mass function?
An example of a probability mass function is the distribution of outcomes when tossing a fair coin twice.
Let X = number of heads. Possible values: 0, 1, 2.
- P(X = 0) = 1/4
- P(X = 1) = 2/4
- P(X = 2) = 1/4
10. What is the variance using a probability mass function?
The variance of a discrete random variable using a PMF is Var(X) = ∑ (x − μ)² P(X = x), where μ is the mean.
Steps:
- First compute the mean μ = E(X).
- Compute (x − μ)² for each value.
- Multiply by P(X = x) and sum.
Var(X) = E(X²) − [E(X)]², which is often easier for calculations.





















