In
geometric graph theory, a penny graph is a
contact graph of
unit circles. It is formed from a collection of unit circles that do not cross each other, by creating a vertex for each circle and an edge for every pair of
tangent circles.[1] The circles can be represented physically by
pennies, arranged without overlapping on a flat surface, with a vertex for each penny and an edge for each two pennies that touch.
Penny graphs have also been called unit coin graphs,[2] because they are the
coin graphs formed from unit circles.[1] If each vertex is represented by a point at the center of its circle, then two vertices will be adjacent if and only if their distance is the minimum distance among all pairs of vertices. Therefore, penny graphs have also been called minimum-distance graphs,[3]smallest-distance graphs,[4] or closest-pairs graphs.[5] Similarly, in a mutual nearest neighbor graph that links pairs of points in the plane that are each other's
nearest neighbors, each
connected component is a penny graph, although edges in different components may have different lengths.[6]
Every penny graph is a
unit disk graph and a
matchstick graph.
Like
planar graphs more generally, they obey the
four color theorem, but this theorem is easier to prove for penny graphs.
Testing whether a graph is a penny graph, or finding its
maximum independent set, is
NP-hard; however, both upper and lower bounds are known for the size of the maximum independent set, higher than the bounds that are possible for arbitrary planar graphs.
Properties
Number of edges
Every vertex in a penny graph has at most six neighboring vertices; here the number six is the
kissing number for circles in the plane.
However, the pennies on the boundary of the
convex hull have fewer neighbors. Counting more precisely this reduction in neighbors for boundary pennies leads to a precise bound on the number of edges in any penny graph: a penny graph with n vertices has at most
edges. Some penny graphs, formed by arranging the pennies in a
triangular grid, have exactly this number of edges.[7][8][9]
Unsolved problem in mathematics:
What is the maximum number of edges in a triangle-free penny graph?
By arranging the pennies in a
square grid, or in the form of certain
squaregraphs, one can form
triangle-free penny graphs whose number of edges is at least
and in any triangle-free penny graph the number of edges is at most[10]
Swanepoel conjectured that the bound is tight.[11] Proving this, or finding a better bound, remains open.
Coloring
Every penny graph contains a vertex with at most three neighbors. For instance, such a vertex can be found at one of the corners of the
convex hull of the circle centers. Therefore, penny graphs have
degeneracy at most three. Based on this, one can prove that their
graph colorings require at most four colors, much more easily than the proof of the more general
four-color theorem.[12] However, despite their restricted structure, there exist penny graphs that do still require four colors.[13]
Analogously, the degeneracy of every triangle-free penny graph is at most two. Every such graph contains a vertex with at most two neighbors, even though it is not always possible to find this vertex on the convex hull. Based on this, one can prove that they require at most three colors, more easily than the proof of the more general
Grötzsch's theorem that triangle-free planar graphs are 3-colorable.[10]
Independent sets
A
maximum independent set in a penny graph is a subset of the pennies, no two of which touch each other. Finding maximum independent sets is
NP-hard for arbitrary graphs, and remains
NP-hard on penny graphs.[2] It is an instance of the
maximum disjoint set problem, in which one must find large subsets of non-overlapping regions of the plane. However, as with planar graphs more generally,
Baker's technique provides a
polynomial-time approximation scheme for this problem.[14]
Unsolved problem in mathematics:
What is the largest such that every -vertex penny graph has an independent set of size ?
In 1983,
Paul Erdős asked for the largest number c such that every n-vertex penny graph has an independent set of at least cn vertices.[15] That is, if we place n pennies on a flat surface, there should be a subset of cn of the pennies that do not touch each other. By the four-color theorem, c ≥ 1/4, and the improved bound c ≥ 8/31 ≈ 0.258 was proven by Swanepoel.[16] In the other direction, Pach and Tóth proved that c ≤ 5/16 = 0.3125.[15] As of 2013, these remained the best bounds known for this problem.[4][17]
Computational complexity
Constructing a penny graph from the locations of its n circles can be performed as an instance of the
closest pair of points problem, taking worst-case time O(n log n)[5] or (with randomized time and with the use of the
floor function) expected time O(n).[18] An alternative method with the same worst-case time is to construct the
Delaunay triangulation or
nearest neighbor graph of the circle centers (both of which contain the penny graph as a subgraph)[5] and then test which edges correspond to circle tangencies.
However, if a graph is given without geometric positions for its vertices, then testing whether it can be represented as a penny graph is
NP-hard.[6] It remains NP-hard even when the given graph is a
tree.[19] Similarly, testing whether a graph can be represented as a three-dimensional mutual nearest neighbor graph is also NP-hard.[20]
It is possible to perform some computational tasks on directed penny graphs, such as testing whether one vertex can reach another, in polynomial time and substantially less than linear space, given an input representing its circles in a form allowing basic computational tasks such as testing adjacency and finding intersections of the circles with axis-parallel lines.[21]
Related graph families
Penny graphs are a special case of the
coin graphs (graphs that can be represented by tangencies of non-crossing circles of arbitrary radii).[1] Because the coin graphs are the same as the
planar graphs,[22] all penny graphs are planar. The penny graphs are also
unit disk graphs (the
intersection graphs of unit circles),[2]unit distance graphs (graphs that can be drawn with all edges having equal lengths, allowing crossings),[23] and
matchstick graphs (graphs that can be drawn in the plane with equal-length straight edges and no edge crossings).[24]
^Kupitz, Y. S. (1994), "On the maximal number of appearances of the minimal distance among n points in the plane", Intuitive Geometry (Szeged, 1991), Colloq. Math. Soc. János Bolyai, vol. 63, North-Holland, pp. 217–244,
MR1383628
^Khuller, Samir; Matias, Yossi (1995), "A simple randomized sieve algorithm for the closest-pair problem", Information and Computation, 118 (1): 34–37,
doi:10.1006/inco.1995.1049,
MR1329236
^Kitching, Matthew;
Whitesides, Sue (2004), "The Three Dimensional Logic Engine", in
Pach, János (ed.), Graph Drawing, 12th International Symposium, GD 2004, New York, NY, USA, September 29 - October 2, 2004, Revised Selected Papers, Lecture Notes in Computer Science, vol. 3383, Springer, pp. 329–339,
doi:10.1007/978-3-540-31843-9_33