If matrices \(A =\begin{bmatrix}1&2&3\end{bmatrix}\) and \(B =\begin{bmatrix}1\\2\\3\end{bmatrix}\), then BA is equal to
Answer & explanation
Correct answer: option 3
The correct answer is Option (3) → \(\begin{bmatrix}1&2&3\\2&4&6\\3&6&9\end{bmatrix}\)
B is of order 3 × 1 and A is of order 1 × 3, so BA is a 3 × 3 matrix. Its (i, j) entry is the i-th entry of B times the j-th entry of A.
\(\displaystyle BA = \begin{bmatrix}1\\2\\3\end{bmatrix}\begin{bmatrix}1&2&3\end{bmatrix}\)
\(\displaystyle = \begin{bmatrix}1\times1&1\times2&1\times3\\2\times1&2\times2&2\times3\\3\times1&3\times2&3\times3\end{bmatrix}\)
\(\displaystyle = \begin{bmatrix}1&2&3\\2&4&6\\3&6&9\end{bmatrix}\)