成人快手

Vector arithmetic

Multiplying vectors by a scalar

can be multiplied by a which changes the size of the vector but not the direction.

\(\mathbf{k} = \begin{pmatrix} 3 \\ -2 \end{pmatrix}\)

The vector \(2k\) is twice as long as the vector \(k\). Double each number in \(k\) to get \(2k\).

\(\mathbf{2k} = \begin{pmatrix} 6 \\ -4 \end{pmatrix}\)

Vectors k and 2k

\(\mathbf{m} = \begin{pmatrix} -4 \\ -4 \end{pmatrix}\)

The vector \(\frac{1}{2} \mathbf{m}\) is half as long as the vector \(\mathbf{m}\). Halve each number in \(\mathbf{m}\) to get \(\frac{1}{2} \mathbf{m}\).

\(\frac{1}{2} \mathbf{m} = \begin{pmatrix} -2 \\ -2 \end{pmatrix}\)

Two lines running parallel to each other on a square grid. The line m is double the length of the line 1/2 m. They both have chevrons which point downwards.

Adding vectors

Vectors can be added by drawing the first vector, then starting the second vector where the first vector ends.

Vectors XYZ (triangle)

\(\overrightarrow{XY} + \overrightarrow{YZ} = \overrightarrow{XZ}\)

\(\begin{pmatrix} 4 \\ 2 \end{pmatrix} + \begin{pmatrix} 1 \\ -4 \end{pmatrix} = \begin{pmatrix} 4 + 1 \\ 2 + -4 \end{pmatrix} = \begin{pmatrix} 5 \\ -2 \end{pmatrix}\)

The single vector they create (\(\overrightarrow{XZ}\)) is the vector.

Travelling from \(X\) to \(Y\), then from \(Y\) to \(Z\), is the same as travelling from \(X\) to \(Z\).

Subtracting vectors

Subtracting a vector is the same as adding a negative vector.

Vectors XYZ (triangle)

\(\overrightarrow{YX} + \overrightarrow{XZ} = \overrightarrow{YZ}\)

Since the vector \(\overrightarrow{YX}\) has the same magnitude but opposite direction to the vector \(\overrightarrow{XY}\):

\(\overrightarrow{YX} = \overrightarrow{-XY}\)

\(\overrightarrow{-XY} + \overrightarrow{XZ} = \overrightarrow{YZ}\)

\(- \begin{pmatrix} 4 \\ 2 \end{pmatrix} + \begin{pmatrix} 5 \\ -2 \end{pmatrix} = \begin{pmatrix} -4 + 5 \\ -2 + -2 \end{pmatrix} = \begin{pmatrix} 1 \\ -4 \end{pmatrix}\)

Example

Write, in terms of \(\mathbf{a}\) and \(\mathbf{b}\), the vector \(\overrightarrow{KM}\).

Vectors OK, KL, LM, and MO (parallelogram)

\(\overrightarrow{KO} + \overrightarrow{OM} = \overrightarrow{KM}\)

\(\overrightarrow{KM} = \mathbf{-a} + \mathbf{b}\) or \(\mathbf{b} - \mathbf{a}\)