Question 12·Hard·One-Variable Data Distributions; Measures of Center and Spread
The frequency distribution below summarizes a set of data, where is a positive integer.
| Value | Frequency |
|---|---|
| 1 | |
| 2 | |
| 3 | |
| 4 | |
| 5 |
How much greater is the mean of the set of data than the median?
For frequency-table questions, compute the mean as a weighted average: multiply each value by its frequency, add those products, and divide by the total frequency. For the median, avoid writing out every data point; instead, use cumulative frequencies to locate the middle position(s) or exploit symmetry (if the counts below and above a value are equal, that value is the median). Finally, answer comparison questions like this one by subtracting one measure from the other rather than trying to reason purely by intuition.
Hints
Use the frequencies to find totals
Treat each row as "value × how many times it appears." First, find the total number of data points and the total sum of all data values in terms of .
Find the mean with a weighted sum
Write the mean as . What happens to the ?
Think about the median using counts below and above the center
Instead of listing every number, count how many values are less than 3, equal to 3, and greater than 3. Which value ends up in the middle when the data are ordered?
Compare the two center measures
Once you know the mean and the median as specific numbers, subtract the median from the mean to answer "How much greater is the mean than the median?"
Desmos Guide
Use Desmos to compute the mean
In Desmos, define a positive integer value for (for example, type a = 1). Then enter the expression (1*a + 2*2a + 3*3a + 4*2a + 5*a) / (a + 2a + 3a + 2a + a) to see the numerical value of the mean.
Use Desmos to see the median for a specific a
For the same value of , list out the data. For example, if a = 1, the data set is [1, 2, 2, 3, 3, 3, 4, 4, 5]. Type median([1,2,2,3,3,3,4,4,5]) in Desmos to see the median for that case. Try another value (like a = 2) by expanding the list to match the frequencies and check that the median stays the same.
Compare the mean and median in Desmos
Once you have the mean and median from Desmos, type an expression like mean_value - median_value (replacing with the actual numbers or earlier expressions you found) to see how much greater the mean is than the median.
Step-by-step Explanation
Interpret the frequency table
The table tells you how many times each value appears.
- The value 1 appears times.
- The value 2 appears times.
- The value 3 appears times.
- The value 4 appears times.
- The value 5 appears times.
So the total number of data points is
Compute the mean using a weighted average
The mean is
Compute the sum of all values using the frequencies:
- From the 1s:
- From the 2s:
- From the 3s:
- From the 4s:
- From the 5s:
Total sum:
So the mean is
The cancels, so the mean is 3 for any positive integer .
Determine the median from the distribution
To find the median, think about how many values are below, equal to, and above 3.
-
Below 3: values 1 and 2
- 1 appears times
- 2 appears times
- Total below 3:
-
Equal to 3:
- 3 appears times
-
Above 3: values 4 and 5
- 4 appears times
- 5 appears times
- Total above 3:
So there are values below 3, values equal to 3, and values above 3, for a total of values.
Half of the data is . The number of values at or below 3 is , which is more than half of the data; the number of values at or above 3 is also , which is more than half.
That means 3 is the middle value of the ordered list (the median), because at least half of the data are and at least half are . So the median is 3.
Compare the mean and the median
From the earlier steps:
- Mean
- Median
The question asks, "How much greater is the mean of the set of data than the median?"
Compute the difference:
So the mean is greater than the median by 0.