IB MATHEMATICS: APPLICATIONS AND INTERPRETATION • STATISTICS AND PROBABILITY

Data Representation & Summary Stats — SL 4.1 Data representation and summary statistics (mean, median, quartiles, IQR, standard deviation)

Learn to summarize and visualize data sets using the measures that reveal center, spread, and shape.

Historical Context & Motivation

Humans have been collecting data for thousands of years — ancient civilizations tracked harvests, populations, and star positions. But raw numbers on their own can be overwhelming. Imagine scrolling through a spreadsheet of 10,000 exam scores: without some way to condense that information, you would have no idea whether the class performed well or poorly. The field of descriptive statistics was developed precisely to solve this problem — turning mountains of raw data into a handful of meaningful numbers and clear visuals that tell a story.

1663
John Graunt's Mortality Tables
English statistician John Graunt published one of the first systematic analyses of data, summarizing London death records to reveal patterns in causes of mortality — pioneering the idea that raw data could be condensed into useful summaries.
1812
Laplace Formalizes the Mean
Pierre-Simon Laplace published Théorie analytique des probabilités, rigorously defining the arithmetic mean and connecting it to probability theory, giving the 'average' a solid mathematical foundation.
1887
Francis Galton and Quartiles
Francis Galton introduced the concept of quartiles and percentiles to describe the spread of data distributions, giving statisticians tools beyond just the average.
1893
Karl Pearson and Standard Deviation
Karl Pearson coined the term 'standard deviation' and developed it as the primary measure of spread, building on earlier work by Gauss. This measure became the backbone of modern statistical analysis.
1977
John Tukey's Box Plot
American mathematician John Tukey introduced the box-and-whisker plot, a simple visual that displays the median, quartiles, and potential outliers in a single diagram — revolutionizing how data is explored.

The central question that drives SL 4.1 is deceptively simple: how can we describe an entire data set using just a few numbers and a picture? The answer involves two complementary ideas — measures of central tendency (where is the 'middle' of the data?) and measures of spread (how spread out are the values?). Together with graphical representations, these tools let you compare data sets, spot outliers, and communicate findings clearly.

Core Principles & Definitions

Before diving into formulas, it helps to understand the big ideas that organize this topic. Every data set has a center — a single value that represents the 'typical' item — and a spread — a measure of how much the individual values differ from that center. Understanding both gives you a much richer picture than either one alone. A class that averages 75% on a test could have every student scoring between 70% and 80%, or it could have half scoring 50% and half scoring 100% — the average is the same, but the stories are completely different.

1

Measures of Central Tendency

The mean (arithmetic average) adds all values and divides by the count. The median is the middle value when data is ordered. The mode is the most frequent value. Each captures 'center' in a different way.
2

Quartiles and Five-Number Summary

When data is ordered, Q₁ (lower quartile) marks the 25th percentile, Q₂ is the median (50th percentile), and Q₃ (upper quartile) marks the 75th percentile. Together with the minimum and maximum, these form the five-number summary.
3

Interquartile Range (IQR)

The IQR equals Q₃ − Q₁ and captures the range of the middle 50% of the data. Because it ignores extreme values, the IQR is a robust measure of spread — it is not easily distorted by outliers.
4

Standard Deviation

The standard deviation (σ for a population, s for a sample) measures the average distance of each data point from the mean. A small standard deviation means values cluster tightly around the mean; a large one means they are widely spread.
5

Data Representation

Graphs such as histograms, box-and-whisker plots, and cumulative frequency curves turn numbers into visuals. These representations reveal shape (symmetric, skewed), center, spread, and outliers at a glance — things that are hard to see in a table of numbers.
KEY TAKEAWAY
Think of summary statistics like a movie trailer. The mean and median tell you the main plot (center), while the IQR and standard deviation show you how action-packed it is (spread). The trailer (graph) lets you see the overall feel of the movie at a glance, even if you haven't watched every minute. Together, these summaries help you understand the full data set without examining every single value.

Visual Explanation — The Box-and-Whisker Plot

The box-and-whisker plot (or box plot) is one of the most compact and informative ways to display a data set. It shows the five-number summary — minimum, Q₁, median, Q₃, and maximum — in a single diagram. The 'box' spans from Q₁ to Q₃, so its width represents the IQR. A line inside the box marks the median. The 'whiskers' extend from the box to the smallest and largest values (or to a boundary defined by 1.5 × IQR from each quartile, with anything beyond marked as an outlier).

This box-and-whisker plot displays a data set with minimum 15, Q₁ = 30, median = 45, Q₃ = 60, and maximum 67. The IQR of 30 (shown by the amber bracket) tells us the middle 50% of values span 30 units. Notice how the median line inside the box shows the center of the data at a glance.

Looking at the diagram, you can see several things instantly. The left whisker (from 15 to 30) is shorter than the right whisker (from 60 to 67), suggesting the data might be slightly skewed to the left — there are values further below the median than above it. The box itself is relatively wide, indicating moderate variability in the central half of the data. If the median line were exactly centered in the box, the middle 50% of the data would be symmetric. In this case the median is closer to Q₃ than to Q₁, hinting that the lower half of the data is more spread out than the upper half.

Mathematical Framework

Now let's formalize the key formulas you will use in SL 4.1. Your GDC (graphing display calculator) can compute all of these, but understanding what each formula does is essential for interpreting results and answering exam questions that ask you to explain your reasoning.

ARITHMETIC MEAN
x̄ = (x₁ + x₂ + … + xₙ) / n = Σxᵢ / n
where is the mean, xᵢ represents each data value, and n is the total number of data values. The mean is sensitive to every value in the data set, including outliers.
MEDIAN
Median = x₍₍ₙ₊₁₎/₂₎ (if n is odd) or (x₍ₙ/₂₎ + x₍ₙ/₂₊₁₎) / 2 (if n is even)
First arrange the data in ascending order. If there is an odd number of values, the median is the middle one. If there is an even number, the median is the average of the two middle values. The median is resistant to outliers, making it a useful alternative to the mean for skewed data.
INTERQUARTILE RANGE
IQR = Q₃ − Q₁
where Q₁ is the median of the lower half and Q₃ is the median of the upper half. The IQR measures the spread of the central 50% of the data. Outliers are often identified as points more than 1.5 × IQR below Q₁ or above Q₃.
STANDARD DEVIATION (POPULATION)
σ = √[ Σ(xᵢ − μ)² / n ]
where μ is the population mean and n is the population size. For a sample, replace μ with x̄ and divide by (n − 1) instead of n. Standard deviation measures the 'average' distance of data points from the mean. In IB SL 4.1 your GDC gives both σₙ (population) and σₙ₋₁ (sample) — use whichever the question context requires.
🔢 GDC Tip
On the TI-84 or TI-Nspire, enter your data into a list and run 1-Var Stats. The output gives you x̄, Σx, σx (population SD), Sx (sample SD), n, Med, Q₁, Q₃, Min, and Max — every number you need for this topic. On the Casio fx-CG50, use the Statistics module. Always double-check which σ value you are reading.

Understanding Data Shape — Histograms and Distributions

Summary statistics tell you where the center is and how spread out the data is, but they don't tell you everything. A histogram groups data into intervals (called bins or classes) and uses bar heights to show frequency. The shape of the histogram — whether it is symmetric, skewed left, or skewed right — determines which measures of center and spread are most appropriate. For a symmetric distribution, the mean and median are approximately equal, and standard deviation is the natural measure of spread. For a skewed distribution, the median and IQR are preferred because they resist the pull of outliers.

Three histogram shapes showing how skewness affects the relationship between the mean and median. In a symmetric distribution they nearly coincide. In right-skewed data the mean is pulled toward the long right tail, while in left-skewed data the mean is pulled toward the left tail.

The key insight from this diagram is practical: when you are told that a data set is skewed, you should report the median and IQR rather than the mean and standard deviation. The median sits near the bulk of the data, whereas the mean gets dragged toward the tail. In IB exams, you may be asked to justify your choice of summary statistic — always connect it to the shape of the distribution.

Choosing the right summary statistic based on data shape
Distribution ShapeBest Measure of CenterBest Measure of Spread
SymmetricMean (x̄)Standard deviation (σ or s)
Skewed (left or right)MedianIQR
Data with outliersMedianIQR

Worked Example — Full Analysis of a Data Set

A teacher records the scores (out of 50) of 12 students on a quiz: 18, 22, 25, 28, 30, 33, 35, 36, 38, 40, 42, 48. Find the mean, median, Q₁, Q₃, IQR, and standard deviation. Then determine whether the mean or median is a better measure of center.

Analyzing Quiz Scores
1
Step 1 — Order the DataThe data is already in ascending order: 18, 22, 25, 28, 30, 33, 35, 36, 38, 40, 42, 48. There are n = 12 values.
n = 12 (even number of data points)
2
Step 2 — Calculate the MeanSum all values: 18 + 22 + 25 + 28 + 30 + 33 + 35 + 36 + 38 + 40 + 42 + 48 = 395. Divide by n: x̄ = 395 / 12 ≈ 32.9.
x̄ ≈ 32.9
3
Step 3 — Find the MedianSince n = 12 (even), the median is the average of the 6th and 7th values. The 6th value is 33 and the 7th value is 35. Median = (33 + 35) / 2 = 34.
Median = 34
4
Step 4 — Find Q₁ and Q₃Split the data into two halves of 6 values each. Lower half: 18, 22, 25, 28, 30, 33. The median of the lower half (Q₁) is the average of the 3rd and 4th values: Q₁ = (25 + 28) / 2 = 26.5. Upper half: 35, 36, 38, 40, 42, 48. Q₃ = (38 + 40) / 2 = 39.
Q₁ = 26.5, Q₃ = 39
5
Step 5 — Calculate IQRIQR = Q₃ − Q₁ = 39 − 26.5 = 12.5. This means the middle 50% of quiz scores span 12.5 marks.
IQR = 12.5
6
Step 6 — Calculate Standard DeviationUsing the population formula: first find each deviation (xᵢ − x̄), square it, sum the squares, divide by n, then take the square root. Σ(xᵢ − 32.9)² = (−14.9)² + (−10.9)² + (−7.9)² + (−4.9)² + (−2.9)² + (0.1)² + (2.1)² + (3.1)² + (5.1)² + (7.1)² + (9.1)² + (15.1)² = 222.01 + 118.81 + 62.41 + 24.01 + 8.41 + 0.01 + 4.41 + 9.61 + 26.01 + 50.41 + 82.81 + 228.01 = 836.92. Variance = 836.92 / 12 ≈ 69.74. Standard deviation σ = √69.74 ≈ 8.35.
σ ≈ 8.35
7
Step 7 — Interpret the ResultsThe mean (32.9) and median (34) are close, suggesting the distribution is roughly symmetric. Since there are no extreme outliers, either the mean or median is a reasonable measure of center. In this case, you could report both. The standard deviation of about 8.35 tells us that a typical score deviates from the mean by roughly 8 marks.
Roughly symmetric → mean and median both appropriate

Strengths & Limitations of Each Measure

Each summary statistic has strengths and weaknesses. Choosing the right one depends on the data's shape, the presence of outliers, and the question you are trying to answer. The table below compares the four main measures you need for SL 4.1.

Comparison of summary statistics — choose based on data shape and purpose
MeasureStrengthsLimitations
Mean (x̄)Uses every data value; well understood; algebraically useful for further calculations.Sensitive to outliers and skewed data; a single extreme value can shift the mean significantly.
MedianResistant to outliers; represents the 'typical' value in skewed distributions; easy to understand.Does not use every data value; harder to use in further algebraic calculations.
IQRResistant to outliers; focuses on the central 50% of data; useful for identifying outliers via the 1.5 × IQR rule.Ignores 50% of the data (the tails); less informative when the full spread matters.
Standard Deviation (σ / s)Uses every data value; foundation for normal distribution and advanced statistics; allows precise comparisons.Sensitive to outliers; harder to interpret intuitively; units are the same as the data, but the formula is complex.
KEY TAKEAWAY
Think of the mean like the balance point of a seesaw — one heavy person at the end shifts it dramatically. The median is like the person standing in the middle of a line — adding someone very tall or very short at one end doesn't change who is in the middle. In real life, salary data is often reported as median income rather than mean income because a few billionaires would drag the mean way up, giving a misleading impression of what a 'typical' person earns.

Connection to Advanced Topics

The summary statistics you learn in SL 4.1 are the building blocks for nearly every other topic in IB Statistics and Probability. Understanding how the mean and standard deviation describe a data set prepares you for the normal distribution (SL 4.3), where these two numbers completely determine the bell-shaped curve. The concept of spread also connects to regression and correlation (SL 4.4), where you measure how two variables move together relative to their individual spreads.

How SL 4.1 connects to later IB topics
SL 4.1 ConceptWhere It LeadsWhy It Matters
Mean & standard deviationNormal distribution (SL 4.3)μ and σ define the entire bell curve; z-scores standardize data using (x − μ)/σ.
Quartiles & IQRCumulative frequency (SL 4.2)Reading Q₁, median, Q₃ from a cumulative frequency graph; estimating percentiles.
Data representationBivariate data & scatter plots (SL 4.4)Box plots and histograms for individual variables; scatter plots for pairs of variables.
Understanding spreadStatistical tests (HL 4.12)Hypothesis tests use standard deviation to decide whether an observed difference is 'real' or due to chance.

If you continue to HL, you will encounter the chi-squared test and t-test, both of which rely heavily on means and standard deviations. Mastering the basics in SL 4.1 now means you will have the conceptual foundation to tackle these more powerful tools later.

Practice Problems

PROBLEM 1CONCEPTUAL
A data set has a mean of 50 and a median of 42. What does this tell you about the shape of the distribution? Which measure of center would you recommend reporting, and why?
PROBLEM 2BASIC CALCULATION
Find the mean, median, Q₁, Q₃, and IQR of the following data set: 5, 8, 12, 15, 18, 20, 25.
PROBLEM 3INTERMEDIATE
The ages (in years) of 10 members of a sports club are: 14, 15, 16, 16, 17, 18, 19, 21, 23, 41. Calculate the mean, median, and standard deviation. Explain whether any value could be considered an outlier using the 1.5 × IQR rule.
PROBLEM 4APPLIED
Two coffee shops record the daily number of lattes sold over a week. Shop A: 45, 48, 50, 52, 55, 58, 60 (mean = 52.6, σ ≈ 5.0). Shop B: 30, 40, 45, 55, 60, 65, 73 (mean = 52.6, σ ≈ 14.0). Both shops have the same mean. Compare the two shops using standard deviation and explain what the difference means for a shop manager trying to plan daily staffing.
PROBLEM 5CRITICAL THINKING
A data set of 8 values has Q₁ = 20, median = 28, Q₃ = 36, and IQR = 16. A ninth data point of 100 is added. Without recalculating exact values, discuss qualitatively how the mean, median, standard deviation, and IQR will each be affected. Which measures change the most, and which remain relatively stable?

Summary

SL 4.1 equips you with the essential tools for describing data. The mean (arithmetic average) and median (middle value) measure the center of a data set, while the interquartile range (IQR = Q₃ − Q₁) and standard deviation measure the spread. For symmetric distributions, the mean and standard deviation are the best summary; for skewed distributions or data with outliers, the median and IQR are more reliable.

Data representation brings these numbers to life. Histograms reveal the shape of a distribution, while box-and-whisker plots display the five-number summary (minimum, Q₁, median, Q₃, maximum) and can flag outliers using the 1.5 × IQR rule. Always match your choice of summary statistic to the shape of the data, and use your GDC to calculate efficiently — but understand what each number means so you can interpret and communicate your findings clearly.

Varsity Tutors • IB Mathematics: Applications and Interpretation • Data Representation & Summary Stats — SL 4.1