QlarIITy

MathematicsJEE Main 2021 · 27 JulyInteger

If A=[111011001]A = \begin{bmatrix} 1 & 1 & 1 \\ 0 & 1 & 1 \\ 0 & 0 & 1 \end{bmatrix} and M=A+A2+A3+…+A20M = A + A^2 + A^3 + \ldots + A^{20}, then the sum of all the elements of the matrix MM 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. The identity plus a matrix with zero cube has powers with three terms.

Concept refresher. If N3=ON^3 = O, the binomial expansion stops after three terms:

(I+N)n=I+nN+n(n−1)2N2(I + N)^n = I + nN + \dfrac{n(n - 1)}{2}N^2

Picture the situation. Write A=I+NA = I + N, where NN has the three entries 1 above the diagonal. Then N2N^2 has a single entry 1 in the top-right corner and N3=ON^3 = O. Each power AkA^k is a combination of II, NN and N2N^2, whose entries add to 3, 3 and 1.

Approach. Find the sum of the entries of one power, then add over the twenty powers.

  1. Step 1: One power

    Since N3=ON^3 = O, Ak=I+kN+k(k−1)2N2A^k = I + kN + \dfrac{k(k - 1)}{2}N^2. The entries of II, NN and N2N^2 add to 3, 3 and 1, so the entries of AkA^k add to 3+3k+k(k−1)23 + 3k + \dfrac{k(k - 1)}{2}.

  2. Step 2: The sum over the powers

    Adding from k=1k = 1 to 20: the constants give 3×20=603 \times 20 = 60, the middle terms give 3×210=6303 \times 210 = 630, and the last terms give 2C2+3C2+…+20C2=21C3=1330{}^{2}C_2 + {}^{3}C_2 + \ldots + {}^{20}C_2 = {}^{21}C_3 = 1330.

  3. Step 3: The total

    Adding the three parts gives 60+630+1330=202060 + 630 + 1330 = 2020 for the sum of all the elements of MM.

Answer. 2020

Sanity check. Check k=2k = 2: A2A^2 has rows (1,2,3)(1, 2, 3), (0,1,2)(0, 1, 2), (0,0,1)(0, 0, 1), which add to 10, and the formula gives 3+6+1=103 + 6 + 1 = 10.

Common wrong answers

  • 690: Leaving out the term in N2N^2 gives 60+630=69060 + 630 = 690.

Key takeaway

The trap. The corner entry grows quadratically and contributes most of the total.

How toppers think. They add the binomial coefficients in one step, as a single binomial coefficient.

Remember. ∑k=2nkC2=n+1C3\sum_{k=2}^{n} {}^{k}C_2 = {}^{n+1}C_3

More on Matrix Operations