Show AB ≠ BA (3×3)

Show That \(AB \ne BA\)

Question:
Given \[ A=\begin{bmatrix}-1 & 1 & 0 \\ 0 & -1 & 1 \\ 2 & 3 & 4\end{bmatrix}, \quad B=\begin{bmatrix}1 & 2 & 3 \\ 0 & 1 & 0 \\ 1 & 1 & 0\end{bmatrix} \] show that \(AB \ne BA\).

Solution:

Step 1: Compute \(AB\)

\[ AB = \begin{bmatrix} -1 & 1 & 0 \\ 0 & -1 & 1 \\ 2 & 3 & 4 \end{bmatrix} \begin{bmatrix} 1 & 2 & 3 \\ 0 & 1 & 0 \\ 1 & 1 & 0 \end{bmatrix} \] \[ = \begin{bmatrix} -1(1)+1(0)+0(1) & -1(2)+1(1)+0(1) & -1(3)+1(0)+0(0) \\ 0(1)+(-1)(0)+1(1) & 0(2)+(-1)(1)+1(1) & 0(3)+(-1)(0)+1(0) \\ 2(1)+3(0)+4(1) & 2(2)+3(1)+4(1) & 2(3)+3(0)+4(0) \end{bmatrix} \] \[ = \begin{bmatrix} -1 & -1 & -3 \\ 1 & 0 & 0 \\ 6 & 11 & 6 \end{bmatrix} \]

Step 2: Compute \(BA\)

\[ BA = \begin{bmatrix} 1 & 2 & 3 \\ 0 & 1 & 0 \\ 1 & 1 & 0 \end{bmatrix} \begin{bmatrix} -1 & 1 & 0 \\ 0 & -1 & 1 \\ 2 & 3 & 4 \end{bmatrix} \] \[ = \begin{bmatrix} 1(-1)+2(0)+3(2) & 1(1)+2(-1)+3(3) & 1(0)+2(1)+3(4) \\ 0(-1)+1(0)+0(2) & 0(1)+1(-1)+0(3) & 0(0)+1(1)+0(4) \\ 1(-1)+1(0)+0(2) & 1(1)+1(-1)+0(3) & 1(0)+1(1)+0(4) \end{bmatrix} \] \[ = \begin{bmatrix} 5 & 8 & 14 \\ 0 & -1 & 1 \\ -1 & 0 & 1 \end{bmatrix} \]

Conclusion:

\[ AB = \begin{bmatrix} -1 & -1 & -3 \\ 1 & 0 & 0 \\ 6 & 11 & 6 \end{bmatrix} \ne BA = \begin{bmatrix} 5 & 8 & 14 \\ 0 & -1 & 1 \\ -1 & 0 & 1 \end{bmatrix} \]

Hence, matrix multiplication is not commutative.

Next Question / Full Exercise

Spread the love

Leave a Comment

Your email address will not be published. Required fields are marked *