For a finite connected graph, a spanning tree contains every graph vertex and is connected and acyclic. A minimum spanning tree minimizes over all such trees. A shortest-path tree rooted at is a spanning tree whose unique -to- graph path has length for every graph vertex . Here the weighted path length is the sum of its edge weights. The two optimizations generally differ, as (b) shows. Connectedness is needed for either spanning-tree object to exist.
For the grid, Kruskal's algorithm examines edges in nondecreasing order of weight and accepts an edge exactly when it joins two different components of the current forest. The weights are encountered in the orderThe horizontal and vertical acceptance rules are detailed in the two numbered subanswers. Together they produceThere are horizontal and vertical edges, totaling . Every accepted edge attaches a previously isolated graph vertex to the component already built, so the result is connected and acyclic. The correctness theorem for Kruskal's algorithm, which follows from the minimum spanning tree cut property, proves minimality. Its total cost isFor the tree has one graph vertex, no edges and cost zero. The source's numbered items specify the two edge types; the following subanswers record their contributions to the algorithm.
Kruskal spanning tree of the weighted grid, with accepted horizontal and vertical edges highlighted
. Details. Assume throughout (c) that the graph is finite and connected, as needed for the asserted spanning trees. List its edge weights as . The stated separation implies , so for every ,Thus the weights form a superincreasing sequence. If are distinct edge sets, let be the heaviest edge in their symmetric difference. Suppose . All other uncancelled edges are lighter, soTherefore different edge sets have different total costs. In particular all distinct spanning trees have different costs. Since a finite connected graph has at least one spanning tree and only finitely many choices,This domination of every collection of smaller edges will also be used in (iii).
A deck transformation of a covering is a homeomorphism with . A connected covering is a regular covering map if its deck transformation group acts transitively on each fiber; for a path-connected base, transitivity on the fiber over the chosen basepoint is equivalent.
Write and . A based loop represents an element of exactly when its lift starting at is closed. Indeed a closed lift itself projects to a representative of an image element; conversely the image of a closed path lifts to that path, and the closed-endpoint property is unchanged by based homotopy.
Suppose the covering is regular, let , and let . Lift a representative of from to an endpoint . By regularity some deck transformation sends to . Applying it to the closed lift of gives a closed lift of at , by uniqueness in the path lifting theorem. The concatenation of the lift of , that closed lift of , and the reverse lift of is therefore a closed lift of . Thus ; applying the same argument to gives equality. Hence a regular covering has a normal image subgroup.
For the explicit cover, label the bottom vertex , the top , the left , the right , and the rear/front equatorial vertices , respectively. Reading the arrows gives the complete monodromy table:
| Start | After | After |
|---|---|---|
Thus the edges form the cycle , and the edges form the cycle . In particular every vertex has one incoming and one outgoing edge of each label, as a covering of the two-circle wedge requires. All word paths below are traversed from left to right.
The two directed cycles describing the octahedral covering
. Both panels use the same six named vertices. Their union is the covering graph; following x or y gives the monodromy table. Details.Choose the spanning tree consisting of the first five edges from to . The tree paths to have labels . For every directed non-tree edge , the path from along the tree to , then along the edge, then back along the tree from , has label . Collapsing a spanning tree turns a connected graph into a wedge of circles, so these paths form a free basis of its fundamental group. There are seven non-tree edges, since . Their projected labels give the explicit generating setThe covering map induces an injection on fundamental groups, so these seven generators are also a free basis for the image subgroup. The first comes from the remaining edge ; the other six come from the outgoing edge at each vertex in the table.
Now the word lifts at around the triangleso . Starting at , however, its lift iswhich is not closed. A deck transformation sending to would take the first closed path to a closed lift of the same word at , contradicting uniqueness of lifts and the displayed nonclosed path. No such deck transformation exists. This is also the closed-lift obstruction expressed by the deck transformation group as a monodromy centralizer.
For a connected covering of a connected, locally path-connected, semilocally simply connected space, the classification of connected covering spaces says that the image subgroup is normal if and only if the covering is regular. The two-circle wedge and this connected finite graph satisfy those hypotheses. Since regularity fails, is not normal in the base group . All normality comparisons here are in that base group.
Past exam of the topology and groups course of the University of Oxford 2023 3 b ii Solution 2026-10-25
Choose a spanning tree of the finite connected graph . It contains every vertex of and has edges by part (i). Collapsing to a point is a homotopy equivalence: is a contractible subcomplex, and collapsing a contractible cofibration in a CW complex preserves homotopy type.
Every edge outside then becomes a circle attached to the common point. Hence the quotient space is a bouquet of circles withpetals. The fundamental group of a bouquet of circles is the free group with one member of a free basis of a group for each petal. Therefore the rank of the fundamental group of a finite connected graph isMore concretely, choose a vertex as base point; follow the unique path in a graph in to one end of a non-tree edge, traverse it, and return through . These based loops give the free basis of a group. Thus is the number of free group generators, equivalently the minimum size of a generating set of a group, rather than the size of every possible redundant generating set of a group. Minimality also follows by abelianization, since has abelianization .
Past exam of the topology and groups course of the University of Oxford 2023 3 b i Solution 2026-10-25
A finite tree is a nonempty connected graph with no graph cycles. We show by mathematical induction on its number of vertices that it has edges. For there are no edges, so the assertion holds.
If , take a path in a graph of maximal length among those without repeated vertices. Each endpoint is a leaf of a tree: an additional incident edge would either extend the path in a graph or create a graph cycle. Delete one such leaf of a tree and its unique incident edge. The remaining graph stays connected, since a path in a graph between remaining vertices never needs that terminal edge, and it has no graph cycles. It is therefore a tree with vertices and, by mathematical induction, edges. Restoring the deleted edge gives .
Thus its Euler characteristic is
For a finite connected graph with undirected edges and edge weights , a spanning tree is a connected, acyclic subgraph containing all vertices. It has edges. A minimum spanning tree is one minimizing the sum of its edge weights:It minimizes total weight, rather than the distance of every route from a chosen root. Equal edge weights may permit more than one minimum spanning tree; negative weights do not invalidate the definition.
Path metric Created 2026-09-24 Updated 2026-11-05
Given positive edge lengths on a graph, define the distance between two vertices bywhere ranges over finite graph paths. An absent path gives distance . On a finite connected graph, this is a metric: reversing and concatenating routes gives symmetry and the triangle inequality, while the least edge length bounds every nonempty path away from zero. It is also a metric on a connected locally finite graph, since every path leaving a fixed vertex pays at least the positive minimum of its finitely many incident edge lengths.
Positive edge lengths alone do not guarantee a metric on an arbitrary infinite graph. Join two vertices through intermediate vertices , with both edges having length . Then for every , so distinct vertices have distance zero. On each finite-distance component the general construction is a pseudometric; its zero-distance classes give a metric quotient.
Planar graph edge bound Created 2026-09-24 Updated 2026-10-14
A finite simple graph that is a connected graph and a planar graph, with vertices and edges, satisfies . Choose a plane graph: each facial boundary walk has length at least three, so . Substitute from the Euler formula for a connected planar graph.[ref]
Mathematics for Computer Science by Eric Lehman and others. Mathematics for Computer Science, §12.4, Lemma 12.4.2 and Theorem 12.4.3, printed pp. 485–486
The complete graph attains equality: . The bound also holds for a disconnected finite simple graph that is a planar graph with : place its connected components of a graph in disjoint regions and join them with new bridges in a graph, then apply the connected bound.
Planar map Created 2026-09-28 Updated 2026-11-05
A planar map is a connected graph that is a planar graph together with a fixed embedding in the sphere, considered up to orientation-preserving homeomorphism. A rooted planar map has a distinguished oriented edge, which removes most embedding symmetries.
Quasi-transitive graph 2026-10-14
A graph is quasi-transitive if some group of graph automorphisms has finitely many vertex orbits. This is also called a graph of finite type. A connected graph that is infinite and a locally finite graph then has uniformly bounded degrees. Every orbit is infinite: a finite invariant orbit would have finite neighborhoods, and finitely many orbit types would put the entire graph in one such neighborhood. This permits finite sets to be moved arbitrarily far apart by graph automorphisms.
Rank of the fundamental group of a finite connected graph Created 2026-10-25 Updated 2026-10-31
For a finite connected graph, collapse a spanning tree. Its edges disappear, and each of the remaining edges gives a circle in a bouquet of circles. The fundamental group of a bouquet of circles is free group, with one member of a free basis of a group for each circle. This gives the formula in terms of the Euler characteristic .
Robbins' theorem 2026-10-14
A finite nonempty connected graph whose edges are undirected admits a strong orientation if and only if it has no bridge in a graph. This statement holds for finite multigraphs as well as finite simple graphs; self-loops do not help connect distinct vertices. The single-vertex case is allowed, with length-zero directed paths.[ref]
On Orientations and Shortest Paths by Refael Hassin and others. Hassin and Megiddo, On Orientations and Shortest Paths (1989), printed pp. 591–592: bridge-connectedness, strong connectivity and Theorem 2.6 (Robbins)
Necessity comes from the two sides separated by deleting a bridge in a graph: its chosen arrow crosses in only one direction. For sufficiency, the cited constructive proof uses depth-first search to find a cycle in a graph, orients it cyclically, contracts it, and repeats. Undoing the contractions replaces junctions by directed cycles, retaining two-way reachability. Contraction can produce multiple edges, so these must remain distinct. This is a construction outline; the input graph is finite and bridgeless, and remaining edges within contracted pieces can receive arbitrary directions.[ref]
On Orientations and Shortest Paths by Refael Hassin and others. Hassin and Megiddo (1989), Theorem 2.6 proof, printed p. 592: cycle orientation and contraction, explicitly described as a different constructive proof from Robbins's
Spanning tree Created 2026-09-24 Updated 2026-10-14
A spanning tree of a connected graph is a subgraph that is a tree and contains every vertex of . Its edges must come from . For finite on vertices, every spanning tree has edges, the minimum possible number preserving reachability between all locations. This makes a spanning tree a compact certificate that the original graph is connected. A minimum spanning tree additionally minimizes a specified total edge weight; merely selecting a spanning tree supplies no such optimization. [ref]
Let be our seven-vertex tree with edge added. It has seven edges and a graph cycle. Removing gives the original spanning tree ; removing instead gives another spanning tree . Both retain all seven vertices and six edges, but their graph distances differ: , whereas . In , but , along , compared with . Preserving reachability permits longer journeys; breadth-first search can preserve graph distances from one chosen starting vertex.
To construct a spanning tree, repeatedly delete any edge on a graph cycle. Its endpoints remain joined through the rest of that graph cycle, so the deletion preserves connectedness. Finiteness ensures that this stops at a connected acyclic graph. Conversely, adding an omitted edge to a spanning tree creates its unique fundamental cycle; deleting any other edge on that graph cycle produces another spanning tree. The displayed exchange replaces by . [ref]
https://www.maths.tcd.ie/~dwilkins/Courses/MA2C03/MA2C03Courseware_2014to15/MA2C03_S4_Yr1415.pdf. Trinity College Dublin, section 4.16: deleting cycle edges preserves connectivity
Transfer-current theorem Created 2026-09-28 Updated 2026-11-05
In a finite connected graph with unit electrical resistance on each edge, choose distinct undirected edges and orient each once. Define the transfer current as the signed electric current through when one unit of electric current enters the tail of and leaves its head. For a uniform spanning tree ,Reversing one orientation negates its row and column, leaving the determinant unchanged. Distinctness is necessary: repeating an edge repeats a row and gives zero, although its inclusion can have positive probability.
Electrical reciprocity makes symmetric. The two-edge case therefore givesThus edge inclusions are negatively correlated.[ref]
Local Characteristics, Entropy and Limit Theorems for Spanning Trees and Domino Tilings via Transfer-Impedances by Robert Burton and Robin Pemantle. Theorem1.1 and section4, transfer-impedance determinants
The positive-weight version uses the corresponding conductance-normalized transfer current. Every extendable finite forest has positive inclusion probability, since at least one positively weighted spanning tree contains it. Transient graph Created 2026-09-24 Updated 2026-11-05
A locally finite connected graph is transient when its simple random walk visits every vertex only finitely often almost surely.
Associate a transposition to each edge of a finite connected graph. For a simple path , let . Then , using rightmost-first composition. Thus edge transpositions generate every transposition, and hence the full symmetric group.
Tree (graph theory) 2026-10-13
A tree is a nonempty connected graph containing no graph cycle. Think of seven locations joined so that everyone can reach everyone else, but no connection supplies an alternative route. For a finite simple graph with vertices, three descriptions are equivalent: being a tree; having exactly one simple graph path between every pair of distinct vertices; and being a connected graph with exactly edges. Here a simple graph path repeats no vertex. Connectedness in the last description is essential. [ref]
https://www.maths.tcd.ie/~dwilkins/Courses/MA2C03/MA2C03Courseware_2014to15/MA2C03_S4_Yr1415.pdf. Trinity College Dublin, graph theory notes, Theorems 4.24–4.26 and Corollary 4.27
For a concrete tree, label the vertices and take the edgeswhere abbreviates the unordered pair . There are seven vertices and six edges. The unique graph path from to is , using five edges. The degree sequence in label order is : its sum is , as the degree-sum formula predicts. Each of is a leaf of a graph, having vertex degree one.
A seven-vertex tree: one graph path, two connected components of a graph after deletion, and one graph cycle after insertion
. Details. Deleting edge leaves precisely two connected components of a graph, on and . Every edge of a tree is a bridge in a graph. Instead add edge to the original tree: it closes the unique existing graph path into exactly one graph cycle. Thus a tree provides economical connections with no redundancy: a single failed link separates locations. Every finite tree with at least two vertices has at least two instances of a leaf of a graph; the endpoints of a longest graph path supply them. [ref]
https://www.mathstat.dal.ca/~janssen/2113/notes/class14/. Dalhousie University, Trees: leaves and indispensable edges
The number alone proves nothing about connectedness: a cycle graph on together with an isolated vertex has seven vertices and six edges, yet is disconnected. Briefly, two different simple graph paths between the same vertices would contain a graph cycle. Repeatedly removing a leaf of a graph and its incident edge proves the tree count by mathematical induction, starting with one vertex and no edges.
Unicyclic graph 2026-10-25
A unicyclic graph is a connected graph with exactly one graph cycle. Deleting the edges of that graph cycle leaves trees, each meeting it in exactly one vertex. Otherwise a surviving graph cycle, or a graph path between two vertices of the original graph cycle, would give another graph cycle. Thus a finite unicyclic graph is a cycle graph with rooted trees attached at its vertices.
Wilson's algorithm Created 2026-09-24 Updated 2026-11-05
For a finite connected graph, Wilson's algorithm starts with a chosen root as the current tree. Choose an unvisited vertex, run a random walk until it hits the current tree, erase loops in chronological order, and attach the resulting simple path. Repeat until every vertex belongs to the tree.
Each attached path has no repeated vertices and first meets the old tree at its endpoint, so attachment preserves connectedness and cannot create a graph cycle. Finiteness and connectedness make each hitting time finite almost surely. The output is a uniform spanning tree, and its law does not depend on the order in which starting vertices were chosen.
For positive electrical conductances , use transition probabilities . The output then has probability proportional to . The proof uses cycle popping: independent stacks of prospective outgoing edges can be exposed and cyclic choices discarded in any order without changing the final rooted tree.[ref]
Generating Random Spanning Trees More Quickly than the Cover Time by David Bruce Wilson. RandomTreeWithRoot and cycle-popping correctness argument



