An arrow drawn on a map is hard to calculate with. Replace it by two numbers, how far it goes east and how far it goes north, and nothing is lost, because its length and its direction can both be recovered from them. Writing a vector as a pair of numbers lets you add, stretch and measure arrows with ordinary arithmetic instead of rulers and protractors.
Key terms
Component form
Definition Fix a coordinate system in the plane. If a vector is represented by the directed line segment from the initial point to the terminal point , its component form is
The numbers and are the horizontal and vertical components of . Two directed line segments represent the same vector exactly when they give the same components, so the pair determines the vector completely. The representative that starts at the origin ends at the point and is called the position vector of that point. Angle brackets keep the vector apart from the point , although some books use parentheses for both. The zero vector is . Vectors in space work the same way with three components .
In plain words Subtract start from finish, one coordinate at a time. The first number says how far the arrow runs to the right (negative means left) and the second how far it runs up (negative means down), wherever the arrow happens to start.
Example The segment from to gives
The segment from to also gives , so it is the same vector drawn in another place. Both segments have slope , the vertical component over the horizontal one. In the same way a line with slope runs in the direction of .
Magnitude from components
Definition The magnitude, or length, of is
Some books write instead. The magnitude is never negative, and it is only for the zero vector. In space the length of is .
In plain words The two components are the legs of a right triangle and the arrow is its hypotenuse, so the Pythagorean theorem gives the length.
Example For the length is . For it is . Squaring removes the signs, so is just as long.
Direction angle and resolving a vector
Definition The direction angle of a nonzero vector is the angle with , measured counterclockwise from the positive -axis to the position vector of . Then
and whenever . The tangent repeats every , so the quadrant of has to be read from the signs of and . The zero vector has no direction angle.
In plain words A length and a direction give the components through cosine and sine, and the components give back the length and the direction. Finding the components of an arrow is called resolving the vector.
Example A rope pulls on a sled with a force of newtons at above the horizontal. Its components are
so the rope pulls about newtons forward and newtons upward. Now go the other way. The vector has length and . Both and have tangent , and since the vector points left and up, its direction angle is .
Adding vectors by components
Definition For and
This agrees with the head to tail rule and the parallelogram law for arrows. Addition is commutative and associative, , and where .
In plain words Add the horizontal parts and add the vertical parts. Two trips combine into one trip whose eastward part is the sum of the two eastward parts, and the same for north.
Example Take east as the first component and north as the second. An airplane flies with velocity kilometers per hour relative to the air, a speed of , while the wind blows with velocity . Its velocity over the ground is
and its ground speed is
Scalar multiplication
Definition For a real number , called a scalar, and a vector ,
Its length is
For the vector points the same way as when and the opposite way when , and . For all scalars and and all vectors and
In plain words Multiplying by a number stretches or shrinks the arrow, and a negative number also flips it around. Drawn from the same starting point, the new arrow lies on the same line as the old one.
Example Take , whose length is . Then
The first is three times as long and points the same way. The second has length , half of , and points the opposite way.
Unit vectors
Definition A unit vector is a vector of length . For every nonzero vector
is the unit vector in the direction of . The zero vector has no direction, so it has no unit vector. The unit vectors in the plane are exactly the vectors , which end on the unit circle when drawn from the origin. The unit vector in the direction of a nonzero is , where is the direction angle of .
In plain words Divide a vector by its own length to keep its direction and make its length exactly . Then multiply by whatever length you need.
Example The vector has length , so the unit vector in its direction is . A vector of length in the same direction is
Standard unit vectors
Definition The standard unit vectors in the plane are
Every vector in the plane can be written in exactly one way as a combination of them,
and the coefficients are the components. In space a third vector joins them, and get a third component , and .
In plain words The vector is one step right and is one step up. Any vector is some number of steps right plus some number of steps up, and those two counts are its components.
Example The vector is . Arithmetic with and follows the usual rules of algebra,
Check yourself
- Find the component form and the magnitude of the vector from to .
Show the answer
Subtract start from finish,
Its magnitude is .
- With and , compute and write it with and .
Show the answer
Scale first, then subtract,
- Find the component form of the vector with length and direction angle .
Show the answer
Use the cosine and sine of the direction angle,
Both components are negative, as they must be for an angle in the third quadrant.