QlarIITy

MathematicsJEE Main 2023 · 6 AprilSingle correct

If gcd⁡(m,n)=1\gcd(m, n) = 1 and12−22+32−42+…+(2021)2−(2022)2+(2023)2=1012m2n1^2 - 2^2 + 3^2 - 4^2 + \ldots + (2021)^2 - (2022)^2 + (2023)^2 = 1012m^2nthen m2−n2m^2 - n^2 is equal to

  1. Option A: 240
  2. Option B: 200
  3. Option C: 220
  4. Option D: 180
Try it before you look.The full solution is on this page, below the options, the moment you check. No sign-in needed.

Solution

Core idea. A difference of squares of consecutive integers is minus their sum.

Concept refresher. For consecutive integers,

(j−1)2−j2=−(2j−1)(j - 1)^2 - j^2 = -(2j - 1)

and an A.P. of NN terms adds to N2(first+last)\dfrac{N}{2}(\text{first} + \text{last}).

Picture the situation. The signs alternate, so the squares can be taken in pairs: an odd square minus the next even square. Each pair is a difference of two squares of neighbouring integers, which is simply minus their sum. There are 2023 squares, an odd number, so the last one has no partner.

Approach. Pair the squares, sum the pairs, add the last square, and factorise the result.

  1. Step 1: The pairs

    Each pair is (2k−1)2−(2k)2=−(4k−1)(2k - 1)^2 - (2k)^2 = -(4k - 1) for kk from 1 to 1011. These add to −10112(3+4043)=−1011×2023-\dfrac{1011}{2}(3 + 4043) = -1011 \times 2023.

  2. Step 2: The total

    Adding the last square, the sum is 20232−1011×2023=2023×10122023^2 - 1011 \times 2023 = 2023 \times 1012. So m2n=2023m^2n = 2023.

  3. Step 3: The factors

    Since 2023=172×72023 = 17^2 \times 7, m=17m = 17 and n=7n = 7, which are coprime. Hence m2−n2=289−49=240m^2 - n^2 = 289 - 49 = 240.

Answer. (A) 240

Sanity check. A short version: 12−22+32=6=3×21^2 - 2^2 + 3^2 = 6 = 3 \times 2, the last number times half the next even number, just as 2023×10122023 \times 1012.

Why the other options are wrong

  • (B) The value 200 would need n2=89n^2 = 89, but n=7n = 7 gives n2=49n^2 = 49.
  • (C) The value 220 would need n2=69n^2 = 69, which is not a perfect square; here n=7n = 7.
  • (D) The value 180 would need n2=109n^2 = 109, which is not a perfect square; here n=7n = 7.

Key takeaway

The trap. With an odd number of squares the last one stays unpaired and positive.

How toppers think. They test the pattern on the first three squares to predict the product form.

Remember. (j−1)2−j2=−(2j−1)(j - 1)^2 - j^2 = -(2j - 1)

More on Special Series