Skip to content
Study Hall
Lesson 5 of 6Vectors
Unit 5 · Lesson 5 of 6

The Dot Product

Multiply two vectors to get a scalar that measures how much they point the same way. Use it to find angles, test for perpendicular vectors, project one vector onto another, and calculate work.

4 min read9 practice questionsInteractiveAsk AI about this →

Key things to remember

  1. 1 a scalar.
  2. 2; non-zero vectors are orthogonal exactly when .
  3. 3; the dot product is commutative and distributive, and scalars factor out.
  4. 4Scalar projection of onto : . Vector projection: .
  5. 5Work , in joules.

Pull a wagon m along a level path with a force of N. If the handle is level, all of your effort moves the wagon forward. Raise the handle to and only the horizontal part of the pull, half of it, moves the wagon forward; the rest pulls upward and does no work along the path. Physics needed a way to multiply a force by a displacement that counts only the part of the force lined up with the motion. That multiplication is the DOT PRODUCT, and it turns out to answer purely geometric questions too: the angle between two vectors, whether they are perpendicular, and the shadow one casts on another.

Two definitions that agree

Geometric form (θ is the angle between the vectors drawn tail to tail, 0 to 180 degrees) and algebraic form (in 2-space, drop the third term).

The answer is a SCALAR, not a vector, which is why it is also called the scalar product. Why do the two forms give the same number? Draw and tail to tail; the third side of the triangle is . The cosine law says Expanding the components instead gives Comparing the two lines,

θab|a| cos θ = 3the shadow of a on ba · b = |a||b| cos θscalar projection of a onto b:|a| cos θ = (a · b) / |b||a| = 5, |b| = 7, cos θ = 0.6 (θ ≈ 53.1°)shadow = 5(0.6) = 3a · b = 5(7)(0.6) = 21check: (a · b) / |b| = 21 / 7 = 3θ < 90°baa · b > 0θ = 90°baa · b = 0θ > 90°baa · b < 0
Fig 1Vectors a and b at angle θ, with the scalar projection |a|cos θ of a onto b marked as a shadow along b, and a · b = |a||b|cos θ. The inset compares a · b greater than 0, equal to 0 (perpendicular) and less than 0.
  • : the angle between them is acute or zero ().
  • (with neither vector zero): the vectors are perpendicular, also called ORTHOGONAL.
  • : the angle is obtuse or straight ().
  • Rearranging the geometric form gives the angle between any two non-zero vectors: .
VideoA short introduction to the dot product: how to compute it and what it says about the angle between two vectors.Watch on YouTube

Properties

PropertyStatement
Commutative
Distributive
Scalars factor out
Dot with itself
Unit vectors,
Not associative is undefined: is a scalar, and you cannot dot a scalar with a vector
Each property can be checked from the component form.
Loading interactive…
In the Dot product and projection tab, drag a and b and watch the dot product (from components and from |a||b| cos θ), the angle between them, and the scalar and vector projections change sign as the angle passes through 90 degrees.

Projections

Shine a light straight down onto the line of and casts a shadow along it. The signed length of that shadow is the SCALAR PROJECTION of onto , equal to . It is negative when the angle is obtuse (the shadow falls behind the tail). Turning the shadow into a vector along gives the VECTOR PROJECTION. Because , both are easy to compute from components.

Projection of a ONTO b: divide by the magnitude of b, the vector being projected onto.
VideoMr. Cioffi finds scalar and vector projections of one vector onto another, following the MCV4U course.Watch on YouTube

Work

A constant force (in newtons) acting through a displacement (in metres) does work joules. Back to the wagon: with N and m, a level handle gives J, a handle at gives J, and a handle at gives J. The lower the handle, the more of the same pull goes into moving the wagon forward. A force perpendicular to the motion does no work at all.

Worked examples

Reveal one step at a time and try to beat it to the next line.

Example 1
Find the angle between and , to the nearest tenth of a degree.
Example 2
For and , find the scalar projection and the vector projection of onto .
Example 3
Let and . Find and , and find a vector orthogonal to both and .
Example 4
A student pulls a wagon m along level ground with a force of N. Compare the work done when the handle makes an angle of with the ground and when it makes .

Where marks get lost

  • Writing the dot product as a vector, for example instead of . Multiply matching components, then ADD them.
  • Dividing by the wrong magnitude in a projection. The projection of onto divides by (the vector you project ONTO).
  • Dividing by instead of in the vector projection, which gives a vector of the wrong length.
  • Measuring with the vectors placed tip to tail. The angle in is between the vectors drawn tail to tail.
  • Assuming the dot product is associative. is meaningless, because is a number.

Flashcards 8

Dot product (geometric)
Dot product (algebraic)
Angle between two vectors
Test for orthogonal vectors
+ 4 more

Practice

1
Find .
2
, , and the angle between them is . Find .
3
Find the angle between and , in degrees.
°
4
Find so that and are orthogonal.
5
Find the scalar projection of onto , to 2 decimal places.
6
A rope pulls a sled m across flat snow with a force of N at above the horizontal. How much work does the rope do, to the nearest joule?
J
7
Match each fact about two non-zero vectors to what it tells you about the angle between them.
8
Which expression is NOT defined?
9
Simplify in terms of the magnitude of .

Spot a mistake on this page? Let us know