Processing math: 100%

Distance Between a Point and a Line

Distance Between a Point and a Line

The distance between a point P and a line e on the plane is the length of the line segment that is perpendicular to the line e and that joins point P to the line.

distance_point_droite

Notation

The distance between a point P and a line e is: d(P, e), which is read “distance from P to e.”

Formula

In a Cartesian coordinate system, the distance d between a point P with coordinates (x1,y2) and a line e with the equation Ax+By+C=0 est donnée par la formule :

d(P,e)=|Ax1+By1+CA2+B2|

Example

Consider the line e with the equation 3x+y1=0 and the point P(2, 5). The distance from P to e can be calculated as follows:

d(P,e)=3×2+1×5132+12

or approximately 3.1623.

Try Buzzmath activities for free

and see how the platform can help you.