How does the dot product measure the angle between two vectors and detect perpendicularity?
Represent vectors in three dimensions, compute magnitudes and unit vectors, and use the dot product to find angles and test for perpendicularity.
Three-dimensional vectors in component form, magnitude and unit vectors, the dot product in both its component and geometric forms, and using it to find angles, projections and perpendicularity.
✦ Generated by Claude Opus 4.8·8 min answer·
Reviewed by: AI editorial process; not yet individually human-reviewed
You need to represent vectors in three dimensions, find magnitudes and unit vectors, and use the dot (scalar) product to compute angles and test for perpendicularity.
Vectors in three dimensions
Write a vector in component form using the standard basis i,j,k:
a=a1i+a2j+a3k=a1a2a3.
Addition and scalar multiplication act componentwise. The magnitude (length) is
∣a∣=a12+a22+a32.
A unit vector in the direction of a is a^=∣a∣1a, which has length 1.
The dot product
The two forms are the key tool: the component form computes a number, and equating it to ∣a∣∣b∣cosθ extracts the angle.
Finding the angle between vectors
Rearranging gives cosθ=∣a∣∣b∣a⋅b.
Perpendicularity and projection
The scalar projection of a onto b is ∣b∣a⋅b, the signed length of the shadow of a along b. The vector projection is (∣b∣2a⋅b)b. Projections appear when resolving one vector into components parallel and perpendicular to another, for instance splitting a force into a component along an incline and a component perpendicular to it.
Properties of the dot product
The dot product obeys familiar algebraic rules that make it easy to manipulate. It is commutative, a⋅b=b⋅a, and distributive over addition, a⋅(b+c)=a⋅b+a⋅c, so an expression like (p+r)⋅(r−p) expands exactly like a binomial product. It also satisfies a⋅a=∣a∣2, which is the bridge between the algebra of dot products and the geometry of lengths. These properties are what let you prove geometric results - such as the perpendicularity of a rhombus's diagonals - purely by expanding dot products, without coordinates.
Exam-style practice questions
Practice questions written in the style of SACE Board exam questions on this dot point, with worked answer explainers. The year tag is the paper they imitate, not the source.
SACE 20223 marksCalculator-assumed. The points are A(1,2,−3), B(5,3,−2) and C(6,7,−3). Find AB⋅AC and hence cos(∠BAC).
Show worked answer →
First the two vectors from A: AB=(4,1,1) and AC=(5,5,0).
Magnitudes: ∣AB∣=42+12+12=18=32 and ∣AC∣=52+52=50=52. [1 mark]
So cos(∠BAC)=32×5225=3025=65. [1 mark]
SACE 20212 marksCalculator-free. The rhombus OPQR has OP=p and OR=r. Show that OQ⋅PR=∣r∣2−∣p∣2, then prove the diagonals are perpendicular.
Show worked answer →
The diagonals are OQ=p+r and PR=r−p.
Expand: OQ⋅PR=(p+r)⋅(r−p)=p⋅r−p⋅p+r⋅r−r⋅p. Since p⋅r=r⋅p, the middle terms cancel, leaving ∣r∣2−∣p∣2. [1 mark]
In a rhombus all sides are equal, so ∣p∣=∣r∣, giving OQ⋅PR=0. A zero dot product of two nonzero vectors means they are perpendicular, so the diagonals are perpendicular. [1 mark]
SACE 20232 marksCalculator-free. Find the value of t for which u=3i+tj−k and v=2i+j+4k are perpendicular.
Show worked answer →
Set the dot product to zero:
u⋅v=(3)(2)+(t)(1)+(−1)(4)=6+t−4=t+2.
Perpendicular means t+2=0, so t=−2.
Marks: one for the dot product expression, one for solving t=−2.