Try it yourself · Class 8 Maths · Data Handling

Mean and median: change the fifth value

The mean is the sum of the values divided by how many there are. The median is the middle value when they are in order. The simulation starts with the four values 18, 20, 21 and 22 and adds a fifth value that you choose.

Values and one more. Slide the fifth value up.

The simulation needs JavaScript; everything it shows is explained below.

What to change

  • Slide the fifth value from 22 to 150.
  • Choose Keep it in to use all five numbers.
  • Choose Take it out to use only 18, 20, 21 and 22.
  • Compare the orange mean line and the green median line.

What to watch

  • At the start the fifth value is 99. The mean is 36 and the median is 21, so the mean is 15 more.
  • Slide the fifth value to 150. The mean becomes 46.2 and the median is still 21.
  • Slide it down to 22. The mean is 20.6 and the median is 21. The two are close now.
  • At a fifth value of 30 the mean is 22.4. The median is 21, since 21 is still the middle of the five numbers.
  • With the fifth value taken out, the list has 4 numbers and the median is the average of 20 and 21, which is 20.5.

The formula

The sum of 18, 20, 21 and 22 is . With a fifth value , the mean is . The median is the middle value of the five when they are put in order.

Try these questions

Work each one out with the simulation, tap to see the answer, then try the chapter quiz.

  1. Our question

    The mean of 5 numbers is 20. A sixth number, 32, is included. What is the mean of the 6 numbers?
    1. 26
    2. 23
    3. 22
    4. 25
    Show the answer
    (C) 22
  2. Our question

    The mean of 6 numbers is 15. Five of the numbers are 12, 18, 20, 9 and 14. What is the sixth number?
    1. 15
    2. 17
    3. 18
    4. 16
    Show the answer
    (B) 17

More to try in Data Handling

Every simulation in the Lab