• Practice
  • About 15 min
  • 5 practice questions

Finding a missing value from a given mean or median

Find a missing observation or a missing frequency when the mean is given, and a missing value when the median of ordered data is given.

If something looks wrong, please tell us.

Many exam questions turn the problem round: they give the mean or the median and ask for one value that has been left out. These questions test whether you understand what each measure is, not just whether you can compute it. Each type has a short, reliable method.

Type 1: a missing observation, mean given

Since total = mean × count, the missing value is the required total minus the sum of the known values.

Worked example 1. The mean of 8 numbers is 25. Seven of them are 18, 30, 22, 27, 35, 20 and 24. Find the eighth. Working: required total = 8 × 25 = 200. Known sum = 18 + 30 + 22 + 27 + 35 + 20 + 24 = 176. Missing number = 200 − 176 = 24.

Speed method (balancing deviations). Write the deviations of the known values from the mean 25: −7, +5, −3, +2, +10, −5, −1. Their sum is +1. All deviations must add up to 0, so the missing value must have deviation −1, which makes it 25 − 1 = 24. The numbers stay small and you never add three-digit totals.

Type 2: a missing frequency, mean given

Write Σf and Σfx in terms of the unknown, set Σfx = mean × Σf, and solve the simple equation.

Worked example 2. For the table below the mean is 15. Find p.

x510152025
f465p3

Working: Σf = 18 + p. Σfx = 20 + 60 + 75 + 20p + 75 = 230 + 20p. Setting Σfx = 15 × Σf: 230 + 20p = 270 + 15p, so 5p = 40 and p = 8. Check: Σf = 26, Σfx = 230 + 160 = 390, and 390 ÷ 26 = 15. A shortcut view: every observation's deviation from 15 must balance, so 4(−10) + 6(−5) + 5(0) + p(+5) + 3(+10) = 0, giving −40 − 30 + 5p + 30 = 0 and p = 8.

Type 3: a missing value, median given

If the data are already in order, the median fixes the middle value or values. Write the median in terms of the unknown and solve, then check that the order is still correct.

Worked example 3. The numbers 12, 15, 18, x, x + 4, 30, 34, 40 are in ascending order and their median is 23. Find x. Working: there are 8 values, so the median is the mean of the 4th and 5th: (x + x + 4) ÷ 2 = 23, so 2x + 4 = 46 and x = 21. Check the order: 18, 21, 25, 30 is ascending, so the answer stands.

Traps

  • Using the old count after a value is added or removed: the count in total = mean × count must be the count that goes with that mean.
  • Placing the unknown in the wrong position for a median question: it is only safe when the question states the data are in order, or when you have checked where the value falls.
  • Forgetting to check that a missing frequency is a non-negative whole number: if your answer is −3 or 2.5, recheck your algebra.

Missing observation = n × mean − (sum of the others). Missing frequency: set Σfx = mean × Σf and solve. Deviations from the mean always total zero.

Key takeaways: a given mean fixes the total, so the gap between that total and the known sum is the missing value; a given mean in a table gives one equation for one missing frequency; and a given median fixes the middle position of the ordered data.

Check your understanding

  1. 1. The mean of six numbers is 42. Five of them are 38, 45, 40, 50 and 36. What is the sixth?

    1. 43
    2. 42
    3. 41
    4. 44
    Show answer

    Answer: A. Required total = 6 × 42 = 252. Known sum = 38 + 45 + 40 + 50 + 36 = 209. Sixth number = 252 − 209 = 43.

  2. 2. The mean of 14, 22, x, 31 and 18 is 23. What is x?

    1. 23
    2. 28
    3. 30
    4. 32
    Show answer

    Answer: C. Total = 5 × 23 = 115. Known sum = 14 + 22 + 31 + 18 = 85. x = 115 − 85 = 30.

  3. 3. Values 2, 4, 6 and 8 have frequencies 3, k, 5 and 2, and the mean is 5. What is k?

    1. 3
    2. 2
    3. 4
    4. 1
    Show answer

    Answer: B. Σf = 10 + k and Σfx = 6 + 4k + 30 + 16 = 52 + 4k. Set 52 + 4k = 5(10 + k) = 50 + 5k, so k = 2. Check: Σf = 12, Σfx = 60, mean 5.

  4. 4. The numbers 10, 13, 17, x, 26, 31 are in ascending order and their median is 20. What is x?

    1. 23
    2. 20
    3. 22
    4. 21.5
    Show answer

    Answer: A. Six values, so the median is (17 + x) ÷ 2 = 20. Then 17 + x = 40 and x = 23. The order 17, 23, 26 is still ascending.

  5. 5. Values 10, 20, 30 and 40 have frequencies 5, 8, f and 3. The mean is 24. What is f?

    1. 7
    2. 8
    3. 10
    4. 9
    Show answer

    Answer: D. Σf = 16 + f and Σfx = 50 + 160 + 30f + 120 = 330 + 30f. Set 330 + 30f = 24(16 + f) = 384 + 24f, so 6f = 54 and f = 9. Check: Σf = 25, Σfx = 600, mean 24.

Sign in to keep track of the lessons you finish.

Next lesson → Combined mean of two or more groups

Privacy · Terms · Refunds · Delivery