Discrete random variables
By the end, you can
- Build a probability distribution from outcomes
- Calculate expectation and variance
- Transform means and variances correctly
about 35 minutes for the lesson · practise at your own pace.
The central idea
A random variable assigns a numerical value to each outcome. A discrete distribution has nonnegative probabilities summing to 1. Its expectation is and variance is . A linear transformation gives E(aX+b)=aE(X)+b and Var(aX+b)=a²Var(X).
Worked example
For taking and with probabilities and , and . Thus .
The expectation of X² is not generally the square of E(X).
Check your understanding
For the same , find and .
The expectation is ; the variance is .
Choose a practice question
Mastery checklist: after the lecture and again after the tutorial
Use the same checklist twice, matching the two checkpoints in the notes. For each item, explain the condition for using the rule and try an example without opening its working.
- Explain a random variable as a function assigning a real number to every outcome in the sample space. Distinguish a discrete random variable (finite or countable support) from a continuous one. Continuous variables are contrasted here; their density methods belong to later work.
- Tabulate a discrete probability law with , , and .
- Find every mode: a value x with the largest probability .
- Find a median m satisfying both and . The printed checklist uses inconsistently in this row; use the same candidate m for both tests. The earlier median discussion explains non-uniqueness and the midpoint convention.
- Calculate the mean .
- Calculate variance using or , then take the nonnegative square root for standard deviation .
- For , use , combining probabilities when constructing Y’s distribution if different x values give the same Y.
- Transform moments with and .
- For n independent observations of the same distribution, calculate and . Additivity of expectation itself does not require independence.
- For two independent variables X,Y with finite moments, use and . A minus sign does not subtract independent variances.
Choose practice by the skill you need
The notes’ complete question-type map is retained below with links to the actual questions. The part labels describe where to focus within each question. “First part” and “second part” retain the source’s unnumbered groupings; a dash means the source cell is blank.
| Skill/concept | Lecture examples | Discussion | Review problems |
|---|---|---|---|
| Normalize | 2(i), 3, 4 (first part), 12(i), 14(i) | 1, 5(i) | 1 (first part), 2(i), 5 (first part), 6 |
| Determine the probability distribution | 1, 5, 16(ii) | 1(iii), 2(ii), 3 (first part), 4(ii), 5(i), 7(ii) | 3, 6 (first part), 8(ii), 9(iii), 10(i), 11(ii) |
| Find and | 8, 9, 10, 11, 12(i)(ii)(iii), 14(ii), 15 (first part), 16(iii) | 2(ii), 3(ii)(iii), 4(iii), 5(ii), 6 (first part)(i) | 1, 2(ii), 3, 4, 5 (first part), 6(i) |
| Mean and variances of linear combinations | 13, 14(iii)(iv), 15(a)(b) | 5(iii), 6 (second part) | 3(i)(ii), 4, 5 (second part), 7(iii), 11(i) |
| Applications of expectation and variance | 17 | 7(iii), 8(ii) | 10(ii), 11(iii), 12 (second part) |
| Prior topic: Probability | 2(ii)(iii), 3(ii), 4 (second part), 16(i)(iv) | 1(i)(ii), 2(i), 3(i), 4(i), 6(ii), 7(i), 8(i) | 2(iii), 7, 8(i)(iv), 9(i), 12 (first part) |
| Prior topic: Conditional probability | — | 2(iii) | 3, 9(v) |
The printed map groups some questions broadly. For example, Example 3(ii) is a tail probability using a geometric progression, and Review 7(iii) needs the nonlinear area transformation . Follow the actual asks and conditions in the linked question, rather than assuming every entry in a row uses a single formula.
Complete discussion and review sets
The questions and short answer keys at the back of both lecture copies match the existing worked records. Use these links to try each question and then reveal its working. The original question pages and short keys are retained in the source record.
- Discussion: Question 1, Question 2, Question 3, Question 4, Question 5, Question 6, Question 7, Question 8.
- Review: Question 1, Question 2, Question 3, Question 4, Question 5, Question 6, Question 7, Question 8, Question 9, Question 10, Question 11, Question 12.
Discussion 4’s short key labels its final three values “(iv)” although the question ends at (iii); the linked working correctly associates them with the mean, expected squared deviation and variance.
Review 11 calls its dice “tetrahedral (8-sided)”; the eight stated face counts determine the model.
Review 12’s three beam panels are reconstructed beside its question, including both alternating stacks and the initial unbalanced beam. These source qualifications remain beside the worked records.
Practice questions
37 examples and practice questions, in 7 sections.
Ready to try this on your own?
For “Discrete random variables”, try a question without the working and explain your method. This records your confidence, saved in this browser only.