QlarIITy

MathematicsJEE Main 2022 · 28 JuneInteger

Let A=[1+i1−i0]A = \begin{bmatrix} 1 + i & 1 \\ -i & 0 \end{bmatrix} where i=−1i = \sqrt{-1}. Then, the number of elements in the set{n∈{1,2,…,100}:An=A}\{n \in \{1, 2, \ldots, 100\} : A^n = A\}is

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. When a power of a matrix is the identity, its powers repeat with that period.

Concept refresher. If AA is invertible, multiplying by A−1A^{-1} shows that An=AA^n = A exactly when

An−1=IA^{n-1} = I

Picture the situation. The powers of a matrix with a low power equal to II repeat in a cycle. So the first task is to find the smallest power of AA that is the identity. The condition An=AA^n = A then says that n−1n - 1 is a multiple of that power.

Approach. Find the smallest power equal to the identity, then count the exponents that fit.

  1. Step 1: The square

    Multiplying out, the square A2A^2 has rows (i,1+i)(i, 1 + i) and (1−i,−i)(1 - i, -i), which is not the identity.

  2. Step 2: The fourth power

    Squaring again, both diagonal entries are i2+(1+i)(1−i)=1i^2 + (1 + i)(1 - i) = 1, and the other two entries are (1+i)(i−i)=0(1 + i)(i - i) = 0 and (1−i)(i−i)=0(1 - i)(i - i) = 0. So A4=IA^4 = I, and no lower power of AA is II.

  3. Step 3: The count

    Since AA is invertible, An=AA^n = A exactly when An−1=IA^{n-1} = I, that is when n−1n - 1 is a multiple of 4. The values n=1,5,9,…,97n = 1, 5, 9, \ldots, 97 number 97−14+1=25\dfrac{97 - 1}{4} + 1 = 25.

Answer. 25

Sanity check. The determinant of AA is ii, and im=1i^m = 1 only when mm is a multiple of 4, which agrees with the period.

Common wrong answers

  • 24: Leaving out n=1n = 1, for which A1=AA^1 = A holds trivially, gives 24.

Key takeaway

The trap. The first power always satisfies the condition and must be counted.

How toppers think. They use the determinant to predict the period before multiplying.

Remember. An=A⇔An−1=IA^n = A \Leftrightarrow A^{n-1} = I

More on Matrix Operations