girgit.org

Vector Algebra

Stretch, shrink, flip: multiplying a vector by a scalar

The big ideaMultiplying \( \vec{a} \) by a number λ stretches or shrinks it by |λ|, and flips it round if λ is negative; it always stays on the same line.

In simple words

Take an arrow. Times 2 makes it twice as long, pointing the same way. Times one half makes it half as long. Times minus 1 keeps the length but turns it to face the other way. Times minus 2 does both: twice as long and turned round. The arrow never tilts to a new line.

The rule

Let \( \vec{a} \) be a vector and λ (lambda) a real number, a scalar. The vector \( \lambda\vec{a} \) is the multiplication of a vector by a scalar. It is defined by two facts:

  • Direction: the same as \( \vec{a} \) if λ > 0, the opposite if λ < 0. Either way \( \lambda\vec{a} \) is collinear with \( \vec{a} \).
  • Length: \( |\lambda\vec{a}| = |\lambda|\,|\vec{a}| \).

Say \( \vec{a} \) is 6 cm long and points north. Then \( 2\vec{a} \) is 12 cm north, \( \tfrac{1}{2}\vec{a} \) is 3 cm north, \( -\vec{a} \) is 6 cm south and \( -2\vec{a} \) is 12 cm south.

Two special cases:

  • λ = −1 gives \( -\vec{a} \), the negative or additive inverse of \( \vec{a} \): \( \vec{a} + (-\vec{a}) = (-\vec{a}) + \vec{a} = \vec{0} \).
  • λ = 0 gives \( \vec{0} \). Also, any scalar times the zero vector is the zero vector: \( k\vec{0} = \vec{0} \).

Making a unit vector

If \( \vec{a} \ne \vec{0} \), choose \( \lambda = \frac{1}{|\vec{a}|} \). Then \( |\lambda\vec{a}| = \frac{1}{|\vec{a}|}\cdot|\vec{a}| = 1 \), and since λ is positive the direction is unchanged. So

\[ \hat{a} = \frac{1}{|\vec{a}|}\,\vec{a} = \frac{\vec{a}}{|\vec{a}|} \]

is the unit vector in the direction of \( \vec{a} \). Reading it the other way, every non-zero vector is its length times its unit vector: \( \vec{a} = |\vec{a}|\,\hat{a} \). Length times direction: that is all a vector is.

Remember

  • \( |\lambda\vec{a}| = |\lambda|\,|\vec{a}| \) (never a negative length).
  • \( \hat{a} = \dfrac{\vec{a}}{|\vec{a}|} \), defined only when \( \vec{a} \ne \vec{0} \).
  • A vector of length k along \( \vec{a} \) is \( k\hat{a} \); along the opposite direction it is \( -k\hat{a} \).

Try it: change λ and watch λa stretch, shrink and flip, always on the same line.

A test for collinear vectors

Since \( \lambda\vec{a} \) always lies on the line of \( \vec{a} \), we get a neat test: two non-zero vectors \( \vec{a} \) and \( \vec{b} \) are collinear exactly when \( \vec{b} = \lambda\vec{a} \) for some scalar λ. If λ > 0 they point the same way; if λ < 0, opposite ways. We use this test with components in the next concept.

The distributive laws

For vectors \( \vec{a}, \vec{b} \) and scalars k, m:

\[ k\vec{a} + m\vec{a} = (k + m)\vec{a}, \qquad k(m\vec{a}) = (km)\vec{a}, \qquad k(\vec{a} + \vec{b}) = k\vec{a} + k\vec{b}. \]

The last one is just similar triangles: double both sides of a triangle and the third side doubles too. These rules let you handle vectors much like ordinary algebra: \( 3\vec{a} + 2\vec{a} = 5\vec{a} \), and \( 2(\vec{a} - 3\vec{b}) = 2\vec{a} - 6\vec{b} \).

Worked example

\( |\vec{a}| = 5 \). Write (i) the unit vector along \( \vec{a} \), (ii) a vector of length 10 along \( \vec{a} \), (iii) a vector of length 10 opposite to \( \vec{a} \).

  1. \( \hat{a} = \frac{1}{5}\vec{a} \).
  2. \( 10\hat{a} = 10\cdot\frac{1}{5}\vec{a} = 2\vec{a} \).
  3. \( -10\hat{a} = -2\vec{a} \).

Try it

\( \vec{a} \) has length a (a > 0) and λ is non-zero. For which λ is \( \lambda\vec{a} \) a unit vector?

Answer
We need \( |\lambda|\,a = 1 \), so \( |\lambda| = \frac{1}{a} \), that is, \( \lambda = \pm\frac{1}{a} \). With the plus sign it points along \( \vec{a} \); with the minus sign, against it.

Don't mix these up

  • \( -3\vec{a} \) has length \( 3|\vec{a}| \), not \( -3|\vec{a}| \). The minus changes the direction only.
  • \( \hat{a} \) is a vector; \( |\vec{a}| \) is a number. Do not write \( \hat{a} = |\vec{a}| \).
  • You can divide a vector by a non-zero number, but you cannot divide by a vector.

Words to know

Scalar multiple
\( \lambda\vec{a} \): \( \vec{a} \) stretched by |λ|, flipped if λ < 0.
Additive inverse
\( -\vec{a} \), the vector that cancels \( \vec{a} \).
Unit vector \( \hat{a} \)
\( \vec{a} \) divided by its own length: length 1, same direction.
Collinear
On the same line or parallel lines; \( \vec{b} = \lambda\vec{a} \).

\( |\vec{a}| = 4 \). What is \( |-\tfrac{3}{2}\vec{a}| \)?

  1. −6
  2. 6
  3. 12

Which vector is collinear with \( \vec{a} \) but points the opposite way?

  1. \( 7\vec{a} \)
  2. \( -\tfrac{1}{3}\vec{a} \)
  3. \( \hat{a} \)