AP® Precalculus · Unit 4 · Topic 4.8

Vectors, Magnitude, and Direction

A vector is an arrow with both size and direction, built from the change in x and change in y between two points. Its magnitude is the length of that arrow, found with the Pythagorean theorem.

A single number can tell you how far something moved, but not which way. An arrow fixes that: it points somewhere and it has a length. That's a vector, and that extra piece of information, direction, is what makes vectors useful for describing velocity, force, or any quantity that cares about where it's headed, not just how much.

To build a vector from two points, subtract. If the tail is at (x0, y0) and the head is at (x1, y1), the horizontal component is x1 - x0 and the vertical component is y1 - y0. Those two numbers, written as <x1 - x0, y1 - y0>, tell you exactly how far to move right/left and up/down to get from tail to head. The magnitude, the length of the arrow, comes straight from the Pythagorean theorem: √((x1-x0)2 + (y1-y0)2), since the components form the legs of a right triangle and the vector itself is the hypotenuse.

This sets up everything else in the unit. Once a vector is just a pair of components, you can add vectors by adding components, scale them by multiplying components, and eventually pack them into matrices. One fact makes all of that work cleanly: a vector's identity depends only on its components, not on where you drew it. Slide the same arrow anywhere in the plane and the magnitude and direction never change, only the tail and head coordinates do.

Key terms

Vector
A quantity with both magnitude and direction, represented as an arrow or an ordered pair of components.
Component
The horizontal or vertical part of a vector, found by subtracting tail coordinates from head coordinates.
Magnitude
The length of a vector, calculated from its components using the Pythagorean theorem.
Direction
The orientation an arrow points, independent of where the vector is drawn in the plane.

Watch it explained

  1. How it worksHow do the components of a vector come from the coordinates of its head and its tail?
  2. Worked exampleFind the components and the magnitude of the vector from (-2, 1) to (4, 9).
  3. Going furtherWhat stays the same about a vector when you slide it somewhere else in the plane?

Check yourself

Your turn1 of 2
Find the magnitude of the vector from (-3, 3) to (8, x), as a function of x.

End of topic.