PrepShorts · Study sheet · Class 8 Mathematics · Chapter 5, Tales by Dots and LinesPrepShorts

Chapter 5 · Tales by Dots and Lines

Whether adding a value raises or lowers the median

Median, and computing with real data9 min

This video could not be loaded. Reload the page to try again.

Sign in with Google

9 min.

The median only ever asks a value which side it is on. Never how far away it is.

The idea

The median only ever asks a value which side it is on. That is why the direction it moves under an insertion is forced — a value above the middle can only push the middle up — and why the size of the move is decided not by the newcomer but by the data already there: the median can travel no further than its own neighbour in the sorted list. So the median and the mean respond to the same insertion in the same direction and by wildly different amounts, and a value far out at the end of the line can move the mean a long way while moving the median by nothing at all. The useful consequence is that the two summaries answer different questions, and the chapter's own exercises are built on cases where one of them cannot be pinned down at all.

What you should be able to do

  • State the median of a small collection, choosing correctly between the single middle value and the average of two
  • Predict whether inserting a stated value raises the median, lowers it, or leaves it alone, before sorting the new list
  • Explain why a value above the median cannot lower it, in terms of how many values now sit above the old middle
  • Compute the new median after an insertion and locate it between the old median and its neighbour
  • Produce a value whose insertion leaves the median unchanged, and say when every value has that property
  • Produce a pair of values, and a removal, that leave a stated median unchanged
  • Contrast the median's response with the mean's under the same insertion, and say which is the more stable and why
  • Judge "always true / sometimes true / never true" claims about the median
  • Recognise a situation in which the given information does not determine the new median, and state what would be needed

Words to know

TermDefinition in one lineFirst introduced
medianthe middle value of the sorted data, with equally many values below and above itprinted throughout Part II §5.1; the working definition this topic uses is stated at Part II p.108
sortedarranged in order of size, which is what makes a middle value meaningfulprinted at Part II pp.103 and 108, and again in the frequency-table discussion (Part II p.110)
meanthe total divided by the count, brought in here only for contrastprinted throughout Part II §5.1
dot plota number line with one dot per value, stacked where values repeatprinted and used throughout Part II §5.1, including all three median diagrams (Part II p.108)
middle valuesthe pair that has to be averaged when the count is evenprinted in exactly this role at Part II p.109, in the sentence that arrives at 9.5
position in the sorted listwhich place a value occupies once the data is in order — the only thing the median consultsan added phrasing; the chapter counts positions in the frequency discussion (Part II p.110) without giving the idea a name
robustunmoved by a value far out at one endan added term; not in this chapter, and worth naming once because it is the property the whole topic is about

Where people slip up

  • "The median is the middle of the range." It is the middle of the list. For 4, 7, 8, 12, 14 the middle of the range is 9 and the median is 8, and no amount of stretching the largest value changes the median at all.
  • "A really large new value must pull the median up a long way." It pulls it up by one step, to the average of the old median and its neighbour, and no further — whether the newcomer is 11 or 11,000.
  • "With an even count you pick one of the two middle values." You average them. The chapter is explicit about this at Part II p.109, and the answer 9.5 is not a value in the data — which is fine, and worth saying.
  • "Inserting a value equal to the median might still shift it." It cannot. The new pair of middle values are the median and itself.
  • "The median always changes when the data changes." Item 5 is the counter-example the chapter chose deliberately: a repeated middle value makes the median survive any single insertion and any single removal.
  • "If the mean is unchanged the median is unchanged." Item 8 is exactly this trap: the total is preserved, so the mean is safe, and the median is not determined at all.
  • "More values above the median means the median is too low." Half the values sit above it by construction. What matters in the argument on Part II p.109 is that inserting above changes that count from equal to unequal, which is what disqualifies the old middle.
  • "Not enough information" is a cop-out answer. It is printed as an option twice in Part II p.128 item 6, and it is the correct one for the median both times. Recognising an underdetermined question is part of what is being assessed.
Transcript1,294 words

The median is the middle value. But middle of what? Not the middle of the range. Sort the numbers, and take the one standing in the middle of the line. Which works cleanly when there is an odd number of them, because then somebody really is in the middle. With an even number, nobody is. Two values share the middle, and the rule is that you average them - you do not pick one.

So the count decides how you read it. And that is the only fussy part of this whole topic, because everything else follows from one small fact: the median only ever asks a value which SIDE it is on. Never how far away it is. Just which side. Five values: four, seven, eight, twelve, fourteen. Already in order. Five is odd, so the middle one is the third: eight. Count either side. Two values below eight, two above it. That balance of counts is exactly what being the middle means.

Notice what the median is ignoring. The fourteen could be forty and eight would still be the middle value, because it would still have two on each side. Now a sixth value arrives, at eleven. Eleven is above eight, so recount. Below eight: still two. Above eight: now three. And that settles it. A value with more above it than below it is not in the middle of anything. Eight has lost the job.

This is the whole argument, and notice that it never asked how big eleven was. Only that it landed on the upper side. So who is the middle now? Nobody - there are six values, and six is even. The two sharing the middle are eight and eleven. Average them: nine and a half. And nine and a half is not one of the six values. That is fine. The median is a position on the line, and with an even count it usually lands between two of your numbers rather than on one.

The median has stepped up, from eight to nine and a half. Insert below instead and the same argument runs backwards. Put five in. Five is below eight, so now three values sit below eight and only two above it. Eight has too many below it, so eight is out. The two sharing the middle are seven and eight, and their average is seven and a half. Down, not up. And again the size did no work - a value at five and a value at minus five would have given exactly the same answer.

There is a third case, and it is the easy one. What if the newcomer arrives sitting exactly on the median? Put another eight in. Now there are two eights in the middle, and the pair sharing the middle is eight and eight. Their average is eight. Nothing has moved. A value on the median is on neither side. It has no side to argue for, so it cannot pull the middle anywhere.

Now the question that catches people out. How far can one new value move the median? Look at the neighbours of eight in the sorted line: seven below it, twelve above it. Add anything above the middle and the new median is the average of eight and twelve - or of eight and eleven, if the newcomer squeezes in between. Either way it lands between eight and twelve. Add anything below and it lands between seven and eight.

So before you know a single thing about the newcomer, you already know the median will end up somewhere between seven and a half and ten. That is the entire range of possible answers. Try it. Eleven gives nine and a half. Twelve gives ten. A hundred gives ten. Ten thousand gives ten. The newcomer chooses the side. Your existing data chooses the size. Put that same hundred in and watch the other summary.

The average of the five values was nine. Add a hundred and it becomes about twenty-four point two. The median went from eight to ten. The mean went from nine to nearly twenty-five. Same data, same insertion, two completely different reports - because the mean asked how far and the median asked which side. There is a word for the median's behaviour. Robust: unmoved by a value out at the end of the line.

Which is a virtue when that far-out value is a mistake or a rarity, and a fault when it is the very thing you needed to notice. Now watch how far the side-counting idea can be pushed. Here are sixteen values, sorted. Sixteen is even, so the middle is shared by the eighth and the ninth - and both of them are forty-one. The median is forty-one, and the two middle values are the same number. That turns out to matter enormously.

Add any single value you like. Seventeen values now, so the middle is the ninth. If your newcomer is small, it pushes everyone along and the ninth is a forty-one. If it is large, the ninth is still a forty-one. The median is forty-one. Whatever you added. And take any single value away instead - the same thing happens, for the same reason read backwards. So how do you move it? Two values, and not just any two.

One below and one above, and the middle stays put - thirty and sixty, say. The two newcomers push from opposite ends and cancel. But send both from the same side and it shifts. Two values below drag it down to forty and a half. Two above push it up to forty-four and a half. The condition is not about their sizes. It is that one of them is at most forty-one and the other at least forty-one.

Meanwhile every one of those four moves changes the average, because the average never had this defence in the first place. Turn it round one more time and let the median set the question. Ten values, and an eleventh you get to choose. You need the median to come out at twenty-nine. Eleven values means the middle is the sixth. Sort what you have, and twenty-nine is currently sitting sixth from the bottom of a list that is one short.

So you need your value not to displace it. Anything at twenty-nine or above leaves twenty-nine in sixth place. Anything below pushes it to seventh, and something smaller becomes the middle. Given a list of candidates you could test them one at a time. Five of the seven work. But the condition is the better answer: your value must be at least twenty-nine. That is every solution there is, and it came from counting places, not from trying numbers.

Two last things, and they are both about being careful. First: take a value away from BELOW the median. What happens? It might rise, and it might not move at all. It can never fall - because removing from below can only ever leave the middle with fewer beneath it. Never is a much stronger word than sometimes, and it is the true one here. Second, and harder. Twenty-four heights whose average you know, and two new people join at known heights.

The new average is completely determined. The new median is not - and here are two sets of twenty-four with the very same average whose medians end up in different places. So the honest answer is that there is not enough information. That is not giving up. It is the correct answer, and recognising it is part of the skill. The median only ever asks which side. That is why it holds steady when one value runs away - and why, sometimes, it cannot be pinned down at all.

Where this fits

Taken from the notes each video was made from, not from the reading order — these are the ideas this one rests on and the ones that later rest on it.

Builds on

Comes up again in

The book

Open in a new tab