Median

Median

What is the median?

The median represents the element that is in the middle of all the data, having the same number of numbers above it as there are below it.

Find the median within an odd set of numbers

N+12=Position of the median\frac{N+1}{2} = Position~of~the~median
NN -> Number of elements in the set
Notice - We will obtain the position of the median and not the median itself. The median will be the value that occupies the position we obtained in the formula.

Find the median within an even set of numbers

The median will be the average of the two elements that occupy the positions:

N2\frac{N}{2}   and N+22\frac{N+2}{2}

Median

In this article, we will learn what the median is, how to find it within an even or odd set of numbers, and how it differs from the mean.


What is the median?

The median is a certain index in statistics that reveals a specific piece of data about the entire set.
It is no coincidence that it is called "median," it comes from the middle, as it represents the element that is exactly in the middle. Half of the numbers are above it and the other half below.
For example: What is the median in the following numerical set?
2,3,4,5,62,3,4,5,6

Solution: the median is 44. The two numbers below: 22 and 33 and the two above it: 55 and 66.
The median shows us that 44 is the center of the numerical set.


Join Over 30,000 Students Excelling in Math!
Endless Practice, Expert Guidance - Elevate Your Math Skills Today

How is the median found within an odd set of numbers?

Finding the median in an odd set of numbers is quite easy
We just need to find a number that has the same amount of lower values as it does higher values.
We can act according to the formula (when the number of numbers is odd) and thus obtain the position that the median occupies.
Observe: the formula does not return the median, but the place it occupies.
N+12=Position of the median\frac{N+1}{2} = Position~of~the~median
NN ->   Number of elements in the set
If there are few elements in the set, we will not need the formula and can act in the following way:

First step -> Arrange the numbers in ascending order.
Second step -> Locate the number that is in the middle, separating two groups that have the same number of elements.


For example

What is the median in the following set:
23,10,11,24,1323,10,11,24,13?

Solution:
First step ->
Let's arrange the numbers in ascending order.

We will obtain:
10,11,13,23,2410,11,13,23,24
Second step -> Let's locate the middle number.

We will obtain:
The median is 1313. It is in the center - below it there are 22 numbers and above it there are another 22 numbers.


What would happen if we were asked to find the median within a very large set of numbers? For example, 135135 numbers?
In such a case, we should use the formula to find the position where the median is located.

For example

What is the position of the median in a set that has 135135 numbers?

Solution:
Let's use the formula:
135+12=68\frac{135+1}{2}=68
The position of the median is 6868.


How is the median found within an even set of numbers?

When we are presented with a set with an even number of elements, we cannot locate the center one at first glance, since there is no element that has the same number of numbers above it as it does below.
So, what is done?
The median in a set with an even number of numbers is the average of the 2 elements that occupy the central positions.
That is, if there are NN numbers in the set and NN is an even number, the median will be the average of the two elements that occupy the positions:
N2\frac{N}{2}  and N+22\frac{N+2}{2}


Let's Practice

Exercise 1

What is the median in the following set:
4,7,8,9,10,134,7,8,9,10,13?

Solution:
Observe:
If the numbers are not arranged in ascending order, first, we will arrange them.
We will find the NN number of elements in the set -> 66
The median will be the average of the number in the third position 62=3{6\over2} = 3 and the number in the fourth position 6+22=4\frac{6+2}{2}=4.
That is, the median is the average of the elements 88 and 99. We will obtain:
8+92=8.5\frac{8+9}{2}=8.5
The median is 8.58.5.


Exercise 2

What would be the median in a set that has 400400 numbers?

Solution:
The median will be the average of the two numbers that occupy the positions:
4002=200{400 \over 2} = 200
and
400+22=201\frac{400+2}{2}=201
Note: We are not actually calculating the average of 200200 and 201201. These are just the positions that the elements whose values we will take to calculate the average and then, obtain the median.


What is the difference between median and mean?

The median is not affected by extreme numbers while the mean is influenced by all the numbers in the set.
Is it an advantage or disadvantage? We cannot know. It depends on the given set of numbers. Therefore, we cannot argue that one index is better than the other absolutely.