Skip to main content
Back to Matrices & Determinants
JEE Main 2022
Matrices & Determinants
Matrices and Determinants
Medium

Question

Let A = \left( {\matrix{ 2 & { - 2} \cr 1 & { - 1} \cr } } \right) and B = \left( {\matrix{ { - 1} & 2 \cr { - 1} & 2 \cr } } \right). Then the number of elements in the set {(n, m) : n, m \in {1, 2, .........., 10} and nA n + mB m = I} is ____________.

Answer: 2

Solution

Key Concept: Idempotent Matrices

A square matrix MM is called idempotent if M2=MM^2 = M. A fundamental property of idempotent matrices is that for any positive integer kk, Mk=MM^k = M. This property significantly simplifies calculations involving higher powers of such matrices.

Step-by-step Derivations

1. Determine the Nature of Matrices AA and BB

First, we need to calculate the squares of matrices AA and BB to identify any patterns, particularly if they are idempotent. This step is crucial because it simplifies the terms AnA^n and BmB^m in the given equation.

For matrix AA: A=(2211)A = \begin{pmatrix} 2 & -2 \\ 1 & -1 \end{pmatrix} Calculate A2A^2: A2=AA=(2211)(2211)A^2 = A \cdot A = \begin{pmatrix} 2 & -2 \\ 1 & -1 \end{pmatrix} \begin{pmatrix} 2 & -2 \\ 1 & -1 \end{pmatrix} A2=((2)(2)+(2)(1)(2)(2)+(2)(1)(1)(2)+(1)(1)(1)(2)+(1)(1))A^2 = \begin{pmatrix} (2)(2) + (-2)(1) & (2)(-2) + (-2)(-1) \\ (1)(2) + (-1)(1) & (1)(-2) + (-1)(-1) \end{pmatrix} A2=(424+2212+1)=(2211)A^2 = \begin{pmatrix} 4 - 2 & -4 + 2 \\ 2 - 1 & -2 + 1 \end{pmatrix} = \begin{pmatrix} 2 & -2 \\ 1 & -1 \end{pmatrix} Since A2=AA^2 = A, matrix AA is an idempotent matrix. Therefore, for any positive integer n1n \ge 1, we have An=AA^n = A.

For matrix BB: B=(1212)B = \begin{pmatrix} -1 & 2 \\ -1 & 2 \end{pmatrix} Calculate B2B^2: B2=BB=(1212)(1212)B^2 = B \cdot B = \begin{pmatrix} -1 & 2 \\ -1 & 2 \end{pmatrix} \begin{pmatrix} -1 & 2 \\ -1 & 2 \end{pmatrix} B2=((1)(1)+(2)(1)(1)(2)+(2)(2)(1)(1)+(2)(1)(1)(2)+(2)(2))B^2 = \begin{pmatrix} (-1)(-1) + (2)(-1) & (-1)(2) + (2)(2) \\ (-1)(-1) + (2)(-1) & (-1)(2) + (2)(2) \end{pmatrix} B2=(122+4122+4)=(1212)B^2 = \begin{pmatrix} 1 - 2 & -2 + 4 \\ 1 - 2 & -2 + 4 \end{pmatrix} = \begin{pmatrix} -1 & 2 \\ -1 & 2 \end{pmatrix} Since B2=BB^2 = B, matrix BB is also an idempotent matrix. Therefore, for any positive integer m1m \ge 1, we have Bm=BB^m = B.

Tip: Always check for idempotent, nilpotent (Mk=0M^k = 0), or periodic (Mk=IM^k = I) properties when dealing with higher powers of matrices. This can drastically simplify calculations.

2. Simplify the Matrix Equation

The given equation is nAn+mBm=InA^n + mB^m = I, where II is the 2×22 \times 2 identity matrix, I=(1001)I = \begin{pmatrix} 1 & 0 \\ 0 & 1 \end{pmatrix}. Using the idempotent property derived in Step 1, we can substitute An=AA^n = A and Bm=BB^m = B into the equation: nA+mB=InA + mB = I Now, substitute the actual matrices AA and BB: n(2211)+m(1212)=(1001)n \begin{pmatrix} 2 & -2 \\ 1 & -1 \end{pmatrix} + m \begin{pmatrix} -1 & 2 \\ -1 & 2 \end{pmatrix} = \begin{pmatrix} 1 & 0 \\ 0 & 1 \end{pmatrix}

3. Perform Scalar Multiplication and Matrix Addition

Multiply each matrix by its scalar coefficient (nn and mm respectively): (2n2nnn)+(m2mm2m)=(1001)\begin{pmatrix} 2n & -2n \\ n & -n \end{pmatrix} + \begin{pmatrix} -m & 2m \\ -m & 2m \end{pmatrix} = \begin{pmatrix} 1 & 0 \\ 0 & 1 \end{pmatrix} Now, add the two matrices on the left side: (2nm2n+2mnmn+2m)=(1001)\begin{pmatrix} 2n - m & -2n + 2m \\ n - m & -n + 2m \end{pmatrix} = \begin{pmatrix} 1 & 0 \\ 0 & 1 \end{pmatrix}

4. Form and Solve a System of Linear Equations

For two matrices to be equal, their corresponding elements must be equal. This gives us a system of four linear equations:

  1. 2nm=12n - m = 1 (from element at row 1, col 1)
  2. 2n+2m=0-2n + 2m = 0 (from element at row 1, col 2)
  3. nm=0n - m = 0 (from element at row 2, col 1)
  4. n+2m=1-n + 2m = 1 (from element at row 2, col 2)

Let's solve this system: From equation (2), 2n+2m=0    2m=2n    m=n-2n + 2m = 0 \implies 2m = 2n \implies m = n. From equation (3), nm=0    n=mn - m = 0 \implies n = m. Both equations (2) and (3) consistently tell us that nn must be equal to mm.

Now, substitute m=nm = n into equation (1): 2nn=12n - n = 1 n=1n = 1

Since m=nm=n, we also get m=1m=1. So, the unique solution to the system of equations is (n,m)=(1,1)(n, m) = (1, 1).

Let's verify this solution with the remaining equation (4): n+2m=1+2(1)=1+2=1-n + 2m = -1 + 2(1) = -1 + 2 = 1. This is consistent with equation (4). Therefore, (n,m)=(1,1)(n, m) = (1, 1) is the unique solution to the matrix equation.

Common Mistake: Sometimes students only equate a subset of the elements, which might lead to incorrect or multiple solutions if the system is not fully constrained. Always check consistency across all elements.

5. Check the Domain and Count the Elements

The problem states that n,m{1,2,,10}n, m \in \{1, 2, \ldots, 10\}. Our unique solution is (n,m)=(1,1)(n, m) = (1, 1). Both n=1n=1 and m=1m=1 fall within the specified set {1,2,,10}\{1, 2, \ldots, 10\}. Since there is only one pair (1,1)(1, 1) that satisfies all the conditions, the number of elements in the set is 1.

Alternative Approach (Using A+B=IA+B=I): Observe that A+B=(2211)+(1212)=(1001)=IA+B = \begin{pmatrix} 2 & -2 \\ 1 & -1 \end{pmatrix} + \begin{pmatrix} -1 & 2 \\ -1 & 2 \end{pmatrix} = \begin{pmatrix} 1 & 0 \\ 0 & 1 \end{pmatrix} = I. So, we have nA+mB=InA + mB = I and A+B=IA+B=I. Subtracting the second equation from the first: (n1)A+(m1)B=0(n-1)A + (m-1)B = 0 Let X=n1X = n-1 and Y=m1Y = m-1. XA+YB=0XA + YB = 0 X(2211)+Y(1212)=(0000)X \begin{pmatrix} 2 & -2 \\ 1 & -1 \end{pmatrix} + Y \begin{pmatrix} -1 & 2 \\ -1 & 2 \end{pmatrix} = \begin{pmatrix} 0 & 0 \\ 0 & 0 \end{pmatrix} This gives the system: 2XY=02X - Y = 0 XY=0X - Y = 0 The determinant of the coefficients for X,YX,Y in these two equations is 2(1)(1)(1)=2+1=102(-1) - (-1)(1) = -2+1 = -1 \ne 0. This implies a unique solution. From XY=0X-Y=0, we get X=YX=Y. Substitute into 2XY=02X-Y=0: 2XX=0    X=02X-X=0 \implies X=0. Since X=YX=Y, then Y=0Y=0. So X=0X=0 and Y=0Y=0. This means n1=0    n=1n-1=0 \implies n=1 and m1=0    m=1m-1=0 \implies m=1. Again, this leads to the unique solution (n,m)=(1,1)(n,m) = (1,1).

Summary/Key Takeaway

This problem emphasizes the importance of recognizing special matrix properties, particularly idempotency. By identifying that An=AA^n=A and Bm=BB^m=B, the complex matrix power equation simplifies to a straightforward system of linear equations. Solving this system and verifying the solution against the given domain provides the number of valid pairs. In this case, there is only one such pair, (1,1)(1,1).

The number of elements in the set {(n,m):n,m{1,2,..........,10} and nAn+mBm=I}\{(n, m) : n, m \in \{1, 2, .........., 10\} \text{ and } nA^n + mB^m = I\} is 1.

Practice More Matrices & Determinants Questions

View All Questions