QlarIITy

MathematicsJEE Main 2022 · 25 JuneInteger

If the mean deviation about the mean of the numbers 1,2,3,…,n1, 2, 3, \ldots, n, where nn is odd, is 5(n+1)n\frac{5(n + 1)}{n}, then nn is equal to ______.

Try it before you look.The full solution is on this page, below the answer box, the moment you check. No sign-in needed.

Solution

Core idea. Symmetric data have distances from the mean in equal pairs.

Concept refresher. The mean deviation of nn observations about a value AA is the mean of their distances from AA:

D=∑∣xi−A∣nD = \dfrac{\sum |x_i - A|}{n}

Picture the situation. With an odd number of consecutive integers the mean is the middle one. Every other number has a partner at the same distance on the opposite side. So the distances are 1, 2, 3 and so on, each counted twice, together with a single 0 for the middle number.

Approach. Add the distances from the middle number, divide by the count, and equate to the given expression.

  1. Step 1: The distances

    Let m=n−12m = \dfrac{n - 1}{2}. The mean is the middle number m+1m + 1, and the distances from it are 0 once and 1,2,…,m1, 2, \ldots, m twice each, adding to m(m+1)m(m + 1).

  2. Step 2: The mean deviation

    Dividing by the number of terms and writing mm in terms of nn, the mean deviation is m(m+1)n=(n−1)(n+1)4n\dfrac{m(m + 1)}{n} = \dfrac{(n - 1)(n + 1)}{4n}.

  3. Step 3: Solve

    Setting this equal to 5(n+1)n\dfrac{5(n + 1)}{n} and cancelling n+1n\dfrac{n + 1}{n} gives n−14=5\dfrac{n - 1}{4} = 5, so n=21n = 21.

Answer. 21

Sanity check. For this nn the distances are 0 and 1 to 10 twice each, adding to 110, and 11021=5×2221\dfrac{110}{21} = \dfrac{5 \times 22}{21}.

Common wrong answers

  • 41: Counting each distance once in place of twice gives n−18=5\dfrac{n - 1}{8} = 5 and n=41n = 41.

Key takeaway

The trap. Each non-zero distance occurs on both sides of the mean.

How toppers think. They check the formula on a small odd count such as three.

Remember. D=n2−14nD = \dfrac{n^2 - 1}{4n} for 1,2,…,n1, 2, \ldots, n with nn odd

More on Mean Deviation