1. Meaning of a Probability Mass Function
A Probability Mass Function (PMF) gives the probability that a discrete random variable takes a particular value. It tells us how the total probability is distributed across the possible numerical values of the variable.
If X is a discrete random variable, then a PMF assigns a number to each possible value of X:
\( P(X = x) \)
This value shows how likely it is for X to be equal to x.
2. Properties of a PMF
A PMF must follow certain rules:
- Non-negative: For every possible value x,
\( P(X = x) \ge 0 \)
- Total probability is 1:
\( \sum P(X = x) = 1 \)
- Defined only for discrete values: PMFs apply only to variables that take separate, countable values.
3. Example 1: PMF of a Coin Toss
Let X = 1 if Head appears, and X = 0 if Tail appears.
| X | P(X=x) |
|---|---|
| 0 | 1/2 |
| 1 | 1/2 |
Each value has probability 1/2, and the total is 1.
4. Example 2: PMF of Rolling a Die
Let X be the number appearing on the die. Each number from 1 to 6 has equal chance.
| X | P(X=x) |
|---|---|
| 1 | 1/6 |
| 2 | 1/6 |
| 3 | 1/6 |
| 4 | 1/6 |
| 5 | 1/6 |
| 6 | 1/6 |
5. Example 3: A Discrete Custom PMF
Let X be the number of heads in two coin tosses. The possible values are {0, 1, 2}.
The PMF is:
| X | P(X=x) |
|---|---|
| 0 | 1/4 |
| 1 | 1/2 |
| 2 | 1/4 |
This PMF shows how probability is distributed among the three possible values.