Show graphically the probability function of the discrete random variable , where is the number of heads appearing when an unbiased coin is tossed twice in succession.
Bayes' Theorem and Probability Distribution · Question 32 of 49
Show graphically the probability function of the discrete random variable X , where X is the number of heads appearing…
Solution:
Key idea: A probability distribution lists every value of a random variable with its probability . Every must lie between 0 and 1, and all the must add up to 1. The graph of a discrete distribution is drawn as a vertical line at each value of , with height equal to its probability.
Step 1 — Write the sample space.
Two tosses of a fair coin give 4 equally likely outcomes.
Step 2 — Group the outcomes by the number of heads.
We count the heads in each outcome:
- for
- for and
- for
Step 3 — Write the probability distribution.
Each outcome has probability , so we divide each count by 4.
| 0 | 1 | 2 | |
|---|---|---|---|
The probabilities add to .
Step 4 — Draw the graph.
We mark the values of on the horizontal axis and on the vertical axis, then draw a vertical line at each value of with height equal to its probability.

Therefore, the probability function is , , , shown by the line graph above.
