Lemonmath
Tiếng Việt

Multiplying a vector by a number

Lesson 4.3 · 16 min read · Updated

A cyclist rides 33 km east. A second cyclist rides twice as far in the same direction. A third rides the same distance as the first but back to the west. All three journeys are made from the same displacement a⃗\vec{a}: the second is 2a⃗2\vec{a} and the third is −a⃗-\vec{a}. Multiplying a vector by a number stretches it, shrinks it or turns it around. It is the second basic operation on vectors, and it gives us a clean way to say "these points lie on one line" and "this point is one third of the way along".

The product of a number and a vector

a2a-a/2
The vectors a⃗\vec{a}, 2a⃗2\vec{a} and −12a⃗-\frac{1}{2}\vec{a}

In particular 1a⃗=a⃗1\vec{a} = \vec{a} and (−1)a⃗=−a⃗(-1)\vec{a} = -\vec{a}, the opposite vector.

Properties

For all vectors a⃗\vec{a}, b⃗\vec{b} and numbers kk, ll:

Property Formula
Distributes over vector sums k(a⃗+b⃗)=ka⃗+kb⃗k(\vec{a} + \vec{b}) = k\vec{a} + k\vec{b}
Distributes over number sums (k+l)a⃗=ka⃗+la⃗(k + l)\vec{a} = k\vec{a} + l\vec{a}
Associative k(la⃗)=(kl)a⃗k(l\vec{a}) = (kl)\vec{a}
Identity 1a⃗=a⃗1\vec{a} = \vec{a}, (−1)a⃗=−a⃗(-1)\vec{a} = -\vec{a}

These are the same rules you use with letters in algebra, so you may expand and collect terms in the usual way, treating vectors like letters. Also ka⃗=0⃗k\vec{a} = \vec{0} only when k=0k = 0 or a⃗=0⃗\vec{a} = \vec{0}.

Collinear vectors

If b⃗=ka⃗\vec{b} = k\vec{a}, then b⃗\vec{b} is a stretched or reversed copy of a⃗\vec{a}, so the two are collinear. The converse is also true.

Applying this to the vectors AB→\overrightarrow{AB} and AC→\overrightarrow{AC} gives a test for points on one line.

Midpoint and centroid formulas

In the previous lesson we met MA→+MB→=0⃗\overrightarrow{MA} + \overrightarrow{MB} = \vec{0} for the midpoint MM of ABAB. Insert an arbitrary point OO: MA→=MO→+OA→\overrightarrow{MA} = \overrightarrow{MO} + \overrightarrow{OA} and MB→=MO→+OB→\overrightarrow{MB} = \overrightarrow{MO} + \overrightarrow{OB}, so OA→+OB→=2OM→.\overrightarrow{OA} + \overrightarrow{OB} = 2\overrightarrow{OM}. The same trick with the centroid gives OA→+OB→+OC→=3OG→\overrightarrow{OA} + \overrightarrow{OB} + \overrightarrow{OC} = 3\overrightarrow{OG}. Dividing by 22 and 33:

Writing a vector along two directions

If a⃗\vec{a} and b⃗\vec{b} are not collinear, every vector w⃗\vec{w} in the plane can be written in exactly one way as w⃗=xa⃗+yb⃗.\vec{w} = x\vec{a} + y\vec{b}. Think of walking xx steps in direction a⃗\vec{a} and then yy steps in direction b⃗\vec{b}.

abwOABP
w⃗=2a⃗+b⃗\vec{w} = 2\vec{a} + \vec{b}

Solving geometry problems with vectors

The method is always the same:

  1. Choose two non-collinear vectors as a basis, usually two sides from one vertex.
  2. Write every vector in the problem as xa⃗+yb⃗x\vec{a} + y\vec{b}, using the triangle rule, midpoints and the given ratios.
  3. Compare coefficients, or look for a relation AB→=kAC→\overrightarrow{AB} = k\overrightarrow{AC}.
ABCDMN
Parallelogram ABCDABCD with MM on BCBC and NN on ACAC

Key terms

Summary

  • ka⃗k\vec{a} has length ∣k∣∣a⃗∣|k||\vec{a}|, the direction of a⃗\vec{a} if k>0k > 0 and the opposite direction if k<0k < 0.
  • The usual algebra rules hold: k(a⃗+b⃗)=ka⃗+kb⃗k(\vec{a} + \vec{b}) = k\vec{a} + k\vec{b}, (k+l)a⃗=ka⃗+la⃗(k + l)\vec{a} = k\vec{a} + l\vec{a}, k(la⃗)=(kl)a⃗k(l\vec{a}) = (kl)\vec{a}.
  • For a⃗≠0⃗\vec{a} \neq \vec{0}: b⃗\vec{b} is collinear with a⃗\vec{a} iff b⃗=ka⃗\vec{b} = k\vec{a}. Points AA, BB, CC are collinear iff AB→=kAC→\overrightarrow{AB} = k\overrightarrow{AC}.
  • For any point OO: OM→=12(OA→+OB→)\overrightarrow{OM} = \frac{1}{2}(\overrightarrow{OA} + \overrightarrow{OB}) for a midpoint and OG→=13(OA→+OB→+OC→)\overrightarrow{OG} = \frac{1}{3}(\overrightarrow{OA} + \overrightarrow{OB} + \overrightarrow{OC}) for a centroid.
  • Every vector can be written uniquely as xa⃗+yb⃗x\vec{a} + y\vec{b} when a⃗\vec{a}, b⃗\vec{b} are non-collinear.

Practice

Show solutions
  1. ∣2a⃗∣=2⋅6=12|2\vec{a}| = 2 \cdot 6 = 12, ∣−12a⃗∣=12⋅6=3\left|-\frac{1}{2}\vec{a}\right| = \frac{1}{2} \cdot 6 = 3 and ∣0a⃗∣=0|0\vec{a}| = 0. Only 2a⃗2\vec{a} has the same direction as a⃗\vec{a} (2>02 > 0); −12a⃗-\frac{1}{2}\vec{a} is opposite.
  2. 3a⃗−6b⃗−2a⃗+2b⃗=a⃗−4b⃗3\vec{a} - 6\vec{b} - 2\vec{a} + 2\vec{b} = \vec{a} - 4\vec{b}.
  3. Take AA as the reference point: AM→=12AB→\overrightarrow{AM} = \frac{1}{2}\overrightarrow{AB} and AN→=12AC→\overrightarrow{AN} = \frac{1}{2}\overrightarrow{AC}. Then MN→=AN→−AM→=12(AC→−AB→)=12BC→\overrightarrow{MN} = \overrightarrow{AN} - \overrightarrow{AM} = \frac{1}{2}(\overrightarrow{AC} - \overrightarrow{AB}) = \frac{1}{2}\overrightarrow{BC}.
  4. AC→=−6u⃗+3v⃗=−3(2u⃗−v⃗)=−3AB→\overrightarrow{AC} = -6\vec{u} + 3\vec{v} = -3(2\vec{u} - \vec{v}) = -3\overrightarrow{AB}. So AC→=kAB→\overrightarrow{AC} = k\overrightarrow{AB} with k=−3k = -3, and the points are collinear (CC is on the other side of AA from BB).
  5. We need AC→=kAB→\overrightarrow{AC} = k\overrightarrow{AB}: 3u⃗+mv⃗=ku⃗−2kv⃗3\vec{u} + m\vec{v} = k\vec{u} - 2k\vec{v}. Then k=3k = 3 and m=−2k=−6m = -2k = -6.
  6. Let II be the centre of the parallelogram, the midpoint of both ACAC and BDBD. Then OA→+OC→=2OI→\overrightarrow{OA} + \overrightarrow{OC} = 2\overrightarrow{OI} and OB→+OD→=2OI→\overrightarrow{OB} + \overrightarrow{OD} = 2\overrightarrow{OI}, so they are equal.
  7. BD→=14BC→=14(AC→−AB→)\overrightarrow{BD} = \frac{1}{4}\overrightarrow{BC} = \frac{1}{4}(\overrightarrow{AC} - \overrightarrow{AB}). So AD→=AB→+BD→=AB→+14AC→−14AB→=34AB→+14AC→\overrightarrow{AD} = \overrightarrow{AB} + \overrightarrow{BD} = \overrightarrow{AB} + \frac{1}{4}\overrightarrow{AC} - \frac{1}{4}\overrightarrow{AB} = \frac{3}{4}\overrightarrow{AB} + \frac{1}{4}\overrightarrow{AC}.
  8. CG→=CA→+AG→=−c⃗+13(b⃗+c⃗)=13b⃗−23c⃗\overrightarrow{CG} = \overrightarrow{CA} + \overrightarrow{AG} = -\vec{c} + \frac{1}{3}(\vec{b} + \vec{c}) = \frac{1}{3}\vec{b} - \frac{2}{3}\vec{c}.
  9. Let b⃗=AB→\vec{b} = \overrightarrow{AB}, c⃗=AC→\vec{c} = \overrightarrow{AC}. Since BD=23BCBD = \frac{2}{3}BC, AD→=b⃗+23(c⃗−b⃗)=13b⃗+23c⃗\overrightarrow{AD} = \vec{b} + \frac{2}{3}(\vec{c} - \vec{b}) = \frac{1}{3}\vec{b} + \frac{2}{3}\vec{c}, and AE→=12AD→=16b⃗+13c⃗\overrightarrow{AE} = \frac{1}{2}\overrightarrow{AD} = \frac{1}{6}\vec{b} + \frac{1}{3}\vec{c}. Then BE→=AE→−b⃗=−56b⃗+13c⃗\overrightarrow{BE} = \overrightarrow{AE} - \vec{b} = -\frac{5}{6}\vec{b} + \frac{1}{3}\vec{c} and BF→=AF→−b⃗=−b⃗+25c⃗\overrightarrow{BF} = \overrightarrow{AF} - \vec{b} = -\vec{b} + \frac{2}{5}\vec{c}. Now 65BE→=−b⃗+25c⃗=BF→\frac{6}{5}\overrightarrow{BE} = -\vec{b} + \frac{2}{5}\vec{c} = \overrightarrow{BF}, so BB, EE, FF are collinear.
  10. xu⃗+yv⃗=(x+y)a⃗+(2x−y)b⃗x\vec{u} + y\vec{v} = (x + y)\vec{a} + (2x - y)\vec{b}. Comparing with 5a⃗+b⃗5\vec{a} + \vec{b} (the vectors a⃗\vec{a}, b⃗\vec{b} are non-collinear): x+y=5x + y = 5 and 2x−y=12x - y = 1. Adding gives 3x=63x = 6, so x=2x = 2 and y=3y = 3. Check: 2(a⃗+2b⃗)+3(a⃗−b⃗)=5a⃗+b⃗2(\vec{a} + 2\vec{b}) + 3(\vec{a} - \vec{b}) = 5\vec{a} + \vec{b}.