If the median of the distribution given below is $28.5,$ find the values of $x$ and $y$.
Class intervalFrequency
$0-10$$5$
$10-20$$x$
$20-30$$20$
$30-40$$15$
$40-50$$y$
$50-60$$5$
Total$60$

Vedclass pdf generator app on play store
Vedclass iOS app on app store
(A) The cumulative frequency for the given data is calculated as follows:
Class intervalFrequencyCumulative frequency
$0-10$$5$$5$
$10-20$$x$$5+x$
$20-30$$20$$25+x$
$30-40$$15$$40+x$
$40-50$$y$$40+x+y$
$50-60$$5$$45+x+y$

From the table,the total frequency $n = 60$.
Thus,$45+x+y = 60 \implies x+y = 15 \dots (1)$.
The median is $28.5$,which lies in the class interval $20-30$.
Therefore,the median class is $20-30$.
Lower limit $(l) = 20$,frequency $(f) = 20$,cumulative frequency $(cf) = 5+x$,and class size $(h) = 10$.
Using the median formula: $\text{Median} = l + \left( \frac{\frac{n}{2} - cf}{f} \right) \times h$.
$28.5 = 20 + \left( \frac{30 - (5+x)}{20} \right) \times 10$.
$8.5 = \frac{25-x}{2}$.
$17 = 25 - x \implies x = 8$.
Substituting $x=8$ into equation $(1)$: $8+y = 15 \implies y = 7$.
Thus,$x = 8$ and $y = 7$.

Explore More

Similar Questions

In the formula $M = l + \frac{(\frac{n}{2} - cf)}{f} \times h$ for the median,$l = \ldots \ldots \ldots$

During the medical check-up of $35$ students of a class,their weights were recorded as follows:
Weight (in kg)Number of students
Less than $38$$0$
Less than $40$$3$
Less than $42$$5$
Less than $44$$9$
Less than $46$$14$
Less than $48$$28$
Less than $50$$32$
Less than $52$$35$

Draw a less than type ogive for the given data. Hence,obtain the median weight from the graph and verify the result by using the formula.

The maximum bowling speeds,in $km/h$,of $33$ players at a cricket coaching centre are given as follows:
Speed $(km/h)$ $85-100$ $100-115$ $115-130$ $130-145$
Number of players $11$ $9$ $8$ $5$

Calculate the median bowling speed (in $km/h$).

The lengths of $40$ leaves of a plant are measured correct to the nearest millimetre,and the data obtained is represented in the following table:
Length (in mm)Number of leaves
$118-126$$3$
$127-135$$5$
$136-144$$9$
$145-153$$12$
$154-162$$5$
$163-171$$4$
$172-180$$2$

Find the median length of the leaves.

The annual profits earned by $30$ shops of a shopping complex in a locality give rise to the following distribution:
Profit (Rs in lakhs)Number of shops (frequency)
More than or equal to $5$$30$
More than or equal to $10$$28$
More than or equal to $15$$16$
More than or equal to $20$$14$
More than or equal to $25$$10$
More than or equal to $30$$7$
More than or equal to $35$$3$

Draw both ogives for the data above. Hence,obtain the median profit.

Vedclass Products

For Students

Vedclass Test Series

Mock tests in real JEE/NEET style with performance analysis. 5-day free trial.

Start Free Trial
For Teachers

Exam Paper Generator

Generate Set A/B/C/D exam papers from 7.5L+ questions in 2 minutes. 3 chapters free.

Try Free
For Institutes

Online Exam Module

Live online exams with unlimited students, 360° analytics & white-label branding.

See Demo