JEE Main 2021MathematicsStatisticsMediumNumerical

JEE Main 2021Statistics Question with Solution

JEE Main 2021 (22 Jul Shift 1)

Question

Consider the following frequency distribution:

Class: 0-6 6-12 12-18 18-24 24-30
Frequency: a b 12 9 5

If mean =30922 and median =14, then the value (a-b)2 is equal to

Enter your answer

Show full solutionCorrect answer: 4
Correct answer
4

Step-by-step explanation

Class Frequency  Mid-point xi fixi
0-6 a 0+62=3 3a
6-12 b 6+122=9 9b
12-18 12 12+182=15 180
18-24 9 18+242=21 189
24-30 5 24+302=27 135
  N=26+a+b   504+3a+9b

We know that, mean=fixifi

Given, mean=30922

3a+9 b+180+189+135a+b+26=30922

504+3a+9 ba+b+26=30922

66a+198 b+11088=309a+309 b+8034

243a+111 b=3054

81a+37b=1018   ...1

Now, median=14, which lies in the interval 12-18, thus 12-18 is the median class and we have =l+N2-c×hf,

Where, l is the lower limit of the median class i.e. l=12, c is the cumulative frequency of the class above the median class i.e. c=a+b, f is the frequency of the median class i.e. f=12 and h is the length of the interval i.e. h=6.

Thus, we have 12+a+b+262-(a+b)12×6=14

a+b+26-2a-2b22=14-12

26-a-b4=2

26-a-b=8

a+b=18   ...2

On solving the equations 1 and 2, we get a=8, b=10.

 a-b2=8-102=4.

Practice this on the real CBT interface

Solve this JEE Main question (and the rest of the Statistics chapter) on PrepSharp's TCS iON-style CBT player — with timer, bookmarks and session analytics.

Solve interactively →

About this question

This is a previous-year question from JEE Main 2021, covering the Statistics chapter of Mathematics. PrepSharp catalogues every PYQ from JEE Main with a verified answer key and step-by-step solution prepared by IIT alumni — so you can search by chapter, topic or year and revise efficiently.