All concepts

8. Statistics

Mean/median/SD intuition. Evenly spaced sets: mean = median = average of endpoints.

48121620mean = median = 12Evenly spaced set: same gap every stepThe center is the middle term. No adding needed.

Core ideas

- Mean = sum / count; you can always recover the sum as mean * count, which is the workhorse move.
- In any evenly spaced set, mean = median = average of the endpoints. No adding required.
- Standard deviation measures spread from the mean; adding a value equal to the mean shrinks SD, adding extreme values grows it, and adding a constant to every term leaves SD unchanged.
- Median only cares about the middle position, so extreme values can move the mean without touching the median.

Worked example 1

What is the sum of all multiples of 4 from 12 to 40, inclusive?

Show solution

The set is evenly spaced, so the mean is the average of the endpoints: (12 + 40)/2 = 26. The count is (40 - 12)/4 + 1 = 7 + 1 = 8 terms. Sum = mean * count = 26 * 8 = 208. No term-by-term adding needed.

Worked example 2

The average of five test scores is 80. If a sixth score of 80 is added, what happens to the mean and to the standard deviation?

Show solution

The original sum is 5 * 80 = 400; adding 80 gives 480 over 6 scores, so the mean stays 80. The new value sits exactly at the mean, contributing zero spread while increasing the count. So the standard deviation decreases (unless all five scores were already 80, in which case SD stays 0). Mean unchanged, SD down: that is the signature of adding a value at the mean.

Practice set

Question 1

A set of 5 positive integers has an average (arithmetic mean) of 10 and a median of 12. What is the greatest possible value of the largest integer in the set?






Question 2

What is the median of the list 3, 7, 7, 12, 15, 20?






Question 3

What is the average (arithmetic mean) of all the integers from 17 to 41 inclusive?






Question 4

What is the sum of all even integers from 20 to 60 inclusive?