Kirchhoff node law Created 2026-10-06 Updated 2026-10-14
The Kirchhoff node law says the sum of outward currents at a graph vertex is zero unless that graph vertex is a source or sink. In an electrical network, it is flow conservation; a unit flow has divergences and at its terminals.
Mean spanning-tree path current 2026-10-06
In a finite unweighted connected graph, take distinct graph vertices and orient the unique graph path from to in a uniform spanning tree and assign signed unit current to its edges. Its mean over trees is the electrical unit flow from to . The Kirchhoff node law follows by averaging graph path divergences. For the graph cycle law, let be the two-component spanning forests separating the terminals and the component containing . Deleting a tree-path edge and conversely adjoining an edge across a forest cut are inverse operations. Hence the mean signed current on an edge isThis is the gradient of , proving the graph cycle law. In particular . For an oriented existing edge , that edge is used by the tree graph path exactly when it belongs to the tree, and then has positive orientation. Thus its mean current is , giving the edge-inclusion formula for a uniform spanning tree by Ohm's law.
Past exam of the mathematics course of the University of Cambridge 2003 iii Paper 30 1 a Solution Created 2026-10-03 Updated 2026-10-14
Orient each edge both ways. A unit flow from to is antisymmetric, , with divergence of a flow equal to at , at and zero elsewhere. Its energy iswhere each unoriented edge is counted once. Put . The electrical unit current is , where the potential solves the Kirchhoff node law with those source and sink divergences. Because is a connected graph, this potential is unique up to an additive constant. The effective resistance is the electric potential difference needed for unit current,Discrete summation by parts gives .
The Thomson principle says that this current minimizes energy among all unit flows. Indeed write any other unit flow as , where . ThenConsequentlyThis also proves uniqueness of the minimizing current.
If for every edge, then for every admissible flow. The admissible set is unchanged, so taking its minimum proves the Rayleigh monotonicity principle:Deletion is the limiting operation : finite-energy flows must then carry zero current on that edge. If the terminals become disconnected, the effective resistance is infinite.
Past exam of the mathematics course of the University of Cambridge 2006 iii Paper 37 1 a Solution Created 2026-10-03 Updated 2026-10-14
Orient the unique path from to in a uniform spanning tree , and put when it uses the edge from to , when it uses the reverse direction, and zero otherwise. Then the proposed current is ; set it to zero on nonedges. It is antisymmetric.
For each tree path, every intermediate graph vertex has one incoming and one outgoing path edge, while the source has one outgoing edge and the sink one incoming edge. HenceTaking expectations givesthe Kirchhoff node law for a unit flow.
To establish the Kirchhoff cycle law, it is not enough to check it separately for each tree path: those path currents need not satisfy the voltage law on the original graph. Instead, let be all spanning trees and let be all spanning forests with two components, one containing and the other . For denote the source component by .
For an existing edge , deleting it from a tree whose - path uses produces precisely a forest with and . Conversely, adding to any such forest produces exactly that tree and path orientation. This is a bijection. Applying it to both orientations givesDefine . Then on every edge. Since the resistances are one, this is Ohm's law, and the voltage drops telescope around every oriented cycle:Together with the node law, this proves that the mean tree-path current is the electrical unit current. This argument is the mean spanning-tree path current identity.
For clarity, these laws determine the current uniquely. The difference of two solutions is a potential gradient with zero divergence. Multiplying its divergence by and summing over graph vertices gives . Thus every difference current is zero.
Past exam of the mathematics course of the University of Cambridge 2006 iii Paper 37 1 b Solution Created 2026-10-03 Updated 2026-10-14
Let be an edge of . Apply the preceding result with source and sink . A tree contains exactly when its unique path from to is the single edge , in the positive direction. Consequently the unit electrical current on is . By Ohm's law and the definition of effective resistance,since this edge has unit resistance. This is the unit-conductance case of the edge-inclusion formula for a uniform spanning tree.
The general principle needed is Rayleigh monotonicity principle: adding edges, or decreasing their resistances, cannot increase the effective resistance between fixed terminals. One precise variational formulation is the Thomson principle:with one orientation chosen for each unoriented edge. To see this, write any unit flow as , where is the electrical unit current and has zero divergence. Since is a potential difference, summation by parts gives . Thus its energy is , minimized by . The energy of equals its terminal voltage drop, hence the effective resistance.
Extend any unit flow on to by zero on all new edges. It is still a unit flow, including at new graph vertices, and its energy is unchanged. The variational minimum on is therefore no larger. Using the edge-inclusion formula in both graphs givesThe graphs are understood to be finite and connected, as required for their uniform spanning-tree laws. The comparison allows added graph vertices as well as added edges.
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 3 b Solution Created 2026-10-03 Updated 2026-10-20
Use simple random walk on the loopless undirected unweighted graph, with transition probability to each graph neighbour, and take . Set . Returns to before visiting do not end the commute. After its first visit to , stop at the subsequent first visit to , so . Count transitions with departure times , including the final step arriving at . The expected hitting times are finite: in a finite connected graph there is a uniformly positive probability to reach any fixed target within a fixed number of steps, giving a geometric tail bound.
We prove the needed killed-walk occupation voltage identity from its visit balance equation. DefineFor , counting arrivals before absorption givesHence, for the graph Laplacian , we have away from . Since the sum of all Laplacian coordinates is zero, . Thus is the electrical voltage of a unit flow from to , grounded at , and .
Construct for the opposite killed leg. It satisfies and . Therefore . The harmonic maximum principle on a finite graph makes constant: at a maximum its value equals the average over its graph neighbours, forcing all of them to share that value, and connectedness propagates it. At the constant equals .
For any oriented edge , each visit to before the target hit produces a transition to with conditional probability . The expected traversals during the first killed leg are therefore , and those during the second leg are by the Strong Markov property at . This proves directed edge occupation in a random-walk commute:In particular, both directions of every unoriented edge have this same expected value, although their counts on an individual commute need not coincide. Summing over the directed edges also recovers the commute time identity .
The distinct-terminal convention is necessary for the printed “returns” interpretation. If and is the first positive return, a graph with two graph vertices and one edge gives while . Thus either take , as intended, or explicitly define the degenerate commute as . A general nonuniform random walk is not covered by the unweighted simple-walk formula.
Past exam of the mathematics course of the University of Cambridge 2018 iii Paper 214 3 a Solution Created 2026-10-03 Updated 2026-10-05
The Thomson principle states that the effective resistance is the minimum energy of a flow among all unit flows from to :The flow is antisymmetric on oriented edges, and the sum counts each unoriented edge once. The Rayleigh monotonicity principle states that increasing edge resistances, including deleting edges by setting their resistance to infinity, cannot decrease the effective resistance. Decreasing resistances or identifying vertices cannot increase it.
Take a shortest path in a graph from to , of length , and send one unit of flow along it, with zero flow on all other edges. Its energy of a flow is because each edge resistance is one. The Thomson principle givesAlternatively, delete all edges outside that path and use the Rayleigh monotonicity principle; the remaining edges are in series, with total resistance . When , both quantities are zero.
Past exam of the mathematics course of the University of Cambridge 2018 iii Paper 214 3 c Solution Created 2026-10-03 Updated 2026-10-05
Let , and for putEach edge cutset separates from . Adjacent vertices have graph distances from differing by at most one. Hence an edge can cross at most one of these level boundaries, so the edge cutsets are pairwise edge-disjoint. Write ; then .
The Nash-Williams inequality for unit conductances giveswhere the middle inequality is the Cauchy-Schwarz inequality. One can also derive the first inequality directly: every unit flow has signed net flux one through each , so its energy of a flow on that cut is at least ; sum over the disjoint cuts and use the Thomson principle.
Combining with the commute time identity yieldsThe case is trivial. A path graph, with its endpoints, attains equality.
Past exam of the mathematics course of the University of Cambridge 2018 iii Paper 214 4 c Solution Created 2026-10-03 Updated 2026-10-05
Assume first that deleting an edge leaves two transient graph components. One component supports a finite-energy unit flow from its endpoint to infinity by the finite-energy flow criterion for transience. Extend that flow by zero across the deleted edge and throughout the other component. It remains a finite-energy unit flow on the whole tree, so the tree is a transient graph.
Conversely, root a transient tree at and take its finite-energy unit electrical flow to infinity. On a tree this flow can be chosen nonnegative in every direction away from the root: it is obtained as the limit of the currents to wired boundaries, each of which sends nonnegative current into descendant subtrees. At each nonroot vertex its incoming current equals the sum of its outgoing currents, by flow conservation.
If every vertex reached by positive current had exactly one positive-current child, the unit current would run along a single infinite ray. Every edge of that ray would carry current one, so its energy of a flow would be , a contradiction. Thus there is a vertex with two positive-current child edges, say and .
The restricted flow below , rescaled by its incoming current, is a finite-energy unit flow from to infinity; hence the component below is a transient graph. After removing , the other component contains , the edge , and the descendant subtree below . Send unit current along and then use the rescaled descendant flow below , with zero current elsewhere. Its energy of a flow is finite, so this component is a transient graph too. ThereforeUnit edge resistances are essential here: an infinite ray with sufficiently rapidly decreasing resistances can be transient without any such splitting edge.