The distance from a point to a line is the length of the perpendicular segment drawn from the point to the line.
Distance from a Point to a Line



Example
Calculate the distance from point
to the line
with equation
.

Distance to the Origin of Coordinates

Example
Find the distance to the origin of the line
.

Distance Between Lines

To find the distance between two parallel lines, take any point
from one of them and calculate its distance to the other line.

Examples
1. Find the distance between
and
.
First we compare the slopes to verify that they are parallel:

We search for a point on one of the lines:


We substitute into the distance formula from a point to a line:

2. Find the distance between the lines:
and 
Converting to standard form:
and 

Summarize with AI:








