To multiply matrix A (m×n) by vector v (n×1), result is m×1 vector.
Rule: each entry of result is dot product of row of A with vector v.
Example:
\[ \begin{pmatrix} 1 & 2 \\ 3 & 4 \\ 5 & 6 \end{pmatrix} \begin{pmatrix} 7 \\ 8 \end{pmatrix} = \begin{pmatrix} 1·7 + 2·8 \\ 3·7 + 4·8 \\ 5·7 + 6·8 \end{pmatrix} = \begin{pmatrix} 23 \\ 53 \\ 83 \end{pmatrix} \]A function T that maps vectors to vectors is linear if it preserves addition and scalar multiplication:
Every linear transformation from \( \mathbb{R}^{n} \) to \( \mathbb{R}^{m} \) can be represented by an \( m \times n \) matrix.
Examples:
To compose two transformations, multiply their matrices.
Order matters: AB ≠ BA in general (transformations don’t commute).
Example: rotation then scaling ≠ scaling then rotation.