Home » Math Theory » Graphs and Charts » Relative Frequency in Maths

# Relative Frequency in Maths

## Introduction

Statistics is the branch of mathematics that revolves around the collection of data. After the collection of data, we have to find ways to condense them in tabular form in order to study their salient features. Such an arrangement is called the presentation of data. One such form of presentation of data is through the frequency table. A frequency table or frequency distribution is a method to present raw data in the form from which one can easily understand the information contained in the raw data. The frequency table can be constructed to provide information in ways – frequency, cumulative frequency and relative frequency. Let us learn what we mean by relative frequency.

## Definition

We know that a frequency is the number of times a value of the data occurs. Relative frequency is the ratio of the number of times a value of the data occurs in the set of all outcomes to the number of all outcomes.

## Formula

To find the relative frequencies, divide each frequency by the total number of outcomes in the given data. This means that –

Relative Frequency = $\frac{Frequency\: of\: the\: Class}{Total\: Frequency}$

Let us understand it through an example.

Example

Given below are the ages of 25 students of Grade 8 in a school. Find out the relative frequency of each class.

15, 16, 16, 14, 17, 17, 16, 15, 15, 16, 16, 17, 15, 16, 16, 14, 16, 15, 14, 15, 16, 16, 15, 14, 15

Solution

We have been given the following data of the ages of 25 students of Grade 8 in a school

15, 16, 16, 14, 17, 17, 16, 15, 15, 16, 16, 17, 15, 16, 16, 14, 16, 15, 14, 15, 16, 16, 15, 14, 15

We need to find the relative frequency of each class.

Let us first arrange the data in the tabular form. We can see that there are 4 students of age 14, while there are 8 students aged 15. Similarly, we can see that there are 10 students of the age 16 while there are 3 students of the age 17. Hence, 4 is the frequency for the age 14, 8 is the frequency for the age 15, 10 is the frequency for the age 16 and 17 is the frequency for the age 17. Presenting this data in tabular form, we will have,

Now, we know that –

Relative Frequency = $\frac{Frequency\: of\: the\: Class}{Total\: Frequency}$

Therefore,

Relative frequency of age 14 = $\frac{4}{25}$ = 0.16

Relative frequency of age 15 = $\frac{8}{25}$ = 0.32

Relative frequency of age 16 = $\frac{10}{25}$ = 0.4

Relative frequency of age 17 = $\frac{3}{25}$ = 0.12

Putting the above information in the tabular form we have

Now, that we have understood what we mean by relative frequency, let us move to define the steps that help us calculate the relative frequency of a class.

## How to Calculate Relative Frequency?

The following steps are used to find out the relative frequency of a class in a given data –

1. Prepare a frequency table of the given data. If the data is small, tally marks can also be used to find out the frequency of each class.
2. Now, we will add up the total frequency to obtain the sum total of all the frequencies, say N.
3. Next, we will divide the frequency of each class by the sum of frequencies, N that we had obtained in the previous step.
4. The individual frequency thus obtained for each class is its respective relative frequency.

Let us understand the above step using an example.

Example

The following data shows the marks obtained by students in their English exam. Calculate the relative frequency for variate –

15, 18, 16, 20, 25, 24, 25, 20, 16, 15, 18, 18, 16, 24, 15, 20, 28, 30, 27, 16, 24, 25, 20, 18, 28, 27, 25, 24, 24, 18, 18, 25, 20, 16, 15, 20, 27, 28, 29, 16

Solution

We have been given the scores obtained by 40 students in an English Exam. The scores are – 15, 18, 16, 20, 25, 24, 25, 20, 16, 15, 18, 18, 16, 24, 15, 20, 28, 30, 27, 16, 24, 25, 20, 18, 28, 27, 25, 24, 24, 18, 18, 25, 20, 16, 15, 20, 27, 28, 29, 16

Let us first arrange these scores in the form of a frequency distribution table. We will have,

Here we have been given that the total number of students who appeared in the exam was 40. Hence, the total frequency, N = 40.

Now, we know that

Relative Frequency = $\frac{Frequency\: of\: the\: Class}{Total\: Frequency}$

Therefore, in order to obtain the relative frequency of each variate, we will have to divide each frequency by the total frequency, i.e. we will have to divide each frequency by 40.

We will then have,

## Probability Frequency vs Relative Frequency

Can we say that the probability and the relative frequency are the same or do they differ from each other? Probability and the relative frequency are certainly not the same. Let us understand how probability is different from the relative frequency. We know that Probability is the measure of an expected event or an event that might occur. This means that probability is useful in the cases when each outcome is equally likely. On the other hand, Relative frequency on the contrary measures an actual event that has already occurred. In other words, while relative frequency is a practical approach, the probability is a theoretical concept.

Let us understand this through an example.

We know that in a deck of 52 cards, 26 of the cards are white while the other 26 cards are black. Suppose, we wish to draw a white car from the deck. What would be the probability of this draw?

We know that Probability = $\frac{Favourable\: Number\: of\: Outcomes}{Total\: Outcomes}$

Now, in this case, we will have

Favourable number of outcomes = 26 ( as we have 26 white cards)

Total number of outcomes = 52 ( as we have 52 cards in total )

Therefore, the probability for drawing a white card from a deck of 52 cards will be –

Probability = $\frac{26}{52}$ = $\frac{1}{2}$ = 0.5

Now, if we wish to find the relative frequency, we will be requiring two data sets – a) Number of times the white card was actually picked b)  Total trials done for picking a card. Therefore, if we assume that there were 20 trials and the white card was picked for 6 times, the relative frequency of the white card will be –

Relative Frequency = $\frac{Number\: of\: times\: the\: white\: card\: got\: picked}{Total\: number\: of\: trials}$

Hence,

Relative Frequency = $\frac{6}{20}$ = 0.3

## Cumulative Relative Frequency

Cumulative relative frequency is the accumulation of the previous relative frequencies. How do we obtain the cumulative relative frequency of a class? The following steps are followed to find the relative frequency  –

1. Prepare a frequency table of the given data. If the data is small, tally marks can also be used to find out the frequency of each class.
2. Now, we will add up the total frequency to obtain the sum total of all the frequencies, say N.
3. Next, we will divide the frequency of each class by the sum of frequencies, N that we had obtained in the previous step.
4. Add all the previous relative frequencies to the current relative frequency.
5. The last value is equal to the total of all the observations.

Let us understand it through an example.

Example

Prepare a cumulative relative frequency table of the following ages ( in years ) of 25 students in a school.

13, 14, 13, 12, 14, 13, 14, 15, 13, 14, 13, 14, 16, 12, 14, 13, 14

Solution

We have been given the data of 25 students in a school. Let us first prepare the frequency distribution table for the given data. We will have

Next, let us find the relative frequency of each class. We will have,

Now, we will find the cumulative relative frequency of each class.

## Solved Examples

Example 1 A coin is tossed 20 times and lands 15 times on heads. What is the relative frequency of observing the coin land on heads?

Solution We have been given that a coin is tossed 20 times and lands 15 times on heads. We are required to find the relative frequency of observing the coin land on heads. Let us summarise the information given to us –

Total number of trials = 20

Number of trials on which the coin lands on a head = 15

Now, we know that relative frequency is the ratio of the number of times a value of the data occurs in the set of all outcomes to the number of all outcomes and

Relative Frequency = $\frac{Number\: of\: times\: the\: coin\: lands\: on\: a\: head}{Total\: number\: of\: trials}$  …….. ( 1 )

Substituting the given information in the equation ( 1 ) we get,

Relative Frequency = $\frac{15}{20}$ = 0.75.

Hence, the relative frequency of observing the coin land on heads  = 0.75.

Example 2 A coin is tossed 30 times and the following outcomes are observed –

Find the relative frequency of observing heads after each trial. Also compare it to the theoretical probability of observing heads

Solution We have been given the following data which shows the outcomes when a coin is tossed 30 times.

We are first required to find the relative frequency of observing heads after each trial. The first step to this direction will be to count the number of the favourable outcomes. A favourable outcome is when is the outcome is in our event set. We will thus create a table of running count, after each trial, say t, of the number of favourable outcomes, say p, we have observed. For instance, after 20 trials, i.e.  t = 20, we have that the outcome as head was observed 8 times while tail as outcome was observed 12 times. This means that the favourable outcome p = 8. We will thus have,

The next step will be to compute the relative frequency. We know that relative frequency is the ratio of the number of times a value of the data occurs in the set of all outcomes to the number of all outcomes. This means that,

Relative Frequency ( f )  = $\frac{p}{t}$

Therefore, we will have the relative frequency of each trial as  –

From the last entry in this table we can now easily read the relative frequency after 30  trials is 0.43. Also, The relative frequency is close to the theoretical probability of 0.5. this also implies that in general, the relative frequency of an event tends to get closer to the theoretical probability of the event as we perform more trials.

## Key facts and Summary

1. A frequency is the number of times a value of the data occurs.
2. Relative frequency is the ratio of the number of times a value of the data occurs in the set of all outcomes to the number of all outcomes.
3. Relative frequency measures an actual event that has already occurred.
4. Probability is the measure of an expected event or an event that might occur.
5. In general, the relative frequency of an event tends to get closer to the theoretical probability of the event as we perform more trials.
6. Cumulative relative frequency is the accumulation of the previous relative frequencies.