Maths · Ch 13 · Topic 4 of 6Mode
Topic 4 of 6

Mode of grouped data

About 50 minutes · 3 things to learn
By the end you can…
  • Find the modal class and the mode of grouped data by the formula (equal class sizes, one modal class), including inclusive classes.
  • Interpret the mode and compare it with the mean.
  • Find a missing frequency when the mode is given.

A ration shop wants to know the most common waiting time, so that it can plan its counters. The mean waiting time does not answer that — a few very long waits pull the mean up. What the shop wants is the mode. In grouped data you cannot see the most common single value, but you can see the busiest class — and a formula tells you where inside that class the mode lies.

  1. The modal class

In ungrouped data the mode is the value with the largest frequency. In grouped data we can only see which class has the largest frequency. That class is the modal class, and the mode is a value inside it.

  • Look at the frequencies — not the class marks, not the cumulative frequencies.
  • The syllabus asks only for data with one modal class. If two classes share the largest frequency (the data are bimodal), the formula below cannot be used, and such data are not asked.

  1. The formula

Mode=l+(f1−f02f1−f0−f2)×h\text{Mode} = l + \left(\frac{f_1 - f_0}{2f_1 - f_0 - f_2}\right) \times h
Letter Meaning
l lower limit of the modal class
h class size (all classes must be the same size)
f1f_1 frequency of the modal class
f0f_0 frequency of the class before the modal class
f2f_2 frequency of the class after the modal class

Write these five values in a list before you use the formula — that list usually earns a mark of its own.

  1. What the formula says

The mode starts at l and moves a fraction of the way across the class. The fraction is f1−f0(f1−f0)+(f1−f2)\dfrac{f_1 - f_0}{(f_1 - f_0) + (f_1 - f_2)} — note that 2f1−f0−f2=(f1−f0)+(f1−f2)2f_1 - f_0 - f_2 = (f_1 - f_0) + (f_1 - f_2). So the class of size h is split in the ratio (f1−f0):(f1−f2)(f_1 - f_0) : (f_1 - f_2):

  • If the class after is bigger than the class before (f2>f0f_2 > f_0), the mode lies in the upper half of the modal class.
  • If the class before is bigger (f0>f2f_0 > f_2), the mode lies in the lower half.
  • If they are equal, the mode is the class mark.

The mode leans towards the bigger neighbour. This gives a quick check on every answer.

  1. Inclusive classes

For classes such as 10 – 19, 20 – 29, first make them continuous (9.5 – 19.5, 19.5 – 29.5 …). Then l is the continuous lower limit (19.5, not 20) and h is the continuous size (10, not 9).

  1. Mode and mean answer different questions

The mode is the most common value; the mean is the fair share. If a few values are very large, the mean is pulled up but the mode is not. NCERT's example: the mode tells you the marks that most students got; the mean tells you the average marks.

Visuals

The modal class and its neighbours Three touching bars of equal width for the waiting times 5 – 10 (f0 = 11), 10 – 15 (the modal class, f1 = 18) and 15 – 20 (f2 = 13), on an axis with l = 10 and l + h = 15. One line joins the top-left corner of the modal bar to the top-left corner of the bar after it; the other joins the top-right corner of the modal bar to the top-right corner of the bar before it. They cross above 12.92, and a dashed line drops to the axis: mode ≈ 12.92 minutes. Under the modal bar a bracket splits it at that point into f1 − f0 = 7 (left) and f1 − f2 = 5 (right): the mode leans towards the bigger neighbour. Mode = l + (f1 − f0) ÷ (2f1 − f0 − f2) × h, and 2f1 − f0 − f2 = (f1 − f0) + (f1 − f2). The modal class and its neighbours f0 = 11 f2 = 13 f1 = 18 modal class 5 l = 10 l + h = 15 20 mode ≈ 12.92 minutes f1 − f0 = 7 f1 − f2 = 5 the mode leans towards the bigger neighbour Mode = l + f1 − f0 2 f1 − f0 − f2 × h 2 f1 − f0 − f2 = ( f1 − f0 ) + ( f1 − f2 )
The modal class and its neighboursSee what the mode formula does: it splits the modal class in the ratio (f1 − f0) : (f1 − f2).Draw in exam

Try it yourself — the grouped-data explorer. Make the class after the modal class bigger, and watch the mode move up.

Grouped-data explorer Grouped-data explorer (static view): a frequency table with the columns Class, f, x, f × x and cf and a Total row; the modal class and the median class are tinted and named; below it the mean (Σfx ÷ Σf), the median class and median, and the modal class and mode. With JavaScript the table can be edited: the first lower limit, the class size, the number of classes and each frequency. Grouped-data explorer Topic 2, Worked example 1 Class f x f × x c f 0 – 20 4 10 40 4 20 – 40 9 30 270 13 40 – 60 15 50 750 28 60 – 80 8 70 560 36 80 – 100 4 90 360 40 Total 40 1980 modal median Mean Σ f x ÷ Σ f = 1980 ÷ 40 = 49.5 Median class 40 – 60, median ≈ 49.33 Mode class 40 – 60, mode ≈ 49.23 Grouped-data explorer Topic 3, Worked example 1 Class f x f × x c f 3000 – 3500 6 3250 19500 6 3500 – 4000 11 3750 41250 17 4000 – 4500 17 4250 72250 34 4500 – 5000 10 4750 47500 44 5000 – 5500 6 5250 31500 50 Total 50 212000 modal median Mean Σ f x ÷ Σ f = 212000 ÷ 50 = 4240 Median class 4000 – 4500, median ≈ 4235.29 Mode class 4000 – 4500, mode ≈ 4230.77 Grouped-data explorer Topic 4, Worked example 1 Class f x f × x c f 0 – 5 6 2.5 15 6 5 – 10 11 7.5 82.5 17 10 – 15 18 12.5 225 35 15 – 20 13 17.5 227.5 48 20 – 25 7 22.5 157.5 55 25 – 30 5 27.5 137.5 60 Total 60 845 modal median Mean Σ f x ÷ Σ f = 845 ÷ 60 ≈ 14.08 Median class 10 – 15, median ≈ 13.61 Mode class 10 – 15, mode ≈ 12.92 Grouped-data explorer Topic 5, Worked example 1 Class f x f × x c f 0 – 5 5 2.5 12.5 5 5 – 10 8 7.5 60 13 10 – 15 16 12.5 200 29 15 – 20 11 17.5 192.5 40 20 – 25 4 22.5 90 44 25 – 30 6 27.5 165 50 Total 50 720 modal median Mean Σ f x ÷ Σ f = 720 ÷ 50 = 14.4 Median class 10 – 15, median = 13.75 Mode class 10 – 15, mode ≈ 13.08
Grouped-data explorerSee how each column comes from the one before, and that every method gives the same mean.

Worked examples

Worked example 1

The mode by the formula

Question. The waiting times of 60 customers at a ration shop were (in minutes): 0 – 5: 6; 5 – 10: 11; 10 – 15: 18; 15 – 20: 13; 20 – 25: 7; 25 – 30: 5. Find the modal waiting time.

Given: six classes of size 5. Asked: the mode.

Concept used: Mode=l+(f1−f02f1−f0−f2)×h\text{Mode} = l + \left(\dfrac{f_1 - f_0}{2f_1 - f_0 - f_2}\right) \times h. Why it applies: the classes are equal and there is one class with the largest frequency.

  1. 1

    The largest frequency is 18, so the modal class is 10 – 15.

    Time (min) fif_i
    0 – 5 6
    5 – 10 11
    10 – 15 18 ← modal
    15 – 20 13
    20 – 25 7
    25 – 30 5
  2. 2

    l=10l = 10, h=5h = 5, f1=18f_1 = 18, f0=11f_0 = 11, f2=13f_2 = 13.

  3. 3

    Mode=10+(18−112×18−11−13)×5=10+712×5=10+3512\text{Mode} = 10 + \left(\dfrac{18 - 11}{2 \times 18 - 11 - 13}\right) \times 5 = 10 + \dfrac{7}{12} \times 5 = 10 + \dfrac{35}{12}

  4. 4

    3512=2.9166…\dfrac{35}{12} = 2.9166\ldots, so the mode ≈12.92\approx 12.92 minutes (to two decimal places).

  5. Check: the class after (13) is bigger than the class before (11), so the mode must lie in the upper half of 10 – 15, above 12.5 ✔. And the split: 12.92−10=2.9212.92 - 10 = 2.92 and 15−12.92=2.0815 - 12.92 = 2.08, in the ratio about 7:57 : 5 ✔ (as f1−f0=7f_1 - f_0 = 7, f1−f2=5f_1 - f_2 = 5).

  6. Answer The modal waiting time is about 12.92 minutes.

    Common trap: Swapping f0f_0 and f2f_2: 10+18−1312×5≈12.0810 + \dfrac{18 - 13}{12} \times 5 \approx 12.08 — this puts the mode in the lower half, the wrong side.

Worked example 2

Mode and mean compared

Question. In Topic 2, Worked example 2, the monthly electricity bills of 50 homes were ₹600 – 800: 4; ₹800 – 1000: 8; ₹1000 – 1200: 15; ₹1200 – 1400: 12; ₹1400 – 1600: 7; ₹1600 – 1800: 4, and the mean bill was ₹1188. Find the modal bill and compare it with the mean.

Given: the table and the mean ₹1188. Asked: the mode and what the two values say.

Concept used: the mode formula; the mode is the most common value, the mean the fair share. Why it applies: the classes are equal, with one modal class.

  1. 1

    Largest frequency 15 → modal class ₹1000 – 1200.

  2. 2

    l=1000l = 1000, h=200h = 200, f1=15f_1 = 15, f0=8f_0 = 8, f2=12f_2 = 12.

  3. 3

    Mode=1000+(15−830−8−12)×200=1000+710×200=1000+140=1140\text{Mode} = 1000 + \left(\dfrac{15 - 8}{30 - 8 - 12}\right) \times 200 = 1000 + \dfrac{7}{10} \times 200 = 1000 + 140 = 1140

  4. 4

    Compare: the most common bill is about ₹1140, while the average bill is ₹1188. The mean is higher because the homes with large bills (₹1400 and above: 11 homes) pull it up; the mode depends only on the busiest classes.

  5. Check: f2=12>f0=8f_2 = 12 > f_0 = 8, so the mode is above the class mark 1100 ✔; the split 140:60=7:3140 : 60 = 7 : 3 matches (15−8):(15−12)(15 - 8) : (15 - 12) ✔.

  6. Answer Modal bill ≈ ₹1140; mean bill ₹1188. Most homes pay about ₹1140, but on average a home pays ₹1188.

    Common trap: Saying "the mode is ₹1000 – 1200". That is the modal class; the mode is one value, ₹1140.

Worked example 3

Inclusive classes

Question. The ages of 70 visitors to a science museum on one morning were: 10 – 19 years: 9; 20 – 29: 16; 30 – 39: 23; 40 – 49: 14; 50 – 59: 8. Find the modal age.

Given: inclusive classes (gap 1). Asked: the mode.

Concept used: mode formula with the continuous class limits. Why it applies: l and h must come from touching classes.

  1. 1

    Half the gap is 0.5, so the continuous classes are 9.5 – 19.5, 19.5 – 29.5, 29.5 – 39.5, 39.5 – 49.5, 49.5 – 59.5.

  2. 2

    Largest frequency 23 → modal class 30 – 39, that is, 29.5 – 39.5.

  3. 3

    l=29.5l = 29.5, h=10h = 10, f1=23f_1 = 23, f0=16f_0 = 16, f2=14f_2 = 14.

  4. 4

    Mode=29.5+(23−1646−16−14)×10=29.5+716×10=29.5+4.375=33.875\text{Mode} = 29.5 + \left(\dfrac{23 - 16}{46 - 16 - 14}\right) \times 10 = 29.5 + \dfrac{7}{16} \times 10 = 29.5 + 4.375 = 33.875 years.

  5. Check: f0=16>f2=14f_0 = 16 > f_2 = 14, so the mode is in the lower half of 29.5 – 39.5, below the class mark 34.5 ✔; the split 4.375:5.625=7:94.375 : 5.625 = 7 : 9 matches (23−16):(23−14)(23 - 16) : (23 - 14) ✔.

  6. Answer The modal age is about 33.88 years (33.875 exactly).

    Common trap: Using l=30l = 30 and h=9h = 9: 30+716×9≈33.9430 + \dfrac{7}{16} \times 9 \approx 33.94 — the class has been read as having gaps.

Worked example 4

A missing frequency from the mode

Question. The mode of the distribution 0 – 10: 4; 10 – 20: 8; 20 – 30: x; 30 – 40: 18; 40 – 50: 10; 50 – 60: 5 is 36. Find x.

Given: mode 36; one unknown frequency x (in the class before the modal class). Asked: x.

Concept used: the mode formula as an equation in x. Why it applies: the mode 36 lies in 30 – 40, so that is the modal class, and x is f0f_0.

  1. 1

    Modal class 30 – 40: l=30l = 30, h=10h = 10, f1=18f_1 = 18, f0=xf_0 = x, f2=10f_2 = 10.

  2. 2

    36=30+(18−x36−x−10)×1036 = 30 + \left(\dfrac{18 - x}{36 - x - 10}\right) \times 10, so 6=10(18−x)26−x6 = \dfrac{10(18 - x)}{26 - x}.

  3. 3

    6(26−x)=10(18−x)6(26 - x) = 10(18 - x), that is, 156−6x=180−10x156 - 6x = 180 - 10x.

  4. 4

    4x=244x = 24, so x=6x = 6.

  5. Check: with x=6x = 6: 30+18−636−6−10×10=30+1220×10=3630 + \dfrac{18 - 6}{36 - 6 - 10} \times 10 = 30 + \dfrac{12}{20} \times 10 = 36 ✔, and 18 is still the largest frequency, so 30 – 40 is still the only modal class ✔.

  6. Answer x=6x = 6

    Common trap: Putting x as f2f_2 — x belongs to 20 – 30, the class before the modal class.

4 examples · they get harder as you go

Quick check

Answer without scrolling up
Quick check · 1 of 4MCQ1 mark

For the distribution 0 – 10: 7; 10 – 20: 15; 20 – 30: 11; 30 – 40: 9; 40 – 50: 4, the modal class is:

Quick check · 2 of 4Short answer2 marks

Find the mode of 20 – 30: 5; 30 – 40: 12; 40 – 50: 20; 50 – 60: 14; 60 – 70: 4.

Quick check · 3 of 4MCQ1 mark

For a modal class with l=20l = 20, h=10h = 10, f1=16f_1 = 16, f0=10f_0 = 10 and f2=6f_2 = 6, the mode is:

Quick check · 4 of 4MCQ1 mark

The classes are 15 – 19, 20 – 24, 25 – 29, 30 – 34, and the modal class is 20 – 24. In the mode formula, l and h are:

Key points

  • The modal class is the class with the largest frequency; the mode is a value inside it.
  • Mode=l+(f1−f02f1−f0−f2)×h\text{Mode} = l + \left(\dfrac{f_1 - f_0}{2f_1 - f_0 - f_2}\right) \times h; list l, h, f1f_1, f0f_0, f2f_2 first.
  • The mode leans towards the bigger neighbour; it splits the class in the ratio (f1−f0):(f1−f2)(f_1 - f_0) : (f_1 - f_2).
  • Inclusive classes: use the continuous l and h.
  • Mode = most common value; mean = fair share. A few very large values pull the mean up, not the mode.
My notesComing soon