IB Maths AA SL Topic 4 β€” Statistics Toolkit Paper 1 & 2 ~7 min read

Linear Transformations of Data

If you take a data set and add 10 to every value, what happens to the mean? What about the standard deviation? This note gives you the quick rules β€” so you don’t have to recalculate from scratch when the data gets shifted or scaled.

πŸ“˜ What you need to know

What is a linear transformation?

Sometimes data is awkward to work with β€” values too big, too small, or in unfriendly units. A linear transformation just means applying the same rule to every value at once.

Linear transformation
new value = k Γ— (old value) + a

Example uses:

You may have heard this called “linear coding” or “effects of constant changes”. Same thing. The IB usually phrases it as a real-life situation β€” like a teacher standardising scores or an athlete adjusting times.

The two building blocks

Any linear transformation is made up of two simple operations:

+ a   (a SHIFT)

Add (or subtract) a constant. Every value moves by the same amount, like sliding the whole data set up or down.
Mean: shifts by + a
SD: unchanged
Variance: unchanged

Γ— k   (a SCALE)

Multiply (or divide) by a constant. The data stretches or shrinks β€” values further apart spread out more.
Mean: multiplied by k
SD: multiplied by |k|
Variance: multiplied by kΒ²
How shifts and scales affect the data
Original: mean Γ— + shift: Γ— moved right β†’ spread unchanged Γ— scale: Γ— spread doubles ↔ Γ— = mean

πŸ€” Why doesn’t shifting change the spread?

Imagine the data as a row of dots on a number line. If you slide every dot to the right by 10, the dots are still the same distances apart β€” only their position changed. So the mean moves, but the variance and SD (which measure spread) stay the same.

Compare that to scaling: if you double every value, the gaps between dots also double. The data stretches out, so the spread grows.

The combined rule (the big table)

If you transform data by new = k Γ— old + a, here’s what happens to each measure:

MeasureAdd a onlyMultiply by k onlyBoth: kx + a
Mean (xΜ„)xΜ„ + ak xΜ„k xΜ„ + a
Variance (σ²)σ²kΒ² σ²kΒ² σ²
SD (Οƒ)Οƒ|k| Οƒ|k| Οƒ
🧠

Memory trick: “Mean does everything, spread only stretches”

The mean reacts to both shifts and stretches β€” it’s a “where” measure, so it moves and scales. The SD and variance are “spread” measures β€” they don’t care if you shift the data, only when you stretch it.

πŸ“

Why |k| for SD but kΒ² for variance?

Variance squares everything, so a negative k automatically becomes positive (kΒ² is always positive). Standard deviation is the square root of variance β€” taking the root brings back the absolute value, hence |k|.

Quick check: SD must always be positive! That’s why we use |k|, not k.

For the IB exam, the most common transformation is “scale then shift” β€” like 2Γ— + 10 for standardised scores. Treat the multiplication and the addition as two separate operations, and apply the rules to each.

Worked examples

WE 1

Find the mean and SD after standardising scores

A teacher’s raw test scores have mean 31 and standard deviation 5. The teacher standardises the scores by doubling each one, then adding 10.

(a) Find the mean of the standardised scores.   (b) Find the standard deviation of the standardised scores.

new score = 2 Γ— raw + 10,   raw mean = 31,   raw SD = 5 k = 2, a = 10. Apply the transformation rules to each measure.part (a) β€” new mean Multiply mean by k, then add a: new mean = 2 Γ— 31 + 10 = 62 + 10 = 72 New mean = 72part (b) β€” new sd SD is multiplied by |k|, NOT shifted by a: new SD = |2| Γ— 5 = 10 New SD = 10 “+ 10” doesn’t affect the SD β€” only the multiplication by 2 does
WE 2

Effect of just a shift

A data set of weights has mean 65 kg and standard deviation 4 kg. Each weight is reduced by 3 kg. Find the new mean and SD.

new = old βˆ’ 3,   mean = 65,   SD = 4 Pure shift (k = 1, a = βˆ’3). The SD won’t change. New mean: 65 βˆ’ 3 = 62 New SD: unchanged = 4 New mean = 62 kg,   New SD = 4 kg shift moves the data; doesn’t change how spread out it is
WE 3

Convert kg to g and find new mean, variance, SD

The masses of 50 apples have mean 0.18 kg and SD 0.04 kg. The masses are converted from kg to g (multiply by 1000). Find the new mean, variance, and SD.

new = 1000 Γ— old (kg β†’ g),   mean = 0.18,   SD = 0.04 Pure scale (k = 1000, a = 0). New mean: 1000 Γ— 0.18 = 180 New SD: |1000| Γ— 0.04 = 40 New variance: 1000Β² Γ— (0.04)Β² = 1,000,000 Γ— 0.0016 = 1600 Mean = 180 g,   SD = 40 g,   Variance = 1600 gΒ² always check: new SD = √(new variance) β†’ √1600 = 40 βœ“
WE 4

Effect of a negative scale factor

A set of times has mean 12.5 seconds and standard deviation 2.4 seconds. Each time is transformed by the rule: new = βˆ’3 Γ— old + 50. Find the new mean and SD.

new = βˆ’3 Γ— old + 50,   mean = 12.5,   SD = 2.4 k = βˆ’3, a = 50. Watch the sign for SD! New mean: βˆ’3 Γ— 12.5 + 50 = βˆ’37.5 + 50 = 12.5 New SD: use |k|, not k: new SD = |βˆ’3| Γ— 2.4 = 3 Γ— 2.4 = 7.2 New mean = 12.5,   New SD = 7.2 if you used k = βˆ’3 instead of |k|, you’d get a negative SD β€” impossible!
WE 5

Work backwards to find the original data

After applying the transformation new = 4 Γ— old βˆ’ 7, a data set has mean 25 and SD 12. Find the mean and SD of the original data.

new mean = 25,   new SD = 12,   k = 4, a = βˆ’7 Use the rules in reverse: undo the SD scaling first, then undo the mean.old sd new SD = |k| Γ— old SD, so: 12 = 4 Γ— old SD β†’ old SD = 3 Old SD = 3old mean new mean = k Γ— old mean + a: 25 = 4 Γ— old mean βˆ’ 7 32 = 4 Γ— old mean β†’ old mean = 8 Old mean = 8 reverse the formula like solving any linear equation β€” undo the multiply, then undo the add

πŸ’‘ Top tips

⚠ Common mistakes

Linear transformations come up everywhere β€” unit conversions, standardised tests, currency exchanges. The next note covers outliers: how to spot extreme values that ruin your statistics, and what to do about them.

Need help with Linear Transformations of Data?

Get 1-on-1 help from an IB examiner who knows exactly what Paper 1 & 2 are looking for.

Book Free Session β†’