Let , . Then we have that:
Go to Find Shortest Distance to see a worked example of finding the shortest distance between a vector and subspace using the projection theorem.