Given a table showing grouped data and the frequency of each class, find the median Q2

Step 1: Add a cumulative frequency column to the table

Step2: Use the formula n/2 (where n is the final total in the cumulative frequency column) to find the class the median, Q2, is in.

Let n/2= a, so that Qis in the class d<=y<e

because in the cumulative frequency column , b<a<c where b is the cumulative frequency of the class before d<=y<e and c the cumulative frequency of the class after


Step 3: Find the lower and upper class boundaries of the class that Q2 is in.

Q2 is the class d<=y<e.

Let class before d<=y<e  with cumulative frequency b be f<=y<g

Let the class after d<=y<e  with cumulative frequency c be  h<=y<i

Lower class boundary= l = (g+d)/2

Upper class boundary = u= (e+h)/2



Step 4: Interpolate to find Q

Using the following formula, the value of Q2 can be found:

(Q2-l) / (u-l) = (n/2-b) / (c-b)


We know from step 2

Qis in the class d<=y<e

b<a<c with n/2=a

b= the cumulative frequency of the class before the class Qis in

c= cumulative frequency of the class after the class Qis in


We know from step 3

 l=lower class boundary of the class d<=y<e

u= upper class boundary of the class d<=y<e

Lesedi S. A Level Further Mathematics  tutor, A Level Maths tutor, GC...

2 years ago

Answered by Lesedi, an A Level Maths tutor with MyTutor

Still stuck? Get one-to-one help from a personally interviewed subject specialist


£20 /hr

Kyna F.

Degree: Materials Engineering (Masters) - Exeter University

Subjects offered: Maths, Science+ 3 more

-Personal Statements-

“About me Hello, my name is Kyna and I'm a second year Materials Engineering student studying at theUniveristy of Exeter. I have always had a love for all things science and maths, and would love to help any students in need of extra s...”

£20 /hr

Eduardo S.

Degree: Bioengineering (Masters) - Sheffield University

Subjects offered: Maths, Spanish+ 3 more


“About Me: I am a first year, Bioengineering MEng student at the University of Sheffield. I was born in Venezuela and have lived in 6 different countries in which I’ve learnt fluent English and proficient French, having already learnt ...”

£20 /hr

Jan K.

Degree: Mathematics and Music (Bachelors) - Edinburgh University

Subjects offered: Maths, Physics


“About Myself I am a Mathematics student at Edinburgh University. I have a real passion for Mathematics, and I thouroughly enjoy explaining mathematical concepts to others. Having been home-educated all through school (which also gave ...”

MyTutor guarantee

About the author

£20 /hr

Lesedi S.

Degree: Mathematics (Masters) - Bristol University

Subjects offered: Maths, Further Mathematics + 1 more

Further Mathematics

“Top tutor from the renowned Russell university group, ready to help you improve your grades.”

MyTutor guarantee

You may also like...

Posts by Lesedi

Given a table showing grouped data and the frequency of each class, find the median Q2

How to approximate the Binomial distribution to the Normal Distribution

Other A Level Maths questions

∫(1 + 3√x + 5x)dx

Find the equation of the tangent to the curve y=x^3-4x^2+2 at the point (3,-7)

What is a 'derivative'?

How do you integrate by parts?

View A Level Maths tutors


We use cookies to improve our service. By continuing to use this website, we'll assume that you're OK with this. Dismiss