Solveeit Logo

Question

Question: If the median of the distribution given below is \(28.5\), find the values of \(x\) and \(y\). C...

If the median of the distribution given below is 28.528.5, find the values of xx and yy.

Class intervalFrequency
0100 - 1055
102010 - 20xx
203020 - 302020
304030 - 401515
405040 - 50yy
506050 - 6055
Total6060
Explanation

Solution

In this question, we are given a table with class interval and frequency. The median of the data is also given. Using the median, find the median class. Draw the table calculating cumulative frequency. Use the median class and formula, Median =l+(n2cff)h = l + \left( {\dfrac{{\dfrac{n}{2} - cf}}{f}} \right)h to find x. After x has been found, use total frequency from the table to find y.

Formula used: Median =l+(n2cff)h = l + \left( {\dfrac{{\dfrac{n}{2} - cf}}{f}} \right)h where, ll = lower limit of median class, n=fin = \sum {{f_i}} , cfcf = cumulative frequency of the class before median class, hh = class interval, ff = frequency of median class.

Complete step-by-step solution:
We are given a table with class interval and its frequency and we are asked to find the value of x and y. First, we will make a table with a cumulative frequency (cf).

Class IntervalFrequencyCumulative Frequency
0100 - 105555
102010 - 20xx5+x5 + x
203020 - 3020205+x+20=25+x5 + x + 20 = 25 + x
304030 - 40151525+x+15=40+x25 + x + 15 = 40 + x
405040 - 50yy40+x+y40 + x + y
506050 - 605540+x+y+5=45+x+y40 + x + y + 5 = 45 + x + y
Total6060

Now, we know that median = 28.528.5. Since median lies in the median class, its median class is 203020 - 30. So, we will apply the formula, Median =l+(n2cff)h = l + \left( {\dfrac{{\dfrac{n}{2} - cf}}{f}} \right)h in this median class.
In this question, l=20l = 20, cf=5+xcf = 5 + x, h=100=10h = 10 - 0 = 10, f=20f = 20 and we know that n=fi=60n = \sum {{f_i}} = 60. Therefore, n2=602=30\dfrac{n}{2} = \dfrac{{60}}{2} = 30.
Putting all the values in the formula,
28.5=20+(30(5+x)20)10\Rightarrow 28.5 = 20 + \left( {\dfrac{{30 - (5 + x)}}{{20}}} \right)10
Solving for x,
28.5=20+(305x2)\Rightarrow 28.5 = 20 + \left( {\dfrac{{30 - 5 - x}}{2}} \right)
Shifting the terms,
28.520=(25x2)\Rightarrow 28.5 - 20 = \left( {\dfrac{{25 - x}}{2}} \right)
8.5×2=25x\Rightarrow 8.5 \times 2 = 25 - x
17=25x\Rightarrow 17 = 25 - x
Shifting and finding the value of x,
x=2517=8\Rightarrow x = 25 - 17 = 8
Now, we know from the table that 45+x+y=6045 + x + y = 60. Putting x=8x = 8 to find the value of y.
45+8+y=60\Rightarrow 45 + 8 + y = 60
Shifting to find y,
y=6053=7\Rightarrow y = 60 - 53 = 7

\therefore The value of x=8,y=7x = 8,y = 7.

Note: Students are often confused while finding cumulative frequency. Cumulative frequency is nothing but the sum of the frequency of that particular interval and the frequencies of predecessors. Basically, it is the sum of all the frequencies before that interval (including the frequency of that interval).