If \(A=\begin{bmatrix} 1 & \sqrt{3} & 0\\ -\sqrt{3} & 1 & 0\\ 0 & 0 & 2 \end{bmatrix}\) and \(B=\begin{bmatrix} \sqrt{3} & 1 & 0\\ -1 & \sqrt{3} & 0\\ 0 & 0 & 2 \end{bmatrix}\) then AB is equal to:
Answer & explanation
Correct answer: option 4
The correct answer is Option (4) → \(\begin{bmatrix} 0 & 4 & 0\\ -4 & 0 & 0\\ 0 & 0 & 4 \end{bmatrix}\)
Each entry of AB is row of A times column of B.
Row 1 of A, \((1, \sqrt{3}, 0)\):
\(1 \cdot \sqrt{3} + \sqrt{3}(-1) + 0 = 0\)
\(1 \cdot 1 + \sqrt{3} \cdot \sqrt{3} + 0 = 4\)
\(0 + 0 + 0 = 0\)
Row 2 of A, \((-\sqrt{3}, 1, 0)\):
\(-\sqrt{3} \cdot \sqrt{3} + 1(-1) + 0 = -4\)
\(-\sqrt{3} \cdot 1 + 1 \cdot \sqrt{3} + 0 = 0\)
\(0 + 0 + 0 = 0\)
Row 3 of A, \((0, 0, 2)\):
\(0,\quad 0,\quad 2 \cdot 2 = 4\)
So
\( \displaystyle AB = \begin{bmatrix} 0 & 4 & 0\\ -4 & 0 & 0\\ 0 & 0 & 4 \end{bmatrix} \)