← back to geometry

Projective Geometry

Wikipedia · wpProjective geometry · CC BY-SA 4.0

Add a point at infinity for every direction. Now parallel lines meet. The payoff: no special cases. Points and lines become interchangeable (duality), and perspective projection becomes a linear map.

Homogeneous coordinates

Represent a point (x, y) as a triple (X, Y, W) where x = X/W and y = Y/W. The triple (2, 4, 2) and (1, 2, 1) are the same point. When W = 0, you get a point at infinity in the direction (X, Y). This trick makes all of projective geometry work.

Scheme

Lines, intersection, and the cross product trick

In homogeneous coordinates, a line is also a triple (a, b, c) where ax + by + c = 0. The line through two points is their cross product. The intersection of two lines is also their cross product. Parallel lines intersect at a point at infinity.

Scheme

Duality

In projective geometry, every theorem about points and lines has a dual theorem where you swap "point" and "line." Two points determine a line; dually, two lines determine a point. This is because points and lines are both represented as triples, and the incidence relation (a point lies on a line) is symmetric: p . l = 0 iff l . p = 0.

vanishing point Parallel lines meet at the vanishing point (point at infinity).

Cross-ratio

The cross-ratio of four collinear points A, B, C, D is (AC * BD) / (BC * AD). It is the fundamental invariant of projective geometry: preserved under all projective transformations. Distances and angles change, but cross-ratios don't.

Scheme
Neighbors

Foundations (Wikipedia)