A graph is formed by selecting a subset of the vertices of a larger graph and then choosing a subset of the edges that connect those vertices.
In formal terms, if is a of , then and . This ensures that adjacency relationships are preserved from to .
are fundamental in graph theory for analyzing local structures, testing properties, and simplifying complex networks while retaining essential connectivity information.
Figure 1. Deleting some vertices or edges (b) from the supergraph (a) leaves a subgraph (c).
Figure 2. A subgraph and a non-subgraph from the supergraph.
A social network graph restricted to users from one city and only the friendships among them is a of the full network.
Taking a is like zooming into a city map to view only the streets and intersections within that city boundary.
Spanning Subgraph
A includes all vertices of but only a subset of the edges. It “spans” the entire vertex set of the original graph.
Formally, is a if while .
s are critical in algorithms such as minimum spanning tree, where one seeks a that connects all vertices at minimal cost.
Figure 3. Spanning subgraphs of .
Info
Notation means a cycle graph with 3 vertices. is a cycle graph with vertices.
Induced Subgraph
An is determined entirely by its chosen vertices: it contains every edge of whose endpoints both lie in the selected vertex set.
Formally, if is induced by , then . This preserves all adjacency relations within the subset.
capture complete local interactions and are useful for studying community structures or motif discovery.
Selecting the set of red vertices in a graph and including all edges between them yields an .
Figure 4. Induced subgraph.
An is like isolating all rooms in a building with windows and considering all connecting hallways between those rooms.
Subgraph Induced by a Vertex Set
Given a subset of vertices, the notation denotes the by , capturing exactly those vertices and their interconnecting edges.
In this context, and . This formalizes the idea of focusing on a specific subset of nodes.
is an essential tool for analyzing substructures of large graphs, as it provides a precise mechanism to extract and study local patterns.
Figure 5. Induced subgraph .
If represents all authors in a co-authorship graph from a particular university, then shows all collaborations among those authors.
Constructing is like selecting chapters from a book and then including every cross-reference between those chapters.
Conclusion
We have explored different ways to extract meaningful parts from a graph: the general , the variant covering all vertices, the variant preserving all internal edges of a chosen vertex set, and the formal extraction notation for a specific subset.
Each type of subgraph serves unique purposes in graph algorithms and theoretical analysis, from simplifying network structures to isolating communities.
Understanding these definitions and notations equips you with fundamental tools for dissecting and examining large, complex graphs in both theoretical and applied settings.