Four quick ones from earlier work. Try each on paper before you open the answer; a slip here shows you what to watch for later in the lesson.
Four probabilities in a table are 0.2, 0.3, 0.4 and k, and they cover every possible value. Find k.
Answer
0.2 + 0.3 + 0.4 = 0.9, so k = 1 − 0.9 = 0.1. Every complete distribution adds to exactly 1, which is how a missing value is found.
Work out 2 × 0.1 + 4 × 0.4 + 6 × 0.5.
Answer
0.2 + 1.6 + 3 = 4.8. Multiply each pair first and then add, with the decimal points lined up. This is exactly the shape of ΣxP(X = x).
Find the mean of the three values 2, 2 and 5.
Answer
(2 + 2 + 5) ÷ 3 = 3. The value 2 appears twice, so it pulls the mean towards 2. Probabilities do the same job as repeats.
Write 7/20 as a decimal.
Answer
0.35, since 7 ÷ 20 = 0.35. A distribution given as fractions often has to be turned into decimals before you multiply.
Words used in this lesson
random variable
a quantity whose value depends on chance; written with a capital letter such as X. For example: X is the number a die lands on.
distribution
a list of all possible values with their probabilities. For example: a table of values and probabilities.
discrete
takes separate values, usually whole numbers you can count. For example: the number of children in a family.
expected value E(X)
the long-run average of the variable; the balance point. For example: the average score over many rolls of a die.
sum to 1
when you add all the probabilities, the total is exactly one. For example: 0.5 and 0.5 sum to 1.
stake
the amount you pay to play a game. For example: paying 2 to enter a raffle.
prize
the amount you receive if you win. For example: a prize of 20 for the winning ticket.
gain
what you win minus what you paid; it can be negative. For example: win 5, pay 2, gain 3.
fair game
a game where the expected gain is zero. For example: neither side loses money in the long run.
hence
use the result you have just found. For example: “find k, and hence E(X)” means use your value of k.
Predict first. Probability is moved from the bar at 1 onto the bar at 4. Will E(X) go up or down, and will the balance point move as quickly as the probability does, or more slowly? Decide before you look.
Then check
Press Shift and watch the triangle underneath the bars as the probability moves. Compare how far the triangle travels with how far the probability moved, and note where it comes to rest.
Here is a distribution on 1, 2, 3, 4. The triangle underneath is the
balance point, and it sits at E(X). Shift the
probability and watch where it has to move to keep the bars balanced.
1.000probabilities sum to
3.18E(X)
4most likely value
E(X) = 3.18, most likely value = 4. They are different questions and usually different answers.
E(X) is not the value you expect. It
is the long-run average, so it is a balance point, not a prediction. The most
likely value is the tallest bar, and the two are usually different numbers. A
family cannot have 2.4 children and a die cannot land on 3.5, and both are
perfectly good expected values.
The two things every distribution must satisfy
Every probability is between 0 and 1.
They add to exactly 1. That is usually how an unknown in
the table is found.
Worked example
x
1
2
3
4
P(X = x)
0.1
0.2
0.3
0.4
x × P
0.1
0.4
0.9
1.6
ΣP(X = x)=0.1 + 0.2 + 0.3 + 0.4 = 1always check this firstE(X)=Σx P(X = x) = 0.1 + 0.4 + 0.9 + 1.6 = 3here it does land on a value, which is the exception
On the GDC. Applications allows a calculator in every paper
(Analysis Paper 1 does not, so AA students need the hand method too), and a long
table is quicker as two lists. Put the values of x in one list and the
probabilities in the next, then add up the products.
TI-Nspire CX II: in Lists & Spreadsheet name the columns x and p.
On a Calculator page use menu → Statistics →
List Math → Sum of Elements and type sum(x·p).
Casio fx-CG50: in Statistics put x in List 1 and the probabilities in
List 2. In Run-Matrix use OPTN → LIST →
Sum and type Sum(List 1 × List 2).
Run the same sum on the probability list alone first.
If it is not 1, the table is not a distribution. Still write ΣxP(X = x) out
with the products in your working: the method mark is for that line, not for the
number on the screen.
The rest of this lesson is in the full course
Still to come in this lesson:
Fair games
A second example, finished by you
Check before you go on
Where it decides something
and 4 more
In the full lesson every figure moves as you drag it, and every answer you type is checked, with a note on what each wrong answer means.
IB Diploma plan: AI SL$99Every Diploma lesson in both courses and both levels, so a change of course never locks you out, and every lesson from Year 7 for the refreshers. This lesson is in AA and in AI: choose your own course below. $99 for 12 months or $149 for 2 years.
One payment. Nothing renews. Full refund within 30 days. Prices are in US$; Gumroad shows your local currency at checkout. Pay by card on Gumroad, then come back here and type the email you paid with: we email you a sign-in link. For a refund, reply to your Gumroad receipt or email hello@ksmaths.com.