The Scalar Product
The scalar (dot) product multiplies two vectors to give a number, and that number encodes the angle between them. It answers "what is the angle?", "are these perpendicular?", and "where is the closest point?" in a few lines each.
Definition and the angle formula
where is the angle between the vectors. Hence
and exactly when the (non-zero) vectors are perpendicular. Also .
Find the angle between and .
Solution
; , .
, so .
Find the value of for which and are perpendicular.
Solution
.
Angle between two lines
The angle between lines is the angle between their direction vectors. If the formula gives an obtuse angle, the acute angle is usually what is wanted; state which you are giving.
Find the acute angle between and .
Solution
, so .
Angle in a triangle
For the angle at in triangle , use and : both vectors must start at the vertex.
, , . Find angle .
Solution
, .
, so .
Foot of the perpendicular from a point to a line
- Write the general point on the line, , in terms of the parameter .
- Form the vector from the given point to : .
- At the foot of the perpendicular, is perpendicular to the direction vector: set and solve for .
- Substitute back for the foot; the distance from to the line is at that .
Find the foot of the perpendicular from to the line , and the distance from to the line.
Solution
General point . .
Perpendicular to the direction: .
Foot: . , distance .
Problems with solids
Cuboids, pyramids and prisms are set up with the origin at a corner and axes along edges. Write each vertex as a position vector, then everything above applies.
A cuboid has at one corner, , , along the edges, and the vertex opposite . Find the angle between the diagonal and the edge .
Solution
, . , so .
The scalar product of two vectors is a number. If your answer to is a vector, you have multiplied component-wise without adding.
When the question gives an angle and asks for a value of an unknown, you will get a quadratic from after squaring. Squaring can introduce a false root with the wrong sign of the dot product, so check both candidates.
Practice
- Find the angle between and .
- Show that the lines and are perpendicular.
- Find the foot of the perpendicular from the origin to the line .
- , , . Find angle .
Answers
- , .
- .
- ; ; foot .
- , ; , .