Class 12 Maths, Worked in Full Past papersGet updates
CBSE Sample Paper 2026-27 · Section C · 3 marks

Q26: Find PQPQ and QPQP and the inverse of the product, if it exists

The question

For two matrices,

P=[200012]P = \begin{bmatrix} 2 & 0 & 0 \\ 0 & 1 & 2 \end{bmatrix}

and

Q=[100210],Q = \begin{bmatrix} 1 & 0 \\ 0 & 2 \\ 1 & 0 \end{bmatrix},

find PQPQ and QPQP⁠, whichever is defined. Also, find the inverse of the product matrix, if it exists.

Exam answer

P is of order 2×32 \times 3 and Q is of order 3×23 \times 2⁠, so both PQ and QP are defined. Let A=PQA = PQ and B=QPB = QP⁠.

Why?

A product XYXY is defined only when the number of columns of XX equals the number of rows of YY⁠. The answer then has the rows of XX and the columns of YY⁠:

(2×3)(3×2)→2×2(3×2)(2×3)→3×3\begin{aligned} (2 \times 3)(3 \times 2) &\to 2 \times 2 \\ (3 \times 2)(2 \times 3) &\to 3 \times 3 \end{aligned}

So PQ is 2×22 \times 2 and QP is 3×33 \times 3⁠. Both are defined, but they are different matrices.

A=[200012][100210]=[2+0+00+0+00+0+20+2+0]=[2022]\begin{aligned} A &= \begin{bmatrix} 2 & 0 & 0 \\ 0 & 1 & 2 \end{bmatrix}\begin{bmatrix} 1 & 0 \\ 0 & 2 \\ 1 & 0 \end{bmatrix} \\ &= \begin{bmatrix} 2 + 0 + 0 & 0 + 0 + 0 \\ 0 + 0 + 2 & 0 + 2 + 0 \end{bmatrix} \\ &= \begin{bmatrix} 2 & 0 \\ 2 & 2 \end{bmatrix} \end{aligned}
Why?

Each entry is a row of P times a column of Q: multiply matching entries and add. For example, row 2 of P with column 1 of Q gives

0×1+1×0+2×1=20 \times 1 + 1 \times 0 + 2 \times 1 = 2

All four entries, row of P times column of Q:

R1, C1: (2)(1)+(0)(0)+(0)(1)=2+0+0=2R1, C2: (2)(0)+(0)(2)+(0)(0)=0+0+0=0R2, C1: (0)(1)+(1)(0)+(2)(1)=0+0+2=2R2, C2: (0)(0)+(1)(2)+(2)(0)=0+2+0=2\begin{aligned} &\text{R1, C1: } (2)(1) + (0)(0) + (0)(1) \\ &= 2 + 0 + 0 = 2 \\[4pt] &\text{R1, C2: } (2)(0) + (0)(2) + (0)(0) \\ &= 0 + 0 + 0 = 0 \\[4pt] &\text{R2, C1: } (0)(1) + (1)(0) + (2)(1) \\ &= 0 + 0 + 2 = 2 \\[4pt] &\text{R2, C2: } (0)(0) + (1)(2) + (2)(0) \\ &= 0 + 2 + 0 = 2 \end{aligned}
B=[100210][200012]=[2+00+00+00+00+20+42+00+00+0]=[200024200]\begin{aligned} B &= \begin{bmatrix} 1 & 0 \\ 0 & 2 \\ 1 & 0 \end{bmatrix}\begin{bmatrix} 2 & 0 & 0 \\ 0 & 1 & 2 \end{bmatrix} \\ &= \begin{bmatrix} 2 + 0 & 0 + 0 & 0 + 0 \\ 0 + 0 & 0 + 2 & 0 + 4 \\ 2 + 0 & 0 + 0 & 0 + 0 \end{bmatrix} \\ &= \begin{bmatrix} 2 & 0 & 0 \\ 0 & 2 & 4 \\ 2 & 0 & 0 \end{bmatrix} \end{aligned}
Why?

Now each row of Q has 2 entries and each column of P has 2 entries, so every entry is a sum of two products. For example, row 2 of Q with column 3 of P gives

0×0+2×2=40 \times 0 + 2 \times 2 = 4

All nine entries, row of Q times column of P. The columns of P are (2,0)(2, 0)⁠, (0,1)(0, 1) and (0,2)(0, 2)⁠:

Row 1 (1,0):(1)(2)+(0)(0)=2(1)(0)+(0)(1)=0(1)(0)+(0)(2)=0Row 2 (0,2):(0)(2)+(2)(0)=0(0)(0)+(2)(1)=2(0)(0)+(2)(2)=4Row 3 (1,0):(1)(2)+(0)(0)=2(1)(0)+(0)(1)=0(1)(0)+(0)(2)=0\begin{aligned} &\text{Row 1 } (1, 0)\text{:} \\ &(1)(2) + (0)(0) = 2 \\ &(1)(0) + (0)(1) = 0 \\ &(1)(0) + (0)(2) = 0 \\[4pt] &\text{Row 2 } (0, 2)\text{:} \\ &(0)(2) + (2)(0) = 0 \\ &(0)(0) + (2)(1) = 2 \\ &(0)(0) + (2)(2) = 4 \\[4pt] &\text{Row 3 } (1, 0)\text{:} \\ &(1)(2) + (0)(0) = 2 \\ &(1)(0) + (0)(1) = 0 \\ &(1)(0) + (0)(2) = 0 \end{aligned}

∣A∣=4−0=4≠0|A| = 4 - 0 = 4 \ne 0⁠, so A is non-singular and A−1A^{-1} exists.

Why?

For a 2×22 \times 2 matrix, the determinant is (product of the leading diagonal) minus (product of the other diagonal): 2×2−0×2=42 \times 2 - 0 \times 2 = 4⁠.

∣A∣=∣2022∣=(2)(2)−(0)(2)=4−0=4\begin{aligned} |A| &= \begin{vmatrix} 2 & 0 \\ 2 & 2 \end{vmatrix} \\ &= (2)(2) - (0)(2) \\ &= 4 - 0 = 4 \end{aligned}

A square matrix has an inverse exactly when its determinant is not zero. Always state this before finding A−1A^{-1}⁠.

A−1=1∣A∣adj⁡A=14[20−22]=[120−1212]\begin{aligned} A^{-1} &= \frac{1}{|A|}\operatorname{adj}A \\ &= \frac14\begin{bmatrix} 2 & 0 \\ -2 & 2 \end{bmatrix} = \begin{bmatrix} \frac12 & 0 \\ -\frac12 & \frac12 \end{bmatrix} \end{aligned}
Why?

For a 2×22 \times 2 matrix, the adjoint is found by swapping the two diagonal entries and changing the signs of the other two:

[abcd]→[d−b−ca]\begin{bmatrix} a & b \\ c & d \end{bmatrix} \to \begin{bmatrix} d & -b \\ -c & a \end{bmatrix}

Here a=2a = 2⁠, b=0b = 0⁠, c=2c = 2⁠, d=2d = 2⁠:

adj⁡A=[2−0−22]=[20−22]\operatorname{adj}A = \begin{bmatrix} 2 & -0 \\ -2 & 2 \end{bmatrix} = \begin{bmatrix} 2 & 0 \\ -2 & 2 \end{bmatrix}

Then divide every entry by ∣A∣=4|A| = 4⁠:

24=12,04=0−24=−12,24=12\begin{aligned} \frac{2}{4} &= \frac{1}{2},\quad \frac{0}{4} = 0 \\ \frac{-2}{4} &= -\frac{1}{2},\quad \frac{2}{4} = \frac{1}{2} \end{aligned}

Check: A×A−1A \times A^{-1} gives the identity matrix II⁠.

R1, C1: (2)(12)+(0)(−12)=1R1, C2: (2)(0)+(0)(12)=0R2, C1: (2)(12)+(2)(−12)=1−1=0R2, C2: (2)(0)+(2)(12)=1\begin{aligned} &\text{R1, C1: } (2)\left(\tfrac12\right) + (0)\left(-\tfrac12\right) = 1 \\ &\text{R1, C2: } (2)(0) + (0)\left(\tfrac12\right) = 0 \\ &\text{R2, C1: } (2)\left(\tfrac12\right) + (2)\left(-\tfrac12\right) \\ &\quad = 1 - 1 = 0 \\ &\text{R2, C2: } (2)(0) + (2)\left(\tfrac12\right) = 1 \end{aligned}
∣B∣=2(2×0−4×0)−0+0=0\begin{aligned} |B| &= 2(2 \times 0 - 4 \times 0) \\ &\quad - 0 + 0 = 0 \end{aligned}
Why?

Expand along the first row. Only the entry 2 is non-zero, and its minor 2×0−4×02 \times 0 - 4 \times 0 is 0.

∣B∣=2∣2400∣−0(…)+0(…)∣2400∣=(2)(0)−(4)(0)=0−0=0∣B∣=2(0)−0+0=0\begin{aligned} |B| &= 2\begin{vmatrix} 2 & 4 \\ 0 & 0 \end{vmatrix} - 0(\ldots) \\ &\quad + 0(\ldots) \\[4pt] \begin{vmatrix} 2 & 4 \\ 0 & 0 \end{vmatrix} &= (2)(0) - (4)(0) \\ &= 0 - 0 = 0 \\[4pt] |B| &= 2(0) - 0 + 0 = 0 \end{aligned}

A quicker reason: a determinant with two equal rows is always 0, and rows 1 and 3 of B are both 2,0,02, 0, 0⁠.

∣B∣=0|B| = 0⁠, since its first and third rows are equal. So B is singular and B−1B^{-1} does not exist.

∴ (PQ)−1\therefore\ (PQ)^{-1} is the matrix A−1A^{-1} found above, and (QP)−1(QP)^{-1} does not exist.

Where this comes from

Chapter 3, Matrices: Matrix products; inverse of a product matrix.

Question type: Multiply two matrices + Inverse of a matrix (combines 2 types)

How to spot it: click to see

Ch 3, type 5. Multiply two matrices: row times column

Spot it: two matrices written side by side, or ABAB⁠, BABA or A2A^2⁠.

Here: First, write the orders: PP is 2×32 \times 3 and QQ is 3×23 \times 2⁠, so both PQPQ (2×22 \times 2⁠) and QPQP (3×33 \times 3⁠) exist. Work each out row by column.

Ch 4, type 6. Inverse of a matrix: ∣A∣|A|⁠, then the adjoint, then divide

Spot it: "find the inverse" or "find A−1A^{-1}".

Here: Then the inverse of each product: ∣PQ∣=4≠0|PQ| = 4 \ne 0⁠, so swap the diagonal, change the other two signs and divide by 4. ∣QP∣=0|QP| = 0 (rows 1 and 3 are equal), so QPQP has no inverse.

Also uses Chapter 4, Determinants.

Found an error?

Tell us if something on this page is wrong or unclear. Send feedback on this question →