# Arrangement of lines

In geometry an arrangement of lines is the partition of the plane formed by a collection of lines. Bounds on the complexity of arrangements have been studied in discrete geometry, and computational geometers have found algorithms for the efficient construction of arrangements.

A simplicial line arrangement (left) and a simple line arrangement (right).

## Definition

For any set ${\displaystyle A}$  of lines in the Euclidean plane, one can define an equivalence relation on the points of the plane according to which two points ${\displaystyle p}$  and ${\displaystyle q}$  are equivalent if, for every line ${\displaystyle \ell }$  of ${\displaystyle A}$ , either ${\displaystyle p}$  and ${\displaystyle q}$  are both on ${\displaystyle \ell }$  or both belong to the same open half-plane bounded by ${\displaystyle \ell }$ . When ${\displaystyle A}$  is finite or locally finite[1] the equivalence classes of this relation are of three types:

1. the interiors of bounded or unbounded convex polygons (the cells or chambers of the arrangement), the connected components of the subset of the plane not contained in any of the lines of ${\displaystyle A}$ ,
2. open line segments and open infinite rays (the edges or panels of the arrangement), the connected components of the points of a single line that do not belong to any other lines of ${\displaystyle A}$ , and
3. single points (the vertices of the arrangement), the intersections of two or more lines of ${\displaystyle A}$ .

These three types of objects link together to form a cell complex covering the plane. Two arrangements are said to be isomorphic or combinatorially equivalent if there is a one-to-one adjacency-preserving correspondence between the objects in their associated cell complexes.[2]

## Complexity of arrangements

The study of arrangements was begun by Jakob Steiner, who proved the first bounds on the maximum number of features of different types that an arrangement may have.[3] An arrangement with ${\displaystyle n}$  lines has at most ${\displaystyle n(n-1)/2}$  vertices (a triangular number), one per pair of crossing lines. This maximum is achieved for simple arrangements, those in which each two lines has a distinct pair of crossing points. In any arrangement there will be ${\displaystyle n}$  infinite-downward rays, one per line; these rays separate ${\displaystyle n+1}$  cells of the arrangement that are unbounded in the downward direction. The remaining cells all have a unique bottommost vertex,[4] and each vertex is bottommost for a unique cell, so the number of cells in an arrangement is the number of vertices plus ${\displaystyle n+1}$ , or at most ${\displaystyle n(n+1)/2+1}$ ; see lazy caterer's sequence. The number of edges of the arrangement is at most ${\displaystyle n^{2}}$ , as may be seen either by using the Euler characteristic to calculate it from the numbers of vertices and cells, or by observing that each line is partitioned into at most ${\displaystyle n}$  edges by the other ${\displaystyle n-1}$  lines; again, this worst-case bound is achieved for simple arrangements.

The zone of a line ${\displaystyle \ell }$  in a line arrangement is the collection of cells having edges belonging to ${\displaystyle \ell }$ . The zone theorem states that the total number of edges in the cells of a single zone is linear. More precisely, the total number of edges of the cells belonging to a single side of line ${\displaystyle \ell }$  is at most ${\displaystyle 5n-1}$ ,[5] and the total number of edges of the cells belonging to both sides of ${\displaystyle \ell }$  is at most ${\displaystyle \lfloor 9.5n\rfloor -1}$ .[6] More generally, the total complexity of the cells of a line arrangement that are intersected by any convex curve is ${\displaystyle O(n\alpha (n)}$ , where ${\displaystyle \alpha }$  denotes the inverse Ackermann function, as may be shown using Davenport–Schinzel sequences.[6] Summing the complexities of all zones, one finds that the sum of squares of cell complexities in an arrangement is ${\displaystyle O(n^{2})}$ .[7]

The ${\displaystyle k}$ -level of an arrangement is the polygonal chain formed by the edges that have exactly ${\displaystyle k}$  other lines directly below them, and the ${\displaystyle \leq k}$ -level is the portion of the arrangement below the ${\displaystyle k}$ -level. Finding matching upper and lower bounds for the complexity of a ${\displaystyle k}$ -level remains a major open problem in discrete geometry; the best upper bound is ${\displaystyle O(nk^{1/3})}$ , while the best lower bound is ${\displaystyle n2^{\Omega ({\sqrt {\log k}})}}$ .[8] In contrast, the maximum complexity of the ${\displaystyle \leq k}$ -level is known to be ${\displaystyle \Theta (nk)}$ .[9] A ${\displaystyle k}$ -level is a special case of a monotone path in an arrangement; that is, a sequence of edges that intersects any vertical line in a single point. However, monotone paths may be much more complicated than ${\displaystyle k}$ -levels: there exist arrangements and monotone paths in these arrangements where the number of points at which the path changes direction is ${\displaystyle n^{2-o(1)}}$ .[10]

Although a single cell in an arrangement may be bounded by all ${\displaystyle n}$  lines, it is not possible in general for ${\displaystyle m}$  different cells to all be bounded by ${\displaystyle n}$  lines. Rather, the total complexity of ${\displaystyle m}$  cells is at most ${\displaystyle \Theta (m^{2/3}n^{2/3}+n)}$ ,[11] almost the same bound as occurs in the Szemerédi–Trotter theorem on point-line incidences in the plane. A simple proof of this follows from the crossing number inequality:[12] if ${\displaystyle m}$  cells have a total of ${\displaystyle x+n}$  edges, one can form a graph with ${\displaystyle m}$  nodes (one per cell) and ${\displaystyle x}$  edges (one per pair of consecutive cells on the same line). The edges of this graph can be drawn as curves that do not cross within the cells corresponding to their endpoints, and then follow the lines of the arrangement; therefore, there are ${\displaystyle O(n^{2})}$  crossings in this drawing. However, by the crossing number inequality, there are ${\displaystyle \Omega (x^{3}/m^{2})}$  crossings; in order to satisfy both bounds, ${\displaystyle x}$  must be ${\displaystyle O(m^{2/3}n^{2/3})}$ .[13]

## Projective arrangements and projective duality

It is often convenient to study line arrangements not in the Euclidean plane but in the projective plane, due to the fact that in projective geometry every pair of lines has a crossing point. In the projective plane, we may no longer define arrangements using sides of lines (a line in the projective plane does not separate the plane into two distinct sides), but we may still define the cells of an arrangement to be the connected components of the points not belonging to any line, the edges to be the connected components of sets of points belonging to a single line, and the vertices to be points where two or more lines cross. A line arrangement in the projective plane differs from its Euclidean counterpart in that the two Euclidean rays at either end of a line are replaced by a single edge in the projective plane that connects the leftmost and rightmost vertices on that line, and in that pairs of unbounded Euclidean cells are replaced in the projective plane by single cells that are crossed by the projective line at infinity.

Due to projective duality, many statements about the combinatorial properties of points in the plane may be more easily understood in an equivalent dual form about arrangements of lines. For instance, the Sylvester–Gallai theorem, stating that any non-collinear set of points in the plane has an ordinary line containing exactly two points, transforms under projective duality to the statement that any arrangement of lines with more than one vertex has an ordinary point, a vertex where only two lines cross. The earliest known proof of the Sylvester–Gallai theorem, by Melchior (1940), uses the Euler characteristic to show that such a vertex must always exist.

## Triangles in arrangements

Kobon triangles in an arrangement of 17 lines

An arrangement of lines in the projective plane is said to be simplicial if every cell of the arrangement is bounded by exactly three edges; simplicial arrangements were first studied by Melchior.[14] Three infinite families of simplicial line arrangements are known:

1. A near-pencil consisting of ${\displaystyle n-1}$  lines through a single point, together with a single additional line that does not go through the same point,
2. The family of lines formed by the sides of a regular polygon together with its axes of symmetry, and
3. The sides and axes of symmetry of an even regular polygon, together with the line at infinity.

Additionally there are many other examples of sporadic simplicial arrangements that do not fit into any known infinite family.[15] As Grünbaum[16] writes, simplicial arrangements “appear as examples or counterexamples in many contexts of combinatorial geometry and its applications.” For instance, Artés, Grünbaum & Llibre (1998) use simplicial arrangements to construct counterexamples to a conjecture on the relation between the degree of a set of differential equations and the number of invariant lines the equations may have. The two known counterexamples to the Dirac–Motzkin conjecture (which states that any ${\displaystyle n}$ -line arrangement has at least ${\displaystyle n/2}$  ordinary points) are both simplicial.[17]

The dual graph of a line arrangement, in which there is one node per cell and one edge linking any pair of cells that share an edge of the arrangement, is a partial cube, a graph in which the nodes can be labeled by bitvectors in such a way that the graph distance equals the Hamming distance between labels; in the case of a line arrangement, each coordinate of the labeling assigns 0 to nodes on one side of one of the lines and 1 to nodes on the other side.[18] Dual graphs of simplicial arrangements have been used to construct infinite families of 3-regular partial cubes, isomorphic to the graphs of simple zonohedra.[19]

It is also of interest to study the extremal numbers of triangular cells in arrangements that may not necessarily be simplicial. In any arrangement, there must be at least ${\displaystyle n}$  triangles; every arrangement that has only ${\displaystyle n}$  triangles must be simple.[20] The maximum possible number of triangles in a simple arrangement is known to be upper bounded by ${\displaystyle n(n-1)/3}$  and lower bounded by ${\displaystyle n(n-3)/3}$ ; the lower bound is achieved by certain subsets of the diagonals of a regular ${\displaystyle 2n}$ -gon.[21] For non-simple arrangements the maximum number of triangles is similar but more tightly bounded.[22] The closely related Kobon triangle problem asks for the maximum number of non-overlapping finite triangles (not necessarily faces) in an arrangement in the Euclidean plane; for some but not all values of ${\displaystyle n}$ , ${\displaystyle n(n-2)/3}$  triangles are possible.

## Multigrids and Penrose tilings

The dual graph of a simple line arrangement may be represented geometrically as a collection of rhombi, one per vertex of the arrangement, with sides perpendicular to the lines that meet at that vertex. These rhombi may be joined together to form a tiling of a convex polygon in the case of an arrangement of finitely many lines, or of the entire plane in the case of a locally finite arrangement with infinitely many lines. de Bruijn (1981) investigated special cases of this construction in which the line arrangement consists of ${\displaystyle k}$  sets of equally spaced parallel lines. For two perpendicular families of parallel lines this construction just gives the familiar square tiling of the plane, and for three families of lines at 120-degree angles from each other (themselves forming a trihexagonal tiling) this produces the rhombille tiling. However, for more families of lines this construction produces aperiodic tilings. In particular, for five families of lines at equal angles to each other (or, as de Bruijn calls this arrangement, a pentagrid) it produces a family of tilings that include the rhombic version of the Penrose tilings.

The tetrakis square tiling is an infinite arrangement of lines forming a periodic tiling that resembles a multigrid with four parallel families, but in which two of the families are more widely spaced than the other two, and in which the arrangement is simplicial rather than simple. Its dual is the truncated square tiling. Similarly, the triangular tiling is an infinite simplicial line arrangement with three parallel families, which has as its dual the hexagonal tiling, and the bisected hexagonal tiling is an infinite simplicial line arrangement with six parallel families and two line spacings, dual to the great rhombitrihexagonal tiling.

## Algorithms

Constructing an arrangement means, given as input a list of the lines in the arrangement, computing a representation of the vertices, edges, and cells of the arrangement together with the adjacencies between these objects, for instance as a doubly connected edge list. Due to the zone theorem, arrangements can be constructed efficiently by an incremental algorithm that adds one line at a time to the arrangement of the previously added lines: each new line can be added in time proportional to its zone, resulting in a total construction time of ${\displaystyle O(n^{2})}$ .[5] However, the memory requirements of this algorithm are high, so it may be more convenient to report all features of an arrangement by an algorithm that does not keep the entire arrangement in memory at once. This may again be done efficiently, in time ${\displaystyle O(n^{2})}$  and space ${\displaystyle O(n)}$ , by an algorithmic technique known as topological sweeping.[23] Computing a line arrangement exactly requires a numerical precision several times greater than that of the input coordinates: if a line is specified by two points on it, the coordinates of the arrangement vertices may need four times as much precision as these input points. Therefore, computational geometers have also studied algorithms for constructing arrangements efficiently with limited numerical precision.[24]

As well, researchers have studied efficient algorithms for constructing smaller portions of an arrangement, such as zones,[25] ${\displaystyle k}$ -levels,[26] or the set of cells containing a given set of points.[27] The problem of finding the arrangement vertex with the median ${\displaystyle x}$ -coordinate arises (in a dual form) in robust statistics as the problem of computing the Theil–Sen estimator of a set of points.[28]

Marc van Kreveld suggested the algorithmic problem of computing shortest paths between vertices in a line arrangement, where the paths are restricted to follow the edges of the arrangement, more quickly than the quadratic time that it would take to apply a shortest path algorithm to the whole arrangement graph.[29] An approximation algorithm is known,[30] and the problem may be solved efficiently for lines that fall into a small number of parallel families (as is typical for urban street grids),[31] but the general problem remains open.

## Non-Euclidean line arrangements

A non-stretchable pseudoline arrangement of nine pseudolines. (All arrangements of fewer than nine pseudolines are stretchable.) Per Pappus's hexagon theorem, this arrangement cannot be realized in a projective plane over any field.
A hyperbolic line arrangement combinatorially equivalent to a chord diagram used by Ageev (1996) to show that triangle-free circle graphs may sometimes need 5 colors.

A pseudoline arrangement is a family of curves that share similar topological properties with a line arrangement.[32] These can be defined most simply in the projective plane as simple closed curves any two of which meet in a single crossing point.[33] A pseudoline arrangement is said to be stretchable if it is combinatorially equivalent to a line arrangement; it is complete for the existential theory of the reals to distinguish stretchable arrangements from non-stretchable ones.[34] Every arrangement of finitely many pseudolines can be extended so that they become lines in a "spread", a type of non-Euclidean incidence geometry in which every two points of a topological plane are connected by a unique line (as in the Euclidean plane) but in which other axioms of Euclidean geometry may not apply.

Another type of non-Euclidean geometry is the hyperbolic plane, and arrangements of hyperbolic lines in this geometry have also been studied. Any finite set of lines in the Euclidean plane has a combinatorially equivalent arrangement in the hyperbolic plane (e.g. by enclosing the vertices of the arrangement by a large circle and interpreting the interior of the circle as a Klein model of the hyperbolic plane). However, in hyperbolic line arrangements lines may avoid crossing each other without being parallel; the intersection graph of the lines in a hyperbolic arrangement is a circle graph. The corresponding concept to hyperbolic line arrangements for pseudolines is a weak pseudoline arrangement,[35] a family of curves having the same topological properties as lines[36] such that any two curves in the family either meet in a single crossing point or have no intersection.

• Configuration (geometry), an arrangement of lines and a set of points with all lines containing the same number of points and all points belonging to the same number of lines
• Arrangement (space partition), a partition of the plane given by overlaid curves or of a higher dimensional space by overlaid surfaces, without requiring the curves or surfaces to be flat
• K-set (geometry), related by projective duality to ${\displaystyle k}$ -levels in line arrangements.
• Mathematical Bridge, a bridge in Cambridge, England whose beams form an arrangement of tangent lines to its arch

## Notes

1. ^ For an arrangement to be locally finite, every bounded subset of the plane may be crossed by only finitely many lines.
2. ^ Grünbaum (1972), page 4.
3. ^
4. ^ For cells in which there is a horizontal bottom edge, choose the bottommost vertex to be the right endpoint of the bottom edge.
5. ^ a b
6. ^ a b
7. ^
8. ^ Dey (1998); Tóth (2001). The problem of bounding the complexity of k-levels was first studied by Lovász (1971) and Erdős et al. (1973).
9. ^
11. ^
12. ^
13. ^
14. ^
15. ^
16. ^ Grünbaum (2009)
17. ^
18. ^
19. ^
20. ^
21. ^
22. ^
23. ^
24. ^
25. ^
26. ^
27. ^
28. ^
29. ^
30. ^
31. ^
32. ^
33. ^ This definition is from Grünbaum (1972). For a comparison of alternative definitions of pseudolines, see Eppstein, Falmagne & Ovchinnikov (2007).
34. ^
35. ^
36. ^ Here an alternative definition from Shor (1991), that a pseudoline is the image of a line under a homeomorphism of the plane, is appropriate.