Maths4UBETA

Mean, median, mode and choosing a centre

Calculate the complete measures of centre and choose a summary that answers the actual statistical question.

Try the quick check →
Lesson 1 of 5

Section 1 of 5 · Core · about 7 min

How do I calculate a mean or recover a total?

The mean, median and mode describe different aspects of a dataset’s centre. Name the measure you use instead of writing only “average”. For n≥1n\ge1 numerical observations, the arithmetic mean is

xˉ=∑xin=Tn.\bar{x}=\frac{\sum x_i}{n}=\frac{T}{n}.

The symbol ∑\sum means add the values. Count every recorded observation, including repeats and zeros.

Worked example

Use every observation and the correct count

Seven completion times, in seconds, are 6, 8, 9, 10, 10, 11, 166,\ 8,\ 9,\ 10,\ 10,\ 11,\ 16. Find their mean. An eighth time of 1818 seconds is then recorded; find the new mean.

  1. Add every observation, including both occurrences of 1010:

    T=6+8+9+10+10+11+16=70 s.T=6+8+9+10+10+11+16=70\,\mathrm{s}.
  2. tˉ=707=10 s.\bar{t}=\frac{70}{7}=10\,\mathrm{s}.
  3. After adding the new record, both the total and the count change:

    Tnew=70+18=88,nnew=8.T_{\mathrm{new}}=70+18=88,\qquad n_{\mathrm{new}}=8.
  4. tˉnew=888=11 s.\bar{t}_{\mathrm{new}}=\frac{88}{8}=11\,\mathrm{s}.

    The added time exceeds the old mean, so an increased mean is sensible.

Your turn

Five completion times, in seconds, are 8,9,11,12,x8,9,11,12,x. Their mean is exactly 1111 seconds. Find their total and the missing time xx.

Enter an exact number, for example 3/2 or 2-sqrt(3).

Enter an exact number, for example 3/2 or 2-sqrt(3).

Section 2 of 5 · Core · about 6 min

How do I find the median?

The median is determined by ordered positions, so put the complete list in increasing order first. Repeated values remain separate observations.

Worked example

Find the median of an unordered even sample

Eight times, in seconds, are 15,7,12,9,11,9,18,1315,7,12,9,11,9,18,13. Find the median.

  1. Keep both occurrences of 99 and order the records:

    7,9,9,11,12,13,15,18.7,9,9,11,12,13,15,18.
  2. With n=8n=8, the middle positions are 82=4\frac{8}{2}=4 and 55. Their values are 1111 and 1212.

  3. M=11+122=232=11.5 s.M=\frac{11+12}{2}=\frac{23}{2}=11.5\,\mathrm{s}.

    The median need not be an observed value when the count is even.

Your turn

Two recorded-time samples, in seconds, are

A:17,4,11,8,8,14;B:5,13,7,7,11.A:\quad17,4,11,8,8,14;\qquad B:\quad5,13,7,7,11.

Find the median of each sample.

Enter an exact value or round to 3 significant figures.

Enter the value on its own or write b = … . Fractions and exact square roots are accepted.

Section 3 of 5 · Core · about 11 min

What counts as a mode or a modal class?

For raw values or named categories, count how often each occurs. Every value tied for the greatest frequency is a mode when that greatest frequency exceeds one. Two tied modes are called bimodal.

Worked example

Keep tied modes and recognise no mode

Find the modes of these two numerical lists:

A:4,4,6,9,9,12;B:2,5,8,11.A:\quad4,4,6,9,9,12;\qquad B:\quad2,5,8,11.

Use the course’s no-mode convention for an all-unique list. A separate colour survey records blue 77, green 44 and red 77 responses. Identify its modal categories.

  1. In A, 44 and 99 each occur twice; 66 and 1212 each occur once. The greatest frequency is 22, so the modes are

    {4,9}.\{4,9\}.
  2. In B, every value occurs once. Under the stated convention, there is no mode.

  3. The colour survey has two categories tied at frequency 77: blue and red. A mode can describe a category even when adding or averaging the category labels has no meaning.

Grouped convention in this course: for unequal-width numerical classes, a modal class has the greatest frequency density, so it is a tallest histogram bar:

d=fclass width.d=\frac{f}{\text{class width}}.

This is different from simply finding the class with greatest frequency. Some tables or questions define “modal class” by greatest frequency; follow an explicit definition. When all widths are equal, the two rankings agree.

Heights are frequency densities and widths are class widths.

Completion time (s)WidthFrequencyDensity
0≤t<40\le t<4482
4≤t<104\le t<106183
10≤t<2210\le t<2212242

The bars have areas 4×2=84\times2=8, 6×3=186\times3=18 and 12×2=2412\times2=24. Grouped counts do not determine the most frequent exact time.

The middle class has greatest density 33 and is the modal class under this course’s convention. The last class has greatest frequency 2424.

Worked example

Use density for this course’s unequal-width modal class

A separate sample of 5050 completion times is grouped as follows.

Time tt, in secondsFrequency
0≤t<40\le t<488
4≤t<104\le t<101818
10≤t<2210\le t<222424

Using the course’s greatest-density convention, find the modal class. Also identify the class with greatest frequency.

  1. The widths are 44, 66 and 1212 seconds. Calculate density separately for each class:

    d1=84=2,d2=186=3,d3=2412=2.d_1=\frac{8}{4}=2,\qquad d_2=\frac{18}{6}=3,\qquad d_3=\frac{24}{12}=2.
  2. The greatest density is 33, so the modal class under this convention is

    4≤t<10.4\le t<10.
  3. The greatest frequency is 2424, in 10≤t<2210\le t<22. Its larger width explains why it can contain more observations without having the tallest histogram bar.

  4. The grouped table identifies a modal interval under the stated rule. It does not reveal an exact modal time among the original records.

Your turn

Find all modes of 2,3,3,5,5,82,3,3,5,5,8. Also state the mode result for 1,6,10,121,6,10,12, using this course’s convention that an all-unique list has no mode.

A separate grouped dataset has the classes below. Using the course convention that modal classes have greatest frequency density, give every modal class number and the class number with greatest frequency.

Class numberIntervalFrequency
110≤x<20\le x<288
222≤x<62\le x<61616
336≤x<126\le x<121212

Give the complete set: {1, 4} for separate values, (1, 5] for an interval, U for union or empty for no real solutions. Use sqrt(...) for exact roots.

Give the complete set: {1, 4} for separate values, (1, 5] for an interval, U for union or empty for no real solutions. Use sqrt(...) for exact roots.

Give the complete set: {1, 4} for separate values, (1, 5] for an interval, U for union or empty for no real solutions. Use sqrt(...) for exact roots.

Enter an exact number, for example 3/2 or 2-sqrt(3).

Section 4 of 5 · Core · about 9 min

Which measure answers the question best?

Choose the centre for the purpose, not just because it is easiest to calculate. The mean uses every magnitude and connects directly to a total. The median uses positions and is less sensitive to the size of an existing extreme observation. The mode identifies the most common value or category.

The samples differ only in their largest value, originally sixteen and later fifty-eight seconds.

SampleMean (s)Median (s)Mode (s)
Original707=10\frac{70}{7}=101010
With 16 replaced by 581127=16\frac{112}{7}=161010

The total rises by 58−16=4258-16=42. Dividing by seven gives a mean increase of 66 seconds. The fourth ordered record and the most frequent value are still 1010.

Replacing the existing largest time 1616 by 5858 changes the mean from 1010 to 1616 seconds, while the median and mode remain 1010 in this example.

Worked example

Let the purpose decide between mean and median

The recorded times 6, 8, 9, 10, 10, 11, 166,\ 8,\ 9,\ 10,\ 10,\ 11,\ 16 seconds have mean, median and mode all equal to 1010. Replace the existing 1616-second record by 5858 seconds, keeping seven records. Recalculate the three centres, then choose a summary for a typical time and a summary that preserves the total.

  1. Tnew=70−16+58=112 s,tˉnew=1127=16 s.T_{\mathrm{new}}=70-16+58=112\,\mathrm{s},\qquad\bar{t}_{\mathrm{new}}=\frac{112}{7}=16\,\mathrm{s}.
  2. The new ordered list is 6,8,9,10,10,11,586,8,9,10,10,11,58. Its fourth value is still 1010, and 1010 is still the only repeated value. The median and mode remain 10 s10\,\mathrm{s}.

  3. For a typical time that is less influenced by this extreme magnitude, report the median 10 s10\,\mathrm{s}. Explain why the mean is higher rather than silently dropping the long record.

  4. To describe the exact total or an equal share of that total, the mean is appropriate:

    7(16)=112 s.7(16)=112\,\mathrm{s}.

    The two centres answer different questions. This replacement left the middle position unchanged; adding or removing a record could change it.

Your turn

Seven completion times, in seconds, are

3,4,5,5,6,7,40.3,4,5,5,6,7,40.

Calculate the mean and median. Choose a measure to describe a typical completion time without the single very long time dominating the result. Then choose the measure that, multiplied by seven, recovers the exact total duration of these recorded tasks.

Enter an exact number, for example 3/2 or 2-sqrt(3).

Enter an exact number, for example 3/2 or 2-sqrt(3).

Measure suited to the stated typical-time purpose
Measure that recovers the total when multiplied by seven

Section 5 of 5 · Extension · about 7 min

How do mixed questions add spread to the mean?

Extension bridge: later lessons develop measures of variation in detail. This short application supplies the formulas needed when a question asks for both a centre and a measure of spread.

Descriptive variance is the average squared distance from the mean, using the number of observations nn as divisor. Standard deviation is its square root.

Worked example

Application: measure spread around a known mean

Application: three heights are 2,5,8 cm2,5,8\,\mathrm{cm}. Find their mean, descriptive variance using divisor 33, and standard deviation.

  1. xˉ=2+5+83=5 cm.\bar{x}=\frac{2+5+8}{3}=5\,\mathrm{cm}.
  2. The deviations from the mean are −3,0,3-3,0,3. Squaring prevents their signs from cancelling:

    σ2=(−3)2+02+323=6 cm2.\sigma^2=\frac{(-3)^2+0^2+3^2}{3}=6\,\mathrm{cm}^2.
  3. The sum-of-squares formula gives the same result:

    σ2=22+52+823−52=933−25=6 cm2.\sigma^2=\frac{2^2+5^2+8^2}{3}-5^2=\frac{93}{3}-25=6\,\mathrm{cm}^2.
  4. σ=6 cm.\sigma=\sqrt{6}\,\mathrm{cm}.

    Standard deviation has the original measurement units; variance has squared units.

Your turn

Application after the centre methods: four masses, in grams, are 1,3,5,71,3,5,7. Find the mean, descriptive variance using divisor n=4n=4, and standard deviation. Give exact answers.

Enter an exact number, for example 3/2 or 2-sqrt(3).

Enter an exact number, for example 3/2 or 2-sqrt(3).

Enter an exact number, for example 3/2 or 2-sqrt(3).

Worked examples

Practise the method

Core practice

Question 1 of 4

0 / 4 checked in this collection

Question list

Core practice

Fresh variants

Exam-style

All three measures of centre

3 marks

For 2, 4, 4, 7, 9, 10, give the exact mean, median and every mode.

Enter an exact number, for example 3/2 or 2-sqrt(3).

Enter an exact value or round to 3 significant figures.

Give the complete set: {1, 4} for separate values, (1, 5] for an interval, U for union or empty for no real solutions. Use sqrt(...) for exact roots.

Full answer-format guide

Exact numbers: 3/2, sqrt(5), 2-sqrt(3), pi/6, 3*pi/2. Sets: {1,4}. Intervals: (3,5]; a round bracket excludes the endpoint. Infinity: inf; union: U; no solutions: empty. Separate coordinate pairs or triples with semicolons. Expressions: 2x^2+3x-1; equations: x^2=3x+1 or the polynomial equal to zero. Factors: x-1 ; x+2. Parameter fraction: numerator ; denominator. List integer answers individually.

Review the method

Progress stays in this browser. Create an account to save it or sign in.

Extra practice from this lesson

Three centres need not agree

Signed measurement errors, in centimetres, are

−6,−2,−2,0,3,7.-6,-2,-2,0,3,7.

Find the exact mean, median and every mode.

Enter an exact number, for example 3/2 or 2-sqrt(3).

Enter an exact number, for example 3/2 or 2-sqrt(3).

Give the complete set: {1, 4} for separate values, (1, 5] for an interval, U for union or empty for no real solutions. Use sqrt(...) for exact roots.

Retain all tied modes and recognise the no-mode case

Give every mode for each dataset.

A:1,1,3,3,5,5,8;B:2,4,6,9.A:1,1,3,3,5,5,8;\qquad B:2,4,6,9.

Use this chapter’s convention: if every value occurs once, there is no mode; otherwise give every value tied for greatest frequency. You may type “no mode”.

Give the complete set: {1, 4} for separate values, (1, 5] for an interval, U for union or empty for no real solutions. Use sqrt(...) for exact roots.

Give the complete set: {1, 4} for separate values, (1, 5] for an interval, U for union or empty for no real solutions. Use sqrt(...) for exact roots.

An extreme observation affects different summaries differently

Five repair costs, in pounds, are 10,12,14,14,7010,12,14,14,70. The cost 7070 is then corrected to 170170. Find the original mean, corrected mean and corrected median. Which measure, multiplied by the count of five, recovers the total corrected cost exactly?

Enter an exact number, for example 3/2 or 2-sqrt(3).

Enter an exact number, for example 3/2 or 2-sqrt(3).

Enter an exact number, for example 3/2 or 2-sqrt(3).

Measure that recovers the total when multiplied by five

State the modal-class convention when widths differ

The grouped continuous data have:

Class numberIntervalFrequency
110≤x<20\le x<26
222≤x<82\le x<812
338≤x<128\le x<1212

In this course, a modal class is a class with greatest frequency density. Give every modal class number, then every class number with greatest frequency.

Give the complete set: {1, 4} for separate values, (1, 5] for an interval, U for union or empty for no real solutions. Use sqrt(...) for exact roots.

Give the complete set: {1, 4} for separate values, (1, 5] for an interval, U for union or empty for no real solutions. Use sqrt(...) for exact roots.

Mixed application: equal centres can hide different spreads

Mixed application — descriptive variance and standard deviation. Two sets of lengths, in centimetres, are

A:7,8,9;B:2,8,14.A:7,8,9;\qquad B:2,8,14.

Both means are 88 cm. Using divisor n=3n=3, find the variance and standard deviation of each sample. Which has the more tightly grouped observations?

Enter an exact value or round to 3 significant figures.

Enter an exact value or round to 3 significant figures.

Enter an exact number, for example 3/2 or 2-sqrt(3).

Enter an exact value or round to 3 significant figures.

More tightly grouped lengths

Apply it · original exam-style problems

Show your working on paper and compare it with the worked solution and marking guidance.

Start after this lesson

Different questions can favour different centres 8 marks

Recorded delivery times, in minutes, are

A:8,9,10,10,11,12,50;A:8,9,10,10,11,12,50;B:12,13,14,14,15,16,17.B:12,13,14,14,15,16,17.

Find each exact mean and median. Which sample has the lower typical time by the median? Which has the lower total recorded time across its seven deliveries? Explain why these conclusions can differ.

Hint

Keep the total for each sample as well as its mean. The long A delivery changes its total without changing the middle observation.

Worked solution
  1. TA=110,TB=101,xˉA=1107,xˉB=1017 min.T_A=110,\quad T_B=101,\quad\bar{x}_A=\frac{110}{7},\quad\bar{x}_B=\frac{101}{7}\ \text{min}.
  2. Both lists are ordered and contain seven times. Their medians are the fourth observations: 1010 min for A and 1414 min for B.

  3. A has the lower typical time by the median. B has the lower observed total, 101101 min rather than 110110 min, and therefore the lower mean for these equal sample sizes.

  4. A’s long 5050-minute delivery raises its mean. The median can describe a typical delivery with less sensitivity to that value; the total and mean answer the different question of how much time the recorded deliveries consumed altogether.

  5. Neither conclusion establishes which method will be faster on every future delivery, and the long record should not be discarded merely because it changes the mean.

Marking guidance
  • 1 mark: obtain both sample counts and totals.
  • 1 mark: obtain the exact mean of A.
  • 1 mark: obtain the exact mean of B.
  • 1 mark: locate both ordered median positions.
  • 1 mark: obtain both medians.
  • 1 mark: identify the lower typical time by the median.
  • 1 mark: identify the lower total and relate it to the mean.
  • 1 mark: explain the difference in purpose and the effect of the extreme observation.
Use a measure that makes sense for categories 5 marks

Students reported their usual travel method. Each student selected exactly one category.

CategoryFrequency
Bus12
Walking9
Cycling12
Car3

Find the total number of students, identify every modal category, and find the fraction using one of those modal categories. A spreadsheet labels the categories with the numerical codes 1,2,3,41,2,3,4. Does the mean of those codes give a meaningful average travel method?

Hint

The modal categories tie at the greatest frequency. Distinguish numerical measurements from numbers used only as labels.

Worked solution
  1. N=12+9+12+3=36.N=12+9+12+3=36.
  2. Bus and cycling each occur 1212 times, the greatest frequency. Both are modes.

  3. fraction in the modal categories=12+1236=23.\text{fraction in the modal categories}=\frac{12+12}{36}=\frac{2}{3}.
  4. The category codes have no measurement scale or natural order. Relabelling the same categories would change their arithmetic mean without changing anybody’s travel method. The modes provide a meaningful description of the most common categories.

Marking guidance
  • 1 mark: sum all category frequencies.
  • 1 mark: identify both tied modal categories.
  • 1 mark: add the frequencies of both modal categories.
  • 1 mark: obtain the fraction of the full sample.
  • 1 mark: explain why the arbitrary category codes do not support a meaningful mean.

Come back to what needs practice

Quick revision sheet (A4)

Your review plan starts after your first check.

Question bank and saved work