QlarIITy

MathematicsJEE Main 2026 · 2 AprilInteger

Consider the matricesA=[2−24−2]A = \begin{bmatrix} 2 & -2 \\ 4 & -2 \end{bmatrix}andB=[3913]B = \begin{bmatrix} 3 & 9 \\ 1 & 3 \end{bmatrix}. If matrices PP and QQ are such that PA=BPA = B and AQ=BAQ = B, then the absolute value of the sum of the diagonal elements of 2(P+Q)2(P + Q) 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. PA=BPA = B and AQ=BAQ = B give P=BA−1P = BA^{-1} and Q=A−1BQ = A^{-1}B, which differ as matrices but share a trace.

Concept refresher. For a 2×22 \times 2 matrix with det⁡A=ad−bc≠0\det A = ad - bc \neq 0,

[abcd]−1=1ad−bc[d−b−ca]\begin{bmatrix} a & b \\ c & d \end{bmatrix}^{-1} = \frac{1}{ad - bc}\begin{bmatrix} d & -b \\ -c & a \end{bmatrix}

The trace tr⁡(M)\operatorname{tr}(M) is the sum of the diagonal elements; it is linear, and tr⁡(XY)=tr⁡(YX)\operatorname{tr}(XY) = \operatorname{tr}(YX) for square matrices X,YX, Y of the same order.

Approach. Find A−1A^{-1}, write P=BA−1P = BA^{-1} and Q=A−1BQ = A^{-1}B, find one trace (the other is equal), and take the absolute value of 2(tr⁡(P)+tr⁡(Q))2\left(\operatorname{tr}(P) + \operatorname{tr}(Q)\right).

  1. Step 1: Find the inverse

    Here det⁡A=2(−2)−(−2)(4)=4≠0\det A = 2(-2) - (-2)(4) = 4 \neq 0, so AA is invertible and

    A−1=14[−22−42]A^{-1} = \frac{1}{4}\begin{bmatrix} -2 & 2 \\ -4 & 2 \end{bmatrix}
  2. Step 2: Solve for P and Q

    Multiplying PA=BPA = B by A−1A^{-1} on the right and AQ=BAQ = B by A−1A^{-1} on the left gives P=BA−1P = BA^{-1} and Q=A−1BQ = A^{-1}B. Computing QQ:

    Q=14[−4−12−10−30]Q = \frac{1}{4}\begin{bmatrix} -4 & -12 \\ -10 & -30 \end{bmatrix}

    so tr⁡(Q)=−4−304=−172\operatorname{tr}(Q) = \frac{-4 - 30}{4} = -\frac{17}{2}, and tr⁡(P)=tr⁡(BA−1)=tr⁡(A−1B)=−172\operatorname{tr}(P) = \operatorname{tr}(BA^{-1}) = \operatorname{tr}(A^{-1}B) = -\frac{17}{2}.

  3. Step 3: Find the required value

    The trace is linear, so

    tr⁡(2(P+Q))=2(−172−172)=−34\operatorname{tr}(2(P + Q)) = 2\left(-\frac{17}{2} - \frac{17}{2}\right) = -34

    and its absolute value is 3434.

Answer. 34

Sanity check. Directly, P=BA−1=14[−4224−148]P = BA^{-1} = \frac{1}{4}\begin{bmatrix} -42 & 24 \\ -14 & 8 \end{bmatrix}, with trace −42+84=−172\frac{-42 + 8}{4} = -\frac{17}{2}, the same as QQ; and PA=14[1236412]=BPA = \frac{1}{4}\begin{bmatrix} 12 & 36 \\ 4 & 12 \end{bmatrix} = B.

Smart method. Only traces are needed, and tr⁡(BA−1)=tr⁡(A−1B)\operatorname{tr}(BA^{-1}) = \operatorname{tr}(A^{-1}B), so compute just the diagonal of A−1BA^{-1}B: 14((−2)(3)+2(1))=−1\frac{1}{4}\left((-2)(3) + 2(1)\right) = -1 and 14((−4)(9)+2(3))=−152\frac{1}{4}\left((-4)(9) + 2(3)\right) = -\frac{15}{2}. Their sum is −172-\frac{17}{2}, and ∣2⋅2⋅(−172)∣=34|2 \cdot 2 \cdot (-\frac{17}{2})| = 34. This needs AA to be invertible.

Common wrong answers

  • 17: The value 1717 is ∣tr⁡(P+Q)∣=∣−172−172∣|\operatorname{tr}(P + Q)| = \left|-\frac{17}{2} - \frac{17}{2}\right|; the question asks for 2(P+Q)2(P + Q), whose trace is 2⋅(−17)=−342 \cdot (-17) = -34, of size 3434.
  • -34: The trace of 2(P+Q)2(P + Q) is −34-34, but the question asks for its absolute value, which is 3434.
  • 68: The value 6868 doubles twice, taking tr⁡(P)=−17\operatorname{tr}(P) = -17 instead of −172-\frac{17}{2}; with det⁡A=4\det A = 4 the trace of A−1BA^{-1}B is −344=−172\frac{-34}{4} = -\frac{17}{2}, giving 3434.

Key takeaway

The trap. Dropping the factor 22 of 2(P+Q)2(P + Q), which halves the answer to 1717.

How toppers think. When only a trace is asked, they compute only diagonal entries and use tr⁡(XY)=tr⁡(YX)\operatorname{tr}(XY) = \operatorname{tr}(YX).

Remember. The inverse of a 2×22 \times 2 matrix swaps the diagonal entries, negates the others and divides by the determinant.

More on Adjoint & Inverse