Median is a middle value that lies between the higher half and the lower half of a finite list of numbers. The median, unlike mean, is not influenced by outliers.
For n terms arranged in ascending or descending order,
Median =(2n+1)th term where nis odd
Median = Mean of (2n)th term and (2n+1)th term where nis even
Example 19
What is the median of 87,54,32,47,9006,38?
Solution
The 6 terms in ascending order are 32,38,47,54,87,9006.
Median = Mean of (26)th term and (26+1)th= Mean of 3rd and 4t terms
=247+54=50.5
Answer: 50.5
Note: In this example, 9006 will be considered an outlier as it is more than 100 times the largest value.
This might affect the mean but not the median. For instance, increasing the last term from 9006 to any bigger number does not affect the median, which will remain unchanged at 50.5.
Example 20
If the mean and median of 5 natural numbers 1,4,6,11,x are equal, then how many different values can x take?
(1) 0
(2) 1
(3) 2
(4) 3
Solution
As there are 5 terms, the median is the (25+1)th=3rd term. This 3rd term can be 4,6 or x.
Mean =51+4+6+11+x=522+x
Scenario 1: Median =4
522+x=4 ⇒ x=−2 (Rejected, as −2 is not a natural number)
Scenario 2: Median =6
522+x=6 ⇒ x=8
Data set is {1,4,6,8,11}, where 6 is the median. This is accepted, i.e., x can take only 1 value.
Scenario 3: Median =x
522+x=x ⇒ x=5.5 (Rejected, as 5.5 is not a natural number)
∴ Scenario 2 is the correct answer.
Answer: (2) 1.
7.2 Mode
For n terms, mode is the term(s) with the maximum number of occurrences.
A set of numbers can have only 1 mean and 1 median. However, the set can have one or more modes.
Example 21
What is the mode for 2,3,3,4,4,4,5,6,6,7,7,8,8,8?
(1) 4
(2) 8
(3) 4 or 8
(4) 4 and 8
Solution
4 and 8 occur the most number of times (3 times).
∴ This set has 2 modes, i.e. 4 and 8.
Answer: (4) 4 and 8
Note: Option (3) states "4 or 8". This is incorrect as both 4 and 8 are modes and not either one of them.
8. Past Questions
Question 1
Consider the set S = {2,3,4, ..., 2n+1}, where n is a positive integer larger than 2007. Define X as the average of the odd integers in S and Y as the average of the even integers in S. What is the value of X − Y? [CAT 2007]
0
1
2n
2nn+1
2008
Observation/Strategy 1) The first even and odd terms are 2 and 3 respectively. 2) The last even and odd terms are 2n and 2n+1 respectively. 3) As the even or odd terms are in Arithmetic Progression, their average is the average of the first and last terms.
Average of odd integers in S = X =23+2n+1=n+2
Average of even integers in S = Y =22+2n=n+1
X − Y =n+2−(n+1)=1
Answer: (2) 1
Question 2
Rajiv is a student in a business school. After every test he calculates his cumulative average. QT and OB were his last two tests. 83 marks in QT increased his average by 2. 75 marks in OB further increased his average by 1. Reasoning is the next test, if he gets 51 in Reasoning, his average will be _____? [XAT 2008]
63
62
61
60
59
Observation/Strategy 1) As the impact on average by each of the 2 tests are given, we can form 2 linear equations. So, we can solve 2 variables with these. 2) Number of tests taken before QT can be one variable and the average marks before QT can be the other variable
Let the number of tests before QT be n and the average marks before QT be a. ∴ Total marks before QT =an
After scoring 83 in QT, average increased by 2.
New Average =n+1an+83=a+2 ⇒ an+83=an+a+2n+2
⇒ a+81−2n⟶ (A)
After scoring 75 in OB, average increased by 1.
New Average =n+2an+83+75=a+3 ⇒ an+158=an+2a+3n+6
⇒ a=2152−3n⟶ (B)
Equating (A) and (B), we get 81−2n=2152−3n ⇒ n=10
Substituting this in (A) or (B), we get a=61
∴ If he gets 51 in his next test,
New Average =n+3an+83+75+51=13610+83+75+51=13819=63
Answer: (1) 63
Question 3
Ramesh analysed the monthly salary figures of five vice presidents of his company. All the salary figures (in lakhs) are integers. The mean and the median salary figures are 5 lakh, and the only mode is 8 lakh. Which of the options below is the sum (in lakh) of the highest and the lowest salaries? [XAT 2012]
9
10
11
12
None of these
Observation/Strategy
Observation/Strategy 1) As there are 5 terms, the median of 5 is the 3rd term. 2) As the only mode is 8, the 4th and 5th terms should be 8, and none of the other terms should be equal. 3) As the mean is 5 for 5 terms, sum of the terms =5×5=25 4) The salary figures (in lakhs) are integers.
Let the other 2 terms be x and y, such that x<y
Sum of terms =x+y+5+8+8=25
⇒ x + y = 4<br><br>Asx \ne y,theonlywaythisispossibleisifx = 1andy = 3<br><br>Sumofhighestandlowestsalaries= 8 + 1 = \bm{9}<br><br>Answer:(1)9