induced subgraph
{{Short description|Graph made from a subset of another graph's nodes and their edges}}
In graph theory, an induced subgraph of a graph is another graph, formed from a subset of the vertices of the graph and all of the edges, from the original graph, connecting pairs of vertices in that subset.
Definition
Formally, let be any graph, and let be any subset of vertices of {{mvar|G}}. Then the induced subgraph is the graph whose vertex set is and whose edge set consists of all of the edges in that have both endpoints in .{{citation|title=Graph Theory|volume=173|series=Graduate texts in mathematics|first=Reinhard|last=Diestel|publisher=Springer-Verlag|year=2006|isbn=9783540261834|pages=3–4|url=https://books.google.com/books?id=aR2TMYQr2CMC&pg=PA3}}. That is, for any two vertices , and are adjacent in if and only if they are adjacent in . The same definition works for undirected graphs, directed graphs, and even multigraphs.
The induced subgraph may also be called the subgraph induced in by , or (if context makes the choice of unambiguous) the induced subgraph of .
Examples
Important types of induced subgraphs include the following.
File:Snake in the box.svg problem concerns the longest induced paths in hypercube graphs]]
- Induced paths are induced subgraphs that are paths. The shortest path between any two vertices in an unweighted graph is always an induced path, because any additional edges between pairs of vertices that could cause it to be not induced would also cause it to be not shortest. Conversely, in distance-hereditary graphs, every induced path is a shortest path.{{citation
| last = Howorka | first = Edward
| title = A characterization of distance-hereditary graphs
| journal = The Quarterly Journal of Mathematics |series=Second Series
| volume = 28 | issue = 112 | year = 1977 | pages = 417–420
| mr = 0485544
| doi = 10.1093/qmath/28.4.417}}.
- Induced cycles are induced subgraphs that are cycles. The girth of a graph is defined by the length of its shortest cycle, which is always an induced cycle. According to the strong perfect graph theorem, induced cycles and their complements play a critical role in the characterization of perfect graphs.{{citation
| last1 = Chudnovsky | first1 = Maria | author1-link = Maria Chudnovsky
| last2 = Robertson | first2 = Neil | author2-link = Neil Robertson (mathematician)
| last3 = Seymour | first3 = Paul | author3-link = Paul Seymour (mathematician)
| last4 = Thomas | first4 = Robin | author4-link = Robin Thomas (mathematician)
| doi = 10.4007/annals.2006.164.51
| issue = 1
| journal = Annals of Mathematics
| pages = 51–229
| title = The strong perfect graph theorem
| volume = 164
| year = 2006
| mr = 2233847| arxiv = math/0212070}}.
- Cliques and independent sets are induced subgraphs that are respectively complete graphs or edgeless graphs.
- Induced matchings are induced subgraphs that are matchings.
- The neighborhood of a vertex is the induced subgraph of all vertices adjacent to it.
Computation
The induced subgraph isomorphism problem is a form of the subgraph isomorphism problem in which the goal is to test whether one graph can be found as an induced subgraph of another. Because it includes the clique problem as a special case, it is NP-complete.{{citation
| last = Johnson | first = David S.
| doi = 10.1016/0196-6774(85)90012-4
| issue = 3
| journal = Journal of Algorithms
| mr = 800733
| pages = 434–451
| title = The NP-completeness column: an ongoing guide
| volume = 6
| year = 1985}}.