In a graduating class, the difference between the highest and lowest salaries is $100,000. The median salary is $50,000 higher than the lowest salary and the average salary is $20,000 higher than the median. What is the minimum number of students in the class?
Hi,
Lets the salaries be a1,a,2,...a2n+1 in the increasing order.
i.e. a1<=a2<=a3...<=a2n+1
So, a2n+1 = a1+100K
and an+1 = a1+50K
For the number to be minimum and the average to be a1+70K, we have to make sure we take the greatest possible values of the terms. So, we assign a2=a3=...an+1=a1+50K and an+2=an+3=....a2n+1 = a1+100K.
So, the mean is (a1+a2=...+a2n+1)/2n+1 = a1+n.(a1+50K)+n.(a1+100K)/(2n+1), which is given to be a1+70K
=>[(2n+1)a1+150nK]/(2n+1) = a1+70K
=> 150n = 70(2n+1) =>n=7
So 2n+1 =15 .
Hence, the minimum number of terms would be 15
You might wonder, why I have taken odd number of terms. But, if you take even number of terms. you are essentially adding a term so that the two middle most terms average is a1+50K, which is less than the mean of the series. So, in essence, employing a similar procedure we find that it would require more number of terms to satisfy the conditions.
sorry, this might be a bit complicated approach. But, I don't find any easier solution as of now. Will let you know if I end up getting a simpler solution.
Btw, my answer is 15 . May I know the OA
Cheers!












