Learn on your own. Parents beside you. Teachers guide.

Lemonmath
Tiếng Việt

Relative frequency tables and charts

Lesson 7.2 · 20 min read · Updated

Suppose school A surveys 300 students and finds that 8484 of them use social media for more than 3 hours a day. School B surveys 180 students and finds 6363 such students. School A has more of them, so are school A's students more "hooked" on social media? Not necessarily. 8484 out of 300300 and 6363 out of 180180 are different things. To compare fairly, we need to know what fraction of the whole sample each group is. That number is called the relative frequency.

Relative frequency

Explore: dividing by the sample size

The simplest way is to divide the number of students using social media for more than 3 hours by the number surveyed at each school:

School A: 84300=0.28=28%;School B: 63180=0.35=35%.\text{School A: } \frac{84}{300}=0.28=28\%;\qquad \text{School B: } \frac{63}{180}=0.35=35\%.

So it is school B that has the higher proportion, even though it has fewer such students. The figure 28%28\% says that for every 100 students in school A, about 28 use social media for more than 3 hours a day. Because we divide by the sample size, the two schools now speak the same language.

Going deeper. Frequency answers the question "how many?", and relative frequency answers "what fraction of the whole sample?". We have divided by nn, so relative frequency no longer depends on the sample size. That is why a class of 35 can be compared with a whole country. Why does the total always come to 100%100\%? Because m1+m2+…+mkn=nn=1\dfrac{m_1+m_2+\ldots+m_k}{n}=\dfrac nn=1: the parts add up to exactly one whole sample. Sometimes the fif_i are rounded and the total comes to 99.9%99.9\% or 100.1%100.1\%. Do not worry: that is only rounding error, not a mistake in your working.

The other direction works too: knowing the relative frequency and the sample size, we can recover the frequency with m_i=f_i\cdot n.

Relative frequency charts

Bar charts

A relative frequency bar chart is drawn just like a frequency bar chart, with one difference: the height of each bar is the relative frequency, as a percentage.

45678910510152025303540xyO
Relative frequencies of hours of sleep (%)

Compare it with the frequency bar chart from the previous lesson: the shape is exactly the same. The reason is that every bar is divided by the same number n=200, so only the scale on the vertical axis changes.

Pie charts

Sometimes we want to see what fraction of the whole each group is. A pie chart suits that best: the whole circle stands for 100\%, and each value has a sector with angle at the centre

\alpha_i=f_i\cdot360^\circ.

For example, f=25\% gives an angle of 90^\circ, which is a quarter of the circle. Picture a cake cut into four equal slices.

23.3%67.4%aged 15–64Under 159.3%65 and over
The age structure of Vietnam's population (1 April 2024)

Connections. Relative frequency is the bridge between statistics and probability. In year 8 you saw that when an experiment is repeated many times, the relative frequency of an event gets close to its probability. In the next chapter we work out probabilities by counting, and then compare them with relative frequencies from real data.

Key terms

Summary

  • Relative frequency: f_i=\dfrac{m_i}{n}\cdot100\%; the f_i add up to 100\%.
  • Conversely: m_i=f_i\cdot n.
  • Bar chart: bar height equals f_i. Pie chart: angle at the centre f_i\cdot360^\circ.
  • To compare two data sets of different sizes, use relative frequencies, not frequencies. Back to the two schools at the start: having more students says nothing by itself, but a proportion does. Try the practice exercises so that dividing by the sample size becomes a habit.

Practice

Each exercise comes with what you need to remember and some hints to get started. Try it yourself first, look at the hints if you get stuck, and open the solution last to compare.

Exercise 1

Suppose the numbers of children in 25 families have the frequency table: values 1, 2, 3, 4 with frequencies 7, 12, 5, 1. Build the relative frequency table.

What you need and how to start

What you need: f_i=\dfrac{m_i}{n}\cdot100\%.

Steps:

  1. Divide each frequency by 25.
  2. Check that the total is 100\%.
Show solution

The sample size is n=25. The relative frequency of each value is its frequency divided by n: \frac{7}{25}=28\%;\quad \frac{12}{25}=48\%;\quad \frac{5}{25}=20\%;\quad \frac{1}{25}=4\%.

The relative frequency table is:

Number of children 1 2 3 4
Relative frequency 28\% 48\% 20\% 4\%

Check: 28\%+48\%+20\%+4\%=100\%.

So the values 1, 2, 3, 4 have relative frequencies 28\%, 48\%, 20\%, 4\% respectively.

Answer. 28\%, 48\%, 20\%, 4\%.

Exercise 2

Suppose 40 students are surveyed about how they get to school: 15\% walk, 35\% cycle, 30\% are driven by their parents and the rest take the bus. Find the number of students in each group.

What you need and how to start

What you need: m_i=f_i\cdot n; the f_i add up to 100\%.

Steps:

  1. Find the relative frequency of the bus group.
  2. Multiply each relative frequency by 40.
Show solution

The bus group is 100\%-15\%-35\%-30\%=20\%. We have 40\cdot15\%=6, 40\cdot35\%=14, 40\cdot30\%=12, 40\cdot20\%=8.

So 6 students walk, 14 cycle, 12 are driven and 8 take the bus.

Answer. 6, 14, 12, 8.

Exercise 3

A data set has four values with relative frequencies 25\%, 40\%, 20\%, 15\%. Find the angles at the centre of the corresponding sectors in a pie chart.

What you need and how to start

What you need: angle at the centre \alpha_i=f_i\cdot360^\circ.

Steps:

  1. Multiply each relative frequency by 360^\circ.
  2. Check that the total is 360^\circ.
Show solution

In a pie chart, the angle at the centre of each sector is the relative frequency multiplied by 360^\circ: 25\%\cdot360^\circ=90^\circ;\quad 40\%\cdot360^\circ=144^\circ;\quad 20\%\cdot360^\circ=72^\circ;\quad 15\%\cdot360^\circ=54^\circ.

Check: 90^\circ+144^\circ+72^\circ+54^\circ=360^\circ.

So the angles at the centre are 90^\circ, 144^\circ, 72^\circ, 54^\circ respectively.

Answer. 90^\circ, 144^\circ, 72^\circ, 54^\circ.

Exercise 4

According to Vietnam's General Statistics Office, on 1 April 2024 Vietnam had 101\,112\,656 inhabitants, of whom 38\,599\,637 lived in urban areas. Find the relative frequency of the urban population (to 1 decimal place of a per cent) and the angle of the "urban" sector (to the nearest degree).

What you need and how to start

What you need: f=\dfrac mn\cdot100\%; angle =f\cdot360^\circ.

Steps:

  1. Divide the urban population by the total population.
  2. Multiply the result by 360^\circ.
Show solution

We have f=\dfrac{38\,599\,637}{101\,112\,656}\cdot100\%\approx38.2\%. The angle of the sector is \dfrac{38\,599\,637}{101\,112\,656}\cdot360^\circ\approx137^\circ (use the exact ratio; multiplying by the rounded 38.2\% gives 137.52^\circ, which wrongly rounds to 138^\circ).

So the urban population is about 38.2\% and its sector has an angle of about 137^\circ.

Answer. 38.2\%; 137^\circ.

Exercise 5

Suppose a survey at two school gates finds: at gate 1, 160 people ride motorbikes and 12 of them wear no helmet; at gate 2, 90 people ride motorbikes and 9 of them wear no helmet. Which gate needs more safety awareness work? Explain.

What you need and how to start

What you need: when two data sets have different sizes, compare relative frequencies.

Steps:

  1. Work out the proportion without a helmet at each gate.
  2. Compare them.
Show solution

We have \dfrac{12}{160}\cdot100\%=7.5\% and \dfrac{9}{90}\cdot100\%=10\%.

So gate 2 has the higher proportion without helmets (10\%>7.5\%) and needs more awareness work, even though fewer people break the rule there.

Answer. Gate 2 (10\% against 7.5\%).

Exercise 6

(1.5 marks) Suppose 50 students each choose one club: Maths 14 students, English 18, Football x, Music 8.

a) Find x.

b) Build the relative frequency table.

c) Find the angle at the centre of the "English" sector.

What you need and how to start

What you need: the frequencies add up to n; f_i=\dfrac{m_i}{n}\cdot100\%; angle =f_i\cdot360^\circ.

Steps:

  1. x=50-(14+18+8).
  2. Divide each frequency by 50.
  3. Multiply the f for English by 360^\circ.
Show solution

a) The four clubs have 50 students in total, so 14+18+x+8=50.

It follows that x+40=50, so x=10.

So x=10.

b) The relative frequency of each club is the number of students choosing it divided by 50:

Club Maths English Football Music
Relative frequency \dfrac{14}{50}=28\% \dfrac{18}{50}=36\% \dfrac{10}{50}=20\% \dfrac{8}{50}=16\%

Check: 28\%+36\%+20\%+16\%=100\%.

c) The angle at the centre of the "English" sector is 36\%\cdot360^\circ=129.6^\circ.

So the "English" sector has an angle of 129.6^\circ at the centre.

Answer. a) 10; b) 28\%, 36\%, 20\%, 16\%; c) 129.6^\circ.

Exercise 7

In a data set, option A has frequency 12 and relative frequency 15\%.

a) Find the sample size.

b) Some more people are then asked and all of them choose A; the relative frequency of A becomes 20\%. How many more people were asked? (Revise solving word problems by forming equations.)

What you need and how to start

What you need: n=\dfrac{m}{f}; when x more people choose A, both the frequency and the sample size increase by x.

Steps:

  1. Work out n=12\div15\%.
  2. Form the equation \dfrac{12+x}{n+x}=20\%.
Show solution

a) We have n=12\div0.15=80.

b) Let x be the number of extra people asked (x a positive whole number). From the question we have the equation

\frac{12+x}{80+x}=0.2\ \Rightarrow\ 12+x=16+0.2x\ \Rightarrow\ 0.8x=4\ \Rightarrow\ x=5\ \text{(this satisfies the condition)}.

So 5 more people were asked.

Answer. a) 80; b) 5 people.

Exercise 8 Challenge

A pie chart shows the results of a survey of 120 people in three sectors A, B, C. The angle of sector C is 72^\circ, and the angle of sector A is twice the angle of sector B. Find the number of people in each group.

What you need and how to start

What you need: angle =f\cdot360^\circ, so f=\dfrac{\text{angle}}{360^\circ}; the three angles add up to 360^\circ.

Steps:

  1. Find the angles of A and B from their total 360^\circ-72^\circ.
  2. Turn each angle into a frequency: m=\dfrac{\text{angle}}{360^\circ}\cdot120.
Show solution

Angles A and B add up to 360^\circ-72^\circ=288^\circ and angle A is twice angle B, so angle B is 96^\circ and angle A is 192^\circ.

Hence the numbers of people are

\frac{192}{360}\cdot120=64,\qquad \frac{96}{360}\cdot120=32,\qquad \frac{72}{360}\cdot120=24.

So group A has 64 people, group B 32 and group C 24.

Answer. 64, 32, 24.

Mini test

Mini test

Marked like the Vietnamese graduation exam: Part I 0.25 points per question; Part II up to 1 point per question (1, 2, 3, 4 correct statements give 0.1, 0.25, 0.5, 1 point); Part III 0.5 points per question.

Part I. Multiple choice

Question 1. A value has frequency 9 in a data set of size 36. The relative frequency of that value is
Question 2. In a data set of size 50, a value has relative frequency 30\%. The frequency of that value is
Question 3. In a pie chart, the sector for a relative frequency of 15\% has angle at the centre
Question 4. To show clearly what part of the whole each group makes up, the best choice is

Part II. True or false

Question 1. A data set of size 80 has four groups with relative frequencies 35\%, 25\%, x\%, 15\%. Decide whether each statement is true or false.
a) x=25.
b) The frequency of the first group is 35.
c) The sector of the fourth group has an angle at the centre of 54^\circ.
d) The third and fourth groups have a total frequency of 30.

Part III. Short answer

Question 1. A value has frequency 18 and relative frequency 12\%. Find the sample size.

Question 2. A sector of a pie chart has an angle at the centre of 126^\circ. What is the relative frequency of that group, as a percentage?

Show answers and explanations
  1. Part I, question 1: B. \dfrac{9}{36}\cdot100\%=25\%. A uses the frequency as a percentage, C works out 36\div9, D is the remaining part 100\%-25\%.
  2. Part I, question 2: D. m=50\cdot30\%=15. A uses the percentage as the frequency, B works out 50-30, C is the frequency of the rest, 50-15.
  3. Part I, question 3: A. 15\%\cdot360^\circ=54^\circ. B uses the percentage as the angle, C multiplies by 180^\circ instead of 360^\circ, D wrongly turns 15\% into 0.015.
  4. Part I, question 4: C. The whole circle stands for 100\%, so each sector shows at once the share of its group. A line graph (A) shows a trend; a frequency table (B) and the data list (D) give numbers but no picture of "part of the whole".
  5. Part II, question 1: a) True; b) False; c) True; d) False. a) True: 100-35-25-15=25. b) False: 80\cdot35\%=28. c) True: 15\%\cdot360^\circ=54^\circ. d) False: 80\cdot40\%=32.
  6. Part III, question 1: 150. n=18\div0.12=150.
  7. Part III, question 2: 35. \dfrac{126}{360}=0.35=35\%.
📈 My progress

Finding Lemonmath useful?

Send this page to a friend, a parent or a teacher who could use it. Studying on your own is easier with company, and Lemonmath is free for everyone.

Facebook ✉ Email