Content deleted Content added
m Reverted edits by 47.220.235.153 (talk) to last version by Wcherowi |
Citation bot (talk | contribs) Altered template type. Add: url, isbn, class. | Use this bot. Report bugs. | Suggested by Headbomb | #UCB_toolbar |
||
(43 intermediate revisions by 29 users not shown) | |||
Line 1:
{{Short description|Graph representing edges of another graph}}
{{about|the mathematical concept|the statistical presentations method|line chart}}
{{distinguish|path graph}}
In the [[mathematics|mathematical]] discipline of [[graph theory]], the '''line graph''' of an [[undirected graph]]
The name ''line graph'' comes from a paper by {{harvtxt|Harary|Norman|1960}} although both {{harvtxt|Whitney|1932}} and {{harvtxt|Krausz|1943}} used the construction before this.{{sfnp|Hemminger|Beineke|1978|p=273}} Other terms used for the line graph include the '''covering graph''', the '''derivative''', the '''edge-to-vertex dual''', the '''conjugate''', the '''representative graph''', and the '''
{{harvs|authorlink=Hassler Whitney|first=Hassler|last=Whitney|year=1932|txt}} proved that with one exceptional case the structure of a [[connected graph]]
Various extensions of the concept of a line graph have been studied, including line graphs of line graphs, line graphs of multigraphs, [[Line graph of a hypergraph|line graphs of hypergraphs]], and line graphs of weighted graphs.
==Formal definition==
Given a graph
* each [[vertex (graph theory)|vertex]] of {{math|''L''(''G'')}} represents an edge of
* two vertices of {{math|''L''(''G'')}} are [[Adjacent (graph theory)|adjacent]] if and only if their corresponding edges share a common endpoint ("are incident") in
That is, it is the [[intersection graph]] of the edges of
== Example ==
Line 20 ⟶ 21:
The following figures show a graph (left, with blue vertices) and its line graph (right, with green vertices). Each vertex of the line graph is shown labeled with the pair of endpoints of the corresponding edge in the original graph. For instance, the green vertex on the right labeled 1,3 corresponds to the edge on the left between the blue vertices 1 and 3. Green vertex 1,3 is adjacent to three other green vertices: 1,4 and 1,2 (corresponding to edges sharing the endpoint 1 in the blue graph) and 4,3 (corresponding to an edge sharing the endpoint 3 in the blue graph).
<gallery widths="
File:Line graph construction 1.svg|Graph ''G''
File:Line graph construction 2.svg|Vertices in L(''G'') constructed from edges in ''G''
File:Line graph construction 3.svg|Added edges in L(''G'')
File:Line graph construction 4.svg|The line graph L(''G'')
</gallery>
Line 30 ⟶ 31:
===Translated properties of the underlying graph===
Properties of a graph
Thus,
* The line graph of a [[connected graph]] is connected. If
* A line graph has an [[articulation point]] if and only if the underlying graph has a [[bridge (graph theory)|bridge]] for which neither endpoint has degree one.<ref name="h72-71"/>
* For a graph
* An [[Independent set (graph theory)|independent set]] in {{math|''L''(''G'')}} corresponds to a [[Matching (graph theory)|matching]] in
* The [[edge chromatic number]] of a graph
* The line graph of an [[edge-transitive graph]] is [[vertex-transitive graph|vertex-transitive]]. This property can be used to generate families of graphs that (like the [[Petersen graph]]) are vertex-transitive but are not [[Cayley graph]]s: if
| last1 = Lauri | first1 = Josef
| last2 = Scapellato | first2 = Raffaele
Line 51 ⟶ 52:
| volume = 54
| year = 2003}}. Lauri and Scapellato credit this result to Mark Watkins.</ref>
* If a graph
* If two simple graphs are [[graph isomorphism|isomorphic]] then their line graphs are also isomorphic. The [[
* In the context of complex network theory, the line graph of a random network preserves many of the properties of the network such as the [[Small-world network|small-world property]] (the existence of short paths between all pairs of vertices) and the shape of its [[degree distribution]].{{sfnp|Ramezanpour|Karimipour|Mashaghi|2003}} {{harvtxt|Evans|Lambiotte|2009}} observe that any method for finding vertex clusters in a complex network can be applied to the line graph and used to cluster its edges instead.
===Whitney isomorphism theorem===
[[File:Diamond line graph.svg|thumb
If the line graphs of two [[connected graph]]s are isomorphic, then the underlying graphs are isomorphic, except in the case of the triangle graph {{math|''K''
As well as {{math|''K''
Analogues of the Whitney isomorphism theorem have been proven for the line graphs of [[multigraph]]s, but are more complicated in this case.<ref name="z97"/>
Line 65 ⟶ 66:
===Strongly regular and perfect line graphs===
[[File:Line perfect graph.svg|thumb|240px|A line perfect graph. The edges in each biconnected component are colored black if the component is bipartite, blue if the component is a tetrahedron, and red if the component is a book of triangles.]]
The line graph of the complete graph
| last1 = van Dam | first1 = Edwin R.
| last2 = Haemers | first2 = Willem H.
Line 75 ⟶ 76:
| volume = 373
| year = 2003
| s2cid = 32070167
| url = https://research.tilburguniversity.edu/en/publications/a9a1857e-13ce-4da7-bcca-b879f9f3215f
| doi-access = free
}}. See in particular Proposition 8, p. 262.</ref> They may also be characterized (again with the exception of {{math|''K''
The line graph of a [[bipartite graph]] is [[perfect graph|perfect]] (see [[Kőnig's theorem (graph theory)|Kőnig's theorem]]), but need not be bipartite as the example of the claw graph shows. The line graphs of bipartite graphs form one of the key building blocks of perfect graphs, used in the proof of the [[strong perfect graph theorem]].<ref>{{citation
Line 102 ⟶ 105:
| title = The strong perfect graph conjecture: 40 years of attempts, and its resolution
| volume = 309
| year = 2009| s2cid = 16049392
| year = 2009}}.</ref> A special case of these graphs are the [[rook's graph]]s, line graphs of [[complete bipartite graph]]s. Like the line graphs of complete graphs, they can be characterized with one exception by their numbers of vertices, numbers of edges, and number of shared neighbors for adjacent and non-adjacent points. The one exceptional case is ''L''(''K''<sub>4,4</sub>), which shares its parameters with the [[Shrikhande graph]]. When both sides of the bipartition have the same number of vertices, these graphs are again strongly regular.<ref>{{harvtxt|Harary|1972}}, Theorem 8.7, p. 79. Harary credits this characterization of line graphs of complete bipartite graphs to Moon and Hoffman. The case of equal numbers of vertices on both sides had previously been proven by Shrikhande.</ref>▼
| doi-access = free
▲
{{cite arXiv
| eprint = 2410.16138
| title = Theoretical Insights into Line Graph Transformation on Graph Learning
| last1 = Yang
| first1 = Fan
| last2 = Huang
| first2 = Xingyue
| year = 2024
| class = cs.LG
}}
</ref> The extension to disconnected graphs would require that the graph is not a disjoint union of {{math|''C''{{sub|3}}}}.
More generally, a graph
===Other related graph families===
All line graphs are [[claw-free graph]]s, graphs without an [[induced subgraph]] in the form of a three-leaf tree.<ref name="h72-8.4"/> As with claw-free graphs more generally, every connected line graph {{math|''L''(''G'')}} with an even number of edges has a [[perfect matching]];<ref>{{Citation
| last = Sumner | first = David P.
| doi = 10.2307/2039666
Line 120 ⟶ 136:
| jstor = 2039666
}}. {{Citation
| last = Las Vergnas | first = M. |
| mr = 0412042
| issue = 2–3–4
Line 128 ⟶ 144:
| volume = 17
| year = 1975
}}.</ref> equivalently, this means that if the underlying graph
The line graphs of [[tree (graph theory)|tree]]s are exactly the claw-free [[block graph]]s.<ref>{{harvtxt|Harary|1972}}, Theorem 8.5, p. 78. Harary credits the result to [[Gary Chartrand]].</ref> These graphs have been used to solve a problem in [[extremal graph theory]], of constructing a graph with a given number of edges and vertices whose largest tree [[induced subgraph|induced as a subgraph]] is as small as possible.<ref>{{citation
Line 143 ⟶ 159:
}}.</ref>
All [[eigenvalue]]s of the [[adjacency matrix]]
== Characterization and recognition ==
Line 149 ⟶ 165:
===Clique partition===
[[File:Line graph clique partition.svg|thumb|280px|Partition of a line graph into cliques]]
For an arbitrary graph
The existence of such a partition into cliques can be used to characterize the line graphs: A graph
▲A graph ''L'' is the line graph of some other graph or multigraph if and only if it is possible to find a collection of cliques in ''L'' (allowing some of the cliques to be single vertices) that partition the edges of ''L'', such that each vertex of ''L'' belongs to exactly two of the cliques.<ref name="h72-8.4">{{harvtxt|Harary|1972}}, Theorem 8.4, p. 74, gives three equivalent characterizations of line graphs: the partition of the edges into cliques, the property of being [[claw-free]] and odd [[Diamond graph|diamond]]-free, and the nine forbidden graphs of Beineke.</ref> It is the line graph of a graph (rather than a multigraph) if this set of cliques satisfies the additional condition that no two vertices of ''L'' are both in the same two cliques. Given such a family of cliques, the underlying graph ''G'' for which ''L'' is the line graph can be recovered by making one vertex in ''G'' for each clique, and an edge in ''G'' for each vertex in ''L'' with its endpoints being the two cliques containing the vertex in ''L''. By the strong version of Whitney's isomorphism theorem, if the underlying graph ''G'' has more than four vertices, there can be only one partition of this type.
For example, this characterization can be used to show that the following graph is not a line graph:
:[[File:LineGraphExampleA.svg|100px|class=skin-invert]]
In this example, the edges going upward, to the left, and to the right from the central degree-four vertex do not have any cliques in common. Therefore, any partition of the graph's edges into cliques would have to have at least one clique for each of these three edges, and these three cliques would all intersect in that central vertex, violating the requirement that each vertex appear in exactly two cliques. Thus, the graph shown is not a line graph.
===Forbidden subgraphs===
[[File:Forbidden line subgraphs.svg|thumb|300px|The nine minimal non-line graphs, from Beineke's forbidden-subgraph characterization of line graphs. A graph is a line graph if and only if it does not contain one of these nine graphs as an induced subgraph.]]
Another characterization of line graphs was proven in {{harvtxt|Beineke|1970}} (and reported earlier without proof by {{harvtxt|Beineke|1968}}). He showed that there are nine minimal graphs that are not line graphs, such that any graph that is not a line graph has one of these nine graphs as an [[induced subgraph]]. That is, a graph is a line graph if and only if no subset of its vertices induces one of these nine graphs. In the example above, the four topmost vertices induce a claw (that is, a [[complete bipartite graph]] {{math|''K''
===Algorithms===
Line 166 ⟶ 181:
The algorithms of {{harvtxt|Roussopoulos|1973}} and {{harvtxt|Lehot|1974}} are based on characterizations of line graphs involving odd triangles (triangles in the line graph with the property that there exists another vertex adjacent to an odd number of triangle vertices). However, the algorithm of {{harvtxt|Degiorgi|Simon|1995}} uses only Whitney's isomorphism theorem. It is complicated by the need to recognize deletions that cause the remaining graph to become a line graph, but when specialized to the static recognition problem only insertions need to be performed, and the algorithm performs the following steps:
*Construct the input graph
*When adding a vertex
*When adding a vertex
Each step either takes constant time, or involves finding a vertex cover of constant size within a graph
==Iterating the line graph operator==
{{harvtxt|van Rooij|Wilf|1965}} consider the sequence of graphs
:<math>G, L(G), L(L(G)), L(L(L(G))), \dots.\ </math>
They show that, when
*If
*If
*If
*In all remaining cases, the sizes of the graphs in this sequence eventually increase without bound.
If
For connected graphs that are not paths, all sufficiently high numbers of iteration of the line graph operation produce graphs that are Hamiltonian.<ref>{{harvtxt|Harary|1972}}, Theorem 8.11, p. 81. Harary credits this result to [[Gary Chartrand]].</ref>
Line 187 ⟶ 202:
=== Medial graphs and convex polyhedra ===
{{main article|Medial graph}}
When a [[planar graph]]
An alternative construction, the [[medial graph]], coincides with the line graph for planar graphs with maximum degree three, but is always planar. It has the same vertices as the line graph, but potentially fewer edges: two vertices of the medial graph are adjacent if and only if the corresponding two edges are consecutive on some face of the planar embedding. The medial graph of the [[dual graph]] of a plane graph is the same as the medial graph of the original plane graph.<ref>{{citation
| last = Archdeacon | first = Dan |
| doi = 10.1016/0012-365X(92)90328-D
| issue = 2
Line 198 ⟶ 213:
| title = The medial graph and voltage-current duality
| volume = 104
| year = 1992
}}.</ref>
For [[regular polyhedra]] or simple polyhedra, the medial graph operation can be represented geometrically by the operation of cutting off each vertex of the polyhedron by a plane through the midpoints of all its incident edges.<ref>{{citation
Line 211 ⟶ 227:
| title = Combinatorial Mathematics: Proceedings of the Third International Conference (New York, 1985)
| volume = 555
| year = 1989| issue = 1
| bibcode = 1989NYASA.555..310M | s2cid = 86300941
}}.</ref> This operation is known variously as the second truncation,<ref>{{citation|title=Polyhedra: A Visual Approach|first=Anthony|last=Pugh|publisher=University of California Press|year=1976|isbn=9780520030565}}.</ref> degenerate truncation,<ref>{{citation|title=Space Structures—their Harmony and Counterpoint|first=Arthur Lee|last=Loeb|edition=5th|publisher=Birkhäuser|year=1991|isbn=9783764335885}}.</ref> or [[rectification (geometry)|rectification]].<ref>{{mathworld|title=Rectification|id=Rectification}}</ref>
===Total graphs===
The total graph {{math|''T''(''G'')}} of a graph
===Multigraphs===
The concept of the line graph of
However, for multigraphs, there are larger numbers of pairs of non-isomorphic graphs that have the same line graphs. For instance a complete bipartite graph {{math|''K''
===Line digraphs{{anchor|Line digraph}}===
[[File:DeBruijn-as-line-digraph.svg|thumb|360px|Construction of the [[de Bruijn graph]]s as iterated line digraphs]]
It is also possible to generalize line graphs to directed graphs.{{sfnp|Harary|Norman|1960}} If
===Weighted line graphs===
In a line graph {{math|''L''(''G'')}}, each vertex of degree
===Line graphs of hypergraphs===
Line 234 ⟶ 252:
=== Disjointness graph ===
The '''disjointness graph''' of
==Notes==
Line 288 ⟶ 306:
| title = Graph-theoretic concepts in computer science (Aachen, 1995)
| volume = 1017
| year = 1995
}}.
*{{citation
| last1 = Evans | first1 = T.S.
Line 298 ⟶ 317:
| volume = 80
| issue = 1
|
| doi = 10.1103/PhysRevE.80.016105| pmid = 19658772
| bibcode = 2009PhRvE..80a6105E}}.
Line 322 ⟶ 341:
| title = Forbidden subgraphs for graphs with planar line graphs
| volume = 2
| year = 1972
}}.
*{{citation
| last1 = Harary | first1 = F. | author1-link = Frank Harary
Line 335 ⟶ 355:
| s2cid = 122473974 | hdl-access = free
}}.
*{{citation|first=F.|last=Harary|
*{{citation
| last1 = Hemminger | first1 = R. L.
Line 355 ⟶ 375:
| title = Zu einem Isomorphiesatz von H. Whitney für Graphen
| volume = 164
| year = 1966| issue = 3
| s2cid = 119898359 }}.
*{{citation
Line 375 ⟶ 396:
| year = 1974| issue = 4
| s2cid = 15036484
| doi-access = free
}}.
*{{citation
Line 386 ⟶ 408:
| title = Kernels in perfect line-graphs
| volume = 55
| year = 1992
}}.
*{{citation
| last1 = Metelsky | first1 = Yury
Line 398 ⟶ 421:
| issue = 4}}.
*{{citation
| last1 = Ramezanpour
| first1 = A. | last2 = Karimipour
| first2 = V. | last3 = Mashaghi
| first3 = A. | journal = Phys. Rev. E
| page = 046107
Line 406 ⟶ 432:
| url = http://pre.aps.org/abstract/PRE/v67/i4/e046107
| volume = 67
| year = 2003
| issue = 4 | doi = 10.1103/physreve.67.046107
| arxiv = cond-mat/0212469 | bibcode = 2003PhRvE..67d6107R | pmid = 12786436 | s2cid = 33054818 }}.
*{{citation
| last1 = van Rooij | first1 = A. C. M.
| last2 = Wilf | first2 = H. S. | author2-link = Herbert Wilf
| doi = 10.1007/BF01904834 | doi-access = free
| issue = 3–4
| journal = [[Acta Mathematica Hungarica]]
| pages = 263–269
| title = The interchange graph of a finite graph
Line 442 ⟶ 473:
| title = Line graphs of multigraphs and Hamilton-connectedness of claw-free graphs
| volume = 66
| year = 2011
}}.
*{{citation
| last = Sedláček | first = J.
Line 462 ⟶ 494:
| year = 1982}}.
*{{citation
| last = Trotter | first = L. E.
| doi = 10.1007/BF01593791
| issue = 2
Line 482 ⟶ 514:
| volume = 15
| year = 1978| s2cid = 37062237
| url = http://infoscience.epfl.ch/record/88504
}}.
*{{citation
Line 531 ⟶ 564:
*[http://graphclasses.org/classes/gc_249.html Line graphs], [http://graphclasses.org/index.html Information System on Graph Class Inclusions]
*{{mathworld | urlname = LineGraph | title = Line Graph}}
{{DEFAULTSORT:Line Graph}}
|