If the average of the first four of five numbers in decreasing order i

If the average of the first four of five numbers in decreasing order is 25 and the average of the last four numbers is 20, then what is the difference between the first and the last number?

5
10
15
20
This question was previously asked in
UPSC CAPF – 2022
Let the five numbers in decreasing order be $n_1, n_2, n_3, n_4, n_5$, such that $n_1 > n_2 > n_3 > n_4 > n_5$.

The average of the first four numbers is 25.
$(n_1 + n_2 + n_3 + n_4) / 4 = 25$
The sum of the first four numbers is $n_1 + n_2 + n_3 + n_4 = 25 \times 4 = 100$. (Equation 1)

The average of the last four numbers is 20.
$(n_2 + n_3 + n_4 + n_5) / 4 = 20$
The sum of the last four numbers is $n_2 + n_3 + n_4 + n_5 = 20 \times 4 = 80$. (Equation 2)

We need to find the difference between the first and the last number, which is $n_1 – n_5$.

Subtract Equation 2 from Equation 1:
$(n_1 + n_2 + n_3 + n_4) – (n_2 + n_3 + n_4 + n_5) = 100 – 80$

Expanding the left side:
$n_1 + n_2 + n_3 + n_4 – n_2 – n_3 – n_4 – n_5 = 100 – 80$

The terms $n_2, n_3, n_4$ cancel out:
$n_1 – n_5 = 20$

The difference between the first and the last number is 20.

– Understanding the definition of average (Sum / Number of elements).
– Setting up equations based on the given information about sums of subsets of numbers.
– Using subtraction of equations to isolate the desired difference.
This type of problem is common in testing basic algebraic manipulation of sums and averages. Note that we don’t need to find the individual values of the numbers to find the difference between the first and last. The fact that the numbers are in decreasing order is given, but it doesn’t directly affect the calculation of the difference $n_1 – n_5$, although it implies $n_1 – n_5 > 0$.