CACrown ArchivesThe cinema collection
Menu
Research dossier · General Reference

Distance from a point to a line

geometry problem

Cross-disciplinary reference desk with index cards, atlas, dictionary and catalogue
General referenceInterpretive dossier study · Crown Archives visual atlas
Record originEnglish Wikipedia
Text licenseCC BY-SA 4.0
Source revisionMay 15, 2026
Entity authorityQ2485106
Source-derived summary

The distance (or perpendicular distance) from a point to a line is the shortest distance from a fixed point to any point on a fixed infinite line in Euclidean geometry. It is the length of the line segment that joins the point to the line and is perpendicular to the line. The formula for calculating it can be derived and expressed in several ways.

Knowing the shortest distance from a point to a line can be useful in various situations—for example, finding the shortest distance to reach a road, quantifying the scatter on a graph, etc. In Deming regression, a type of linear curve fitting, if the dependent and independent variables have equal variance, this results in orthogonal regression in which the degree of imperfection of the fit is measured for each data point as the perpendicular distance of the point from the regression line.

Cartesian coordinates

Line defined by an equation

In the case of a line in the plane given by the equation

a

x

+

b

y

+

c

=

0

{\displaystyle ax+by+c=0}

where

a

{\displaystyle a}

,

b

{\displaystyle b}

and

c

{\displaystyle c}

are real constants with

a

{\displaystyle a}

and

b

{\displaystyle b}

not both zero, the distance from the line to a point

(

x

0

,

y

0

)

{\displaystyle (x_{0},y_{0})}

is

distance

(

a

x

+

b

y

+

c

=

0

,

(

x

0

,

y

0

)

)

=

|

a

x

0

+

b

y

0

+

c

|

a

2

+

b

2

.

{\displaystyle \operatorname {distance} (ax+by+c=0,(x_{0},y_{0}))={\frac {|ax_{0}+by_{0}+c|}{\sqrt {a^{2}+b^{2}}}}.}

The point on this line that is closest to

(

x

0

,

y

0

)

{\displaystyle (x_{0},y_{0})}

has coordinates:

x

=

b

(

b

x

0

a

y

0

)

a

c

a

2

+

b

2

and

y

=

a

(

b

x

0

+

a

y

0

)

b

c

a

2

+

b

2

{\displaystyle x={\frac {b(bx_{0}-ay_{0})-ac}{a^{2}+b^{2}}}{\text{ and }}y={\frac {a(-bx_{0}+ay_{0})-bc}{a^{2}+b^{2}}}}

or equivalently

x

=

x

0

a

a

x

0

+

b

y

0

+

c

a

2

+

b

2

{\displaystyle x=x_{0}-a{\frac {ax_{0}+by_{0}+c}{a^{2}+b^{2}}}}

and

y

=

y

0

b

a

x

0

+

b

y

0

+

c

a

2

+

b

2

{\displaystyle y=y_{0}-b{\frac {ax_{0}+by_{0}+c}{a^{2}+b^{2}}}}

Horizontal and vertical lines

In the general equation of a line,

a

x

+

b

y

+

c

=

0

{\displaystyle ax+by+c=0}

,

a

{\displaystyle a}

and

b

{\displaystyle b}

cannot both be zero unless

c

{\displaystyle c}

is also zero; in that case, the equation does not define a line. If

a

=

0

{\displaystyle a=0}

and

b

0

{\displaystyle b\neq 0}

, the line is horizontal and has equation

y

=

c

/

b

{\displaystyle y=-c/b}

. The distance from

(

x

0

,

y

0

)

{\displaystyle (x_{0},y_{0})}

to this line is measured along a vertical line segment of length

|

y

0

(

c

/

b

)

|

=

|

b

y

0

+

c

|

/

|

b

|

{\displaystyle |y_{0}-(-c/b)|=|by_{0}+c|/|b|}

in accordance with the formula. Similarly, for vertical lines

(

b

=

0

)

{\displaystyle (b=0)}

the distance between the same point and the line is

|

a

x

0

+

c

|

/

|

a

|

{\displaystyle |ax_{0}+c|/|a|}

, as measured along a horizontal line segment.

Editorial summary

Begin with the source’s own compact description: “Distance from a point to a line” is geometry problem. The dossier treats that line as a proposition to test through Distance, point and line, not as a finished interpretation.

Editorial reviewA dependable orientation record for establishing vocabulary, names and a first evidence trail. The current 559-word lead offers orientation but no explicit four-digit date, so chronology should not be assumed. The selected authority fields contribute no independent date. For this dossier, Distance, point and line is the immediate research focus.
Editorial analysis

Why this record matters

The phrase “geometry problem” supplies a clear boundary for inquiry. It also exposes the unanswered questions: who defined that boundary, when it became stable and which sources sit outside it.

Evidence profile

The citation trail is more important than the brevity of the summary: it shows where individual claims can be examined in context. The source revision retrieved here is dated May 15, 2026. The linked authority identifier is Q2485106.

Critical limits

Overview language is designed for orientation and should not be treated as a substitute for the evidence cited beneath it. The lead is largely declarative, so disagreement and counter-evidence require a deliberate search beyond the opening account. Authority statements aid reconciliation but still require their own references, qualifiers and ranks to be checked.

How to read it

Use the entry as an orientation point, then follow its citations and revision history. Names, dates and institutional relationships should be checked against the original record.

Best used for
  • Subject orientation
  • Search vocabulary
  • Locating named sources
Verify next

The closest primary source, responsible institution and strongest cited specialist reference.

Three-step research path

  1. Establish the record: confirm the title “Distance from a point to a line”, its source revision and the description used here.
  2. Expand the search: follow Distance from a point to a line primary sources, Distance from a point to a line archive and Distance research across catalogues and specialist indexes.
  3. Test the account: compare the strongest cited source with the responsible institution’s current record and note any disagreement.

Questions for further research

  1. Which source most directly establishes the central claim about “Distance from a point to a line”?
  2. Which institution is responsible for the underlying evidence?
  3. Which cited source is closest to the event, object or claim?
Subject index

Search terms from this dossier

Source & attribution

This entry incorporates text from Distance from a point to a line” on English Wikipedia. Contributors are listed in the page history. Text is available under the Creative Commons Attribution-ShareAlike 4.0 License. Selected authority identifiers and statements are retrieved from Wikidata under CC0; their references and qualifiers remain part of the verification path.