KS Maths
Topic 4.14 · AI Higher Level

Transforming and combining random variables

Moving it does not spread it out

Linear transformations, combining variables, and the unbiased estimates that divide by n − 1.

Words you need (10 key words in this lesson)

The maths words this lesson uses, in plain English. Open this before you start if English is not your first language.

variable
A letter that stands for a number that can change.In y = 2x, x and y are variables.
random
Chosen by chance, with no pattern.A random number is picked by chance.
variance
The standard deviation squared. A measure of spread.Variance is standard deviation squared.
square
Multiply a number by itself. Also, a shape with four equal sides and four right angles.5 squared is 25.
mean
The total of all values divided by how many values there are.The mean of 2, 4, 6 is 4.
multiply
Add the same number many times. Find a product.3 multiplied by 4 is 12.
standard deviation
A number that shows how far data are from the mean on average.A small standard deviation means data are close together.
sample
A small group chosen from a bigger group.We asked a sample of 50 students.
estimate
Find an answer that is close, but not exact.Estimate 19 times 21 as 20 times 20.
add
Put numbers together to find the total.Add 3 and 4 to get 7.

Preview You are reading the start of this lesson. The rest opens with a plan. See plans Already paid? Sign in

Warm-up

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.

  1. Work out 4² × 1.5.
    Answer

    16 × 1.5 = 24. Square first, then multiply. Squaring the number after multiplying, (4 × 1.5)² = 36, is the order slip.

  2. Every value in a data set is multiplied by 3 and then 4 is added. The old mean was 10. What is the new mean?
    Answer

    3 × 10 + 4 = 34. A mean follows the same arithmetic as each value: multiply, then add. That is E(aX + b) = aE(X) + b in words.

  3. For the values 2, 6 and 10, find the sum of the squared deviations from the mean.
    Answer

    The mean is 6, so (2 − 6)² + (6 − 6)² + (10 − 6)² = 16 + 0 + 16 = 32. Squared deviations are the raw material of every variance.

  4. Someone works out a variance and gets −3. Could that be right? Why or why not?
    Answer

    No. A variance is built from squared deviations, which are never negative, so a variance of −3 means there is a mistake. That is the quick check that catches the wrong rule Var(X − Y) = Var(X) − Var(Y).

Words used in this lesson
constant
a number that does not change. For example: in 4X + 7, the number 7 is a constant.
variance
a measure of spread: the average squared distance from the mean. For example: a larger variance means the data is more spread out.
standard deviation
the square root of the variance. For example: a variance of 9 gives a standard deviation of 3.
independent
knowing one tells you nothing about the other. For example: the scores on two dice rolled separately.
linear transformation
a change of the form aX + b: multiply, then add. For example: converting a temperature from one scale to another.
unbiased
right on average: not too high and not too low in the long run. For example: over many samples, the estimates average out to the true value.
estimate
a value worked out from a sample to say something about the whole population. For example: using a sample mean to estimate the population mean.
population
the whole group that a question is about. For example: all the students in a school.
sample
the part of the population you collected data from. For example: the 30 students you asked.
show that
work through the steps so that the given result is proved. For example: “show that E(2X + 1) = 11 when E(X) = 5”: the working must reach 11.

Predict first. Keep b = 0 and double a from 1 to 2. By what factor do you expect the variance to change: 2, 4, or something else? And what about the standard deviation? Decide before you look.

Then check

Set a to 2 and read the variance and the standard deviation. Then try a = 3. Which number is multiplied by a, and which by something bigger? Say what the pattern is.

Higher Level

Here is a distribution. a stretches it, b slides it. Watch the mean and the variance underneath: only one of the two controls touches the variance.

the distribution of aX + bX has mean 20, variance 25-2020406080X± 1 sd
20.0E(aX + b)
25.0Var(aX + b)
5.0standard deviation

Slide b as far as you like. The variance never moves.

The two rules

E(aX + b) = aE(X) + b     Var(aX + b) = a2Var(X)

No b in the variance, and the a is squared. Adding a constant moves everything by the same amount, so no value gets further from any other and the spread is untouched. Multiplying by a stretches every gap by a, and variance is built from squared gaps.

The rest of this lesson is in the full course

Still to come in this lesson:

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 HL$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. $99 for 12 months or $149 for 2 years.

One plan opens every Diploma lesson, AA and AI, SL and HL, for the whole family.

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.

Try a free sample lesson in every unit, and the whole Skill Tree. See this unit.

Already have a revision pack or the Years 7 to 11 plan? Move up and the unused part of what you paid comes off.

Teaching students who need extra support? Student codes for 5, 10 or 30 students.

AI HL Mock Exam Pack, $25BuyPlan $99