Unit 16 of 18 · Vectors: magnitude, direction and products
Compare parallel and perpendicular lengths
Choose a scalar length formula and compare the six product properties.
Compare parallel and perpendicular lengths
Use a unit target direction before comparing lengths. The absolute dot product measures the parallel length; the cross-product magnitude measures the perpendicular length. Both answers are scalars and should satisfy the Pythagorean check below.
Let be nonparallel nonzero vectors, , and their right-hand unit normal. In the source right triangle , and is the perpendicular foot on the line through parallel to . The acute drawing has at . Its parallel length is , and the complete source height proof is
Thus the dot-product magnitude gives the parallel length, and the cross-product magnitude gives the perpendicular length. The cross-product vector itself points normal to their plane; it is not the in-plane perpendicular component. For an obtuse vector angle, the triangle angle is and , giving the same height. The length formulas extend to parallel directions and without choosing a unit normal there; must remain nonzero. Pythagoras supplies a useful check:
Choose between the two products
The source closes with six comparisons. The geometric “if and only if” statements below assume both vectors nonzero; the algebraic laws also hold for zero vectors. Here is any real scalar. Here “iff” means “if and only if”.
Self-product
Scalar product:
Vector product:
Greatest possible magnitude
Scalar product:
iff parallel
Vector product:
iff perpendicular
Zero product
Scalar product:
iff perpendicular
Vector product:
iff parallel
Reverse order
Scalar product:
Vector product:
Scalar compatibility
Scalar product:
Vector product:
Distribute in either position
Scalar product:
Vector product:
The source calls scalar compatibility an “associative law”; it does not assert that a cross product of three vectors is associative. Use these length relationships later for distances to lines and planes.