Skip to content
Gioi Toan
Start learning
A smiling die next to a coin

Notes on Lesson 2: Frequency. Relative frequency (Maths 9 Canh Dieu, Chapter VI)

Lesson summary

A set consisting of a finite number of statistical data is called a sample.

Step 1: Identify the different values of the sample and find the frequency of each value.

Frequency answers the question “how many times”.

This content is not yet available in English. It is shown below in the original Vietnamese.

  • Xác định tần số, tần số tương đối, lập bảng tần số, bảng tần số tương đối
  • Biểu diễn bằng biểu đồ tần số, biểu đồ tần số tương đối

The whole class votes on dishes for the party, and the slips with dish names fill a whole page. Count how many slips each dish gets, then turn that into a percentage, and you know right away which dish is popular and how popular it is. This lesson helps you find frequency, relative frequency, make both kinds of tables and draw the corresponding charts.

Practise nowTextbook solutions for this lesson

Key ideas: what do you need to know?

Sample and frequency

  • A set consisting of a finite number of statistical data is called a sample. The number of elements of the sample is called the sample size, denoted NN.
  • The frequency of a value is the number of times that value appears in the data sample.
  • Adding the frequencies of all the different values gives the sample size NN.

In plain words: Frequency answers the question “how many times”. Ask 20 friends what they like to drink, and if 7 say milk tea, then the frequency of milk tea is 7. The sample size is the total number of answers you collected, here 20. Since each answer is counted under exactly one value, adding all the frequencies must give 20. Use this to check yourself: if the sum is off, you missed or double-counted something.

Phrase by phrase
sample
All the data you collected about one problem.Example: The Math test scores of the 20 friends in Group One.
sample size
The number of data values in the sample.Example: If 38 households grow vegetables, then N=38N = 38.
Frequency
The number of times a value appears.Example: If the score 8 appears 7 times, the frequency of 8 is 7.

Frequency table and frequency diagram

Make a frequency table in horizontal form:

  • Step 1: Identify the different values of the sample and find the frequency of each value.
  • Step 2: Make a table with 2 rows. The first column gives the names: Value (xx), Frequency (nn). The next columns give each value and its frequency. The last column gives: Total, N=…N = \ldots
  • A frequency table in vertical form is made the same way.

Draw a frequency diagram: make the frequency table first, then draw a bar chart or line graph showing the data in the table (values on the horizontal axis, frequencies on the vertical axis).

Giá trị (x)5678910Cộng
Tần số (n)135731N = 20
Bảng tần số dạng ngang của điểm kiểm tra 20 bạn: điểm 5 đến 10 có tần số 1, 3, 5, 7, 3, 1; cột cộng N = 20

In plain words: A frequency table is like the shopkeeper's notebook at the end of the day: it doesn't list every customer, only how much of each item was sold. The information is still complete, but much more compact. The “Total” column at the end is where you check yourself: the sum of the frequencies must equal the number of data values you started with. Once you have the table, a bar chart or line graph is just redrawing the “value, frequency” pairs so they are easier to see.

Phrase by phrase
different values
Each value is written only once, even if it appears many times.Example: The sample 7, 8, 7, 7 has two different values, 7 and 8.
Last column
The “Total” column gives the sum of the frequencies, equal to NN.Example: Total: N=20N = 20.
frequency diagram
A bar chart or line graph drawn from a frequency table.Example: The bar for the score 8 is 7 units tall.

Relative frequency and relative frequency table

The relative frequency fif_i of the value xix_i is the ratio between the frequency nin_i of that value and the number NN of data values in the sample:
fi=niNf_i = \frac{n_i}{N}.

  • We usually write relative frequency as a percentage.
  • Make a relative frequency table in horizontal form: Step 1, find the relative frequency of each value; Step 2, make a table with 2 rows, the first column gives Value (xx), Relative frequency (%), the next columns give each value and its relative frequency, the last column gives Total, 100.
  • A vertical table is made the same way.
Số anh, chị, em ruột (x)0123Cộng
Tần số tương đối (%)26,7402013,3100
Bảng tần số tương đối số anh chị em ruột của 30 bạn: 0 là 26,7%, 1 là 40%, 2 là 20%, 3 là 13,3%; cộng 100

In plain words: Frequency tells you how many times, relative frequency tells you how much of the whole. Out of 30 friends, 12 have one sibling, that is 1230=40%\frac{12}{30} = 40\%, so for every 10 friends, 4 are like that. Since everything is put on the same scale of 100, you can compare two samples of different sizes. The “Total” column says 100 because the parts must add up to the whole sample; when rounding, the sum may be off by a tiny bit, like 99.9.

Phrase by phrase
Relative frequency
The ratio between the frequency and the sample size.Example: 630=20%\frac{6}{30} = 20\%.
percentage
A way of writing a ratio on a scale of 100.Example: 0,4=40%0,4 = 40\%.
relative frequency table
A table giving each value with its relative frequency, last column Total 100.Example: Value 1: 40%.

Relative frequency chart

To draw a relative frequency chart, make the relative frequency table first, then draw:

  • Bar chart form: one bar per value, with height equal to the relative frequency (%).
  • Pie chart form: one circular sector per value; relative frequency x%x\% corresponds to an arc with measure x%⋅360∘x\% \cdot 360^\circ.
Hài: 50%Khoa học viễn tưởng: 37,5%Kinh dị: 12,5%
Biểu đồ hình quạt tròn: phim hài 50%, khoa học viễn tưởng 37,5%, kinh dị 12,5%

In plain words: The whole circle is 360∘360^\circ, corresponding to 100% of the sample. So each 1% corresponds to 3,6∘3,6^\circ, and 50% is exactly half the circle. A pie chart shows you how much each part takes of the whole, like looking at a pizza that has been cut. A bar chart is handy when you want to compare the parts with each other precisely. Both are drawn from the same relative frequency table.

Phrase by phrase
Bar chart form
The bar is as tall as the relative frequency of the value.Example: The “Happy” bar goes up to 50%.
Pie chart form
A circle divided into circular sectors by percentage.Example: 37.5% corresponds to a circular sector of 135∘135^\circ.
x%⋅360∘x\% \cdot 360^\circ
Percentage times 360∘360^\circ gives the measure of the arc.Example: 12,5%⋅360∘=45∘12,5\% \cdot 360^\circ = 45^\circ.

Common mistakesConverting a percentage to a measure of an arc by multiplying by 100 instead of by 360∘360^\circ.

TipRemember the pair "1% corresponds to 3,6∘3,6^\circ", and 25% is one quarter of the circle.

Worked examples

Example 1

The Maths test scores of 20 students in Group One are as follows:
7, 8, 6, 9, 7, 8, 8, 10, 7, 6, 8, 9, 7, 8, 5, 8, 9, 7, 6, 8.
Find the sample size, the frequency of the score 8, then make a frequency table in horizontal form.

Giá trị (x)5678910Cộng
Tần số (n)135731N = 20
Bảng tần số điểm kiểm tra: 5, 6, 7, 8, 9, 10 có tần số 1, 3, 5, 7, 3, 1; N = 20
Show the solution to example 1

Step 1: There are 20 scores, so the sample size is N=20N = 20.
Step 2: The different values, in ascending order: 5, 6, 7, 8, 9, 10.
Step 3: Count each value, crossing out the numbers already counted: n1=1n_1 = 1, n2=3n_2 = 3, n3=5n_3 = 5, n4=7n_4 = 7, n5=3n_5 = 3, n6=1n_6 = 1.
Why: Counting in your head easily misses one. Cross out each number as you count, and at the end no number is left uncrossed, so it is complete.
Step 4: The "Sum" column: 1+3+5+7+3+1=20=N1 + 3 + 5 + 7 + 3 + 1 = 20 = N, it matches.
Result: N=20N = 20; the score 8 has frequency 7; the frequency table is as in the figure below.

Common mistakesForgetting the "Sum" column, so you do not notice a missed count.

Example 2

A survey of 38 households growing vegetables to VietGAP standards found that the mass of vegetables harvested in one crop (quintal) has 7 different values x1=4x_1 = 4, x2=5x_2 = 5, x3=6x_3 = 6, x4=7x_4 = 7, x5=8x_5 = 8, x6=9x_6 = 9, x7=10x_7 = 10 with frequencies 4, 7, 5, 8, 7, 5, 2 respectively. Make a frequency table and state the points to plot to draw a line graph.

Show the solution to example 2

Step 1: Frequency table: the Value row (xx) has 4, 5, 6, 7, 8, 9, 10; the Frequency row (nn) has 4, 7, 5, 8, 7, 5, 2.
Step 2: The "Sum" column: 4+7+5+8+7+5+2=384 + 7 + 5 + 8 + 7 + 5 + 2 = 38, exactly the number of households.
Step 3: Line graph: the horizontal axis is mass, the vertical axis is frequency. The points to plot: (4;4)(4; 4), (5;7)(5; 7), (6;5)(6; 5), (7;8)(7; 8), (8;7)(8; 7), (9;5)(9; 5), (10;2)(10; 2).
Why: Each point has x-coordinate the value and y-coordinate the frequency. Writing it the other way as (7;5)(7; 5) instead of (5;7)(5; 7) plots the wrong point.
Step 4: Join the points in order from left to right.
Result: The polyline is highest at (7;8)(7; 8): mass 7 quintal has the most households.

Example 3

The number of siblings of 30 students in the class: x1=0x_1 = 0, x2=1x_2 = 1, x3=2x_3 = 2, x4=3x_4 = 3 with frequencies n1=8n_1 = 8, n2=12n_2 = 12, n3=6n_3 = 6, n4=4n_4 = 4. Make a relative frequency table (round to the tenths place).

Số anh, chị, em ruột (x)0123Cộng
Tần số tương đối (%)26,7402013,3100
Bảng tần số tương đối: 26,7%, 40%, 20%, 13,3%; cộng 100
Show the solution to example 3

Step 1: N=8+12+6+4=30N = 8 + 12 + 6 + 4 = 30.
Step 2: f1=830≈26,7%f_1 = \frac{8}{30} \approx 26,7\%; f2=1230=40%f_2 = \frac{12}{30} = 40\%; f3=630=20%f_3 = \frac{6}{30} = 20\%; f4=430≈13,3%f_4 = \frac{4}{30} \approx 13,3\%.
Why: Divide by N=30N = 30, the total number of students, not by the number of different values (4).
Step 3: The "Sum" column: 26,7+40+20+13,3=10026,7 + 40 + 20 + 13,3 = 100.
Result: The relative frequencies are about 26.7%, 40%, 20%, 13.3%.

Common mistakesDividing the frequency by the number of different values instead of by the sample size NN.

TipA frequency table ends with NN, a relative frequency table ends with 100. These two numbers are the quickest check.

Example 4

Relative frequency table of favourite film genres of class 9A: Comedy 50%, Science fiction 37.5%, Horror 12.5%. Draw a relative frequency chart as a bar chart and as a pie chart.

0102030405050Hài37,5Khoa học viễn tưởng12,5Kinh dịTần số tương đối (%)
Biểu đồ cột tần số tương đối: hài 50%, khoa học viễn tưởng 37,5%, kinh dị 12,5%
Show the solution to example 4

Step 1: Bar chart: the horizontal axis has the three genres, the vertical axis has percentages. The three bars are 50%, 37.5%, 12.5% tall.
Step 2: Pie chart: convert to measures of arcs. Comedy 50%⋅360∘=180∘50\% \cdot 360^\circ = 180^\circ; Science fiction 37,5%⋅360∘=135∘37,5\% \cdot 360^\circ = 135^\circ; Horror 12,5%⋅360∘=45∘12,5\% \cdot 360^\circ = 45^\circ.
Step 3: Check: 180∘+135∘+45∘=360∘180^\circ + 135^\circ + 45^\circ = 360^\circ.
Why: The sum must make one full turn. If it is off, the last circular sector will have too much or too little, and the chart is out of proportion.
Step 4: Draw a circle, use a protractor to divide it into three circular sectors, colour them, and write the percentages and a title.
Result: Three bars 50%, 37.5%, 12.5%; three circular sectors 180∘180^\circ, 135∘135^\circ, 45∘45^\circ.

Example 5

A survey of 40 students about their favourite milk tea flavour gives a pie chart: Traditional 35%, Matcha 25%, Taro 30%, Chocolate 10%. How many students chose each flavour?

Truyền thống: 35%Matcha: 25%Khoai môn: 30%Socola: 10%
Biểu đồ hình quạt tròn: truyền thống 35%, matcha 25%, khoai môn 30%, socola 10%
Show the solution to example 5

Step 1: From f=nNf = \frac{n}{N} we get n=N⋅fn = N \cdot f.
Step 2: Traditional: 40⋅35%=1440 \cdot 35\% = 14; Matcha: 40⋅25%=1040 \cdot 25\% = 10; Taro: 40⋅30%=1240 \cdot 30\% = 12; Chocolate: 40⋅10%=440 \cdot 10\% = 4.
Why: This is a reverse problem: the percentages are known and you need the frequencies. Multiply by NN, do not divide.
Step 3: Check: 14+10+12+4=4014 + 10 + 12 + 4 = 40.
Result: 14, 10, 12, 4 students.

Example 6

Class 9A has 40 students, 12 of them like football. Class 9B has 50 students, 14 of them like football. Which class has the higher proportion of students who like football?

Show the solution to example 6

Step 1: Relative frequency in class 9A: 1240=30%\frac{12}{40} = 30\%.
Step 2: Relative frequency in class 9B: 1450=28%\frac{14}{50} = 28\%.
Why: 14 is greater than 12, but class 9B is bigger. Comparing relative frequencies is fairer.
Step 3: 30%>28%30\% > 28\%.
Result: Class 9A has the higher proportion of students who like football.

Common mistakesConfusing value with frequency: asked "which score did the most students get" but answering with the number of students.

Terms

Sample
A finite set of statistical data.Example: The Maths scores of 20 students.
Sample size
The number of data values in the sample, also called the sample size, denoted NN.Example: N=38N = 38 households.
Frequency
The number of times a value appears in the sample.Example: The score 8 has frequency 7.
Frequency table
A table listing the different values with their frequencies, the last column Sum NN.Example: 5, 6, 7 with 1, 3, 5.
Relative frequency
The ratio niN\frac{n_i}{N}, usually written as a percentage.Example: 1230=40%\frac{12}{30} = 40\%.
Relative frequency table
A table listing the values with their relative frequencies, the last column Sum 100.Example: Value 2: 20%.
Relative frequency chart
A bar chart or pie chart drawn from a relative frequency table.Example: The "Comedy" circular sector takes up half the circle.

Practise this lesson with instant marking and saved progress in the study app. Suggested plan: Class lessons plan, Maths 9.

Practice

Answer each question, then press Check. If you get stuck, open the hints under the question one step at a time.

Question 1 of 1Written answer · Understanding

The total scores of the Vietnam International Mathematical Olympiad team from 2008 to 2023 (except 2021) are listed: 159; 161; 133; 113; 148; 180; 157; 151; 151; 155; 148; 177; 150; 196; 180. State the statistical units and say how many quantitative data values there are above.

Do this question in your notebook and show every step. When you finish, press the button below to compare with the mark scheme.

Asking the teacher while practising is for children who have a profile. It is free to turn on: Parent sign-in.

More practice questions for you

Additional exercises

  • Lập bảng tần số từ dãy số liệu thô (Recall)

Challenge yourself

  • Lập bảng tần số từ dãy số liệu thô (Understanding)
  • Dạng khác (Applying, Understanding)

Ask a parent to sign in and create your profile to unlock more. It's free. Sign in

Skills in this lesson

Tap a skill to see what to secure first, what comes next, and more practice.