Mathematical Methods · Unit 3 · Topic 5

Discrete random variables

Describe chance with discrete random variables and their probability functions, find the expected value, variance and standard deviation, and model two-outcome situations with Bernoulli and binomial distributions, with and without technology.

  • 8 lessons
  • 2 h 11 min of lessons
  • 12 worked examples
  • 12 hours in the syllabus

Lessons

8
  1. Discrete random variables and probability functions (up next)

    Turn the outcomes of a chance experiment into a number, write its probability function as a table, rule or graph, check that it is valid and read probabilities from it.

  2. Uniform distributions and estimates from data

    Model equally likely outcomes with a uniform discrete random variable, and use relative frequencies from data as point estimates of a probability function when no model is known.

  3. Expected value

    Calculate the mean of a discrete random variable as a probability-weighted average, interpret it as a long-run average, and use it to judge games and decisions.

  4. Variance and standard deviation

    Measure the spread of a discrete random variable with the variance and standard deviation, by the definition and by the quicker computational form, and use them to compare distributions.

  5. Bernoulli distributions

    Model a single trial with two outcomes by a Bernoulli random variable, and derive and use its mean pp and variance p(1−p)p(1 - p).

  6. Bernoulli trials and binomial probabilities

    Recognise when the number of successes in repeated trials is binomial, derive the binomial probability formula from a tree diagram, and use it by hand.

  7. At least, at most and the binomial mean

    Translate at most, at least, no more than, no less than and between into inequalities, calculate cumulative binomial probabilities with and without technology, and use the mean npnp and variance np(1−p)np(1 - p).

  8. Modelling with binomial distributions

    Solve unfamiliar problems with binomial models, including finding the number of trials needed and two-stage problems, and evaluate whether the model's assumptions are reasonable.

  9. Topic quiz

    Ten questions across the topic, from foundation to complex unfamiliar. Your results feed your mastery.

About this topic

How many heads in ten tosses? How many faulty phones in a box of twenty? How much will you win, on average, if you play a game at the Ekka? Each question has a number for an answer, and that number changes by chance. A discrete random variable is the tool for questions like these: it lists the values that can happen and the probability of each.

In this topic you build and read probability functions, estimate them from data, and summarise them with the mean (expected value), variance and standard deviation. Then you meet the two distributions that model yes-or-no situations: the Bernoulli distribution for a single trial and the binomial distribution for the number of successes in nn independent trials. You finish by modelling unfamiliar problems with binomial probabilities, by hand and with a calculator. Everything here builds on Unit 1 probability and leads straight into continuous random variables, sampling and confidence intervals in Unit 4.

Before you start

Builds on Probability and Trigonometric functions.

  • Probability rules from Unit 1: complements, the addition rule, independence and tree diagrams.
  • Combinations (nr)\binom{n}{r} and Pascal's triangle from Unit 1 (the binomial theorem).
  • Relative frequency as an estimate of probability.
  • Mean and standard deviation of a data set (Years 9–10).

What QCAA says you need to know18 dot points

General discrete random variables

5 hours

Bernoulli distributions

2 hours

Binomial distributions

5 hours

Subject matter from the Mathematical Methods General senior syllabus 2025 v1.3 (opens in a new tab), CC BY 4.0 © State of Queensland (QCAA).

The focus areas you can practise on their own. Each one maps to dot points above.

  • Probability functions

    Define a discrete random variable, write its probability function as a table, rule or graph, check it is valid, find an unknown probability and read probabilities from it.

    Practise
  • Uniform discrete distributions

    Recognise equally likely outcomes, write the probability function of a uniform discrete random variable and use it to model chance.

    Practise
  • Estimating probabilities from data

    Turn frequencies from data into relative frequencies and use them as point estimates of a probability function.

    Practise
  • Expected value

    Calculate E(X) as a weighted average, interpret it as a long-run mean, and use it to judge fair games and expected profit.

    Practise
  • Variance and standard deviation

    Calculate Var(X) and the standard deviation of a discrete random variable and use them to compare spread.

    Practise
  • Modelling with discrete random variables

    Build a random variable from a context, find its distribution and summary values, and interpret them, with and without technology.

    Practise
  • Bernoulli distributions

    Model a single two-outcome trial with a Bernoulli random variable and use its mean p and variance p(1 − p).

    Practise
  • Recognising binomial situations

    Check the conditions for a binomial model, identify n and p, and explain when a binomial model does not apply.

    Practise
  • Binomial probabilities

    Calculate P(X = r) with the binomial formula by hand, and cumulative probabilities for "at most", "at least" and "between" with a calculator.

    Practise
  • Binomial mean and variance

    Calculate the mean np, variance np(1 − p) and standard deviation of a binomial distribution, and work back from them to n and p.

    Practise
  • Modelling with binomial distributions

    Solve multi-step and unfamiliar problems with binomial models, including finding n for a required probability, and evaluate the model's assumptions.

    Practise

Worked examples12

All 12

Common mistakes

Forgetting that the probabilities must add to 1

In a probability function every P(X=x)P(X = x) is between 0 and 1 and they add to exactly 1. Use this to find an unknown, and reject any value of kk that makes a probability negative.

Averaging the values instead of weighting them

E⁡(X)\E(X) is ∑pixi\sum p_i x_i, not the plain average of the xx values. The plain average is right only for a uniform distribution.

Squaring the mean in the wrong place

Var⁡(X)=E⁡(X2)−μ2\Var(X) = \E(X^2) - \mu^2, and E⁡(X2)=∑pixi2\E(X^2) = \sum p_i x_i^2 squares each value before weighting. E⁡(X2)\E(X^2) is not (E⁡(X))2(\E(X))^2.

Giving the variance when the standard deviation is asked for

The standard deviation is Var⁡(X)\sqrt{\Var(X)}. Read the question, and remember the variance is in squared units.

Missing the boundary in at least or at most

"At least 3" is P(X≥3)=1−P(X≤2)P(X \ge 3) = 1 - P(X \le 2), not 1−P(X≤3)1 - P(X \le 3). Write the inequality before you use the complement or a calculator.

Using a binomial model when trials are not independent

Drawing without replacement from a small group changes pp from trial to trial, so the number of successes is not binomial. Check all four conditions: fixed nn, two outcomes, constant pp, independent trials.

Leaving out the binomial coefficient

pr(1−p)n−rp^r(1 - p)^{n - r} is the probability of one particular order. Multiply by (nr)\binom{n}{r}, the number of orders.

Writing Bin(n,p)\mathrm{Bin}(n, p) with the variance as the second parameter

The second parameter is the probability of success pp, not the variance or the mean.

Exam tips

  1. Define the random variable in words before you calculate: "Let XX be the number of faulty phones in the box." State the distribution and its parameters: "X∼Bin(20,0.05)X \sim \mathrm{Bin}(20, 0.05)".

  2. Write the probability statement you need, such as P(X≥2)=1−P(X≤1)P(X \ge 2) = 1 - P(X \le 1), before you substitute or press buttons. It earns method marks even if the arithmetic slips.

  3. Paper 1 is technology-free: binomial questions there use small nn and simple pp, and expect the formula with exact fractions. On Paper 2, write the calculator input in mathematical notation, such as P(X≤4)P(X \le 4) with n=15n = 15, p=0.3p = 0.3, and round only at the end.

  4. In a "show that" or "verify" question about a probability function, show both conditions: every probability is between 0 and 1, and the probabilities add to 1.

  5. Give probabilities to 4 decimal places on Paper 2 unless told otherwise, and say whether an expected value is a whole number that can actually occur (often it can't).

  6. When asked to evaluate a binomial model, comment on each condition in context: is pp constant, and are the trials really independent?

  7. Check reasonableness: a binomial mean lies between 0 and nn, a standard deviation is positive, and E⁡(X)\E(X) lies between the smallest and largest values of XX.

Where this shows up

  • Insurance and warranties: a premium is set so that the expected payout, plus costs, is less than what customers pay.

  • Quality control: the number of faulty items in a sample of a production run is modelled with a binomial distribution, and a batch is rejected if too many are found.

  • Medicine: the number of patients in a trial who respond to a treatment, or who have a side effect, is binomial when patients respond independently.

  • Airlines overbook flights using binomial models for the number of passengers who turn up.

  • Sport: a goal kicker's conversion rate gives a Bernoulli model for one kick and a binomial model for a season.

  • Games of chance and lotteries are designed so that the expected value to the player is negative, which is how they make money.

Save your progress with a free account