- Practice
- About 16 min
- 5 practice questions
Parallel and perpendicular tests, and unit vectors perpendicular to two vectors
Decide quickly whether vectors are parallel or perpendicular, find unit vectors and vectors of a given length perpendicular to two vectors, and test points for collinearity and right angles.
If something looks wrong, please tell us.
Many exam questions do not ask for a product at all. They ask whether two vectors are parallel or perpendicular, whether three points lie on a line, or for a vector at right angles to two given ones. The dot and cross products give one-line tests for all of these. This lesson collects them and practises the standard problem of the unit vector perpendicular to two vectors.
The two tests
| Relation (non-zero vectors) | Test | Reason |
|---|---|---|
| a perpendicular to b | a · b = 0 | cos 90° = 0 |
| a parallel to b | a × b = 0, or the components are proportional | sin 0° = sin 180° = 0 |
| A, B, C collinear | AB × AC = 0 | The triangle ABC has zero area |
| Right angle at B in triangle ABC | BA · BC = 0 | The two sides from B are perpendicular |
For parallel vectors the proportion test is usually quickest: 2i − 3j + 4k and −4i + 6j − 8k are parallel because each component of the second is −2 times the first. Take care with zero components: i + 2j and 3i + 6j + k are not parallel, because the k-components 0 and 1 are not in the same ratio.
Unit vectors perpendicular to two vectors
a × b is perpendicular to both a and b. Dividing by its length gives a unit vector, and the opposite vector works too. So there are always two unit vectors perpendicular to two non-parallel vectors, ±(a × b)/|a × b|. A vector of length L perpendicular to both is ±L(a × b)/|a × b|.
Unit vectors perpendicular to both a and b: ±(a × b)/|a × b|. Perpendicular: a · b = 0. Parallel: a × b = 0.
Worked example 1: unit vectors perpendicular to two vectors
Find the unit vectors perpendicular to a = i + 2j + 2k and b = 2i + j − 2k. a × b = (2 × (−2) − 2 × 1)i − (1 × (−2) − 2 × 2)j + (1 × 1 − 2 × 2)k = −6i + 6j − 3k. Its length is √(36 + 36 + 9) = √81 = 9. The unit vectors are ±(1/3)(−2i + 2j − k). Check: (−2i + 2j − k) · (i + 2j + 2k) = −2 + 4 − 2 = 0.
Worked example 2: a given length
Find the vectors of magnitude 6 perpendicular to the same a and b. Multiply the unit vectors by 6: ±(−4i + 4j − 2k). If the question adds a condition such as "making an acute angle with k", choose the sign that makes the k-component positive: 4i − 4j + 2k.
Worked example 3: are the points collinear?
Do A(2, 3, −1), B(4, 1, 3) and C(5, 0, 5) lie on one line? AB = 2i − 2j + 4k and AC = 3i − 3j + 6k. Since AC = (3/2)AB, the vectors are parallel and share the point A, so the points are collinear; equivalently AB × AC = 0. Compare this with the foundation method: it is the same idea, and the cross product simply checks all three ratios at once.
Worked example 4: where is the right angle?
Show that A(1, 1, 1), B(2, 3, 1) and C(4, 2, 4) form a right-angled triangle. BA = −i − 2j and BC = 2i − j + 3k, so BA · BC = −2 + 2 + 0 = 0: the right angle is at B. Always test the two sides that meet at the vertex you are checking.
A trap: no cancelling
From a · b = a · c or a × b = a × c you cannot cancel a. The first only says a · (b − c) = 0, so b − c is perpendicular to a; the second says a × (b − c) = 0, so b − c is parallel to a. Neither forces b = c.
Key takeaways: zero dot product means perpendicular; zero cross product (or proportional components) means parallel. The unit vectors perpendicular to a and b are ±(a × b)/|a × b|; scale them for a given length and use any extra condition to fix the sign. Points are collinear when AB × AC = 0.
Check your understanding
-
1. For what value of λ are 2i − 3j + λk and −4i + 6j − 8k parallel?
- −4
- 4
- 8
- −16
Show answer
Answer: B. The second vector is −2 times the first in the i and j components (−4 = −2 × 2, 6 = −2 × (−3)), so −8 = −2λ and λ = 4.
-
2. Which is a unit vector perpendicular to both i + j and j + k?
- (i + j + k)/√3
- (i − j + k)/3
- (i − j + k)/√3
- (−i − j + k)/√3
Show answer
Answer: C. (i + j) × (j + k) = (1 × 1 − 0 × 1)i − (1 × 1 − 0 × 0)j + (1 × 1 − 1 × 0)k = i − j + k, of length √3. So (i − j + k)/√3 is a unit vector perpendicular to both. (i − j + k)/3 has length 1/√3, not 1.
-
3. The points A(1, 2, 3), B(2, 4, 5) and C(4, 8, p) are collinear. What is p?
- 7
- 11
- 8
- 9
Show answer
Answer: D. AB = i + 2j + 2k and AC = 3i + 6j + (p − 3)k. For collinear points AC must be a multiple of AB; the i and j components give the multiple 3, so p − 3 = 6 and p = 9.
-
4. Which vector has magnitude 2√3 and is perpendicular to both i − j and j − k?
- 2i + 2j + 2k
- i + j + k
- 2√3(i + j + k)
- 2i − 2j + 2k
Show answer
Answer: A. (i − j) × (j − k) = ((−1)(−1) − 0 × 1)i − (1 × (−1) − 0 × 0)j + (1 × 1 − 0)k = i + j + k, of length √3. A vector of length 2√3 along it is 2√3 × (i + j + k)/√3 = 2i + 2j + 2k.
-
5. a is a non-zero vector and a × b = a × c. Which statement must be true?
- b = c
- b − c is perpendicular to a
- b − c is parallel to a (or zero)
- a · b = a · c
Show answer
Answer: C. a × b − a × c = a × (b − c) = 0, so b − c is parallel to a or is the zero vector. You cannot cancel a, so b = c need not hold; for example i × i = i × 2i = 0. The dot statement does not follow either: with a = i, b = i, c = 2i, a · b = 1 but a · c = 2.
Sign in to keep track of the lessons you finish.