Miscellaneous · Q15: if and only if
Prove that , if and only if are perpendicular, given .
Using distributivity, and ,
If part. Let . Then , so by (i),
Only if part. Let . Then by (i),
As and , gives .
Hence if and only if and are perpendicular.
Want the reason behind every step, the basics and the checks?
Expanding gives . The two sides of the given equation differ by exactly , so the equation holds precisely when , and for nonzero vectors that means perpendicular. It is Pythagoras' theorem in vector form, with its converse.
- Given
- and .
- To show
- if (the "if" part), and if the equation holds (the "only if" part).
- Plan
- (1) Expand the left side once. (2) Prove the "if" part. (3) Prove the "only if" part. (4) See why the vectors must be nonzero. (5) See the picture.
Basics you need
Distributivity (Property 1), (Observation 7) and (Observation 3), Section 10.6.1. Basics: , and dot products obey the same rule
For nonzero , : (Section 10.6.1, Observation 2). Lesson: the dot product
"P if and only if Q" is two statements: Q implies P (the "if" part) and P implies Q (the "only if" part). Both must be proved (school logic).
Solution
Expand the left side
Distributivity multiplies each term of the first bracket by each term of the second: four products. Two of them are squares of lengths, and the two mixed ones are equal because the scalar product is commutative, so they combine into . This is the vector form of . Both parts of the proof use this one identity.Section 10.6.1, Property 1, Observations 3 and 7. Basics: dot products obey the same ruleThe "if" part: perpendicular gives the equation
Suppose . Then , and (i) becomes
For perpendicular vectors the angle is , so , and the middle term of (i) disappears.Section 10.6.1, Observation 2. Lesson: the dot productThe "only if" part: the equation gives perpendicular
Suppose . Comparing with (i),
Since and , forces , so : .
Subtracting from both sides leaves . The lengths and are positive because the vectors are nonzero, so we may divide by them, and the only angle in with cosine 0 is .Why the vectors must be nonzero
If , then by definition and the equation holds for every , but the angle between and is not defined, so "perpendicular" has no meaning. The condition is exactly what lets "" be read as "perpendicular" in Step 3.
The book defines when either vector is zero, because no angle is available. The equivalence between "scalar product 0" and "perpendicular" is stated only for two nonzero vectors.Section 10.6.1, Definition 2 and Observation 2. Lesson: the dot productThe picture: Pythagoras in vector form
Put at the tip of ; then closes the triangle. The equation says the square on the third side equals the sum of the squares on the other two, which is Pythagoras' theorem and its converse:
Drawn with one scale. Left: , at a right angle, , and . Right: the same lengths at , , and , more than by . In the triangle, the angle opposite to is . Identity (i) is the cosine rule written with vectors; the correction term vanishes exactly for a right angle.Triangle law (Section 10.4). Lesson: adding arrows, head to tail
, so for nonzero and , if and only if , that is, if and only if and are perpendicular. Hence proved.
(Textbook answer: the answer key has no entry for this "prove that" question.)
Perpendicular: , , . Then and .
Not perpendicular: , , . Then and , while ; the difference is . The angle between these two is , not .
The figure: , against 5 for the right angle.
- Proving one direction only. "If and only if" needs both the "if" part and the "only if" part.
- Writing from the start. That skips the term , which is the whole point.
- Forgetting the nonzero condition. means perpendicular only when both vectors are nonzero.
- .
- Pythagoras for vectors: .
- For an "if and only if", prove each direction separately and label them.
Every fact used, and where it comes from
| Fact | Used in | Source |
|---|---|---|
| Distributivity; ; | Step 1 | Section 10.6.1, Property 1, Observations 3 and 7 (Basics: dot products obey the same rule) |
| for nonzero vectors | Steps 2, 3, 4 | Section 10.6.1, Observation 2 |
| , ; if a vector is zero | Steps 2, 3, 4, 5 | Section 10.6.1, Definition 2 |
| Triangle law of addition | Step 5 | Section 10.4 (Lesson: adding arrows, head to tail) |
| Scalar product in components | Check | Section 10.6.1 (Lesson: the dot product) |
| The answer | Result | "Prove that" question; no key entry (Lesson: the miscellaneous exercises) |
Tell us if something on this page is wrong or unclear, or if you would like a fuller explanation, another method or a new feature. Send feedback on this problem →