SOLVER7 Study. Nothing Else.
2023 Board Paper Q34

A student noted the number of cars passing through a spot on a road for 100 periods each of 3 minutes and summarized it in the table given below. Find the mean and median of the following data.

CBSE Class 10 Maths · Statistics

Solution

👶 Simple Explanation

Simple Explanation

Imagine you have test scores grouped into buckets, like 0–10, 10–20, and so on. To find the average, you pick the middle value of each bucket. Multiply that middle value by how many scores are in the bucket. Add all those up, then divide by the total number of scores. To find the median, you look for the middle score's bucket and use a simple trick to estimate it. Here the average works out to 40.7 and the middle value is 42.

Answer: Mean \(= 40.7\) and Median \(= 42\).

📖 Mean and Median of Grouped Data (Cars passing a spot)

Detailed Explanation

For a grouped frequency distribution, we cannot use exact values, so we use class marks (midpoints) to estimate the mean. The class mark is the average of the lower and upper class limits. The mean is found using the direct method by multiplying each class mark by its frequency, summing, and dividing by the total frequency. The median for grouped data is found by first locating the median class (the class where the cumulative frequency first reaches or exceeds \(N/2\)) and then using the median formula. This gives an estimate of the middle value of the data.

Formula Used

Mean: \(\bar{x} = \dfrac{\sum f_i x_i}{\sum f_i}\). Median: \(\text{Median} = l + \left(\dfrac{\dfrac{N}{2} - cf}{f}\right) \times h\), where \(l\) is the lower limit of the median class, \(N\) is the total frequency, \(cf\) is the cumulative frequency before the median class, \(f\) is the frequency of the median class and \(h\) is the class width.

Solution

  1. Step 1: Write class marks and frequencies: The class mark \(x_i\) is calculated as \(x_i = \dfrac{\text{lower limit} + \text{upper limit}}{2}\). The class marks are: for 0-10 it is 5, for 10-20 it is 15, for 20-30 it is 25, for 30-40 it is 35, for 40-50 it is 45, for 50-60 it is 55, for 60-70 it is 65, for 70-80 it is 75. The corresponding frequencies are 7, 14, 13, 12, 20, 11, 15, 8.
  2. Step 2: Compute \(f_i x_i\) for each class: Multiply each frequency by its class mark: \(7 \times 5 = 35\), \(14 \times 15 = 210\), \(13 \times 25 = 325\), \(12 \times 35 = 420\), \(20 \times 45 = 900\), \(11 \times 55 = 605\), \(15 \times 65 = 975\), \(8 \times 75 = 600\).
  3. Step 3: Find totals: Total frequency: \(\sum f_i = 7 + 14 + 13 + 12 + 20 + 11 + 15 + 8 = 100\). Total \(\sum f_i x_i = 35 + 210 + 325 + 420 + 900 + 605 + 975 + 600 = 4070\).
  4. Step 4: Calculate the Mean: Using the direct method: \[\bar{x} = \dfrac{\sum f_i x_i}{\sum f_i} = \dfrac{4070}{100} = 40.7\] So the mean number of cars per 3-minute period is 40.7.
  5. Step 5: Prepare cumulative frequencies: Cumulative frequencies (cf): 7, 21, 34, 46, 66, 77, 92, 100. Here \(N = 100\) so \(\dfrac{N}{2} = 50\).
  6. Step 6: Identify the median class: We need the class where the cumulative frequency first becomes greater than or equal to 50. The cf just before 50 is 46 (class 30-40), and cf 66 belongs to the class 40-50. So the median class is 40-50. Here \(l = 40\), \(cf = 46\), \(f = 20\), \(h = 10\).
  7. Step 7: Apply the median formula: \[\text{Median} = l + \left(\dfrac{\dfrac{N}{2} - cf}{f}\right) \times h\] Substituting the values: \[\text{Median} = 40 + \left(\dfrac{50 - 46}{20}\right) \times 10\] \[\text{Median} = 40 + \dfrac{4}{20} \times 10 = 40 + 2 = 42\]

Final Answer

Mean \(= 40.7\) and Median \(= 42\).

Common Mistake

A very common mistake is choosing the median class by simply picking the class with the highest frequency (which gives the mode class). The median class is the one whose cumulative frequency first crosses \(N/2\), not the one with maximum frequency.

🪜 Step-by-step Solution

Step-by-step Solution

  1. Step 1: Find the class mark (midpoint) for each interval using \[x_i = \frac{\text{lower limit} + \text{upper limit}}{2}\] The class marks are: 0–10 gives \(x_i = 5\), 10–20 gives \(x_i = 15\), 20–30 gives \(x_i = 25\), 30–40 gives \(x_i = 35\), 40–50 gives \(x_i = 45\), 50–60 gives \(x_i = 55\), 60–70 gives \(x_i = 65\), 70–80 gives \(x_i = 75\). — Reason: Since exact data values are unknown in grouped data, midpoints represent all values in that class.
  2. Step 2: Multiply each class mark by its corresponding frequency to get \(f_i x_i\): \[7 \times 5 = 35\] \[14 \times 15 = 210\] \[13 \times 25 = 325\] \[12 \times 35 = 420\] \[20 \times 45 = 900\] \[11 \times 55 = 605\] \[15 \times 65 = 975\] \[8 \times 75 = 600\] — Reason: These products are needed to compute the weighted total, which leads us to the mean.
  3. Step 3: Sum all frequencies and all \(f_i x_i\) values. Total frequency: \[N = 7 + 14 + 13 + 12 + 20 + 11 + 15 + 8 = 100\] Sum of \(f_i x_i\): \[\sum f_i x_i = 35 + 210 + 325 + 420 + 900 + 605 + 975 + 600 = 4070\] — Reason: We need both totals to apply the mean formula.
  4. Step 4: Apply the mean formula: \[\bar{x} = \frac{\sum f_i x_i}{\sum f_i} = \frac{4070}{100} = 40.7\] — Reason: Dividing the weighted total by the number of observations gives the estimated mean of the distribution.
  5. Step 5: Build the cumulative frequency (cf) table to locate the median class. Cumulative frequencies: 0–10: \(cf = 7\), 10–20: \(cf = 21\), 20–30: \(cf = 34\), 30–40: \(cf = 46\), 40–50: \(cf = 66\), 50–60: \(cf = 77\), 60–70: \(cf = 92\), 70–80: \(cf = 100\). Now, \[\frac{N}{2} = \frac{100}{2} = 50\] The cumulative frequency first reaches or exceeds 50 in the class 40–50 (where \(cf = 66\)). So the median class is 40–50. — Reason: The median class contains the middle value of the dataset, and we need it to use the interpolation formula.
  6. Step 6: Identify the values needed for the median formula from the median class 40–50: lower boundary \(l = 40\), cumulative frequency before the median class \(cf = 34\) (from the 30–40 row), frequency of the median class \(f = 20\), and class width \(h = 10\). Apply the median formula: \[\text{Median} = l + \left(\frac{\frac{N}{2} - cf}{f}\right) \times h\] \[\text{Median} = 40 + \left(\frac{50 - 34}{20}\right) \times 10\] \[\text{Median} = 40 + \left(\frac{16}{20}\right) \times 10\] \[\text{Median} = 40 + 0.8 \times 10\] \[\text{Median} = 40 + 8 = 48\] Wait — re-checking: \(cf\) before the 40–50 class is 34, \(\frac{N}{2} = 50\), so \[\text{Median} = 40 + \frac{50 - 34}{20} \times 10 = 40 + \frac{16}{20} \times 10 = 40 + 8 = 48\] Re-examining cumulative frequencies: 0–10: 7, 10–20: 21, 20–30: 34, 30–40: 46. Since \(cf\) at 30–40 is 46, which is less than 50, and at 40–50 is 66, the median class is 40–50, with \(cf = 46\) before it. So: \[\text{Median} = 40 + \frac{50 - 46}{20} \times 10 = 40 + \frac{4}{20} \times 10 = 40 + 2 = 42\] — Reason: Using the correct cumulative frequency before the median class (\(cf = 46\)) gives the accurate interpolated median.

Final Answer

Mean \(= 40.7\) and Median \(= 42\).

Common Mistake

One common mistake: Students often use the cumulative frequency of the median class itself (66) instead of the cumulative frequency of the class just before it (46) when substituting into the median formula, which leads to an incorrect result.

✍️ Exam-ready Answer

Exam-ready Answer

  1. Step 1: Compute \(\sum f_i x_i\) and \(N\): Class marks and products: \(7{\times}5 + 14{\times}15 + 13{\times}25 + 12{\times}35 + 20{\times}45 + 11{\times}55 + 15{\times}65 + 8{\times}75\) \[= 35 + 210 + 325 + 420 + 900 + 605 + 975 + 600 = 4070\] Total frequency: \(N = 7+14+13+12+20+11+15+8 = 100\)
  2. Step 2: Mean: \[\bar{x} = \frac{4070}{100} = 40.7\]
  3. Step 3: Locate median class and apply formula: Cumulative frequencies: 7, 21, 34, 46, 66, … Since \(\dfrac{N}{2} = 50\), median class is 40–50, with \(l = 40\), \(cf = 46\), \(f = 20\), \(h = 10\). \[\text{Median} = 40 + \left(\frac{50 - 46}{20}\right) \times 10 = 40 + 2 = 42\]

Answer: Mean \(= 40.7\) and Median \(= 42\).

➕ More Examples

More Examples

Example 1

Question: A hospital recorded the number of patients visiting an outpatient department during 90 time slots, each of 30 minutes, and summarised the data in the table below. Find the mean and median number of patients per slot.
Number of patients | Number of slots 0 – 10 | 5 10 – 20 | 14 20 – 30 | 28 30 – 40 | 22 40 – 50 | 15 50 – 60 | 6

Solution: Step 1 — Set up the table with mid-values \(x_i\), frequencies \(f_i\), and step deviations \(u_i\).
Let the assumed mean be \(a = 30\) (mid-value of the class 25–35 is not available; we use \(a = 30\) which is the boundary, but more naturally we take the mid-value of a central class). Actually the mid-value of 20–30 is 25 and of 30–40 is 35. Let us take \(a = 25\) (mid-value of 20–30, roughly central).
Class width: \(h = 10\).
Mid-values: \(x_1 = 5,\; x_2 = 15,\; x_3 = 25,\; x_4 = 35,\; x_5 = 45,\; x_6 = 55\).
Step deviations \(u_i = \frac{x_i - 25}{10}\): \(u_1 = -2,\; u_2 = -1,\; u_3 = 0,\; u_4 = 1,\; u_5 = 2,\; u_6 = 3\).
Products \(f_i u_i\): \(f_1 u_1 = 5 \times (-2) = -10\) \(f_2 u_2 = 14 \times (-1) = -14\) \(f_3 u_3 = 28 \times 0 = 0\) \(f_4 u_4 = 22 \times 1 = 22\) \(f_5 u_5 = 15 \times 2 = 30\) \(f_6 u_6 = 6 \times 3 = 18\)
Sums: \[\sum f_i = 5 + 14 + 28 + 22 + 15 + 6 = 90\] \[\sum f_i u_i = -10 + (-14) + 0 + 22 + 30 + 18 = 46\]
Step 2 — Calculate the Mean. \[\bar{x} = 25 + \frac{46}{90} \times 10 = 25 + \frac{460}{90} = 25 + 5.11\]
So the mean is approximately \(30.11\) patients per slot.
Step 3 — Find cumulative frequencies for the Median.
Class 0–10: cf = 5
Class 10–20: cf = 5 + 14 = 19
Class 20–30: cf = 19 + 28 = 47
Class 30–40: cf = 47 + 22 = 69
Class 40–50: cf = 69 + 15 = 84
Class 50–60: cf = 84 + 6 = 90
Step 4 — Identify the median class. \[\frac{n}{2} = \frac{90}{2} = 45\]
The cumulative frequency first exceeds 45 in the class 20–30 (cf = 47). So the median class is 20–30.
Here: \(l = 20,\; f = 28,\; cf = 19,\; h = 10\).
Step 5 — Calculate the Median. \[M = 20 + \left(\frac{45 - 19}{28}\right) \times 10 = 20 + \frac{26}{28} \times 10 = 20 + \frac{260}{28}\] \[M = 20 + 9.29 \approx 29.29\]

Answer: Mean \(\approx 30.11\) patients per slot; Median \(\approx 29.29\) patients per slot.

Example 2

Question: A librarian recorded the number of books borrowed by members during 120 visits to the library and summarised the data as follows. Find the mean and median number of books borrowed per visit.
Number of books borrowed | Number of visits 0 – 5 | 8 5 – 10 | 20 10 – 15 | 35 15 – 20 | 30 20 – 25 | 18 25 – 30 | 9

Solution: Step 1 — Set up the table.
Let assumed mean \(a = 12.5\) (mid-value of class 10–15, which is central). Class width \(h = 5\).
Mid-values: \(x_1 = 2.5,\; x_2 = 7.5,\; x_3 = 12.5,\; x_4 = 17.5,\; x_5 = 22.5,\; x_6 = 27.5\).
Step deviations \(u_i = \frac{x_i - 12.5}{5}\): \(u_1 = -2,\; u_2 = -1,\; u_3 = 0,\; u_4 = 1,\; u_5 = 2,\; u_6 = 3\).
Products \(f_i u_i\): \(f_1 u_1 = 8 \times (-2) = -16\) \(f_2 u_2 = 20 \times (-1) = -20\) \(f_3 u_3 = 35 \times 0 = 0\) \(f_4 u_4 = 30 \times 1 = 30\) \(f_5 u_5 = 18 \times 2 = 36\) \(f_6 u_6 = 9 \times 3 = 27\)
Sums: \[\sum f_i = 8 + 20 + 35 + 30 + 18 + 9 = 120\] \[\sum f_i u_i = -16 + (-20) + 0 + 30 + 36 + 27 = 57\]
Step 2 — Calculate the Mean. \[\bar{x} = 12.5 + \frac{57}{120} \times 5 = 12.5 + \frac{285}{120} = 12.5 + 2.375 = 14.875\]
So the mean is approximately \(14.88\) books per visit.
Step 3 — Find cumulative frequencies for the Median.
Class 0–5: cf = 8
Class 5–10: cf = 8 + 20 = 28
Class 10–15: cf = 28 + 35 = 63
Class 15–20: cf = 63 + 30 = 93
Class 20–25: cf = 93 + 18 = 111
Class 25–30: cf = 111 + 9 = 120
Step 4 — Identify the median class. \[\frac{n}{2} = \frac{120}{2} = 60\]
The cumulative frequency first exceeds 60 in the class 10–15 (cf = 63). So the median class is 10–15.
Here: \(l = 10,\; f = 35,\; cf = 28,\; h = 5\).
Step 5 — Calculate the Median. \[M = 10 + \left(\frac{60 - 28}{35}\right) \times 5 = 10 + \frac{32}{35} \times 5 = 10 + \frac{160}{35}\] \[M = 10 + 4.57 \approx 14.57\]

Answer: Mean \(\approx 14.88\) books per visit; Median \(\approx 14.57\) books per visit.

🎯 Try a Similar Question

Try a Similar Question

Question: A librarian recorded the number of books borrowed from a library each day over 80 days and summarized the data in the table below. Find the Mean and Median of the following data.
Number of books borrowed | Number of days (frequency) 0 – 10 | 4 10 – 20 | 8 20 – 30 | 14 30 – 40 | 22 40 – 50 | 18 50 – 60 | 10 60 – 70 | 4

Solution

  1. Step 1: Set up the frequency table: We list the class intervals with their frequencies and find the midpoints \( x_i \) for each class:
    Class: 0–10, midpoint \( x_i = 5 \), \( f_i = 4 \)
    Class: 10–20, midpoint \( x_i = 15 \), \( f_i = 8 \)
    Class: 20–30, midpoint \( x_i = 25 \), \( f_i = 14 \)
    Class: 30–40, midpoint \( x_i = 35 \), \( f_i = 22 \)
    Class: 40–50, midpoint \( x_i = 45 \), \( f_i = 18 \)
    Class: 50–60, midpoint \( x_i = 55 \), \( f_i = 10 \)
    Class: 60–70, midpoint \( x_i = 65 \), \( f_i = 4 \)
    Total: \( \sum f_i = 80 \)
  2. Step 2: Choose assumed mean and compute deviations: We choose assumed mean \( a = 35 \) (midpoint of class 30–40) and class width \( h = 10 \).
    We calculate \( u_i = \frac{x_i - a}{h} \) for each class: \( u_i \) for 5: \( \frac{5 - 35}{10} = -3 \) \( u_i \) for 15: \( \frac{15 - 35}{10} = -2 \) \( u_i \) for 25: \( \frac{25 - 35}{10} = -1 \) \( u_i \) for 35: \( \frac{35 - 35}{10} = 0 \) \( u_i \) for 45: \( \frac{45 - 35}{10} = 1 \) \( u_i \) for 55: \( \frac{55 - 35}{10} = 2 \) \( u_i \) for 65: \( \frac{65 - 35}{10} = 3 \)
  3. Step 3: Compute f_i × u_i and their sum: Now we compute \( f_i u_i \) for each class: \( 4 \times (-3) = -12 \) \( 8 \times (-2) = -16 \) \( 14 \times (-1) = -14 \) \( 22 \times 0 = 0 \) \( 18 \times 1 = 18 \) \( 10 \times 2 = 20 \) \( 4 \times 3 = 12 \)
    Summing these: \[ \sum f_i u_i = -12 + (-16) + (-14) + 0 + 18 + 20 + 12 = 8 \]
  4. Step 4: Calculate the Mean: Using the formula: \[ \bar{x} = a + \frac{\sum f_i u_i}{\sum f_i} \times h \] Substituting the values: \[ \bar{x} = 35 + \frac{8}{80} \times 10 \] \[ \bar{x} = 35 + 0.1 \times 10 \] \[ \bar{x} = 35 + 1 = 36 \] Therefore, Mean \( = 36 \).
  5. Step 5: Compute cumulative frequencies for Median: We build the cumulative frequency (cf) column: 0–10: cf = 4 10–20: cf = 4 + 8 = 12 20–30: cf = 12 + 14 = 26 30–40: cf = 26 + 22 = 48 40–50: cf = 48 + 18 = 66 50–60: cf = 66 + 10 = 76 60–70: cf = 76 + 4 = 80
    Total \( N = 80 \), so \( \frac{N}{2} = 40 \).
  6. Step 6: Identify the Median class: We look for the class where the cumulative frequency first exceeds or equals \( \frac{N}{2} = 40 \).
    Cumulative frequency just before class 30–40 is 26, and for 30–40 it becomes 48.
    Since 48 is the first cf to exceed 40, the median class is 30–40.
    So: lower boundary \( l = 30 \), cumulative frequency before median class \( cf = 26 \), frequency of median class \( f = 22 \), class width \( h = 10 \).
  7. Step 7: Calculate the Median: Using the formula: \[ M = l + \frac{\frac{N}{2} - cf}{f} \times h \] Substituting: \[ M = 30 + \frac{40 - 26}{22} \times 10 \] \[ M = 30 + \frac{14}{22} \times 10 \] \[ M = 30 + \frac{140}{22} \] \[ M = 30 + 6.36 \approx 36.36 \] Therefore, Median \( \approx 36.36 \).

Answer: Mean \( = 36 \) and Median \( \approx 36.36 \).

Everything you get with Solver7

More questions in Statistics