Search Knowledge

© 2026 LIBREUNI PROJECT

Mathematics / Geometry & Topology

Projective Geometry

Projective Geometry: Invariance and Duality

Projective geometry is a branch of mathematics that investigates properties of geometric figures that remain unchanged under central projection (perspective). Historically arising from the study of perspective in Renaissance art, it has evolved into a fundamental framework for algebraic geometry, computer vision, and theoretical physics. Unlike Euclidean geometry, projective geometry does not possess a notion of distance, angle, or parallelism, making it more fundamental in many topological and algebraic contexts.

1. The Projective Plane

The real projective plane is the completion of the Euclidean plane by the addition of a “line at infinity.” Formally, it is the set of all lines passing through the origin in .

Homogeneous Coordinates

A point in is represented by a triple , where at least one coordinate is non-zero. The notation denotes an equivalence class under the relation:

For points where , we can map them back to the Euclidean plane: Conversely, an affine point is mapped to .

The Point at Infinity

When , the point represents a “direction” in the affine plane. This is interpreted as the point where all parallel lines with the same slope meet. The collection of all such points forms the line at infinity.

2. Axiomatic Foundations and Duality

Projective geometry can be defined purely through incidence axioms. One of the most striking results is the Principle of Duality.

Incidence Axioms

  1. Any two distinct points lie on exactly one line.
  2. Any two distinct lines intersect at exactly one point.
  3. There exist four points, no three of which are collinear.

The second axiom is what distinguishes projective geometry from Euclidean geometry, where parallel lines never meet. In , “parallel” lines meet at a point on the line at infinity.

Duality

The axioms of the projective plane are symmetric with respect to “point” and “line.” Consequently, for any theorem proven in projective geometry, a dual theorem exists, obtained by swapping the words “point” and “line” and reversing incidence relations.

3. Projective Transformations (Homographies)

A projective transformation, or homography, is a bijection that maps lines to lines. In homogeneous coordinates, a homography is represented by a non-singular matrix acting on the coordinate vectors: Since coordinates are homogeneous, and represent the same transformation. These transformations form the Projective Linear Group .

4. The Cross-Ratio: The Fundamental Invariant

While distance and ratio of segments are not invariant under projection, the cross-ratio of four collinear points is.

Let be four distinct collinear points. If we assign them coordinates on the line (possibly including ), the cross-ratio is defined as:

Significance

  • If , then any homography will preserve this value.
  • The cross-ratio allows for a coordinatization of the projective line .
  • It is the foundation for defining “projective distance” in non-Euclidean geometries.

5. Harmonic Conjugates

A special case of the cross-ratio occurs when . In this case, the points and are said to be harmonic conjugates with respect to and .

Geometrically, if are given, can be constructed using a complete quadrilateral. This relationship is central to the projectivity of conics and the poles/polars theory.

6. Famous Theorems

Desargues’ Theorem

Two triangles are in perspective from a point if and only if they are in perspective from a line.

  • Triangles and are in perspective from point if meet at .
  • They are in perspective from line if the intersections of corresponding sides are collinear.

Pappus’s Hexagon Theorem

If three points lie on one line and lie on another, then the intersection points of the cross-pairs are collinear.

7. Conics in Projective Space

In Euclidean geometry, we distinguish between ellipses, parabolas, and hyperbolas based on their eccentricity or relationship to the line at infinity. In projective geometry, these distinctions vanish.

Projective Equivalence

A conic is the set of points satisfying a quadratic form: where is a symmetric matrix. Since all non-degenerate symmetric matrices over are congruent to the identity matrix (up to signature), every non-degenerate conic in is projectively equivalent to a circle.

In affine terms, a parabola is simply a conic tangent to the line at infinity, while a hyperbola intersects the line at infinity at two real points.

8. Computational Implementation

The following Python script calculates the cross-ratio of four points on a line or applies a homography matrix to a set of homogeneous points.

import numpy as np

def calculate_cross_ratio(a, b, c, d):
    """
    Calculates the cross-ratio (A, B; C, D).
    Uses the formula: ((c-a)*(d-b)) / ((c-b)*(d-a))
    """
    return ((c - a) * (d - b)) / ((c - b) * (d - a))

def apply_homography(H, point):
    """
    Applies a 3x3 homography matrix H to a 2D point (x, y).
    """
    # Convert to homogeneous [x, y, 1]
    p_homo = np.array([point[0], point[1], 1.0])
    
    # Transform
    res_homo = np.dot(H, p_homo)
    
    # Normalize back to affine (project)
    if res_homo[2] == 0:
        return (float('inf'), float('inf'))  # Point at infinity
    
    return (res_homo[0] / res_homo[2], res_homo[1] / res_homo[2])

# Example Usage
# Define points on a line
A, B, C, D = 0, 10, 2, 5
cr = calculate_cross_ratio(A, B, C, D)
print(f"Cross-ratio (A,B; C,D): {cr}")

# Apply a perspective shift (Homography)
# Example: rotate 45 degrees around Z then shift
theta = np.radians(45)
H = np.array([
    [np.cos(theta), -np.sin(theta), 5],
    [np.sin(theta),  np.cos(theta), 2],
    [0.1,           0,             1]  # Perspective component in last row
])

p = (1, 1)
p_transformed = apply_homography(H, p)
print(f"Point {p} transformed to {p_transformed}")
Conceptual Check

Which property is preserved under a homography?

Conceptual Check

In homogeneous coordinates [x : y : w], what characterizes the line at infinity?

Conceptual Check

Which of the following describes a harmonic range (A, B; C, D)?

Conceptual Check

Why are ellipses, parabolas, and hyperbolas equivalent in projective geometry?

Summary

Projective geometry provides the “infinite background” that completes affine geometry. By removing the concepts of distance and angle, it reveals deeper structural properties like duality and projective invariance. This framework is essential for understanding how 3D space is mapped onto 2D planes, forming the cornerstone of modern imaging and computer vision.