Lesson 9.2 · Vectors and Polar Form
The dot product
You can add vectors and stretch them, but can you multiply two vectors together? One useful way to do it produces a single number called the dot product. That number turns out to measure how much two vectors point in the same direction, which lets you find the angle between them, test whether they are perpendicular, and compute the work done by a force.
Computing a dot product
The definition is simple: multiply matching components and add.
Definition
Dot product
The dot product of and is the number
For example, . Notice the answer is a scalar, not a vector. That is why the dot product is sometimes called the scalar product.
The dot product follows rules that look a lot like ordinary multiplication:
- (order doesn't matter)
- (it distributes)
The last rule is worth a second look. If , then , which is the square of the magnitude. So the dot product already knows about length.
The angle between two vectors
Place two nonzero vectors tail to tail. The angle between them is the angle from one to the other, with .
Applying the law of cosines to the triangle formed by , and leads to a striking formula. Expanding gives , while the law of cosines says the same length squared is . Matching the two:
The angle formula
For nonzero vectors and with angle between them:
Because is positive for acute angles, zero at and negative for obtuse angles, the sign of the dot product tells you a lot at a glance:
| angle | |
|---|---|
| positive | acute () |
| zero | right () |
| negative | obtuse () |
Worked example: Finding the angle between vectors
Find the angle between and (the vectors in the picture).
Orthogonal vectors
When , , so the dot product is . The reverse is also true, which gives a fast test for perpendicular vectors with no angles or square roots required.
Orthogonality test
Two nonzero vectors are orthogonal (perpendicular) exactly when .
Worked example: Testing and forcing perpendicularity
a. Are and orthogonal?
. Yes.
b. Find so that is orthogonal to .
Set the dot product equal to zero: , so and .
Common mistake
The dot product is a number, not a vector. Writing is a common mistake. After multiplying matching components, add the results to get one number.
Projection and work
Often you want to know how much of one vector points along another. Picture shining a light straight down onto : the shadow that casts is the projection of onto .
The number is the signed length of that shadow, called the scalar component of along .
In physics, only the part of a force that points along the motion does work. If a constant force moves an object along a displacement , the work done is
Worked example: Pulling a wagon
A child pulls a wagon meters along level ground with a force of newtons, using a handle that makes a angle with the ground. How much work is done?
Only the horizontal part of the pull, about N, moves the wagon forward.
Tip
A dot product of means no work at all. Carrying a box horizontally while pushing straight up on it does no work on the box in the physics sense, because the force and motion are perpendicular.
Practice
Find .
Enter a number. Fractions like 3/4 and sqrt(2) are OK.
Which vector is orthogonal to ?
Find so that and are orthogonal.
Enter a number. Fractions like 3/4 and sqrt(2) are OK.
Vectors and have , and the angle between them is . Find .
Enter a number. Fractions like 3/4 and sqrt(2) are OK.
Find the angle, in degrees, between and .
Enter a number. Fractions like 3/4 and sqrt(2) are OK.
Find the angle between and in degrees, rounded to the nearest tenth.
Enter a number. Fractions like 3/4 and sqrt(2) are OK.
Find for and . Enter it as .
Enter a point like (2, -3)
A force of newtons, directed above the horizontal, drags a sled meters horizontally. Find the work done in joules, rounded to the nearest tenth.
Enter a number. Fractions like 3/4 and sqrt(2) are OK.