Vector Space of Real Numbers
Senior 4 · Mathematics
Vector Space of Real Numbers
Lesson 5 of 5
25 min
Push a heavily loaded wooden scooter up a village road and you lean on its handle, so your push points partly along the road and partly down into the ground. Only the part along the road moves the load forward. Physics measures the useful effort by the work done: the component of the force along the motion, times the distance moved. For a force of size at angle to a displacement of length , the work is .
So far our vector space has had no lengths and no angles at all: the ten rules never mention them. This lesson adds one more operation, the dot product, which produces lengths, angles, perpendicularity, and the work formula in a single line of arithmetic.

Definition
Dot product (scalar product): for and in ,
The result is a real number, not a vector.
Example: and .
For all and every real :
| Property | Statement | Reason |
|---|---|---|
| Symmetry | ||
| Distributivity | , expanded | |
| Scalars come out | ||
| Positivity | , and | , a sum of squares |
The vector space together with the dot product is called the Euclidean vector space : the vector space in which the distances and angles of Euclid's geometry can be measured.
Definition
Magnitude (norm, length) of :
A unit vector has magnitude 1; for , the unit vector in the direction of is . The distance between points and is .
Properties: , with equality only for ; and .
Example: , and the unit vector in its direction is .
Worked example 1: magnitude, unit vector and distance
Let , and . Find (a) and the unit vector in the direction of (b) (c) the distance .
Solution.
(a) ; unit vector .
(b) .
(c) , so .
Important
Theorem (Cauchy–Schwarz inequality). For all ,
with equality exactly when and are linearly dependent.
Proof. If , both sides are 0. Otherwise, for every real , positivity gives
A quadratic in with positive leading coefficient that is never negative has discriminant : . Take square roots. Equality means the quadratic has a root , so : the vectors are dependent.
A consequence is the triangle inequality : expand .
Cauchy–Schwarz says that for non-zero vectors , so this number is the cosine of exactly one angle between and . It is the angle you see in the diagram. Apply the cosine rule to the triangle with sides , and :
Expanding the left side with the dot product gives . Compare the two:
For the diagram, , so . Because the lengths are positive, the sign of the dot product tells you the type of angle at once:
| Angle | |
|---|---|
| positive | acute, |
| zero | right angle, |
| negative | obtuse, |
Definition
Orthogonal vectors: and are orthogonal (perpendicular), written , when . The zero vector is orthogonal to every vector.
Example: because . In general .
Worked example 2: the angle between two vectors
Find the angle between and , to one decimal place.
Solution. , , . So
The negative dot product had already told us the angle is obtuse.
Worked example 3: perpendicularity and an angle of a triangle
(a) Find such that . (b) Find the angle at in the triangle , , .
Solution.
(a) , so .
(b) The angle at is the angle between and : , and both have length . So and .
In physics the work done by a constant force (in newtons) while its point of application moves through a displacement (in metres) is
The factor is the scalar projection of on the direction of motion: the green part of the force in the diagram. The vertical part of the pull does no work, because it is perpendicular to the motion.
Worked example 4: work done pulling a load
A rope pulls a sack along level ground with force while the sack moves . Find the work done and the angle between the rope and the ground.
Solution. . Also and , so
Warning
Three slips to avoid. (1) is a number: "" makes no sense as a dot product. (2) You cannot cancel: does not give (try , , ). (3) Lengths do not add: , not .
Tip
Before reaching for , look at the sign of : it tells you at once whether your final angle must be acute, right or obtuse, which catches most calculator slips.
Professor Dave Explains: The Vector Dot Product (about 7 min). Watch for the two ways of computing the dot product, from components and from lengths and the angle.
Practice
Give angles to one decimal place.
Key points
Further reading for this unit
Sources and credits
Quick check