the question I have difficulty with
So not only do we have $AB=BA$, the matrix products $AB$ and $BA$ can even be of different size.
Example 7: Let $C= \begin{pmatrix} 1 & 2 & 3 \\ 1 & 0 & 1 \\ -1 & 0 & -2 \end{pmatrix}$ and $D= \begin{pmatrix} -1\\-2\\-3 \end{pmatrix}$. Find (if possible) $CD$ and $DC$.
For this question, our lecturer just flew past this question and didn't explain much about why we can multiply $CD$ but not $DC$.
What is the exact reason why I can't multiply $DC$? Thanks!