How To Find The Distance From A Point To A Line

A good grasp of algebra will help you solve geometry problems such as finding the distance from a point to a line. The solution involves creating a new perpendicular line joining the point to the original line, then finding the point where the two lines intersect, and finally calculating the length of the new line to the point of intersection.

TL;DR (Too Long; Didn't Read)

To find the distance from a point to a line, first find the perpendicular line passing through the point. Then using the Pythagorean theorem, find the distance from the original point to the point of intersection between the two lines.

Find the Perpendicular Line

The new line will be perpendicular to the original one, that is, the two lines intersect at right angles. To determine the equation for the new line, you take the negative inverse of the slope of the original line. Two lines, one with a slope A, and the other with a slope, -1/A, will intersect at right angles. The next step is to substitute the point into the equation of slope-intercept form of new line to determine its y-intercept.

As an example, take the line y = x + 10 and the point (1,1). Note that the slope of the line is 1. The negative reciprocal of 1 is -1. So the slope of the new line is -1, so the slope-intercept form of the new line is y = -x + B, where B is a number you don't yet know. To find B, substitute the x and y values of the point into the line equation:

\(y=-x+B\
1=-1+B\
1+1=-1+1+B\
2=B\)

You now have the value for B.

The new line's equation then is y = -x + 2.

Determine Intersection Point

The two lines intersect when their y values are equal. You find this by setting the equations equal to each other, then solve for x. When you've found the value for x, plug the value into either line equation (it doesn't matter which one) to find the point of intersection.

Continuing the example, you have the original line, y = x + 10, and the new line, y = -x + 2. Set the two equations equal to each other, then solve for x:

\(x+10=-x+2//
x+x+10=x-x+2//
2x+10=2//
2x=-8//
x=-4//\)

Substitute the x value in to find y:

\(y=-4+10=6\)

So the intersection point is (-4, 6)

Find Length of a New Line

The length of the new line, between the given point and the newly-found intersection point, is the distance between the point and the original line. To find the distance, subtract the x and y values to get the x and y displacements. This gives you the opposite and adjacent sides of a right triangle; the distance is the hypotenuse, which you find with Pythagorean theorem. Add the squares of the two numbers, and take the square root of the result.

Cite This Article

MLA

Papiewski, John. "How To Find The Distance From A Point To A Line" sciencing.com, https://www.sciencing.com/how-to-find-the-distance-from-a-point-to-a-line-13712219/. 13 December 2020.

APA

Papiewski, John. (2020, December 13). How To Find The Distance From A Point To A Line. sciencing.com. Retrieved from https://www.sciencing.com/how-to-find-the-distance-from-a-point-to-a-line-13712219/

Chicago

Papiewski, John. How To Find The Distance From A Point To A Line last modified March 24, 2022. https://www.sciencing.com/how-to-find-the-distance-from-a-point-to-a-line-13712219/

Recommended