What is the scalar (dot) product of two vectors, and what does it measure?
Compute the scalar product of two vectors in component or geometric form and use it to find the angle between vectors and test orthogonality
A focused answer to the HSC Maths Extension 1 dot point on the scalar product. The component formula a dot b = a1 b1 + a2 b2, the geometric formula |a||b| cos theta, why the two agree, the sign of the dot product, bilinearity, finding the angle between vectors and testing orthogonality, with worked examples and diagrams.
Reviewed by: AI editorial process; not yet individually human-reviewed
Have a quick question? Jump to the Q&A page
What this dot point is asking
NESA wants you to compute the scalar (dot) product of two vectors using either the component formula or the geometric formula, understand it as a measure of how much two vectors point the same way, and use it for the two jobs it does in this course: finding the angle between vectors, and testing whether they are perpendicular. The dot product is also the engine of the next dot point, projection, and shows up constantly in geometric proofs, so it is worth knowing cold.
The answer
For two-dimensional vectors and there are two formulas for the same number.
Component form (the one you compute with):
Geometric form (the one that gives it meaning):
where is the angle between the two arrows when their tails are placed together.
Why the two formulas agree
This is worth seeing once. Apply the cosine rule to the triangle whose sides are , and (the side opposite the angle ):
Now expand the left side in components: . Comparing the two right-hand sides, the terms cancel and we are left with . The component formula and the geometric formula are the same number, which is exactly why one can be used to compute the other.
The sign of the dot product tells you the angle
Because and are positive, the sign of matches the sign of . So without computing the angle at all you can read off whether it is acute, right or obtuse.
Acute angle: the dot product is positive. The vectors broadly agree in direction, , so .
Right angle: the dot product is zero. Perpendicular vectors have , so . This is the orthogonality test.
Obtuse angle: the dot product is negative. The vectors broadly oppose, , so .
Finding the angle between two vectors
Rearranging the geometric formula gives the angle directly:
This works for any two non-zero vectors. Because , returns exactly the right range (no quadrant ambiguity to resolve), which is one reason the dot product is the standard tool for angles between vectors.
Properties (bilinearity)
The scalar product behaves like ordinary multiplication, with one caveat: the output is a scalar. It is commutative, , and bilinear (linear in each slot):
These rules let you expand brackets exactly as in algebra. In particular, since ,
which is the vector analogue of and a workhorse in proofs.
How exam questions ask about the scalar product
- "Show that and are perpendicular" or "... orthogonal": compute and show it is .
- "Find the value of so that and are perpendicular": set and solve for .
- "Find the angle between ...": use , then round if asked.
- "Find a vector perpendicular to ": in 2D, swap the components and negate one, ; check with a dot product.
- "Hence find given , and the angle": expand with .
- " and ; find ": a bilinearity drill, distribute the dot product.
Exam-style practice questions
Practice questions written in the style of NESA exam questions on this dot point, with worked answer explainers. The year tag is the paper they imitate, not the source.
2023 HSC Q193 marksVectors and are perpendicular. Find .Show worked answer →
Perpendicular vectors satisfy .
Compute: .
Set to zero: , so .
Markers reward stating the orthogonality condition, the dot product computation, and the algebra.
2021 HSC Q124 marksFind the angle between the vectors and in degrees to the nearest degree.Show worked answer →
.
, .
.
, so about .
Markers reward the formula, the magnitudes, the angle formula, and the rounded numerical answer.
