How Do You Find the Shortest Distance from P(2,2,5)?
At a glance
- 1. Identify the target
A point alone does not determine a distance; specify the line, plane, point, or other set.
- 2. Choose a formula
Use the formula for the target geometry, such as point-to-plane or point-to-line distance.
- 3. Substitute coordinates
Insert P(2,2,5) and the target's equation or defining coordinates.
- 4. Check the result
Take absolute values where needed and ensure the distance is nonnegative.
The coordinates specify a point in three-dimensional space, but they do not specify a distance by themselves. A shortest distance is measured from to some target: another point, a line, a plane, or a more general set. Different targets give different answers.
If a problem gives only , it is missing information. You need the target’s coordinates or equation. The formulas below show how to finish the calculation once you have that information.
Distance to another point
If the target is a point , use the three-dimensional distance formula:
For instance, if the intended target is the origin , then
This is only the answer if the origin is the intended target. A different point gives a different distance.
Distance to a plane
For a plane written as
the shortest distance from to the plane is
The vector is perpendicular to the plane. The numerator measures the point’s displacement in that perpendicular direction, and division by the normal vector’s length gives the actual distance.
Worked plane example
Suppose the target is the plane . Substitute :
So the shortest distance from to this particular plane is units. The absolute value matters: the expression inside it can be negative depending on which side of the plane the point lies on, but distance cannot be negative.
Distance to a line
Suppose a line passes through a point and has direction vector . The distance from to the line is
The cross product gives the area of a parallelogram; dividing by the base length gives its perpendicular height, which is the shortest distance to the line.
For example, take a line through with direction vector . Then , and
Therefore,
This result applies to that line, not to every line through or near .
Common mistakes
- Treating the point as the whole problem. Coordinates give a location, not a target. Check whether the problem also specifies a line, plane, or second point.
- Assuming the target is the origin. Use only when the origin is explicitly the target or is clearly implied by context.
- Using the wrong formula. A plane equation and a line’s direction data describe different geometric objects, so their distance formulas are not interchangeable.
- Forgetting the absolute value for a plane. The signed expression tells which side of the plane the point is on; the shortest distance is its nonnegative magnitude.
- Confusing perpendicular distance with a chosen path. The shortest distance to a line or plane is measured along a perpendicular, not along an arbitrary segment.
To get one definite numerical answer, provide the object that is being measured to. For a plane, give its equation; for a line, give a point on it and a direction vector (or equivalent equations); for a point, give its coordinates.
Spotted an error? Send a correction. Read how we write and check articles in our editorial policy.