Question:easy

If \( A=\begin{pmatrix} 5 & -1 \\ 4 & 8 \end{pmatrix} \) and \( B=\begin{pmatrix} 2 & 1 \\ 3 & 4 \end{pmatrix} \), then prove that \( AB \ne BA \).

Show Hint

Multiply the matrices in both orders and compare the results; \(AB = \begin{pmatrix} 7 & 1 \\ 32 & 36 \end{pmatrix}\).
Show Solution

Solution and Explanation

Step 1: Idea:
To show two matrices are different, one entry that does not match is enough. Still, we compute both products fully so that the comparison is clear.

Step 2: Row-by-column work for AB:
Row 1 of $A$ is $(5, -1)$ and row 2 is $(4, 8)$. Columns of $B$ are $(2, 3)$ and $(1, 4)$.
$(AB)_{11} = 5 \cdot 2 + (-1)\cdot 3 = 7$
$(AB)_{12} = 5 \cdot 1 + (-1)\cdot 4 = 1$
$(AB)_{21} = 4 \cdot 2 + 8 \cdot 3 = 32$
$(AB)_{22} = 4 \cdot 1 + 8 \cdot 4 = 36$

Step 3: Row-by-column work for BA:
Row 1 of $B$ is $(2, 1)$ and row 2 is $(3, 4)$. Columns of $A$ are $(5, 4)$ and $(-1, 8)$.
$(BA)_{11} = 2 \cdot 5 + 1 \cdot 4 = 14$
$(BA)_{12} = 2 \cdot (-1) + 1 \cdot 8 = 6$
$(BA)_{21} = 3 \cdot 5 + 4 \cdot 4 = 31$
$(BA)_{22} = 3 \cdot (-1) + 4 \cdot 8 = 29$

Step 4: Compare entry by entry:
The entries in the first row and first column are $7$ for $AB$ and $14$ for $BA$. In fact all four positions differ.
\[ \begin{pmatrix} 7 & 1 \\ 32 & 36 \end{pmatrix} \ne \begin{pmatrix} 14 & 6 \\ 31 & 29 \end{pmatrix} \]

Final Answer:
The two products are different matrices, so $AB \ne BA$. \[ \boxed{AB \ne BA} \]
Was this answer helpful?
0

Top Questions on Matrix Operations