Discrete Random
Variables
Master the fundamentals of probability distributions, expected value \( E(X) \), and variance \( \text{Var}(X) \) for discrete random variables.
What Is a Random Variable?
A random variable is a function that assigns a numerical value to each outcome of a random experiment. We use capital letters like \( X \) to denote them.
Probability Distributions
A probability distribution lists every possible value of \( X \) alongside its probability \( P(X = x) \). It's the complete description of how likely each outcome is.
Reading a Probability Table
The most common way to represent a discrete distribution is a probability table. Each row (or column) maps an outcome to its probability.
| \( x \) | 1 | 2 | 3 | 4 | 5 |
|---|---|---|---|---|---|
| \( P(X = x) \) | 0.1 | 0.25 | 0.35 | 0.2 | 0.1 |
Expected Value: \( E(X) \)
The expected value (or mean \( \mu \)) is the long-run average of a random variable. It tells you the centre of the distribution.
Think of it as a weighted average: values that are more likely pull the mean toward them, just like heavier masses pull a balance point.
Visualising \( E(X) \)
Variance: \( \text{Var}(X) \)
Variance measures how spread out the values are from the mean. A larger variance means the outcomes are more widely scattered.
\( E(X) \) vs \( \text{Var}(X) \)
How to Calculate Step by Step
Example 1: Finding \( E(X) \)
A spinner has outcomes with this distribution:
| \( x \) | 1 | 2 | 3 | 4 |
|---|---|---|---|---|
| \( P(X=x) \) | 0.2 | 0.3 | 0.3 | 0.2 |
On average, the spinner lands on 2.5. Note: this value is not an actual outcome, it is the theoretical long-run mean.
Example 2: \( \text{Var}(X) \) and \( \sigma \)
Using the same spinner from Example 1, find the variance and standard deviation.
Example 3: Missing Probability
The distribution of \( X \) is given below. Find the value of \( k \).
| \( x \) | 0 | 1 | 2 | 3 |
|---|---|---|---|---|
| \( P(X=x) \) | 0.1 | \( k \) | 0.3 | 0.2 |
Example 4: Full Calculation
A game awards points \( X \) with the distribution below. Find \( E(X) \), \( \text{Var}(X) \), and \( \sigma \).
| \( x \) | 0 | 5 | 10 | 20 |
|---|---|---|---|---|
| \( P(X=x) \) | 0.4 | 0.3 | 0.2 | 0.1 |
Common Mistakes
Summary: Key Formulas
| Concept | Formula | Measures |
|---|---|---|
| Expected Value | \( E(X) = \sum x \cdot P(X=x) \) | Centre (mean) |
| \( E(X^2) \) | \( \sum x^2 \cdot P(X=x) \) | Needed for variance |
| Variance | \( \text{Var}(X) = E(X^2) - [E(X)]^2 \) | Spread (squared units) |
| Standard Deviation | \( \sigma = \sqrt{\text{Var}(X)} \) | Spread (original units) |
| Validity Check | \( \sum P(X=x) = 1 \), all \( P \geq 0 \) | Distribution is valid |
Question 1 of 5
A discrete random variable \( X \) has \( P(X=1) = 0.3 \), \( P(X=2) = 0.5 \), \( P(X=3) = 0.2 \). What is \( E(X) \)?
Question 2 of 5
For a valid probability distribution, which condition must always be true?
Question 3 of 5
Given \( E(X) = 4 \) and \( E(X^2) = 20 \), what is \( \text{Var}(X) \)?
Question 4 of 5
A distribution has \( P(X=0) = 0.5 \), \( P(X=1) = k \), \( P(X=2) = 0.2 \). Find the value of \( k \).
Question 5 of 5
If \( \text{Var}(X) = 9 \), what is the standard deviation \( \sigma \)?