top of page
Inaugurated by IN-SPACe
ISRO Registered Space Tutor

S3-SA3-0261

What is the Probability Mass Function?

Grade Level:

Class 8

AI/ML, Data Science, Physics, Economics, Cryptography, Computer Science, Engineering

Definition
What is it?

The Probability Mass Function (PMF) tells us the probability for each possible outcome of a discrete random variable. Think of it as a list or a table that shows how likely each specific value is to happen. It helps us understand the chances of getting exact results, like scoring a certain number of runs in a cricket match.

Simple Example
Quick Example

Imagine you are rolling a standard six-sided dice. The PMF for this dice roll would tell you the probability of rolling a 1, a 2, a 3, a 4, a 5, or a 6. Since each side has an equal chance, the PMF would show that the probability for each number is 1/6.

Worked Example
Step-by-Step

Let's say you toss two coins. We want to find the PMF for the number of heads (H) you get.

1. First, list all possible outcomes when tossing two coins: HH, HT, TH, TT.

2. Next, count the number of heads for each outcome:
- HH: 2 heads
- HT: 1 head
- TH: 1 head
- TT: 0 heads

3. Identify the unique number of heads possible: 0, 1, 2.

4. Calculate the probability for each number of heads:
- P(Number of Heads = 0) = P(TT) = 1/4 (since there's 1 'TT' out of 4 total outcomes)
- P(Number of Heads = 1) = P(HT or TH) = 2/4 = 1/2 (since there are 2 outcomes with 1 head)
- P(Number of Heads = 2) = P(HH) = 1/4 (since there's 1 'HH' out of 4 total outcomes)

5. The PMF is: P(X=0) = 1/4, P(X=1) = 1/2, P(X=2) = 1/4.

Answer: The Probability Mass Function for the number of heads when tossing two coins is P(0 heads) = 1/4, P(1 head) = 1/2, P(2 heads) = 1/4.

Why It Matters

Understanding PMF is super important for many exciting fields! Data scientists use it to predict customer behavior, like which products people are likely to buy. In AI and Machine Learning, it helps computers make smart decisions. Engineers use it to design reliable systems, from traffic lights to space rockets, by understanding the probability of different events happening.

Common Mistakes

MISTAKE: Thinking the PMF can give negative probabilities or probabilities greater than 1. | CORRECTION: All probabilities in a PMF must be between 0 and 1 (inclusive). A probability of 0 means impossible, 1 means certain.

MISTAKE: Not ensuring all probabilities in a PMF add up to 1. | CORRECTION: The sum of all probabilities for all possible outcomes in a PMF must always be exactly 1. This means all possible events are covered.

MISTAKE: Using PMF for continuous values like height or temperature. | CORRECTION: PMF is only for discrete variables, which are values you can count (like number of students, scores on a test). For continuous values, you use a Probability Density Function (PDF).

Practice Questions
Try It Yourself

QUESTION: A box contains 3 red balls and 2 blue balls. If you pick one ball, what is the PMF for the color of the ball (R for Red, B for Blue)? | ANSWER: P(R) = 3/5, P(B) = 2/5

QUESTION: A traffic light at a crossing is red for 30 seconds, yellow for 5 seconds, and green for 25 seconds in a 60-second cycle. What is the PMF for the color of the light you see when approaching it randomly? | ANSWER: P(Red) = 30/60 = 1/2, P(Yellow) = 5/60 = 1/12, P(Green) = 25/60 = 5/12

QUESTION: You draw two cards from a standard deck of 52 cards, without replacing the first. What is the PMF for the number of Aces you draw? (Hint: There are 4 Aces in a deck) | ANSWER: P(0 Aces) = (48/52) * (47/51) = 0.8507 (approx), P(1 Ace) = (4/52)*(48/51) + (48/52)*(4/51) = 0.1448 (approx), P(2 Aces) = (4/52)*(3/51) = 0.0045 (approx)

MCQ
Quick Quiz

Which of the following is TRUE about a Probability Mass Function?

It can give a probability of 1.5 for an outcome.

It is used for continuous data like rainfall amount.

The sum of all probabilities for all outcomes must be 1.

It only works for events with two possible outcomes.

The Correct Answer Is:

C

Option C is correct because a fundamental property of any PMF is that the probabilities of all possible outcomes must add up to 1. Options A and B are incorrect because probabilities cannot be greater than 1 and PMF is for discrete data. Option D is incorrect as PMF can handle any number of discrete outcomes.

Real World Connection
In the Real World

PMF helps companies like Swiggy or Zomato estimate the probability of a delivery driver receiving 0, 1, 2, or more orders in the next hour. This helps them manage their fleet efficiently. It's also used in cricket analytics to predict the probability of a batsman scoring a certain number of runs in an over, helping coaches make strategic decisions.

Key Vocabulary
Key Terms

Probability: The chance of an event happening | Discrete Variable: A variable whose value is obtained by counting (e.g., number of students) | Outcome: A possible result of an experiment or event | Random Variable: A variable whose value is a numerical outcome of a random phenomenon

What's Next
What to Learn Next

Great job understanding PMF! Next, you should explore the 'Probability Density Function (PDF)'. While PMF is for countable events, PDF helps us understand probabilities for things that can take any value, like a person's height. This will complete your foundational knowledge of probability distributions!

bottom of page