Learning goals and definitions
Separate points from directions, describe affine sets in , solve line–hyperplane intersections, and prove distance formulas. For , use and . A vector subspace contains zero and is closed under sums and scalar multiples. An affine subspace is a translate of a vector subspace ; it need not contain zero.
A line is with . A hyperplane is with normal . In dimension three it is a plane; in dimension two it is a line. Two descriptions may name the same set with different base points or normal multiples. A hyperplane contains every direction perpendicular to .
An orthonormal family satisfies for and . Its vectors are linearly independent: dotting with gives .
Theorem: closest point on a hyperplane
For , the unique closest point of is
Proof. Direct substitution gives , so . For any , the vector is perpendicular to , while is a multiple of . Therefore the cross term vanishes in
The distance is minimized exactly at . Taking the length of the displayed formula for gives the distance. Nonzero ensures both valid division and uniqueness.
More generally, if has orthonormal basis , then the projection onto is . Subtracting it from gives a vector perpendicular to every , hence to all of . The same squared-distance argument proves it is the unique nearest vector in . For , first project the displacement , then add .
Worked examples
Higher-dimensional distance. In , let be and . Here , and . The foot is and the distance is .
Intersection classification. A line meets a hyperplane when . If , there is one intersection with . If , the whole line lies in the hyperplane when and otherwise no intersection exists. “Parallel” alone does not distinguish containment from disjointness.
Graded practice
- Foundation. Find a line through parallel to , and decide whether it passes through .
- Core. Find the distance from to .
- Core. For orthonormal vectors and , project onto their span.
- Proof. Prove that an affine subspace contains the line segment between any two of its points. Does the converse assertion characterize affine subspaces?
Full solutions
- The line is . At it reaches , so the point lies on it.
- The normal is with length . Its dot product with the point is , so the distance is .
- The dot products are and . The projection is . The residual is perpendicular to both basis vectors.
- Write the points as with . For , their convex combination is , still in . The converse fails: a closed ball contains the segment between any two points but is not an affine subspace. Segment closure is convexity, a weaker property.
Summary and term definitions
An affine set is a translated linear space. A hyperplane is one nontrivial linear equation in variables. An orthonormal basis combines perpendicularity with unit lengths. A convex set contains every segment joining its points. Orthogonal decomposition proves distance statements in every finite dimension; it does not require a three-dimensional cross product or a diagram.