QlarIITy

MathematicsJEE Main 2022 · 25 JulyInteger

LetA=[2−1−110−11−10]A = \begin{bmatrix} 2 & -1 & -1 \\ 1 & 0 & -1 \\ 1 & -1 & 0 \end{bmatrix}and B=A−IB = A - I. If ω=3i−12\omega = \frac{\sqrt{3}i - 1}{2}, then the number of elements in the set{n∈{1,2,…,100}:An+(ωB)n=A+B}\{n \in \{1, 2, \ldots, 100\} : A^n + (\omega B)^n = A + B\}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. A matrix equal to its own square has all its powers equal to itself.

Concept refresher. If B2=cBB^2 = cB for a number cc, every power of BB is a multiple of BB:

Bn=cn−1BB^n = c^{n-1}B

Picture the situation. Multiplying AA by itself returns AA, so every power of AA is AA. Then B=A−IB = A - I satisfies B2=−BB^2 = -B, so its powers are BB or −B-B alternately. The number ω\omega is a cube root of unity, so ωn\omega^n repeats with period 3. The condition compares these two repeating patterns.

Approach. Find the powers of both matrices, reduce the condition to one on a number, and count.

  1. Step 1: The powers of A and B

    Multiplying out, A2=AA^2 = A, so An=AA^n = A. Then B2=A2−2A+I=I−A=−BB^2 = A^2 - 2A + I = I - A = -B, so Bn=(−1)n−1BB^n = (-1)^{n-1}B.

  2. Step 2: The condition

    The equation becomes A+ωn(−1)n−1B=A+BA + \omega^n(-1)^{n-1}B = A + B. Since BB is not zero, ωn(−1)n−1=1\omega^n(-1)^{n-1} = 1.

  3. Step 3: The values of n

    The power ωn\omega^n is 1, ω\omega or ω2\omega^2, and never −1-1. So nn must be odd with ωn=1\omega^n = 1, that is an odd multiple of 3: 3,9,15,…,993, 9, 15, \ldots, 99.

  4. Step 4: The count

    These values are in arithmetic progression with common difference 6, and their number is 99−36+1=17\dfrac{99 - 3}{6} + 1 = 17.

Answer. 17

Sanity check. There are 33 multiples of 3 up to 100, of which 17 are odd and 16 are even.

Common wrong answers

  • 33: Dropping the factor (−1)n−1(-1)^{n-1} counts every multiple of 3 up to 100, which gives 33.
  • 16: Taking the even multiples of 3 in place of the odd ones gives 16.

Key takeaway

The trap. A matrix equal to minus its own square has powers that alternate in sign.

How toppers think. They square the matrix first, looking for a simple relation.

Remember. B2=−B⇒Bn=(−1)n−1BB^2 = -B \Rightarrow B^n = (-1)^{n-1}B

More on Matrix Operations