Linear algebra · Orthogonality and least squares
Lengths, distances and angles carry over to higher dimensions through the dot product, and so does the idea of perpendicular.