ARITHMETIC WORKSHEETS

Changing an extreme value while the median stays fixed

Changing the largest value in a list can raise the mean sharply and leave the median untouched. The list 1, 2, 3, 4, 10 has a mean of 4 and a median of 3, and replacing 10 with 100 gives a mean of 22 and the same median.

Two summaries of the middle

The mean adds every value and divides by the count. The median sorts the values and picks the middle one, or the average of the two middle ones when the count is even. They describe the center of a list in different ways. For 1, 2, 3, 4, 10, the sum is 20, the count is 5 and the mean is 4. Sorted, the middle of five values is the third, which is 3. The average calculator reports a mean of 4 and a median of 3 for this input. The mean sits above the median because the 10 pulls the sum upward.

Changing only the largest value

Replace 10 with 100. The list becomes 1, 2, 3, 4, 100, and the sum is 110, so the mean is 22. The median is still 3, because the middle position of the sorted list holds the same value. The change affected only the last entry, and the median looks only at the middle. A single value moved the mean by 18 while leaving the median fixed. Neither summary is wrong. In this case the mean of 22 is larger than four of the five values in the list. They respond differently to the same change, and the example is built to show that difference with nothing else varying.

A more extreme change

Replace the last value with 1,000. The list 1, 2, 3, 4, 1000 has a sum of 1,010 and a mean of 202. The median is again 3. The mean now sits far above every other value in the list, so it no longer describes a typical entry. A mean of 202 for a list in which four of five values are at most 4 shows how one value can dominate. The median still reports 3, which is close to all four ordinary values. Watching the mean climb while the median holds still is the clearest sign of a value that sits far from the rest.

What changes the median

The median moves when a value crosses the middle position. In the list 1, 2, 30, 4, 10, the sorted order is 1, 2, 4, 10, 30, so the median is 4 and the mean is 9.4. Replacing the middle value 3 with 30 changed the sorted order, and the median shifted from 3 to 4. For the median to stay fixed, the changed value must stay on the same side of the middle. Moving the largest value higher or the smallest value lower never changes the median for an odd-sized list.

Even-sized lists

With an even count the median is the average of the two middle values. In 2, 4, 6, 8 the middle values are 4 and 6, so the median is 5, and the mean is also 5. Replacing 8 with 80 gives 2, 4, 6, 80, whose median is still 5 and whose mean is 23, since the sum is 92. The same behavior appears: the median ignores how far the extreme value moves, and the mean follows it. For even lists, the change must still keep the extreme value beyond the two middle entries. If you moved the 8 down to 5 instead, the sorted list would be 2, 4, 5, 6, and the middle pair would become 4 and 5, so the median would drop to 4.5. That shows the boundary: the median holds only while the changed value stays outside the middle pair.

Choosing a summary for the question

Neither statistic is correct in general. A mean fits a question about totals, such as how much a group spent in all, because the mean times the count recovers the sum. A median fits a question about a typical case when a few values are far out. Salaries, house prices and response times often have a few large values, so reports frequently give both numbers. The example is not an argument for discarding the largest value. The 100 is a real observation in the list, and the right choice depends on what the number will be used for.

Checking a sorted list

To check the median by hand, sort the list and count in from both ends. For 1, 2, 3, 4, 100, the middle of five is the third value from either end, which is 3. For the mean, add and divide: 1 + 2 + 3 + 4 + 100 = 110, and 110 ÷ 5 = 22. Entering values in any order gives the same results, since both statistics ignore the original order. A frequent mistake is to take the median of the unsorted list as the third value as entered, which only works by accident.

How far an extreme value moves the mean

The effect on the mean is simple arithmetic: changing one value by d changes the sum by d, and the mean by d ÷ n. Raising the 10 to 100 adds 90 to the sum, so the mean rises by 90 ÷ 5 = 18, from 4 to 22. Raising it to 1,000 adds 990, which moves the mean by 198, from 4 to 202. The median moves by 0 in both cases. The larger the list, the smaller the effect of one value on the mean, since the division by n dilutes it. In a list of 1,000 values, the same change of 90 moves the mean by only 0.09. Small samples are where one unusual observation matters most.

Limits of the example

The lists are small and chosen to isolate one effect. Real data have measurement error, ties and more than one extreme value, and the mean and median can both shift in ways that need more context. The comparison here covers only these two summaries. It does not cover the mode, trimmed means or measures of spread, and it does not say which value to report. Report the list itself, or at least both summaries, so a reader can judge for themselves. When a list contains a value that looks unusual, check the source before deciding anything. A misplaced decimal point can turn 10 into 100, and the mean will show it much more loudly than the median. Such an entry error is a reason to correct the data, which is different from dropping a genuine observation because it is large.

Reproduce the checks

Original tail value

Open the Average calculator and enter:

Values
1,2,3,4,10

Expected output:

Arithmetic mean

4

Median

3

The middle ordered observation is three.

Larger tail value

Open the Average calculator and enter:

Values
1,2,3,4,100

Expected output:

Arithmetic mean

22

Median

3

Only the final observation changes.

References and implementation scope

The examples describe the behavior of the linked Computandum tools. A successful local check does not establish that another application accepts the same format or applies the same limits.

Sources

Related tasks