Resources For Teachers For Tutors For Students & Parents Pricing
Year 11 Maths - Methods (Unit 1 and Unit 2) Discrete probability distributions

Discrete Random Variables

20 practice questions 0 video lessons Theory + worked examples

Understand discrete random variables for Victorian Year 11 Mathematical Methods (VCAA) — a variable whose separate possible values each carry a probability, set out in a distribution table.

You will learn to check that a distribution is valid, find an unknown probability using the fact that all probabilities sum to one, and calculate probabilities such as at most, at least, and between values.

Create a free accountTrack your progress and save your work as you go.
Create free account

Theory

In Year 11 Mathematical Methods (Unit 2), a discrete random variable \(X\) takes separate numerical values, each with its own probability. The table of values and probabilities is its probability distribution. This page shows the two conditions for a valid distribution, how to find a missing probability using the sum-to-one condition, and how to work out cumulative and interval probabilities such as \(\Pr(X\le a)\), \(\Pr(X>a)\) and \(\Pr(a\le X\le b)\), including the complement.

A random variable assigns a number to each outcome of a chance experiment. It is discrete when its possible values are separate (countable), such as \(0,1,2,3,\dots\) — for example the number of heads on two coins, or the number of cars sold in a day.

The probability distribution of \(X\) is the list of every value \(x\) together with its probability \(\Pr(X=x)\). It is usually written as a table, and it must satisfy two conditions.

1. Each probability is between \(0\) and \(1\): \(0\le \Pr(X=x)\le 1\) for every value.
2. The probabilities add to \(1\): \(\sum \Pr(X=x)=1\), because one of the values must occur.

A cumulative probability such as \(\Pr(X\le a)\) is found by adding the probabilities of all the listed values up to and including \(a\).

Valid distribution = every probability in \([0,1]\) and a total of \(1\). If one probability is unknown, the sum-to-one condition pins it down.
A valid discrete probability distributionFour probability bars at x equals 1, 2, 3, 4 whose heights add to one. x y 1 2 3 4
A valid distribution: each bar height is a probability in \([0,1]\), and the four heights add to \(1\).
Cumulative probability as a sum of barsThe bars for x equals 0, 1 and 2 are highlighted; their heights add to give the probability that X is at most 2. x y 0 1 2 3 4
\(\Pr(X\le 2)\) is the sum of the highlighted bars at \(x=0,1,2\).

For a discrete random variable \(X\) with values \(x\) and probabilities \(\Pr(X=x)\):

\[0\le \Pr(X=x)\le 1\qquad\text{and}\qquad \sum \Pr(X=x)=1\]
0P(X=x)1,P(X=x)=1

Cumulative and interval probabilities are sums of the relevant \(\Pr(X=x)\):

\[\Pr(X\le a)=\!\!\sum_{x\le a}\!\Pr(X=x),\qquad \Pr(a\le X\le b)=\!\!\sum_{a\le x\le b}\!\Pr(X=x)\]

The complement often shortens the work:

\[\Pr(X>a)=1-\Pr(X\le a)\]
P(X>a)=1-P(Xa)
Watch the endpoint. \(\le\) and \(\ge\) include the value; \(<\) and \(>\) exclude it. \(\Pr(X\le a)\) and \(\Pr(X

Working with a discrete distribution

  1. Read the table: list each value \(x\) and its probability \(\Pr(X=x)\).
  2. Find an unknown: add all the probabilities, set the total equal to \(1\), and solve. If probabilities are given in terms of \(k\) (like \(k,2k,3k\)), collect the \(k\) terms first.
  3. Range probability: decide which values satisfy the condition — check whether the endpoints are included (\(\le,\ge\)) or excluded (\(<,>\)) — then add those \(\Pr(X=x)\).
  4. Use the complement when it is shorter: \(\Pr(X>a)=1-\Pr(X\le a)\).
Example 1 — Find a missing probability
The discrete random variable \(X\) has the probability distribution shown. Find the value of \(k\).
\(x\)\(1\)\(2\)\(3\)\(4\)
\(\Pr(X=x)\)\(0.1\)\(0.3\)\(0.2\)\(k\)
Solution

Apply the sum-to-one condition — the probabilities add to \(1\):

\(0.1+0.3+0.2+k\)\(=\)\(1\)
\(0.6+k\)\(=\)\(1\)

Solve for \(k\):

\(k\)\(=\)\(1-0.6\)
\(k\)\(=\)\(0.4\)

\(k=0.4\).

Distribution with the missing probability foundThe fourth bar, the value found from the sum-to-one condition, is highlighted. x y 1 2 3 4
k=0.4
Example 2 — Probabilities in terms of \(k\), then a sum
The rule \(\Pr(X=x)=kx\) for \(x=1,2,3,4\) gives the distribution shown. Find \(\Pr(X\le 2)\).
\(x\)\(1\)\(2\)\(3\)\(4\)
\(\Pr(X=x)\)\(k\)\(2k\)\(3k\)\(4k\)
Solution

Find \(k\) from the sum-to-one condition:

\(k+2k+3k+4k\)\(=\)\(1\)
\(10k\)\(=\)\(1\)
\(k\)\(=\)\(0.1\)

Add the probabilities for \(X\le 2\) (values \(x=1\) and \(x=2\)):

\(\Pr(X\le 2)\)\(=\)\(\Pr(X=1)+\Pr(X=2)\)
\(=\)\(k+2k\)
\(=\)\(3(0.1)\)
\(=\)\(0.3\)

\(\Pr(X\le 2)=0.3\).

Probability that X is at most 2The bars for x equals 1 and 2 are highlighted and added to give the probability that X is at most 2. x y 1 2 3 4
P(X2)=0.3
Example 3 — Complement with fractions
For the distribution shown, find \(\Pr(X\ge 2)\).
\(x\)\(1\)\(2\)\(3\)\(4\)
\(\Pr(X=x)\)\(\dfrac{1}{8}\)\(\dfrac{1}{4}\)\(\dfrac{3}{8}\)\(\dfrac{1}{4}\)
Solution

The only value below \(2\) is \(X=1\), so \(\Pr(X\ge 2)=1-\Pr(X=1)\).

Apply the complement:

\(\Pr(X\ge 2)\)\(=\)\(1-\Pr(X=1)\)
\(=\)\(1-\dfrac{1}{8}\)
\(=\)\(\dfrac{7}{8}\)

\(\Pr(X\ge 2)=\dfrac{7}{8}\).

Probability that X is at least 2The bars for x equals 2, 3 and 4 are highlighted; the single left-over bar at x equals 1 is the complement. x y 1 2 3 4
P(X2)=78
Example 4 — Build a distribution from an experiment
Two fair coins are tossed. Let \(X\) be the number of heads. Find (i) \(\Pr(X=1)\) and (ii) \(\Pr(X\ge 1)\).
Solution

List the equally likely outcomes: \(HH,\ HT,\ TH,\ TT\), each with probability \(\dfrac{1}{4}\).

Build the distribution of \(X\) (the number of heads):

\(\Pr(X=0)\)\(=\)\(\tfrac{1}{4}\ (TT)\)
\(\Pr(X=1)\)\(=\)\(\tfrac{2}{4}=\tfrac{1}{2}\ (HT,\ TH)\)
\(\Pr(X=2)\)\(=\)\(\tfrac{1}{4}\ (HH)\)

(i) Reading straight off the distribution, \(\Pr(X=1)=\dfrac{1}{2}=0.5\).

(ii) Use the complement for \(\Pr(X\ge 1)\):

\(\Pr(X\ge 1)\)\(=\)\(1-\Pr(X=0)\)
\(=\)\(1-\dfrac{1}{4}\)
\(=\)\(\dfrac{3}{4}=0.75\)

(i) \(\Pr(X=1)=0.5\)\quad (ii) \(\Pr(X\ge 1)=0.75\).

Number of heads on two coin tossesDistribution of the number of heads: bars at zero, one and two heads, with the one-or-more heads outcomes highlighted. x y 0 1 2
P(X1)=0.75

Common pitfalls

Muddling \(<\) with \(\le\). \(\Pr(X\le 2)\) includes \(X=2\); \(\Pr(X<2)\) does not. The two differ by \(\Pr(X=2)\), so read the words — “at most” and “at least” include the endpoint.
Complement off by one value. \(\Pr(X\ge 2)=1-\Pr(X=1)\) only because \(1\) is the only value below \(2\). In general \(\Pr(X\ge 2)=1-\Pr(X\le 1)\), so subtract every value below the cut-off.
Probabilities that do not total \(1\). A valid distribution must sum to exactly \(1\), with each entry in \([0,1]\). If your total is not \(1\), you have a missing value or an error.
Reading the wrong row. The bottom row holds the probabilities; the top row holds the values \(x\). Add probabilities, never the \(x\)-values.

Frequently asked questions

What is a discrete random variable?

A variable that assigns a number to each outcome of a chance experiment and can only take separate, countable values — such as \(0,1,2,3,\dots\) (for example, the number of heads on two coins).

What makes a probability distribution valid?

Two conditions: every probability satisfies \(0\le \Pr(X=x)\le 1\), and all the probabilities add to \(1\), \(\sum \Pr(X=x)=1\).

How do I find a missing probability?

Add all the probabilities, set the total equal to \(1\), and solve. If they are written in terms of \(k\), collect the \(k\) terms first, e.g. \(10k=1\Rightarrow k=0.1\).

What is the difference between \(\Pr(X\le 2)\) and \(\Pr(X<2)\)?

\(\Pr(X\le 2)\) includes the value \(X=2\); \(\Pr(X<2)\) stops just before it. They differ by \(\Pr(X=2)\).

When should I use the complement?

When the leftover part is shorter to add. For example \(\Pr(X>a)=1-\Pr(X\le a)\), which saves adding many terms.

How do I build a distribution from an experiment?

List the equally likely outcomes, group them by the value of \(X\), and count: \(\Pr(X=x)\) is the number of outcomes giving that value divided by the total.