# Line coordinates

In geometry, line coordinates are used to specify the position of a line just as point coordinates (or simply coordinates) are used to specify the position of a point.

## Lines in the plane

There are several possible ways to specify the position of a line in the plane. A simple way is by the pair (m, b) where the equation of the line is y = mx + b. Here m is the slope and b is the y-intercept. This system specifies coordinates for all lines that are not vertical. However, it is more common and simpler algebraically to use coordinates (l, m) where the equation of the line is lx + my + 1 = 0. This system specifies coordinates for all lines except those that pass through the origin. The geometrical interpretations of l and m are the negative reciprocals of the x and y-intercept respectively.

The exclusion of lines passing through the origin can be resolved by using a system of three coordinates (l, m, n) to specify the line in which the equation, lx + my + n = 0. Here l and m may not both be 0. In this equation, only the ratios between l, m and n are significant, in other words if the coordinates are multiplied by a non-zero scalar then line represented remains the same. So (l, m, n) is a system of homogeneous coordinates for the line.

If points in the real projective plane are represented by homogeneous coordinates (x, y, z), the equation of the line is lx + my + nz = 0, provided (l, m, n) ≠ (0,0,0) . In particular, line coordinate (0, 0, 1) represents the line z = 0, which is the line at infinity in the projective plane. Line coordinates (0, 1, 0) and (1, 0, 0) represent the x and y-axes respectively.

## Tangential equations

Just as f(x, y) = 0 can represent a curve as a subset of the points in the plane, the equation φ(l, m) = 0 represents a subset of the lines on the plane. The set of lines on the plane may, in an abstract sense, be thought of as the set of points in a projective plane, the dual of the original plane. The equation φ(l, m) = 0 then represents a curve in the dual plane.

For a curve f(x, y) = 0 in the plane, the tangents to the curve form a curve in the dual space called the dual curve. If φ(l, m) = 0 is the equation of the dual curve, then it is called the tangential equation, for the original curve. A given equation φ(l, m) = 0 represents a curve in the original plane determined as the envelope of the lines that satisfy this equation. Similarly, if φ(l, m, n) is a homogeneous function then φ(l, m, n) = 0 represents a curve in the dual space given in homogeneous coordinates, and may be called the homogeneous tangential equation of the enveloped curve.

Tangential equations are useful in the study of curves defined as envelopes, just as Cartesian equations are useful in the study of curves defined as loci.

## Tangential equation of a point

A linear equation in line coordinates has the form al + bm + c = 0, where a, b and c are constants. Suppose (l, m) is a line that satisfies this equation. If c is not 0 then lx + my + 1 = 0, where x = a/c and y = b/c, so every line satisfying the original equation passes though the point (x, y). Conversely, any line through (x, y) satisfies the original equation, so al + bm + c = 0 is the equation of set of lines through (x, y). For a given point (x, y), the equation of the set of lines though it is lx + my + 1 = 0, so this may be defined as the tangential equation of the point. Similarly, for a point (x, y, z) given in homogeneous coordinates, the equation of the point in homogeneous tangential coordinates is lx + my + nz = 0.

## Formulas

The intersection of the lines (l1, m1) and (l2, m2) is the solution to the linear equations

${\displaystyle l_{1}x+m_{1}y+1=0}$
${\displaystyle l_{2}x+m_{2}y+1=0.}$

By Cramer's rule, the solution is

${\displaystyle x={\frac {m_{1}-m_{2}}{l_{1}m_{2}-l_{2}m_{1}}},\,y=-{\frac {l_{1}-l_{2}}{l_{1}m_{2}-l_{2}m_{1}}}.}$

The lines (l1, m1), (l2, m2), and (l3, m3) are concurrent when the determinant

${\displaystyle {\begin{vmatrix}l_{1}&m_{1}&1\\l_{2}&m_{2}&1\\l_{3}&m_{3}&1\end{vmatrix}}=0.}$

For homogeneous coordinates, the intersection of the lines (l1, m1, n1) and (l2, m2, n2) is

${\displaystyle (m_{1}n_{2}-m_{2}n_{1},\,l_{2}n_{1}-l_{1}n_{2},\,l_{1}m_{2}-l_{2}m_{1}).}$

The lines (l1, m1, n1), (l2, m2, n2) and (l3, m3, n3) are concurrent when the determinant

${\displaystyle {\begin{vmatrix}l_{1}&m_{1}&n_{1}\\l_{2}&m_{2}&n_{2}\\l_{3}&m_{3}&n_{3}\end{vmatrix}}=0.}$

Dually, the coordinates of the line containing (x1, y1, z1) and (x2, y2, z2) are

${\displaystyle (y_{1}z_{2}-y_{2}z_{1},\,x_{2}z_{1}-x_{1}z_{2},\,x_{1}y_{2}-x_{2}y_{1}).}$

## Lines in three-dimensional space

For two given points in the real projective plane, (x1, y1, z1) and (x2, y2, z2), the three determinants

${\displaystyle y_{1}z_{2}-y_{2}z_{1},\,x_{2}z_{1}-x_{1}z_{2},\,x_{1}y_{2}-x_{2}y_{1}}$

determine the projective line containing them.

Similarly, for two points in RP3, (x1, y1, z1, w1) and (x2, y2, z2, w2), the line containing them is determined by the six determinants

${\displaystyle x_{1}y_{2}-x_{2}y_{1},\,x_{1}z_{2}-x_{1}z_{2},\,y_{1}z_{2}-y_{2}z_{1},\,x_{1}w_{2}-x_{2}w_{1},\,y_{1}w_{2}-y_{2}w_{1},\,z_{1}w_{2}-z_{2}w_{1}.}$

This is the basis for a system of homogeneous line coordinates in three-dimensional space called Plücker coordinates. Six numbers in a set of coordinates only represent a line when they satisfy an additional equation. This system maps the space of lines in three-dimensional space to projective space RP5, but with the additional requirement the space of lines corresponds to the Klein quadric, which is a manifold of dimension four.

More generally, the lines in n-dimensional projective space are determined by a system of n(n  1)/2 homogeneous coordinates that satisfy a set of (n  2)(n  3)/2 conditions, resulting in a manifold of dimension 2(n  1).

## With complex numbers

Isaak Yaglom has shown[1] how dual numbers provide coordinates for oriented lines in the Euclidean plane, and split-complex numbers form line coordinates for the hyperbolic plane. The coordinates depend on the presence of an origin and reference line on it. Then, given an arbitrary line its coordinates are found from the intersection with the reference line. The distance s from the origin to the intersection and the angle θ of inclination between the two lines are used:

${\displaystyle z=(\tan {\frac {\theta }{2}})(1+s\epsilon )}$ is the dual number[1]:81 for a Euclidean line, and
${\displaystyle z=(\tan {\frac {\theta }{2}})(\cosh s+j\sinh s)}$ is the split-complex number[1]:118 for a line in the Lobachevski plane.

Since there are lines ultraparallel to the reference line in the Lobachevski plane, they need coordinates too: There is a unique common perpendicular, say s is the distance from the origin to this perpendicular, and d is the length of the segment between reference and the given line.

${\displaystyle z=(\tanh {\frac {d}{2}})(\sinh s+j\cosh s)}$ denotes the ultraparallel line.[1]:118

The motions of the line geometry are described with linear fractional transformations on the appropriate complex planes.[1]:87,123