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?"
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.
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
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.
Mathematical Framework
Now let's formalize the calculations. Both formulas are straightforward, but understanding the notation will prepare you for more advanced statistics courses.
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.
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.
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 |
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 |
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.
Practice Problems
Lesson 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.