Past exam of the mathematics course of the University of Cambridge 2016 iii Paper 104 2 Solution Created 2026-10-03 Updated 2026-10-06
A topological graph is a CW complex with only zero-dimensional and one-dimensional cells: its vertices form the zero-skeleton, and each edge is a copy of an open interval attached by its two endpoints to vertices, possibly the same vertex. It has the weak topology of a CW complex. A subgraph is a CW subcomplex, obtained by choosing vertices and edges and retaining the endpoints of every chosen edge. Loops and multiple edges are allowed.
A spanning tree is a connected spanning subgraph containing no cycle in a graph. To construct one in any connected topological graph , consider all acyclic spanning subgraphs, ordered by inclusion; the subgraph with every vertex and no edges is one. The union of a chain is still acyclic, since any cycle uses only finitely many edges and would already occur in a member of the chain. The Zorn lemma therefore gives a maximal such subgraph .
If were disconnected, a finite edge path in between vertices of two of its components would contain an edge joining different components. Adding that edge creates no cycle, contradicting maximality. Thus is a spanning tree. Fix a root vertex. Each point of has a unique finite path to the root; give every edge length one and move the point a fraction of the way along that path at time . This defines a contraction of a topological space of . On each closed edge times , the construction takes place in a finite tree and is continuous. Since the interval is a locally finite CW complex, the product with has the corresponding weak topology of a CW complex, so these restrictions establish continuity globally. ConsequentlyThis argument includes infinite graphs and does not assume local finiteness of .
If is a covering map, take as the vertices upstairs. Each component of the inverse image of an open edge is an open interval mapping homeomorphically to that edge, because an interval is simply connected. Its parametrization lifts along the closed edge to attach its endpoints to lifted vertices, by path lifting theorem. Small star neighborhoods at vertices are lifted homeomorphically by the covering map, and give exactly the neighborhoods of the resulting topological graph. Thus the cell structure has the topology of the original covering space. The total space may be disconnected, but every component is a topological graph.
The Nielsen–Schreier formula isFor a proof, realize as the fundamental group of the wedge sum of circles. Construct its connected covering graph with vertices the right cosets , and an oriented edge labeled from to for each free generator . There is exactly one incoming and one outgoing edge of each label at every vertex, which establishes the local covering map property. Reading a word from ends at its coset, so the closed paths at give exactly the words in . The induced map of fundamental groups is injective by the homotopy lifting property of a covering map, and its image is .
For index , this covering graph has vertices and edges. A spanning tree in it has edges. The permitted rank formula for a finite connected graph now givesIn particular this proves both freeness and the index formula.
Past exam of the mathematics course of the University of Cambridge 2017 iii Paper 214 3 a Solution Created 2026-10-03 Updated 2026-10-06
Fix an edge and orient it from to . For each spanning tree , let be its unique graph path from to . Assign a signed unit graph path flow to oriented edges: value in the direction used by , value on the reversed orientation, and zero otherwise. Define its meanEach has net divergence one at , minus one at and zero elsewhere, so is a unit flow. The mean spanning-tree path current also satisfies the Kirchhoff cycle law. Although its verification is permitted to be omitted, a short counting argument makes it explicit. Let be the two-component spanning forests separating and , write for the component containing , and let be the number of spanning trees. Deleting an edge used by the oriented tree graph path gives one such forest. Conversely adjoining an edge across its two components gives a unique tree with that edge on its -to- graph path. ConsequentlyThe gradient form proves the Kirchhoff cycle law directly and is Ohm's law for unit edge resistance. The Kirchhoff node law then gives , and the electrical unit flow is unique: the difference between two such voltages is a harmonic function on a graph and hence constant on the connected finite graph.
If , its single-edge route is the unique tree graph path from to , so . If , that tree graph path does not use , so . ThereforeBy Ohm's law, ; for a unit terminal current, this voltage difference is exactly the effective resistance between the terminals. We have proved the requested edge-inclusion formula for a uniform spanning tree:Now use linearity of expectation and the fact that every spanning tree has exactly edges. This gives Foster's theorem:The sums here use unoriented edges exactly once. For unit conductance this is the displayed identity; with conductances the inclusion probability and summand become .
Past exam of the mathematics course of the University of Cambridge 2017 iii Paper 214 4 a Solution Created 2026-10-03 Updated 2026-10-06
Let be the finite set of spanning trees of the connected graph. A spanning tree has all the graph vertices, is connected, and contains no graph cycle. Connectedness ensures that at least one exists, for example by repeatedly deleting an edge of a graph cycle while retaining connectedness. The uniform spanning tree is the random edge set withEvery tree has edges, so uniformity is over complete trees, not over arbitrary subsets of that size. Such subsets can be disconnected or cyclic and do not belong to . Nor are indicators of the tree edges generally independent. The matrix-tree theorem gives as any cofactor of the unweighted Graph Laplacian if a numerical normalizing constant is needed.
This definition uses the ordinary undirected unweighted graph convention. With positive conductances the analogous law for spanning trees weights proportionally to and is generally not uniform. When the graph has one graph vertex the empty edge set is the unique spanning tree, so its probability is one.
Past exam of the mathematics course of the University of Cambridge 2017 iii Paper 214 4 b Solution Created 2026-10-03 Updated 2026-10-06
For finite , choose a root and an ordering of the other graph vertices. Begin with a tree consisting only of . At each stage take the first graph vertex not already in the tree, run an independent simple random walk from it until its first hit of the existing tree, erase the loops chronologically, and add the resulting graph path. In chronological loop erasure, revisiting a graph vertex already in the current list deletes all list entries after that graph vertex; otherwise append the new graph vertex. The retained final graph path is simple, with new internal graph vertices and exactly one endpoint in the old tree. Adding it therefore preserves connectedness and creates no graph cycle. Graph vertices already included are skipped. On a finite connected graph each walk hits the existing tree almost surely; after finitely many attachments all graph vertices are present.
The Wilson algorithm theorem states that this tree is a uniform spanning tree, independently of the chosen root and order. The required hypotheses here are an undirected connected finite graph and transition probabilities proportional to conductance; unit conductances give simple random walk and the uniform law. This is the sampling result being described, not a claim that arbitrary walk transition probabilities would produce a uniform tree.
For an infinite connected locally finite recurrent graph, choose a fixed finite root and enumerate all graph vertices. A connected locally finite graph is countable, since its finite-radius balls are finite. Run the same algorithm successively. Recurrence and irreducibility imply that a walk from any graph vertex hits almost surely, hence hits the current tree. Every attached graph path is therefore finite. The countable intersection of these probability-one events has probability one, and the increasing union is an acyclic connected subgraph containing all graph vertices: each graph vertex receives a finite route to .
This gives the uniform spanning tree of a recurrent infinite graph. It is not a uniform counting measure on all infinite spanning trees. Equivalently, its joint probability distributions on finite collections of edges are the common limits of uniform spanning trees along any graph exhaustion, using the approximations defining the free uniform spanning forest and the wired uniform spanning forest. To check that equivalence, fix a finite edge set and run the chosen enumeration through a finite prefix containing all its endpoints. Once those graph vertices are in the tree, later attachments cannot add an edge with both endpoints already included, so membership of is settled permanently. Only finitely many random walks have been used; each has a finite trajectory almost surely. All their visited graph vertices and all their graph neighbours lie in a sufficiently large exhaustion set. Couple finite-volume and infinite-volume walks with the same steps there. Whether the exterior is deleted or wired to one boundary graph vertex, these initial trajectories and their loop erasures then agree. This proves convergence of the probabilities of cylinder sets determined by those edges.
The limiting law is unchanged by the root and ordering because the laws on finite graphs have this invariance. The same coupling shows that changing the exhaustion also leaves the law unchanged. ThusThe result is a single spanning tree because the graph is recurrent. On a transient graph, infinite-volume spanning-tree limits may instead be uniform spanning forests; recurrence cannot be omitted from this conclusion.
Past exam of the mathematics course of the University of Cambridge 2018 iii Paper 214 3 b Solution Created 2026-10-03 Updated 2026-10-05
Choose a spanning tree of , rooted at . A depth-first traversal of a tree gives a deterministic closed walkthat traverses each edge of once in each direction and visits every vertex. Define stopping times andThe simple random walk is at at time . All these hitting times have finite mean on the finite connected graph. By the Strong Markov property,The cover time is no larger than . Grouping the summands by the two traversals of each tree edge and applying the commute time identity givesThe effective resistances are measured in the original graph, where each tree-edge pair is adjacent. Part (a) therefore bounds every summand by one, soFor the one-vertex graph, the cover time is zero and the same bound is immediate.
Past exam of the mathematics course of the University of Cambridge 2018 iii Paper 214 4 d Solution Created 2026-10-03 Updated 2026-10-05
On a tree, every finite connected induced subgraph is itself a tree, and its only spanning tree contains all its edges. Thus the free uniform spanning forest is deterministic:Suppose for a contradiction that is a transient graph. By part (c), choose whose removal leaves two transient graph components . Let be their effective resistances to infinity measured from their respective endpoints.
In a wired finite exhaustion, the edge of resistance one is in parallel with the route from through to the wired boundary and back through to . The latter route has resistance , converging to . Consequently the limiting wired effective resistance isThe edge-inclusion formula for a uniform spanning tree, the one-edge case of the transfer-current theorem, states that an edge of conductance is present with probability . Passing to the wired limit and using givesBut under the free uniform spanning forest, is present with probability one. This contradicts . Therefore the tree is recurrent. Combined with part (b), this characterizes equality of the free and wired uniform spanning forests on locally finite unweighted trees.
Past exam of the mathematics course of the University of Cambridge 2019 iii Paper 143 1 a Solution 2026-10-03
The Nielsen–Schreier theorem says that every subgroup of a free group is free. Realize as the fundamental group of the rose , the graph with one vertex and oriented loops. A subgroup of finite index of a subgroup corresponds to a connected -sheeted covering graph . The graph has vertices and unoriented edges. Choosing a spanning tree leavesedges outside the tree, and these freely generate . Thus the Nielsen–Schreier formula is
Past exam of the mathematics course of the University of Cambridge 2019 iii Paper 214 4 a Solution 2026-10-03
A spanning tree of a finite connected graph is a connected acyclic subgraph containing every vertex. A uniform spanning tree is a random spanning tree chosen uniformly from the finite set of all spanning trees of .
Past exam of the mathematics course of the University of Cambridge 2019 ii Paper 3 17G b Solution Created 2026-09-24 Updated 2026-10-03
Suppose first that is bipartite. As one traverses any cycle in a graph, its vertices alternate between the two vertex classes. Returning to the initial class therefore requires an even number of edges, so contains no odd cycle.
Conversely, suppose that has no odd cycle. Work separately in each connected component of a graph, choose a root , and putwhere is the graph distance. If adjacent vertices were in the same class, then and parity would force . Choose a breadth-first spanning tree. The two tree paths from to and diverge at some last common vertex; their remaining segments have equal length, and adjoining the edge gives an odd cycle. This contradiction shows that every edge joins to , proving the odd-cycle characterization of bipartite graphs.
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
