Skip to content
NCERT Exemplar · Q94

Q.If A=[23−1142]A = \begin{bmatrix} 2 & 3 & -1 \\ 1 & 4 & 2 \end{bmatrix} and B=[234521]B = \begin{bmatrix} 2 & 3 \\ 4 & 5 \\ 2 & 1 \end{bmatrix}, then ABAB and BABA are defined and equal.

Puducherry CbseShort· 3mImportance★★★★★
96% · 175/182 Questions
🔒 Locked · start free trial →

You're viewing a preview — the full solution, concept, methods & PYQ mapping are locked.

Start your 14-day free trial to unlock the full solution →

Matrix multiplication is defined only when the number of columns in the first matrix equals the number of rows in the second. Here AA is 2×32 \times 3 and BB is 3×23 \times 2, so both ABAB (2×22 \times 2) and BABA (3×33 \times 3) are defined — but they are not equal because their dimensions differ.

Why this question is a trap

Many students see that both products are defined and assume they must be equal. That’s a natural guess — but matrix multiplication is not commutative. Even when both products exist, they rarely give the same result. Here, the dimensions alone tell you they can’t be equal: ABAB is a 2×22 \times 2 matrix, while BABA is 3×33 \times 3. Two matrices of different sizes cannot be equal.

Let’s work through the multiplication to confirm.

Step-by-step computation

1. Check compatibility for ABAB

AA is 2×32 \times 3 (2 rows, 3 columns). BB is 3×23 \times 2 (3 rows, 2 columns). The inner dimensions match (3 = 3), so ABAB is defined and will be 2×22 \times 2.

2. Compute ABAB

The entry in row ii, column jj of ABAB is the dot product of row ii of AA with column jj of BB.

  • Row 1 of AA: [2,3,−1][2, 3, -1]

  • Row 2 of AA: [1,4,2][1, 4, 2]

  • Column 1 of BB: [242]\begin{bmatrix}2 \\ 4 \\ 2\end{bmatrix}

  • Column 2 of BB: [351]\begin{bmatrix}3 \\ 5 \\ 1\end{bmatrix}

Now:

(AB)11=2⋅2+3⋅4+(−1)⋅2=4+12−2=14(AB)_{11} = 2 \cdot 2 + 3 \cdot 4 + (-1) \cdot 2 = 4 + 12 - 2 = 14

(AB)12=2⋅3+3⋅5+(−1)⋅1=6+15−1=20(AB)_{12} = 2 \cdot 3 + 3 \cdot 5 + (-1) \cdot 1 = 6 + 15 - 1 = 20

(AB)21=1⋅2+4⋅4+2⋅2=2+16+4=22(AB)_{21} = 1 \cdot 2 + 4 \cdot 4 + 2 \cdot 2 = 2 + 16 + 4 = 22

(AB)22=1⋅3+4⋅5+2⋅1=3+20+2=25(AB)_{22} = 1 \cdot 3 + 4 \cdot 5 + 2 \cdot 1 = 3 + 20 + 2 = 25

So

AB=[14202225]AB = \begin{bmatrix} 14 & 20 \\ 22 & 25 \end{bmatrix}

3. Check compatibility for BABA

BB is 3×23 \times 2, AA is 2×32 \times 3. Inner dimensions match (2 = 2), so BABA is defined and will be 3×33 \times 3.

4. Compute BABA

Row ii of BB with column jj of AA.

Rows of BB:

Row 1: [2,3][2, 3]

Row 2: [4,5][4, 5]

Row 3: [2,1][2, 1]

Columns of AA:

Col 1: [21]\begin{bmatrix}2 \\ 1\end{bmatrix}, Col 2: [34]\begin{bmatrix}3 \\ 4\end{bmatrix}, Col 3: [−12]\begin{bmatrix}-1 \\ 2\end{bmatrix}

Now:

(BA)11=2⋅2+3⋅1=4+3=7(BA)_{11} = 2 \cdot 2 + 3 \cdot 1 = 4 + 3 = 7

(BA)12=2⋅3+3⋅4=6+12=18(BA)_{12} = 2 \cdot 3 + 3 \cdot 4 = 6 + 12 = 18

(BA)13=2⋅(−1)+3⋅2=−2+6=4(BA)_{13} = 2 \cdot (-1) + 3 \cdot 2 = -2 + 6 = 4

(BA)21=4⋅2+5⋅1=8+5=13(BA)_{21} = 4 \cdot 2 + 5 \cdot 1 = 8 + 5 = 13 …

Unlock everything free for 14 days

  • Full step-by-step solutions
  • Concept-first explanations
  • Methods, shortcuts & mistakes
  • PYQ mapping + timed mock tests

Full access for 14 days. No credit card required.