4. Statistics and Probability

Linear Transformations Of Data

Linear Transformations of Data ๐Ÿ“Š

Welcome, students! In this lesson, you will learn how statisticians change data using simple rules called linear transformations. These transformations are important because real-world data is often measured in different units, adjusted for inflation, or shifted to a new scale. Understanding them helps you compare data fairly and interpret graphs correctly.

What You Will Learn ๐ŸŽฏ

By the end of this lesson, students, you should be able to:

  • explain what a linear transformation of data is,
  • describe how adding, subtracting, multiplying, or dividing data affects statistical measures,
  • connect these ideas to data collection and statistical description,
  • use clear reasoning to predict the effect of a transformation on the mean, median, quartiles, range, and standard deviation,
  • recognize how transformed data appears in statistics and probability problems.

A linear transformation changes each data value using a rule of the form $y=ax+b$, where $a$ and $b$ are constants. This may look simple, but it has a big impact on how we interpret data. For example, converting temperatures from Celsius to Fahrenheit uses a linear transformation. So does changing currency from dollars to euros, or adding a fixed bonus to every exam score.

1. What Is a Linear Transformation of Data? ๐Ÿ”„

A linear transformation of data means every value in a data set is changed using the same linear rule. If the original value is $x$, the transformed value is $y=ax+b$.

There are two main parts:

  • multiplying by $a$, which scales the data,
  • adding $b$, which shifts the data.

If $a>1$, the data spreads out more. If $0<a<1$, the data becomes more compressed. If $b$ is positive, all values move up by the same amount. If $b$ is negative, all values move down.

For example, suppose a studentโ€™s quiz scores are $60$, $70$, and $80$. If every score is increased by $5$, the new scores are $65$, $75$, and $85$. This is a transformation with $a=1$ and $b=5$.

If every score is doubled, the new scores are $120$, $140$, and $160$. This is a transformation with $a=2$ and $b=0$.

These ideas matter because statistics is not just about finding numbers. It is also about understanding what happens when the data changes. ๐Ÿ“ˆ

2. Effects on Measures of Center and Spread ๐Ÿ“

The most useful part of linear transformations is knowing how they affect summary statistics.

Measures of center

If a data set is transformed using $y=ax+b$, then the mean, median, and mode change in predictable ways.

  • The new mean is $a\bar{x}+b$.
  • The new median is $a\text{(median)}+b$.
  • The new mode is $a\text{(mode)}+b$.

This works because every data value changes in the same way.

Example: If the original scores are $50$, $60$, $70$, then the mean is $\bar{x}=60$. If the transformation is $y=x+10$, the new scores are $60$, $70$, $80$, and the new mean is $70$. That matches $\bar{y}=\bar{x}+10=70$.

Measures of spread

For spread, some statistics change and some do not.

  • The range is multiplied by $|a|$.
  • The interquartile range is multiplied by $|a|$.
  • The standard deviation is multiplied by $|a|$.
  • The variance is multiplied by $a^2$.

Notice that the shift $b$ does not affect spread at all. Adding the same number to every data point moves the whole data set up or down, but it does not make the data more or less spread out.

For example, if all test scores increase by $20$, the mean increases by $20$, but the standard deviation stays the same. This is useful when comparing performance before and after a constant bonus or a change in scale.

3. Why Multiplying and Adding Matter in Real Life ๐ŸŒ

Linear transformations appear everywhere in daily life.

Temperature conversion

A famous example is converting Celsius to Fahrenheit:

$$F=\frac{9}{5}C+32$$

This is a linear transformation with $a=\frac{9}{5}$ and $b=32$.

If a cityโ€™s average temperature is $20^\circ\text{C}$, then the Fahrenheit equivalent is

$$F=\frac{9}{5}(20)+32=68$$

So the same temperature can be described on two different scales.

Money and inflation

Suppose prices increase by a fixed amount, or a salary gets a percentage raise. These are examples of transformations. If a worker earns $x$ dollars and receives a $10\%$ raise, the new salary is $y=1.1x$.

That changes the center and spread of the salary data in a predictable way. If every salary is multiplied by $1.1$, then all measures of spread are also multiplied by $1.1$.

School scores

If a teacher adds $5$ bonus points to every test, then the order of scores stays the same, but the mean and median rise by $5$. The spread stays unchanged.

This helps students see why linear transformations are not just algebraโ€”they are a practical tool for making fair comparisons. โœ…

4. Transformations and Graphical Interpretation ๐Ÿ“‰

When a data set is displayed using a dot plot, histogram, box plot, or scatter plot, a linear transformation changes the graph in a systematic way.

If $y=x+b$, the entire graph shifts vertically if the data is on a number line, but the shape stays the same. If $y=ax$, the graph stretches or shrinks horizontally along the number line of values.

For histograms and box plots:

  • adding $b$ moves the whole distribution without changing its shape,
  • multiplying by a positive $a$ stretches or compresses the distribution,
  • multiplying by a negative $a$ reflects the data across $0$ and reverses order.

In IB Mathematics Analysis and Approaches SL, it is important to interpret these changes carefully. For example, if a distribution is right-skewed and each value is doubled, it remains right-skewed, but the distances between values become larger.

Example: Consider the data $2, 4, 6, 8.

  • Original mean: $\bar{x}=5$
  • Original range: $8-2=6$

If we transform using $y=3x$, the new data are $6, 12, 18, 24.

  • New mean: $15$
  • New range: $24-6=18$

The mean and range both became $3$ times larger, matching the rule.

5. Connection to Statistical Reasoning ๐Ÿง 

Linear transformations help you think like a statistician because they show which features of the data are essential and which depend only on the measurement scale.

Suppose two classes took different versions of a test, and one version is marked out of $50$ while another is marked out of $100$. If all scores on the first test are doubled, then the transformed data can be compared with the second test more fairly.

This connects to data collection and statistical description because the way data is measured affects how we summarize it. Sometimes raw values are not enough. We need to convert or standardize them before comparing.

A useful idea is that linear transformations preserve the overall ordering of data when $a>0$. If $x_1<x_2$, then after transforming with $y=ax+b$ and $a>0$, we still have $y_1<y_2$. That means the relative ranking of values stays the same.

If $a<0$, the order reverses. This is less common in context, but it is mathematically important.

Example: If $x=2$ and $x=5$, and $y=-x+10$, then the transformed values are $8$ and $5$. The larger original value becomes the smaller transformed value.

6. Working Through a Full Example ๐Ÿงฉ

Suppose the data set is $3, 7, 8, 12.

First find the original statistics:

  • mean: $\bar{x}=\frac{3+7+8+12}{4}=7.5$
  • median: $\frac{7+8}{2}=7.5$
  • range: $12-3=9$

Now apply the transformation $y=2x+1$.

The new data are:

  • $y=2(3)+1=7$
  • $y=2(7)+1=15$
  • $y=2(8)+1=17$
  • $y=2(12)+1=25$

So the transformed set is $7, 15, 17, 25.

Now compute the new statistics:

  • new mean: $2(7.5)+1=16$
  • new median: $2(7.5)+1=16$
  • new range: $2(9)=18$

These results match the rules exactly. This is a strong sign that the algebra and the statistics are working together correctly.

Conclusion โœ…

Linear transformations of data are one of the most useful ideas in statistics and probability. They help students understand how changing a scale affects the center, spread, and interpretation of data. A transformation of the form $y=ax+b$ can shift data, stretch it, compress it, or reflect it. The mean, median, and mode change by the same rule, while spread measures like the range, interquartile range, standard deviation, and variance change in predictable ways.

These ideas appear in real life in temperature conversion, marks adjustment, money conversion, and any situation where data must be compared across scales. In IB Mathematics Analysis and Approaches SL, understanding linear transformations helps you interpret data more accurately and reason clearly about statistical results.

Study Notes

  • A linear transformation of data has the form $y=ax+b$.
  • Adding $b$ shifts all values by the same amount.
  • Multiplying by $a$ stretches, compresses, or reflects the data.
  • The mean, median, and mode transform using the same rule $y=ax+b$.
  • The range, interquartile range, and standard deviation are multiplied by $|a|$.
  • The variance is multiplied by $a^2$.
  • Adding a constant does not change the spread of the data.
  • If $a>0$, the order of data values stays the same.
  • If $a<0$, the order of data values reverses.
  • Linear transformations are used in temperature conversion, scaling exam scores, and converting units.
  • In statistics, they help compare data fairly and interpret graphs correctly.
  • Understanding transformations strengthens reasoning across the topic of Statistics and Probability.

Practice Quiz

5 questions to test your understanding

Linear Transformations Of Data โ€” IB Mathematics Analysis And Approaches SL | A-Warded