When we have a long list of numbers, we need a single number in the center to summarize what is typical for the group.
1
The Mean as Equal Sharing and Balance Point
The mean (xˉ, read "x-bar") is the equal share each member of a group gets when we add all the values together, which is also the exact spot where the values balance on a number-line seesaw.
Let's find the mean of the five numbers 1,2,3,6,8.
The Mean as Equal Sharing and Balance Point
Text solution
Add the valuesAdd all n=5 numbers together to find the total amount in the group.
Σx=1+2+3+6+8=20
Split evenlyDivide the total by the number of values so every spot gets an equal share.
xˉ=520=4
If all 5 people had 4, the group would have the exact same total of 20 as the original list 1,2,3,6,8. For any list of n values, the mean is:
xˉ=number of valuesnΣxsum of the values
The flat bar on top of xˉ shows the leveled-off top of the stacks after sharing evenly, and the Greek letter Σ (sigma) simply says "add them all up."
On a number line with weights at 1,2,3,6, and 8, the seesaw balances level only at xˉ=4, where the total distance below 4 on the left (1+2+3=6) matches the total distance above 4 on the right (2+4=6).
The seesaw balances only at the mean, where the total distance of the weights on the left equals the total distance of the weights on the right.
2
Outliers and the Median
When a single extreme value, called an outlier, sits far away from the rest of the group, it pulls the balance point toward it so that xˉ no longer looks like the numbers in the list. To find the center without letting one extreme value take over, we use the median: the middle value when the data is lined up from smallest to largest, splitting the group so half the values are below it and half are above it.
Here is what happens to the mean and the median when we replace 8 with 988 in 1,2,3,6,988, and how we find the median when there is an even number of values, 1,2,3,6,8,10.
Outliers and the Median
Text solution
Odd number of values (n=5)Line up the numbers from smallest to largest and cross off pairs from both ends until one middle value remains.
1,2,median3,6,988
Even number of values (n=6)When two numbers remain in the center of the ordered list, average those two middle values to find the dividing line halfway between them.
1,2,3,6,8,10
Median=23+6=29=4.5
In 1,2,3,6,988, the outlier pulls the mean all the way from 4 to xˉ=51,000=200, while the median stays right at 3. In 1,2,3,6,8,10, the median is 4.5: three numbers fall below 4.5 and three fall above it, even though 4.5 is not one of the original numbers on the list.
Always put the numbers in order from smallest to largest before looking for the middle: in a scrambled list like 6,1,8,2,3, the number sitting in the center spot (8) is actually the largest value in the group.
As an outer data point moves further away from the group, the mean follows it steadily to keep the seesaw balanced, while the median stays in place as long as the order of the middle values does not change.
Moving one point far from the group pulls the mean steadily after it, while the median stays in place unless that point crosses the middle spot.
3
Finding the Mean and Median in Tables and Plots
Writing out every number in a line is slow when n is large and the data is already organized in a frequency table, dotplot, or stemplot. Because these displays already sort the values from smallest to largest, we can multiply each value by its count to find the mean and count directly to the middle position to find the median.
Here is how we find the mean and the median directly from the table of n=19 students and from a stemplot.
Finding the Mean and Median in Tables and Plots
Text solution
Multiply each value by its frequencyMultiply each value by how many times it appears to find the total number of siblings across all 19 students.
Σx=4(0)+7(1)+5(2)+2(3)+1(8)=0+7+10+6+8=31
Divide by the total number of studentsSplit the 31 siblings evenly among the n=19 students.
xˉ=1931≈1.63 siblings
Locate the middle positionFind which spot in the ordered line of 19 students stands in the exact center.
Middle position=2n+1=219+1=220=10th spot
Count frequencies to that spotThe 0-sibling row covers spots 1–4, and adding the 7 students in the 1-sibling row covers spots 5–11, which includes the 10th student.
Median=1 sibling
The 10th student in line has 1 sibling, leaving 9 students below and 9 students above. (If a 20th student is added to the 8-sibling row, the middle position is 220+1=10.5, halfway between the 10th and 11th students; both still stand in spots 5–11, so Median=21+1=1.)
Watch out for two common mistakes in tables and stemplots: 2n+1 gives the position in line where the median stands, not the median's value itself; and on a stemplot, each leaf must be read together with its stem (so 2∣5 is 25, not 5).
4
Choosing Between the Mean and the Median
Now that we have two ways to measure the center, choosing between them comes down to which question we need to answer: what does a typical member of the group look like, or what is the total amount across the whole group?
Consider a street of n=5 houses where four starter homes cost $200,000 each and one mansion costs $4,200,000, alongside a student's five test scores of 85,88,90,92, and 0.
Choosing Between the Mean and the Median
Text solution
Middle house (Median)Line up the five house prices to see what the middle house on the street costs.
Find the street total for taxesUndo the division by multiplying the mean by n=5 houses, then take 1% for the property tax.
Total value=n⋅xˉ=5×$1,000,000=$5,000,000
Tax collected=0.01×$5,000,000=$50,000
The median ($200,000) tells a homebuyer what a normal house on this street costs, while the mean ($1,000,000) lets the tax collector find the full $5,000,000 street value. Multiplying the median by 5 would miss the mansion and expect only $10,000 in taxes. For the same reason, a teacher uses the mean for test grades (0,85,88,90,92 gives xˉ=71 instead of a median of 88) because every test counts toward your total score.
5
Mean, Median, and the Shape of a Distribution
Because the median divides the bars of a histogram into two equal 50% halves while the mean balances the histogram on a seesaw, comparing the two numbers tells us which way a distribution is skewed, even when we cannot see the graph.
Let's see how the shape pulls the mean relative to the median, and check whether having xˉ=Median guarantees a symmetric graph using the list 1,2,4,5,8.
Mean, Median, and the Shape of a Distribution
Text solution
Find the medianIn the ordered list 1,2,4,5,8, the middle number is 4.
1,2,median4,5,8
Check the balance around 4Add the distances below 4 on the left and the distances above 4 on the right.
Left distance=(4−1)+(4−2)=3+2=5
Right distance=(5−4)+(8−4)=1+4=5
Because the left distance (5) equals the right distance (5), the mean is also xˉ=4, yet the dotplot of 1,2,4,5,8 is not symmetric: two medium distances on the left happen to balance one small distance and one far value on the right. If a distribution is symmetric, its mean and median will be equal (or very close), but xˉ=Median by itself does not prove a distribution is symmetric without looking at the graph.
In any skewed distribution, the median stays with the main group where the first 50% of the data ends, while the mean gets pulled toward the long tail.
The median stays back with the main pile where the first half of the data ends, while a long tail always pulls the mean toward it.
Key concepts
Mean (xˉ, equal share and balance point)
Add every value and split evenly, xˉ=nΣx, or find the spot where total distance on the left equals total distance on the right (for 1,2,3,6,8,xˉ=520=4). Pick the mean when the data is roughly balanced or when you need the total sum across the group (Σx=nxˉ, such as multiplying xˉ=$1,000,000 by n=5 houses to find the $5,000,000 total).
Median (middle value, 50/50 split)
Sort the list from smallest to largest first and count to position 2n+1. For odd n, take the single middle number (for 1,2,3,6,988, the 3rd spot is 3); for even n, average the two middle numbers (for 1,2,3,6,8,10, position 3.5 gives 23+6=4.5). Pick the median instead of the mean when outliers or a skewed tail would pull the mean away from what looks typical.
Tables, plots, and skew
When data is already ordered in a frequency table, dotplot, or stemplot, do not write out the full list: multiply each value by its frequency to sum for xˉ, and add frequencies up to position 2n+1 to find the median. Comparing the two tells you the skew because the mean gets pulled toward the tail (xˉ>Median indicates right skew or high outliers; xˉ<Median indicates left skew or low outliers), while xˉ=Median tells you the two sides balance in total distance (as in 1,2,4,5,8), not necessarily that the shape is symmetric.
6
Practice
1
Find the mean (xˉ) and the median of the following list of numbers: 9,2,14,4,6.
Before picking the middle number for the median, check how the list is arranged.
Add the five values and divide by n=5 for the mean:
xˉ=59+2+14+4+6=535=7
Sort the numbers from smallest to largest before finding the middle spot (do not pick 14 from the center of the unsorted list):
2,4,median6,9,14
Mean=7,Median=6
2
Six people at a table have $3,$5,$6,$10,$12, and $18. Find the median and the mean, and explain what happens to each if the person with $18 is replaced by someone with $180.
For n=6 ordered values, the dividing line sits halfway between the 3rd and 4th values (do not stop at $6 or $10 alone).
With an even number of people (n=6), where does the dividing line fall that puts three people on each side?
For n=6 ordered values, the dividing line sits halfway between the 3rd and 4th values (do not stop at $6 or $10 alone):
Median=26+10=216=$8
Add all six amounts for the original mean:
xˉ=63+5+6+10+12+18=654=$9
If $18 becomes $180, the middle two people are still $6 and $10, so the median stays at $8. The extra $162 is added and shared across all 6 people (watch out for dividing only $180÷6=$30 and forgetting the other five people's $36):
A survey asks n=20 students how many books they read last month: 4 students read 0 books, 6 read 1 book, 5 read 2 books, 3 read 3 books, and 2 read 8 books. Without writing out all 20 numbers, find the mean and the median.
Multiply each value by its frequency to find the total books (do not simply average the five book numbers 0,1,2,3,8 to get 2.8, and remember 4×0=0, not 4).
Multiply each book count by its number of students to get the row totals, and use 2n+1 to see which two student positions sit on either side of the middle.
Multiply each value by its frequency to find the total books (do not simply average the five book numbers 0,1,2,3,8 to get 2.8, and remember 4×0=0, not 4):
Σx=4(0)+6(1)+5(2)+3(3)+2(8)=0+6+10+9+16=41
xˉ=2041=2.05 books
Locate the middle position for n=20 students (remember 10.5 is the position in line, not the median number of books):
Middle position=220+1=10.5(between the 10th and 11th students)
Spots 1–4 have 0 books, spots 5–10 have 1 book, and spots 11–15 have 2 books. Because the 10th student is the last one with 1 book and the 11th student is the first one with 2 books (do not stop at 1 book without checking the 11th spot), average their two values:
Median=21+2=1.5 books
Mean=2.05 books,Median=1.5 books
4
A stemplot of n=9 quiz scores has stem 1 with leaves 2,4,5; stem 2 with leaves 0,1,3,6; and stem 3 with leaves 3,4 (where 1∣2=12). Find the median and the mean.
Count to the 5th leaf in order (1∣2,1∣4,1∣5,2∣0,2∣1) and read it together with its stem (do not write the position 5 or the single leaf digit 1).
Which leaf position is in the middle of n=9 leaves, and what value does each stem give to its leaves when you add them up?
Find the middle leaf position for n=9:
Middle position=29+1=5th leaf
Count to the 5th leaf in order (1∣2,1∣4,1∣5,2∣0,2∣1) and read it together with its stem (do not write the position 5 or the single leaf digit 1):
Median=21
Read every leaf with its stem to sum the 9 scores (adding only the single-digit leaves gives 28÷9≈3.11):
Σx=12+14+15+20+21+23+26+33+34=198
xˉ=9198=22
Median=21,Mean=22
5
On a street with n=8 houses, the median house price is $250,000 and the mean house price is $600,000 because of one mansion. Which measure better describes what a typical house on this street costs, and how much total property tax will the town collect if it charges a 1% tax on all real estate on the street?
To find the property tax, multiply the mean by n=8 to find the total value of all 8 houses (multiplying the median by 8 gives $2,000,000 and $20,000 in tax, which leaves out the mansion).Take 1% of the total street value (do not stop at 1% of a single mean house, $6,000).
Which measure ignores the single mansion to describe a normal house, and which measure lets you undo the division by n=8 to find the total value of the street?
The median ($250,000) better describes a typical house because it is not pulled up by the mansion outlier. To find the property tax, multiply the mean by n=8 to find the total value of all 8 houses (multiplying the median by 8 gives $2,000,000 and $20,000 in tax, which leaves out the mansion):
Total value=8×$600,000=$4,800,000
Take 1% of the total street value (do not stop at 1% of a single mean house, $6,000):
Tax=0.01×$4,800,000=$48,000
Typical house: Median ($250,000),Total tax=$48,000
6
On a certification exam, the mean score was 64 and the median score was 79. Without looking at a histogram, is the distribution of scores skewed left or skewed right, and what does that tell you about how the students did?
Do not call this skewed right just because the main pile of high scores sits on the right; skew is named for the direction of the long tail.
Picture 64 and 79 on a number line: in which direction was the mean pulled away from the median?
Compare the two measures on a number line:
xˉ=64<Median=79
Because the mean (64) is pulled well to the left of the median (79), most students scored high on the right side of the distribution while a long left tail of very low scores pulled the balance point down (do not call this skewed right just because the main pile of high scores sits on the right; skew is named for the direction of the long tail):
Skewed left
7
Five ordered numbers are 2,3,6,7, and x (with x>7). Use distances from the center to find the value of x that makes the mean equal to the median, and explain whether this dataset is symmetric.
Do not write the distance 6 itself as x; add that distance of 6 to the center 6.
Find the middle number first, then compare the total distance below it on the left with the total distance above it needed on the right.
Since 2,3,6,7,x are in order, the median is the middle value, 6. On the left of 6,2 is 4 below 6 and 3 is 3 below 6:
Left distance=(6−2)+(6−3)=4+3=7
On the right of 6,7 is 1 above 6, so x must be 6 above 6 to balance the seesaw at xˉ=6 (do not write the distance 6 itself as x; add that distance of 6 to the center 6):
x=6+6=12
Even though Mean=Median=6, the dataset is not symmetric (do not assume equal mean and median guarantees symmetry) because two medium distances on the left (3 and 4) balance one small distance (1) and one large distance (6) on the right: