SECTION 1
Historical Context & Motivation
Humans have always needed ways to make sense of collections of numbers. Whether ancient astronomers were averaging repeated observations of star positions or merchants were calculating fair prices, the desire for a single, representative value goes back thousands of years. The formal tools we now call measures of center — specifically the mean and the median — were developed to answer one elegant question: "What single number best summarizes this data?"
~3000 BCE • Early Averaging in Mesopotamia
1560s • Tycho Brahe & Repeated Observations
1599 • Edward Wright Formalizes the Mean
1883 • Francis Galton & the Median
The central question that drove centuries of mathematical development remains exactly the question you face in this lesson: given a collection of data values, how do you pick the number that sits in the center — and how do you know whether your choice actually represents the data well? By the end of this lesson, you will be able to calculate both the mean and median and, just as importantly, explain which one better represents a data set in a given real-world context.
SECTION 2
Core Principles & Definitions
Before diving into calculations, it helps to understand the foundational ideas behind measures of center. These principles explain not just how to compute the mean and median, but why each measure behaves the way it does.
Arithmetic Mean
Median
Sensitivity to Outliers
Shape of the Distribution
KEY TAKEAWAY
SECTION 3
Visual Explanation
The dot plot below shows two data sets that share the same median but have different means. Notice how the outlier in Data Set B pulls the mean to the right while the median stays put. This is the key visual insight behind choosing between these two measures.
SECTION 4
Mathematical Framework
Now let's formalize the calculations. Both formulas are straightforward, but understanding the notation will prepare you for more advanced statistics courses.
ARITHMETIC MEAN
x̄ (read "x-bar") is the mean. x₁, x₂, …, xₙ are the individual data values. n is the total number of data values. You add every value and divide by how many there are.
MEDIAN (ODD COUNT)
Sort all values from least to greatest. The median is the value in position (n + 1) / 2. For example, with 7 values, the median is the value in position (7 + 1) / 2 = 4th.
MEDIAN (EVEN COUNT)
When n is even, no single data point sits in the exact middle. Instead, take the mean of the two middle values. For 6 values, average the 3rd and 4th values.
Common Mistake Alert
SECTION 5
Skewness & Choosing a Measure
The shape of a distribution — whether it is symmetric, skewed left, or skewed right — determines which measure of center better represents the "typical" value. Understanding skewness is the key to interpreting measures of center in context.
A classic real-world example is household income data. Because a relatively small number of very high earners stretches the right tail, the mean income is significantly higher than the median income. News reports typically cite the median household income rather than the mean precisely because the median better represents what the "typical" household earns.
SECTION 6
Worked Example
A teacher recorded the following quiz scores (out of 20) for 9 students: 12, 15, 18, 14, 9, 16, 15, 20, 11. Find the mean and median, and decide which measure is more appropriate to describe a "typical" score.
Finding the Mean and Median of Quiz Scores
- 1
Step 1 — List and Sort the Data
First, arrange the scores from least to greatest: 9, 11, 12, 14, 15, 15, 16, 18, 20. There are n = 9 data values.Sorted data: 9, 11, 12, 14, 15, 15, 16, 18, 20 - 2
Step 2 — Calculate the Mean
Sum all values: 9 + 11 + 12 + 14 + 15 + 15 + 16 + 18 + 20 = 130. Then divide by n: x̄ = 130 / 9 ≈ 14.4.Mean ≈ 14.4 - 3
Step 3 — Find the Median
Since n = 9 (odd), the median is in position (9 + 1) / 2 = 5th. Counting through the sorted list — 9, 11, 12, 14, 15, 15, 16, 18, 20 — the 5th value is 15.Median = 15 - 4
Step 4 — Interpret in Context
The mean (14.4) and the median (15) are close, suggesting the data is roughly symmetric with no extreme outliers. Either measure could reasonably represent the typical quiz score, but since 14.4 and 15 are so similar, the data's center is well-described by both. Reporting the mean of approximately 14.4 tells us the average performance, while the median of 15 tells us the middle score.Both measures are appropriate here because the data is roughly symmetric.
SECTION 7
Mean vs. Median — Strengths & Limitations
| Feature | Mean | Median |
|---|---|---|
| What it measures | Balance point — uses every data value | Positional middle — uses only the center value(s) |
| Effect of outliers | Strongly affected; pulled toward extreme values | Resistant; barely changes with outliers |
| Best for | Symmetric data without outliers | Skewed data or data with outliers |
| Uses all data? | Yes — every value contributes | No — depends only on position |
| Common real-world use | GPA, batting average, temperature | Household income, home prices, SAT scores |
Side-by-side comparison of the mean and median
KEY TAKEAWAY
SECTION 8
Connection to Advanced Concepts
The mean and median are just the beginning of a rich toolkit for summarizing data. As you progress through statistics, you will encounter other measures and concepts that build directly on what you've learned here.
| What You Know Now | What's Coming Next |
|---|---|
| Mean and median as measures of center | Mode — the most frequently occurring value; useful for categorical data |
| Identifying outliers informally | IQR & box plots — formal methods for detecting outliers using quartiles |
| Understanding spread intuitively | Standard deviation — a precise measure of how far data values typically deviate from the mean |
| Comparing mean and median | Normal distribution — a bell-shaped distribution where mean = median = mode |
How measures of center connect to future topics
In AP Statistics or a college-level course, you'll see that the mean plays a starring role in inferential statistics — confidence intervals and hypothesis tests are built around sample means. Meanwhile, the median becomes essential in non-parametric statistics, where we can't assume data follows a particular distribution. Mastering both measures now gives you a solid foundation for all of these future topics.
SECTION 9
Practice Problems
Question 1: CONCEPTUAL
Show answer
Question 2: BASIC CALCULATION
Show answer
Question 3: INTERMEDIATE
Show answer
Question 4: APPLIED
Show answer
Question 5: CRITICAL THINKING
Show answer
SUMMARY
Lesson Summary
Summary
The mean (x̄ = sum of values ÷ number of values) is the balance point of a data set — it uses every data value, which makes it sensitive to outliers. The median is the middle value of sorted data — it is resistant to outliers because it depends only on position, not magnitude.
For symmetric distributions, the mean and median are approximately equal, and either is a good representative. For skewed distributions or data sets with outliers, the median is the better measure of center. Always consider the context and shape of the data before deciding which measure to report.