Vector Operations

Vector operations lay the foundation for understanding direction and magnitude. Through addition, subtraction, and scalar multiplication, we combine and scale vectors—key steps in navigating higher-dimensional spaces. ➡️

Adding vectors places them head-to-tail, and the result is the diagonal of the parallelogram they form.

\[ \mathbf{u} + \mathbf{v} = \begin{bmatrix} u_1 \\ u_2 \end{bmatrix} + \begin{bmatrix} v_1 \\ v_2 \end{bmatrix} = \begin{bmatrix} u_1 + v_1 \\ u_2 + v_2 \end{bmatrix} \]

Subtracting vectors gives the vector that points from the tip of (\(\mathbf{v}\)) to the tip of (\(\mathbf{u}\)).

\[ \mathbf{u} - \mathbf{v} = \begin{bmatrix} u_1 \\ u_2 \end{bmatrix} - \begin{bmatrix} v_1 \\ v_2 \end{bmatrix} = \begin{bmatrix} u_1 - v_1 \\ u_2 - v_2 \end{bmatrix} \]

Multiplying a vector by a scalar stretches or shrinks its length, and reverses its direction if the scalar is negative.

\[ k\mathbf{u} = k \begin{bmatrix} u_1 \\ u_2 \end{bmatrix} = \begin{bmatrix} k u_1 \\ k u_2 \end{bmatrix} \]