The median is the number that is in the very middle of the set when the numbers are written in order from least to greatest.
Example: Consider the set: 1, 2, 3, 4, 5.
Here the median is 3. As this set is already written in order from least to greatest, so all we have to do is find the middle number.
1, 2, 3, 4, 5
The middle number in this set is 3, hence it is the median.
Median for unordered set of numbers:
Consider the set: 38, 14, 44, 26, 28.
Firstly, put the numbers in order from lowest to highest starting with 14 and ending with 44.
14, 26, 28, 38, 44. Here, the middle number is 28. So, it is the median.
Median for even set of numbers:
Consider the set: 8, 15, 19, 31.
This set is already written in order from least to greatest, so all we have to do is find the middle number. There are an even amount of numbers in the set, four. We will consider the two numbers that are in the middle:
8, 15, 19, 31
Using both of these numbers, we will calculate the median by finding the average of them.
In this case, we take the two middle numbers 15 and 19 and find their mean.
17 is the median.Even though it is not one of the numbers in the set, it is the average of the two most central numbers.