Question
Given vectors $\mathbf{u} = [2, -1, 3]$ and $\mathbf{v} = [4, 0, -2]$, and matrices:
$$A = \begin{bmatrix} 1 & 2 \\ 3 & 4 \end{bmatrix}, \quad B = \begin{bmatrix} 0 & 1 \\ -1 & 2 \end{bmatrix}$$
(a) Compute $\mathbf{u} \cdot \mathbf{v}$ (dot product). What type of result is this?
(b) Compute $A + B$ and $A - B$.
(c) Compute $AB$ (matrix multiplication). Is $AB = BA$? Compute $BA$ to check.