Wize High School Grade 12 Calculus Textbook > Distance Between Lines & Planes
Distance from a Point to a Line in R2

Distance From a Point to a Line in R2
If Ax+By+C=0 is a line in R2, then the shortest distance between a point P(x1, y1) and this line is d=A2+B2∣Ax1+By1+C∣

Example
Find the distance between the point (1, −3) and the line 2x−y+1=0
d=22+(−1)2∣2(1)−(−3)+1∣=4+1∣2+3+1∣=56
Practice: Distance Between 2 Parallel Lines in R2
Calculate the distance between the two lines 2x−6y+6=0 and x−3y−8=0.