Jump to content

Distinguishing coloring: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
Examples: more concise phrasing
m typo
 
(17 intermediate revisions by 6 users not shown)
Line 1: Line 1:
{{Short description|Assignment of colors to graph vertices that destroys all symmetries}}
[[File:Distinguishing 4-hypercube.svg|thumb|Distinguishing coloring of a 4-[[hypercube graph]]]]
[[File:Distinguishing 4-hypercube.svg|thumb|Distinguishing coloring of a 4-[[hypercube graph]]]]
In [[graph theory]], a '''distinguishing coloring''' or '''distinguishing labeling''' of a graph is an [[graph coloring|assignment of colors]] or labels to the [[vertex (graph theory)|vertices]] of the graph that destroys all of the nontrivial [[Graph automorphism|symmetries of the graph]]. The coloring does not need to be a [[graph coloring|proper coloring]]: adjacent vertices are allowed to be given the same color. For the colored graph, there should not exist any one-to-one mapping of the vertices to themselves that preserves both adjacency and coloring. The minimum number of colors in a distinguishing coloring is called the '''distinguishing number''' of the graph.
In [[graph theory]], a '''distinguishing coloring''' or '''distinguishing labeling''' of a graph is an [[graph coloring|assignment of colors]] or labels to the [[vertex (graph theory)|vertices]] of the graph that destroys all of the nontrivial [[Graph automorphism|symmetries of the graph]]. The coloring does not need to be a [[graph coloring|proper coloring]]: adjacent vertices are allowed to be given the same color. For the colored graph, there should not exist any one-to-one mapping of the vertices to themselves that preserves both adjacency and coloring. The minimum number of colors in a distinguishing coloring is called the '''distinguishing number''' of the graph.
Line 4: Line 5:
Distinguishing colorings and distinguishing numbers were introduced by {{harvtxt|Albertson|Collins|1996}}, who provided the following motivating example, based on a puzzle previously formulated by Frank Rubin: "Suppose you have a ring of keys to different doors; each key only opens one door, but they all look indistinguishable to you. How few colors do you need, in order to color the handles of the keys in such a way that you can uniquely identify each key?"<ref>{{citation|first=Frank|last=Rubin|title=Problem 729: the blind man's keys|journal=[[Journal of Recreational Mathematics]]|volume=11|page=128|year=1979}}. Solution in vol.&nbsp;12, 1980. As cited by {{harvtxt|Albertson|Collins|1996}}. Instead of using colors, Rubin phrased the problem in terms of key handles that could be distinguished from each other by touch. More precisely, this problem assumes that each key is symmetric, so that the keys cannot be distinguished from each other by their orientations on the keyring.</ref> This example is solved by using a distinguishing coloring for a [[cycle graph]]. With such a coloring, each key will be uniquely identified by its color and the sequence of colors surrounding it.<ref name="ac">{{citation
Distinguishing colorings and distinguishing numbers were introduced by {{harvtxt|Albertson|Collins|1996}}, who provided the following motivating example, based on a puzzle previously formulated by Frank Rubin: "Suppose you have a ring of keys to different doors; each key only opens one door, but they all look indistinguishable to you. How few colors do you need, in order to color the handles of the keys in such a way that you can uniquely identify each key?"<ref>{{citation|first=Frank|last=Rubin|title=Problem 729: the blind man's keys|journal=[[Journal of Recreational Mathematics]]|volume=11|page=128|year=1979}}. Solution in vol.&nbsp;12, 1980. As cited by {{harvtxt|Albertson|Collins|1996}}. Instead of using colors, Rubin phrased the problem in terms of key handles that could be distinguished from each other by touch. More precisely, this problem assumes that each key is symmetric, so that the keys cannot be distinguished from each other by their orientations on the keyring.</ref> This example is solved by using a distinguishing coloring for a [[cycle graph]]. With such a coloring, each key will be uniquely identified by its color and the sequence of colors surrounding it.<ref name="ac">{{citation
| last1 = Albertson | first1 = Michael O.
| last1 = Albertson | first1 = Michael O.
| last2 = Collins | first2 = Karen L.
| last2 = Collins | first2 = Karen L. | author2-link = Karen L. Collins
| issue = 1
| issue = 1
| journal = [[Electronic Journal of Combinatorics]]
| journal = [[Electronic Journal of Combinatorics]]
Line 12: Line 13:
| url = http://www.combinatorics.org/Volume_3/Abstracts/v3i1r18.html
| url = http://www.combinatorics.org/Volume_3/Abstracts/v3i1r18.html
| volume = 3
| volume = 3
| year = 1996}}.</ref>
| year = 1996| doi = 10.37236/1242
| doi-access = free
}}.</ref>


==Examples==
==Examples==
Line 27: Line 30:
| title = Distinguishing Cartesian powers of graphs
| title = Distinguishing Cartesian powers of graphs
| volume = 53
| volume = 53
| year = 2006}}</ref> For instance, the [[Frucht graph]] has a distinguishing coloring with only one color.
| year = 2006| citeseerx = 10.1.1.59.9242
| s2cid = 6808067
}}</ref> For instance, the [[Frucht graph]] has a distinguishing coloring with only one color.


In a [[complete graph]], the only distinguishing colorings assign a different color to each vertex because there would exist a symmetry that swapped two vertices if two vertices were assigned the same color, leaving the rest in place. Therefore, the distinguishing number of the complete graph {{mvar|K<sub>n</sub>}} is {{mvar|n}}. However, the graph obtained from {{mvar|K<sub>n</sub>}} by attaching a degree-one vertex to each vertex of {{mvar|K<sub>n</sub>}} has a significantly smaller distinguishing number, despite having the same symmetry group: it has a distinguishing coloring with <math>\lceil\sqrt{n}\rceil</math> colors, obtained by using a different ordered pair of colors for each pair of a vertex {{mvar|K<sub>n</sub>}} and its attached neighbor.<ref name="ac"/>
In a [[complete graph]], the only distinguishing colorings assign a different color to each vertex. For, if two vertices were assigned the same color, there would exist a symmetry that swapped those two vertices, leaving the rest in place. Therefore, the distinguishing number of the complete graph {{mvar|K<sub>n</sub>}} is {{mvar|n}}. However, the graph obtained from {{mvar|K<sub>n</sub>}} by attaching a degree-one vertex to each vertex of {{mvar|K<sub>n</sub>}} has a significantly smaller distinguishing number, despite having the same symmetry group: it has a distinguishing coloring with <math>\lceil\sqrt{n}\rceil</math> colors, obtained by using a different ordered pair of colors for each pair of a vertex {{mvar|K<sub>n</sub>}} and its attached neighbor.<ref name="ac"/>


[[File:6-key distinguishing coloring.jpg|thumb|A distinguishing coloring of a ring of six keys, using two colors (red and unpainted)]]
[[File:6-key distinguishing coloring.jpg|thumb|A distinguishing coloring of a ring of six keys, using two colors (red and unpainted)]]
Line 36: Line 41:
[[Hypercube graph]]s exhibit a similar phenomenon to cycle graphs. The two- and three-dimensional hypercube graphs (the 4-cycle and the graph of a cube, respectively) have distinguishing number three. However, every hypercube graph of higher dimension has distinguishing number only two.<ref>{{citation
[[Hypercube graph]]s exhibit a similar phenomenon to cycle graphs. The two- and three-dimensional hypercube graphs (the 4-cycle and the graph of a cube, respectively) have distinguishing number three. However, every hypercube graph of higher dimension has distinguishing number only two.<ref>{{citation
| last1 = Bogstad | first1 = Bill
| last1 = Bogstad | first1 = Bill
| last2 = Cowen | first2 = Lenore J.
| last2 = Cowen | first2 = Lenore J. | author2-link = Lenore Cowen
| doi = 10.1016/j.disc.2003.11.018
| doi = 10.1016/j.disc.2003.11.018
| issue = 1-3
| issue = 1–3
| journal = [[Discrete Mathematics (journal)|Discrete Mathematics]]
| journal = [[Discrete Mathematics (journal)|Discrete Mathematics]]
| mr = 2061481
| mr = 2061481
Line 44: Line 49:
| title = The distinguishing number of the hypercube
| title = The distinguishing number of the hypercube
| volume = 283
| volume = 283
| year = 2004}}.</ref>
| year = 2004| doi-access = free
}}.</ref>


The [[Petersen graph]] has distinguishing number&nbsp;3. However other than this graph and the complete graphs, all [[Kneser graph]]s have distinguishing number&nbsp;2.<ref>{{citation
The [[Petersen graph]] has distinguishing number&nbsp;3. However other than this graph and the complete graphs, all [[Kneser graph]]s have distinguishing number&nbsp;2.<ref>{{citation
| last1 = Albertson | first1 = Michael O.
| last1 = Albertson | first1 = Michael O.
| last2 = Boutin | first2 = Debra L.
| last2 = Boutin | first2 = Debra L. | author2-link = Debra Boutin
| issue = 1
| issue = 1
| journal = Electronic Journal of Combinatorics
| journal = [[Electronic Journal of Combinatorics]]
| mr = 2285824
| mr = 2285824
| page = R20
| page = R20
Line 56: Line 62:
| url = http://www.combinatorics.org/Volume_14/Abstracts/v14i1r20.html
| url = http://www.combinatorics.org/Volume_14/Abstracts/v14i1r20.html
| volume = 14
| volume = 14
| year = 2007| doi = 10.37236/938
| year = 2007}}.</ref> Similarly, among the [[generalized Petersen graph]]s, only the Petersen graph itself and the graph of the cube have distinguishing number&nbsp;3; the rest have distinguishing number&nbsp;2.<ref>{{citation
| doi-access = free
}}.</ref> Similarly, among the [[generalized Petersen graph]]s, only the Petersen graph itself and the graph of the cube have distinguishing number&nbsp;3; the rest have distinguishing number&nbsp;2.<ref>{{citation
| last1 = Lal | first1 = A. K.
| last1 = Lal | first1 = A. K.
| last2 = Bhattacharjya | first2 = B.
| last2 = Bhattacharjya | first2 = B.
Line 78: Line 86:
| url = http://www.combinatorics.org/Volume_13/Abstracts/v13i1r11.html
| url = http://www.combinatorics.org/Volume_13/Abstracts/v13i1r11.html
| volume = 13
| volume = 13
| year = 2006}}.</ref><ref>{{citation
| year = 2006| doi = 10.37236/1037
| doi-access = free
}}.</ref><ref>{{citation
| last1 = Arvind | first1 = V.
| last1 = Arvind | first1 = V.
| last2 = Cheng | first2 = Christine T.
| last2 = Cheng | first2 = Christine T.
Line 89: Line 99:
| title = On computing the distinguishing numbers of planar graphs and beyond: a counting approach
| title = On computing the distinguishing numbers of planar graphs and beyond: a counting approach
| volume = 22
| volume = 22
| year = 2008}}.</ref><ref name="c09">{{citation
| year = 2008| arxiv = math/0703927| s2cid = 2402306
}}.</ref><ref name="c09">{{citation
| last = Cheng | first = Christine T.
| last = Cheng | first = Christine T.
| doi = 10.1016/j.disc.2009.04.004
| doi = 10.1016/j.disc.2009.04.004
Line 98: Line 109:
| title = On computing the distinguishing and distinguishing chromatic numbers of interval graphs and other results
| title = On computing the distinguishing and distinguishing chromatic numbers of interval graphs and other results
| volume = 309
| volume = 309
| year = 2009}}.</ref>
| year = 2009| doi-access = free
}}.</ref>


The exact complexity of computing distinguishing numbers is unclear, because it is closely related to the still-unknown complexity of [[graph isomorphism]]. However, it has been shown to belong to the complexity class [[Arthur–Merlin protocol|AM]].<ref>{{citation
The exact complexity of computing distinguishing numbers is unclear, because it is closely related to the still-unknown complexity of [[graph isomorphism]]. However, it has been shown to belong to the complexity class [[Arthur–Merlin protocol|AM]].<ref>{{citation
Line 109: Line 121:
| url = http://www.combinatorics.org/Volume_5/Abstracts/v5i1r23.html
| url = http://www.combinatorics.org/Volume_5/Abstracts/v5i1r23.html
| volume = 5
| volume = 5
| year = 1998| doi = 10.37236/1361
| year = 1998}}.</ref> Additionally, testing whether the distinguishing number is at most three is [[NP-hard]],<ref name="c09"/> and testing whether it is at most two is "at least as hard as graph automorphism, but no harder than graph isomorphism".<ref>{{citation
| doi-access = free
}}.</ref> Additionally, testing whether the distinguishing chromatic number is at most three is [[NP-hard]],<ref name="c09"/> and testing whether it is at most two is "at least as hard as graph automorphism, but no harder than graph isomorphism".<ref>{{citation
| last1 = Eschen | first1 = Elaine M.
| last1 = Eschen | first1 = Elaine M.
| last2 = Hoàng | first2 = Chính T.
| last2 = Hoàng | first2 = Chính T.
| last3 = Sritharan | first3 = R.
| last3 = Sritharan | first3 = R.
| last4 = Stewart | first4 = Lorna
| last4 = Stewart | first4 = Lorna | author4-link = Lorna Stewart
| doi = 10.1016/j.disc.2010.12.013
| doi = 10.1016/j.disc.2010.12.013
| issue = 6
| issue = 6
Line 121: Line 135:
| title = On the complexity of deciding whether the distinguishing chromatic number of a graph is at most two
| title = On the complexity of deciding whether the distinguishing chromatic number of a graph is at most two
| volume = 311
| volume = 311
| year = 2011}}.</ref>
| year = 2011| arxiv = 0907.0691
| s2cid = 7679211
}}.</ref>


==Additional properties==
==Additional properties==
A coloring of a given graph is distinguishing for that graph if and only if it is distinguishing for the [[complement graph]]. Therefore, every graph has the same distinguishing number as its complement.<ref name="ac"/>
A coloring of a given graph is distinguishing for that graph if and only if it is distinguishing for the [[complement graph]]. Therefore, every graph has the same distinguishing number as its complement.<ref name="ac"/>


For every graph {{mvar|G}}, the distinguishing number of {{mvar|G}} is proportional to the [[logarithm]] of the number of [[graph automorphism|automorphisms]] of {{mvar|G}}. If the automorphisms form a nontrivial [[abelian group]], the distinguishing number is two, and if it forms a [[dihedral group]] then the distinguishing number is at most three.<ref name="ac"/>
For every graph {{mvar|G}}, the distinguishing number of {{mvar|G}} is at most proportional to the [[logarithm]] of the number of [[graph automorphism|automorphisms]] of {{mvar|G}}. If the automorphisms form a nontrivial [[abelian group]], the distinguishing number is two, and if it forms a [[dihedral group]] then the distinguishing number is at most three.<ref name="ac"/>


For every [[finite group]], there exists a graph with that group as its group of automorphisms, with distinguishing number two.<ref name="ac"/> This result extends [[Frucht's theorem]] that every finite group can be realized as the group of symmetries of a graph.
For every [[finite group]], there exists a graph with that group as its group of automorphisms, with distinguishing number two.<ref name="ac"/> This result extends [[Frucht's theorem]] that every finite group can be realized as the group of symmetries of a graph.


==Variations==
==Variations==
A '''proper distinguishing coloring''' is a distinguishing coloring that is also a proper coloring: each two adjacent vertices have different colors. The minimum number of colors in a proper distinguish coloring of a graph is called the '''distinguishing chromatic number''' of the graph.<ref>{{citation
A '''proper distinguishing coloring''' is a distinguishing coloring that is also a proper coloring: each two adjacent vertices have different colors. The minimum number of colors in a proper distinguishing coloring of a graph is called the '''distinguishing chromatic number''' of the graph.<ref>{{citation
| last1 = Collins | first1 = Karen L.
| last1 = Collins | first1 = Karen L. | author1-link = Karen L. Collins
| last2 = Trenk | first2 = Ann N.
| last2 = Trenk | first2 = Ann N. | author2-link = Ann Trenk
| issue = 1
| issue = 1
| journal = [[Electronic Journal of Combinatorics]]
| journal = [[Electronic Journal of Combinatorics]]
Line 141: Line 157:
| url = http://www.combinatorics.org/Volume_13/Abstracts/v13i1r16.html
| url = http://www.combinatorics.org/Volume_13/Abstracts/v13i1r16.html
| volume = 13
| volume = 13
| year = 2006}}.</ref>
| year = 2006| doi = 10.37236/1042 | doi-access = free
}}.</ref>


==References==
==References==

Latest revision as of 14:52, 4 October 2024

Distinguishing coloring of a 4-hypercube graph

In graph theory, a distinguishing coloring or distinguishing labeling of a graph is an assignment of colors or labels to the vertices of the graph that destroys all of the nontrivial symmetries of the graph. The coloring does not need to be a proper coloring: adjacent vertices are allowed to be given the same color. For the colored graph, there should not exist any one-to-one mapping of the vertices to themselves that preserves both adjacency and coloring. The minimum number of colors in a distinguishing coloring is called the distinguishing number of the graph.

Distinguishing colorings and distinguishing numbers were introduced by Albertson & Collins (1996), who provided the following motivating example, based on a puzzle previously formulated by Frank Rubin: "Suppose you have a ring of keys to different doors; each key only opens one door, but they all look indistinguishable to you. How few colors do you need, in order to color the handles of the keys in such a way that you can uniquely identify each key?"[1] This example is solved by using a distinguishing coloring for a cycle graph. With such a coloring, each key will be uniquely identified by its color and the sequence of colors surrounding it.[2]

Examples

[edit]
Eight asymmetric graphs, each given a distinguishing coloring with only one color (red)

A graph has distinguishing number one if and only if it is asymmetric.[3] For instance, the Frucht graph has a distinguishing coloring with only one color.

In a complete graph, the only distinguishing colorings assign a different color to each vertex. For, if two vertices were assigned the same color, there would exist a symmetry that swapped those two vertices, leaving the rest in place. Therefore, the distinguishing number of the complete graph Kn is n. However, the graph obtained from Kn by attaching a degree-one vertex to each vertex of Kn has a significantly smaller distinguishing number, despite having the same symmetry group: it has a distinguishing coloring with colors, obtained by using a different ordered pair of colors for each pair of a vertex Kn and its attached neighbor.[2]

A distinguishing coloring of a ring of six keys, using two colors (red and unpainted)

For a cycle graph of three, four, or five vertices, three colors are needed to construct a distinguishing coloring. For instance, every two-coloring of a five-cycle has a reflection symmetry. In each of these cycles, assigning a unique color to each of two adjacent vertices and using the third color for all remaining vertices results in a three-color distinguishing coloring. However, cycles of six or more vertices have distinguishing colorings with only two colors. That is, Frank Rubin's keyring puzzle requires three colors for rings of three, four or five keys, but only two colors for six or more keys or for two keys.[2] For instance, in the ring of six keys shown, each key can be distinguished by its color and by the length or lengths of the adjacent blocks of oppositely-colored keys: there is only one key for each combination of key color and adjacent block lengths.

Hypercube graphs exhibit a similar phenomenon to cycle graphs. The two- and three-dimensional hypercube graphs (the 4-cycle and the graph of a cube, respectively) have distinguishing number three. However, every hypercube graph of higher dimension has distinguishing number only two.[4]

The Petersen graph has distinguishing number 3. However other than this graph and the complete graphs, all Kneser graphs have distinguishing number 2.[5] Similarly, among the generalized Petersen graphs, only the Petersen graph itself and the graph of the cube have distinguishing number 3; the rest have distinguishing number 2.[6]

Computational complexity

[edit]

The distinguishing numbers of trees, planar graphs, and interval graphs can be computed in polynomial time.[7][8][9]

The exact complexity of computing distinguishing numbers is unclear, because it is closely related to the still-unknown complexity of graph isomorphism. However, it has been shown to belong to the complexity class AM.[10] Additionally, testing whether the distinguishing chromatic number is at most three is NP-hard,[9] and testing whether it is at most two is "at least as hard as graph automorphism, but no harder than graph isomorphism".[11]

Additional properties

[edit]

A coloring of a given graph is distinguishing for that graph if and only if it is distinguishing for the complement graph. Therefore, every graph has the same distinguishing number as its complement.[2]

For every graph G, the distinguishing number of G is at most proportional to the logarithm of the number of automorphisms of G. If the automorphisms form a nontrivial abelian group, the distinguishing number is two, and if it forms a dihedral group then the distinguishing number is at most three.[2]

For every finite group, there exists a graph with that group as its group of automorphisms, with distinguishing number two.[2] This result extends Frucht's theorem that every finite group can be realized as the group of symmetries of a graph.

Variations

[edit]

A proper distinguishing coloring is a distinguishing coloring that is also a proper coloring: each two adjacent vertices have different colors. The minimum number of colors in a proper distinguishing coloring of a graph is called the distinguishing chromatic number of the graph.[12]

References

[edit]
  1. ^ Rubin, Frank (1979), "Problem 729: the blind man's keys", Journal of Recreational Mathematics, 11: 128. Solution in vol. 12, 1980. As cited by Albertson & Collins (1996). Instead of using colors, Rubin phrased the problem in terms of key handles that could be distinguished from each other by touch. More precisely, this problem assumes that each key is symmetric, so that the keys cannot be distinguished from each other by their orientations on the keyring.
  2. ^ a b c d e f Albertson, Michael O.; Collins, Karen L. (1996), "Symmetry breaking in graphs", Electronic Journal of Combinatorics, 3 (1): R18, doi:10.37236/1242, MR 1394549.
  3. ^ See, e.g., Imrich, Wilfried; Klavžar, Sandi (2006), "Distinguishing Cartesian powers of graphs", Journal of Graph Theory, 53 (3): 250–260, CiteSeerX 10.1.1.59.9242, doi:10.1002/jgt.20190, MR 2262268, S2CID 6808067, If a graph has no nontrivial automorphisms its distinguishing number is 1. In other words, D(G) = 1 for asymmetric graphs.
  4. ^ Bogstad, Bill; Cowen, Lenore J. (2004), "The distinguishing number of the hypercube", Discrete Mathematics, 283 (1–3): 29–35, doi:10.1016/j.disc.2003.11.018, MR 2061481.
  5. ^ Albertson, Michael O.; Boutin, Debra L. (2007), "Using determining sets to distinguish Kneser graphs", Electronic Journal of Combinatorics, 14 (1): R20, doi:10.37236/938, MR 2285824.
  6. ^ Lal, A. K.; Bhattacharjya, B. (2009), "Breaking the symmetries of the book graph and the generalized Petersen graph", SIAM Journal on Discrete Mathematics, 23 (3): 1200–1216, doi:10.1137/080728640, MR 2538646. Lal and Bhattacharjya (Theorem 4.3) credit this result to an unpublished masters thesis of K. S. Potanka (Virginia Polytechnic University, 1998).
  7. ^ Cheng, Christine T. (2006), "On computing the distinguishing numbers of trees and forests", Electronic Journal of Combinatorics, 13 (1): R11, doi:10.37236/1037, MR 2200539.
  8. ^ Arvind, V.; Cheng, Christine T.; Devanur, Nikhil R. (2008), "On computing the distinguishing numbers of planar graphs and beyond: a counting approach", SIAM Journal on Discrete Mathematics, 22 (4): 1297–1324, arXiv:math/0703927, doi:10.1137/07068686X, MR 2443115, S2CID 2402306.
  9. ^ a b Cheng, Christine T. (2009), "On computing the distinguishing and distinguishing chromatic numbers of interval graphs and other results", Discrete Mathematics, 309 (16): 5169–5182, doi:10.1016/j.disc.2009.04.004, MR 2548918.
  10. ^ Russell, Alexander; Sundaram, Ravi (1998), "A note on the asymptotics and computational complexity of graph distinguishability", Electronic Journal of Combinatorics, 5: R23, doi:10.37236/1361, MR 1617449.
  11. ^ Eschen, Elaine M.; Hoàng, Chính T.; Sritharan, R.; Stewart, Lorna (2011), "On the complexity of deciding whether the distinguishing chromatic number of a graph is at most two", Discrete Mathematics, 311 (6): 431–434, arXiv:0907.0691, doi:10.1016/j.disc.2010.12.013, MR 2799894, S2CID 7679211.
  12. ^ Collins, Karen L.; Trenk, Ann N. (2006), "The distinguishing chromatic number", Electronic Journal of Combinatorics, 13 (1): R16, doi:10.37236/1042, MR 2200544.