Matrices

Stretching \[ \begin{bmatrix} k & 0 \\ 0 & 1 \end{bmatrix} \] \[ \begin{bmatrix} 1 & 0 \\ 0 & k \end{bmatrix} \] Rotation \[ \begin{bmatrix} cos(\theta) & sin(\theta) \\ -sin(\theta) & cos(\theta) \end{bmatrix} \] Shearing \[ \begin{bmatrix} 1 & k \\ 0 & 1 \end{bmatrix} \] \[ \begin{bmatrix} 1 & 0 \\ 0 & 1 \end{bmatrix} \]