In geometry, an **incidence** relation is a heterogeneous relation that captures the idea being expressed when phrases such as "a point *lies on* a line" or "a line is *contained in* a plane" are used. The most basic incidence relation is that between a point, *P*, and a line, *l*, sometimes denoted *P* I *l*. If *P* I *l* the pair (*P*, *l*) is called a *flag*. There are many expressions used in common language to describe incidence (for example, a line *passes through* a point, a point *lies in* a plane, etc.) but the term "incidence" is preferred because it does not have the additional connotations that these other terms have, and it can be used in a symmetric manner. Statements such as "line *l*_{1} intersects line *l*_{2}" are also statements about incidence relations, but in this case, it is because this is a shorthand way of saying that "there exists a point *P* that is incident with both line *l*_{1} and line *l*_{2}". When one type of object can be thought of as a set of the other type of object (*viz*., a plane is a set of points) then an incidence relation may be viewed as containment.

Statements such as "any two lines in a plane meet" are called *incidence propositions*. This particular statement is true in a projective plane, though not true in the Euclidean plane where lines may be parallel. Historically, projective geometry was developed in order to make the propositions of incidence true without exceptions, such as those caused by the existence of parallels. From the point of view of synthetic geometry, projective geometry *should be* developed using such propositions as axioms. This is most significant for projective planes due to the universal validity of Desargues' theorem in higher dimensions.

In contrast, the analytic approach is to define projective space based on linear algebra and utilizing homogeneous co-ordinates. The propositions of incidence are derived from the following basic result on vector spaces: given subspaces *U* and *W* of a (finite-dimensional) vector space *V*, the dimension of their intersection is dim *U* + dim *W* − dim (*U* + *W*). Bearing in mind that the geometric dimension of the projective space **P**(*V*) associated to *V* is dim *V* − 1 and that the geometric dimension of any subspace is positive, the basic proposition of incidence in this setting can take the form: linear subspaces *L* and *M* of projective space *P* meet provided dim *L* + dim *M* ≥ dim *P*.^{[1]}

The following sections are limited to projective planes defined over fields, often denoted by PG(2, *F*), where *F* is a field, or **P**^{2}*F*. However these computations can be naturally extended to higher-dimensional projective spaces, and the field may be replaced by a division ring (or skewfield) provided that one pays attention to the fact that multiplication is not commutative in that case.

Main article: Homogeneous coordinates |

Let *V* be the three-dimensional vector space defined over the field *F*. The projective plane **P**(*V*) = PG(2, *F*) consists of the one-dimensional vector subspaces of *V*, called *points*, and the two-dimensional vector subspaces of *V*, called *lines*. Incidence of a point and a line is given by containment of the one-dimensional subspace in the two-dimensional subspace.

Fix a basis for *V* so that we may describe its vectors as coordinate triples (with respect to that basis). A one-dimensional vector subspace consists of a non-zero vector and all of its scalar multiples. The non-zero scalar multiples, written as coordinate triples, are the homogeneous coordinates of the given point, called *point coordinates*. With respect to this basis, the solution space of a single linear equation {(*x*, *y*, *z*) | *ax* + *by* + *cz* = 0} is a two-dimensional subspace of *V*, and hence a line of **P**(*V*). This line may be denoted by *line coordinates* [*a*, *b*, *c*], which are also homogeneous coordinates since non-zero scalar multiples would give the same line. Other notations are also widely used. Point coordinates may be written as column vectors, (*x*, *y*, *z*)^{T}, with colons, (*x* : *y* : *z*), or with a subscript, (*x*, *y*, *z*)_{P}. Correspondingly, line coordinates may be written as row vectors, (*a*, *b*, *c*), with colons, [*a* : *b* : *c*] or with a subscript, (*a*, *b*, *c*)_{L}. Other variations are also possible.

Given a point *P* = (*x*, *y*, *z*) and a line *l* = [*a*, *b*, *c*], written in terms of point and line coordinates, the point is incident with the line (often written as *P* I *l*), if and only if,

*ax*+*by*+*cz*= 0.

This can be expressed in other notations as:

No matter what notation is employed, when the homogeneous coordinates of the point and line are just considered as ordered triples, their incidence is expressed as having their dot product equal 0.

Let *P*_{1} and *P*_{2} be a pair of distinct points with homogeneous coordinates (*x*_{1}, *y*_{1}, *z*_{1}) and (*x*_{2}, *y*_{2}, *z*_{2}) respectively. These points determine a unique line *l* with an equation of the form *ax* + *by* + *cz* = 0 and must satisfy the equations:

*ax*_{1}+*by*_{1}+*cz*_{1}= 0 and*ax*_{2}+*by*_{2}+*cz*_{2}= 0.

In matrix form this system of simultaneous linear equations can be expressed as:

This system has a nontrivial solution if and only if the determinant,

Expansion of this determinantal equation produces a homogeneous linear equation, which must be the equation of line *l*. Therefore, up to a common non-zero constant factor we have *l* = [*a*, *b*, *c*] where:

*a*=*y*_{1}*z*_{2}-*y*_{2}*z*_{1},*b*=*x*_{2}*z*_{1}-*x*_{1}*z*_{2}, and*c*=*x*_{1}*y*_{2}-*x*_{2}*y*_{1}.

In terms of the scalar triple product notation for vectors, the equation of this line may be written as:

*P*⋅*P*_{1}×*P*_{2}= 0,

where *P* = (*x*, *y*, *z*) is a generic point.

Main article: Collinear |

Points that are incident with the same line are said to be *collinear*. The set of all points incident with the same line is called a range.

If *P*_{1} = (*x*_{1}, *y*_{1}, *z*_{1}), *P*_{2} = (*x*_{2}, *y*_{2}, *z*_{2}), and *P*_{3} = (*x*_{3}, *y*_{3}, *z*_{3}), then these points are collinear if and only if

i.e., if and only if the determinant of the homogeneous coordinates of the points is equal to zero.

Main article: Line-line intersection |

Let *l*_{1} = [*a*_{1}, *b*_{1}, *c*_{1}] and *l*_{2} = [*a*_{2}, *b*_{2}, *c*_{2}] be a pair of distinct lines. Then the intersection of lines *l*_{1} and *l*_{2} is point a *P* = (*x*_{0}, *y*_{0}, *z*_{0}) that is the simultaneous solution (up to a scalar factor) of the system of linear equations:

*a*_{1}*x*+*b*_{1}*y*+*c*_{1}*z*= 0 and*a*_{2}*x*+*b*_{2}*y*+*c*_{2}*z*= 0.

The solution of this system gives:

*x*_{0}=*b*_{1}*c*_{2}-*b*_{2}*c*_{1},*y*_{0}=*a*_{2}*c*_{1}-*a*_{1}*c*_{2}, and*z*_{0}=*a*_{1}*b*_{2}-*a*_{2}*b*_{1}.

Alternatively, consider another line *l* = [*a*, *b*, *c*] passing through the point *P*, that is, the homogeneous coordinates of *P* satisfy the equation:

*ax*+*by*+*cz*= 0.

Combining this equation with the two that define *P*, we can seek a non-trivial solution of the matrix equation:

Such a solution exists provided the determinant,

The coefficients of *a*, *b* and *c* in this equation give the homogeneous coordinates of *P*.

The equation of the generic line passing through the point *P* in scalar triple product notation is:

*l*⋅*l*_{1}×*l*_{2}= 0.

Lines that meet at the same point are said to be *concurrent*. The set of all lines in a plane incident with the same point is called a *pencil of lines* centered at that point. The computation of the intersection of two lines shows that the entire pencil of lines centered at a point is determined by any two of the lines that intersect at that point. It immediately follows that the algebraic condition for three lines, [*a*_{1}, *b*_{1}, *c*_{1}], [*a*_{2}, *b*_{2}, *c*_{2}], [*a*_{3}, *b*_{3}, *c*_{3}] to be concurrent is that the determinant,