Popular Courses
MATH 211
University of Calgary
MATH 1229
Western University
Linear Algebra
University Study Guides
MATH 152
University of British Columbia
MATH 1600
Western University
Linear Algebra
General Course
MAT188H1
University of Toronto
Linear Algebra
University Study Guides
MATH 115
University of Waterloo
MATH-1270
University of Windsor
MATH 1210
University of Manitoba
MATH 111
Queen's University
MATH 1104
Carleton University
MATH 1300
University of Manitoba
MATH 1107
Carleton University
ENGM 1041
Dalhousie University
MATH 114
University of Waterloo
MATH-1260
University of Windsor
MA-UY 2034
New York University
MATH 266
University of Saskatchewan

0:00 / 0:00
Distances
Distance Between a Point and a Line
To calculate the shortest distance between a point and a line we use the perpendicular (based on the projection ).
Given a point and a line in vector form , the distance from point to line is given by:
Steps
- Find the vector
- Find the projection of onto the line's direction vector :
- Find the perpendicular vector:
- The shortest distance from point to line is the norm of the perpendicular:
Wize Tip
These same steps can be used to find the shortest distance between a line and a second parallel line:
Choose any point on the second line and call it .
Geometrically

Distance Between a Point and a Hyperplane
We use a slightly different method to find the shortest distance between a point and a hyperplane in .
Given a point and a plane in standard form , the distance from point to plane is given by:
Steps
- Find any point on the plane (it's often easiest to let all but one component be 0 and solve for the third).
- Find the vector
- Find the projection of onto the hyperplane's normal vector :
- The shortest distance from point to hyperplane is the norm of the projection:
Wize Tip
These same steps can be used to find the distance between a plane and:
- a parallel line, or
- a second parallel plane
Choose any point on the line or second plane and call it .
Geometrically


0:00 / 0:00
Example: Distance Between Parallel Lines
Find the shortest distance between the parallel lines:
Watch Out!
We may use the method of finding the distance between a point and a line.
This only works for finding the distance between two lines when they are parallel/collinear.
Distance Between Parallel Lines
Note that the direction vector , so the lines are indeed collinear.
Since the lines are parallel, we can use any point on : choose .
Then the problem boils down to finding the distance between point and line . (We can forget about entirely!)
Distance Between a Point and a Line
Choose any point on :
Find the projection of onto the direction vector of the line :
Subtract the projection from to find the perpendicular vector:
The norm of this vector is the shortest distance between the parallel lines:

0:00 / 0:00
Example: Distance Between a Point and a Plane
Find the shortest distance between the plane and the point .
The normal vector to the plane can be read from the LHS:
1. Choose any point on the plane:
Setting we can easily solve to find . This gives us the point .
2. Find
3. Project onto :
4. The norm of this vector is the distance between and the plane:
Practice: Distance Between a Point and a Line
Find the distance between the point and the line that passes through the points and .
Practice: Distance Between Parallel Planes
Find the distance between the two parallel planes and .