Vectors in the Plane
A vector is an arrow with a size and a direction, stored as two components: how far across and how far up. To add vectors you add components, which is why a boat aimed straight across a river ends up downstream.
What the symbols mean
- Horizontal component
How far the arrow goes across.
- Vertical component
How far the arrow goes up.
- Magnitude
The arrow's length: a speed, a force in newtons, a distance.
- Direction angle
Measured counterclockwise from the positive x-axis.
Explanation
A vector is simply a quantity with both a size and a direction, drawn as an arrow: a velocity of m/s across a river, a N pull up and to the left. In the two numbers are its components, how far the arrow goes across and how far it goes up. Its magnitude is the arrow's length, and its direction is the angle it makes with the positive -axis. Speed is just a number; velocity is a vector. That difference is the whole reason a boat aimed straight across a river lands downstream. Two numbers per arrow, and the rest is bookkeeping.
Components and back. Going from components to length is the Pythagorean theorem: . The direction comes from , but check the quadrant: has , and arctan says , yet the arrow points up and to the left, at . When , add to what arctan gives (see Inverse Trigonometric Functions). Going the other way, from length and direction to components, is the unit circle scaled up: .
Adding vectors. Geometrically, put them head to tail: slide so its tail sits at the head of ; the sum is the arrow from the tail of to the head of . In components it's even simpler: the across parts add and the up parts add, separately,
A number times a vector, , stretches it by (and flips it if ), and . You'll also see and , so . Dividing a vector by its own length, , gives a unit vector: length , same direction.
Velocities add. A boat's velocity over the ground is its velocity through the water plus the water's velocity. A plane's ground velocity is its velocity through the air plus the wind. And because components add separately, the across motion and the downstream motion don't interfere: the time to cross a river depends only on the across part of the boat's velocity, however strong the current. There's an animation further down showing a boat doing exactly this.
A common mistake. It's tempting to add speeds: a m/s boat in a m/s current must go m/s, or maybe . It does neither. The two arrows are perpendicular, so the actual speed is m/s. Lengths add only when the arrows point the same way. Also watch the wind: a wind "from the north" blows toward the south, so its vector is .
If you know the angle between two arrows instead of their components, the Law of Cosines gives the length of the sum; components are usually faster. In three dimensions everything here works the same with a third component (see Vectors).
See it
Worked examples
A plane flies with an airspeed of km/h, its nose pointed north of east. A km/h wind blows from the north. Find the plane's actual speed over the ground and its direction.
- 1
Set up axes: points east, points north. The plane's velocity through the air has length and direction .
Two forces act on a bolt: N at and N at . Find the resultant (their sum): its size and direction.
- 1
Write each force in components. The first is easy: .
Practice
Type your answer and check it. Solve them all to complete the lesson.
Find the magnitude of .
A vector has length and direction . Find its components.
Find the direction angle of , in degrees between and .
Find the unit vector in the direction of .
With and , find .
A boat moves at m/s through still water. It must cross a river m wide that flows at m/s, and land directly across from where it started. At what angle upstream of straight across should it aim (degrees, two decimal places), and how many seconds does the crossing take?
A plane heads due east with an airspeed of km/h. The wind blows at km/h toward the northeast (bearing ). Find the plane's ground speed, in km/h to one decimal place.
The hardest one here. Get it, and you've got this lesson.
A N sign hangs from two cables. Cable 1 pulls up and to the left at above horizontal; cable 2 pulls up and to the right at above horizontal. The sign is at rest. Find the tension in cable 1 and in cable 2, in N to two decimal places.
Where it's used
Every bridge, crane and truss is designed by breaking forces into components and making them add to zero. Pilots compute a wind correction angle before every flight so the ground track hits the destination, and ship navigators do the same for currents. GPS receivers report velocity as a vector, and a robot planning its motion adds its own velocity to that of the conveyor or the floor it's on.