Mathematics · Ch 14 — Probability Distributions
Probability Mass Function (p. m. f.)
Probability Mass Function (p. m. f.)
Sometimes the probability of taking the value can be written as an explicit function of , valid for every possible value of ; such a function is called the probability mass function (p.m.f.) of the discrete random variable . A first illustration is the coin-tossing experiment where is the number of tosses needed to get the first head. If the probability of a head on a single toss is (so the probability of a tail is ), then can equal any positive integer and for . This is easy to justify: getting the first head on toss means the first tosses were all tails (probability ) followed by a head on toss (probability ).
Formally: let the possible values of a discrete random variable be , with for . The function is called the probability mass function of if (i) for every , and (ii) . As a concrete illustration, toss a fair coin 4 times and let be the number of heads; can be 0, 1, 2, 3 or 4, and its p.m.f. is exactly Table 7.3. This distribution follows the closed-form rule , , where counts the number of ways of getting heads out of 4 tosses — the same counting idea used throughout the worked examples below.
Worked examples.
Example 1. Two persons A and B toss a coin thrice; each head gives A ₹2 from B, each tail gives B ₹1.5 from A. Let be the net amount gained (or lost) by A. Show is a discrete random variable and describe it as a function on the sample space.
Since is a number that depends on the outcome of a random experiment, it is a random variable; because the sample space has only outcomes, is discrete. With , the value of in rupees for each outcome is: ; ; ; (a negative value means a loss to A). Every outcome maps to a unique value of , confirming is a function on , with possible values .
Example 2. A bag has 1 red and 2 green balls (). A ball is drawn, its colour noted, and replaced; a second ball is then drawn and noted. Let be the number of red balls drawn. Derive the probability distribution of .
The sample space (9 equally likely outcomes) is . Here ; (4 outcomes); (4 outcomes). So with , , .
Example 3. Two cards are drawn with replacement from a well-shuffled deck of 52. Find the probability distribution of the number of aces drawn.
Since the draws are independent (with replacement), and . With the number of aces among the two draws, : ; ; .
Example 4. A fair die is thrown; is the number of factors of the number shown on top. Find the probability distribution of .
The number of positive factors of 1,2,3,4,5,6 are 1,2,2,3,2,4 respectively, so , , , . Hence ; ; ; .
Example 5. Find the probability distribution of the number of doublets in three throws of a pair of dice. …
| x | 0 | 1 | 2 | 3 | 4 |
|---|---|---|---|---|---| …