Skip to content
Worked Examples · Example 14

Q.If A=[100−1]A = \begin{bmatrix} 1 & 0 \\ 0 & -1 \end{bmatrix} and B=[0110]B = \begin{bmatrix} 0 & 1 \\ 1 & 0 \end{bmatrix}, find ABAB and BABA, and show that AB≠BAAB \neq BA.

CBSENCERTSubjective· 3mImportance★★★★★
32% · 58/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 not commutative in general — even for 2×22 \times 2 matrices, swapping the order can flip signs. Here, ABAB and BABA are negatives of each other, confirming AB≠BAAB \neq BA.

Why This Happens: The Concept of Non-Commutativity

When you multiply two numbers, 3×53 \times 5 always equals 5×35 \times 3. But matrices are different. Matrix multiplication is defined as a row-by-column operation: each entry in the product is the dot product of a row from the first matrix with a column from the second. This process is not symmetric — swapping the matrices changes which rows multiply which columns, so the result can (and often does) change.

For the matrices given, AA is a reflection across the x-axis (it flips the sign of the y-coordinate), and BB swaps the x and y coordinates. Doing these operations in different orders yields different outcomes — exactly what we see in the products.

Step-by-Step Verification

  1. Check compatibility

    Both AA and BB are 2×22 \times 2 matrices, so ABAB and BABA are both defined and will also be 2×22 \times 2.

  2. Compute ABAB

    Multiply AA (first) by BB (second):

AB=[100−1][0110]AB = \begin{bmatrix} 1 & 0 \\ 0 & -1 \end{bmatrix} \begin{bmatrix} 0 & 1 \\ 1 & 0 \end{bmatrix}

  • Entry (1,1): row 1 of AA times column 1 of BB: (1)(0)+(0)(1)=0(1)(0) + (0)(1) = 0
  • Entry (1,2): row 1 of AA times column 2 of BB: (1)(1)+(0)(0)=1(1)(1) + (0)(0) = 1
  • Entry (2,1): row 2 of AA times column 1 of BB: (0)(0)+(−1)(1)=−1(0)(0) + (-1)(1) = -1
  • Entry (2,2): row 2 of AA times column 2 of BB: (0)(1)+(−1)(0)=0(0)(1) + (-1)(0) = 0 So

AB=[01−10]AB = \begin{bmatrix} 0 & 1 \\ -1 & 0 \end{bmatrix}

  1. Compute BABA Now multiply BB (first) by AA (second):

BA=[0110][100−1]BA = \begin{bmatrix} 0 & 1 \\ 1 & 0 \end{bmatrix} \begin{bmatrix} 1 & 0 \\ 0 & -1 \end{bmatrix}

  • Entry (1,1): row 1 of BB times column 1 of AA: (0)(1)+(1)(0)=0(0)(1) + (1)(0) = 0
  • Entry (1,2): row 1 of BB times column 2 of AA: (0)(0)+(1)(−1)=−1(0)(0) + (1)(-1) = -1
  • Entry (2,1): row 2 of BB times column 1 of AA: (1)(1)+(0)(0)=1(1)(1) + (0)(0) = 1
  • Entry (2,2): row 2 of BB times column 2 of AA: (1)(0)+(0)(−1)=0(1)(0) + (0)(-1) = 0 So …

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.