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...

3 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

Javed R.

Degree: Biomedical Engineering (Bachelors) - Liverpool University

Subjects offered:Maths, Chemistry


“Postgraduate Biomedical Engineering student at the University of Strathclyde. Past classroom experience.”

£24 /hr

Ayusha A.

Degree: BEng electrical and electronics engineering (Bachelors) - Newcastle University

Subjects offered:Maths, Physics+ 1 more

Further Mathematics

“About me: I am a final year Electrical and Electronic Engineering student at Newcastle University. I took Mathematics, Further Mathematics, Chemistry and Physics as my A-level subjects. I did peer mentoring in university and also have...”

PremiumTimothy N. A Level Design & Technology tutor, GCSE Design & Technolog...
£36 /hr

Timothy N.

Degree: Architecture and Environmental Engineering (Masters) - Nottingham University

Subjects offered:Maths, Physics+ 2 more

Design & Technology
-Personal Statements-

“Hi there, I have a passion for helping students achieve, and believe that with my 200+ hours of experience, we will be able to surpass the grades you want!”

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

How do I find where the stationary points of a function are?

What is an easy way to remember how sin(x) and cos(x) are differentiated and integrated?

How do you integrate the function cos^2(x)


View A Level Maths tutors

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