Solveeit Logo

Question

Question: The median of the following data is 525. Find the values of \(x\) and \(y\) if the total frequency i...

The median of the following data is 525. Find the values of xx and yy if the total frequency is 100.

Class IntervalFrequency
0-1002
100-2005
200-300xx
300-40012
400-50017
500-60020
600-700yy
700-8009
800-9007
900-10004
Explanation

Solution

We solve this problem by first adding the frequencies of all the classes given and then equate it to 100. Then we get an equation with xx and yy. Then we find the median class from the given value of median. Then we use the formula for median of the grouped frequency, Median=l+N2Cf×hMedian=l+\dfrac{\dfrac{N}{2}-C}{f}\times h and substitute the values as required and find the value of xx. Then we substitute the value of xx in the obtained equation with xx and yy to find the value of yy.

Complete step by step answer:
We can see that the given frequency distribution is grouped.
Now let us add a column of cumulative frequency to the given frequency table.

Classfi{{f}_{i}}Cumulative Frequency (less than) Fi{{F}_{i}}
0-10022
100-20057
200-300xx7+xx
300-4001219+xx
400-5001736+xx
500-6002056+xx
600-700yy56+x+yx+y
700-800965+x+yx+y
800-900772+x+yx+y
900-1000476+x+yx+y
Totalfi=76+x+y\sum{{{f}_{i}}}=76+x+y

We are given that the total frequency is 100.
So, we get,
fi=76+x+y 76+x+y=100 x+y=24..........(1) \begin{aligned} & \Rightarrow \sum{{{f}_{i}}}=76+x+y \\\ & \Rightarrow 76+x+y=100 \\\ & \Rightarrow x+y=24..........\left( 1 \right) \\\ \end{aligned}
Now let us consider the formula for median of the grouped frequency.
Median=l+N2Cf×hMedian=l+\dfrac{\dfrac{N}{2}-C}{f}\times h
where, l=l= Lower limit of median class
h=h= width of the class interval
f=f= frequency of the median class
N=N= Sum of all frequencies
C=C= Cumulative frequency of the class preceding median class

We are given that median of the given data is 525. From the given table, we can see that the median class is 500-600 because given value of median lies in the class 500-600.
So, Median Class = 500-600
So, from the table above we get the values required in the formula as,
l=500l=500, N=100N=100, C=36+xC=36+x, h=100h=100 and f=20f=20.
So, substituting them in the formula for median we get,
Median=500+1002(36+x)20×100 525=500+(50(36+x))×5 525500=(5036x)×5 \begin{aligned} & \Rightarrow Median=500+\dfrac{\dfrac{100}{2}-\left( 36+x \right)}{20}\times 100 \\\ & \Rightarrow 525=500+\left( 50-\left( 36+x \right) \right)\times 5 \\\ & \Rightarrow 525-500=\left( 50-36-x \right)\times 5 \\\ \end{aligned}
25=(14x)×5 50=705x 5x=7050 5x=20 x=4 \begin{aligned} & \Rightarrow 25=\left( 14-x \right)\times 5 \\\ & \Rightarrow 50=70-5x \\\ & \Rightarrow 5x=70-50 \\\ & \Rightarrow 5x=20 \\\ & \Rightarrow x=4 \\\ \end{aligned}
Substituting this value in the equation (1) we get,
x+y=24 4+y=24 y=244 y=20 \begin{aligned} & \Rightarrow x+y=24 \\\ & \Rightarrow 4+y=24 \\\ & \Rightarrow y=24-4 \\\ & \Rightarrow y=20 \\\ \end{aligned}
So, we get the values of xx and yy as 4 and 20 respectively.

Hence the answer is 4 and 20.

Note: There is a possibility of one making a mistake while solving this problem by taking the interpretation of the formula for median in a wrong way as,
Median=l+N2Cf×hMedian=l+\dfrac{\dfrac{N}{2}-C}{f}\times h
where, l=l= Lower limit of median class
h=h= width of the class interval
f=f= Cumulative frequency of the median class
N=N= Sum of all frequencies
C=C= Frequency of the class preceding median class
So, one needs to be careful while applying the formula.