Eulerian trail 2026-10-14
An Eulerian trail, also called an Eulerian path, is a trail in a graph traversing every edge exactly once. The name Eulerian path does not require a graph path: vertices may repeat. A Hamiltonian path instead visits every vertex exactly once, and may omit edges. An Eulerian trail may omit isolated vertices, so these are different coverage requirements.
For a finite undirected multigraph with at least one edge, allowing self-loops, an Eulerian trail exists exactly when the edge support of a graph is a connected graph and there are zero or two vertices of odd vertex degree. In the two-odd-vertex case they must be the two distinct endpoints; in the zero-odd-vertex case every Eulerian trail is an Euler circuit. Count a self-loop twice in the vertex degree but once in the trail, and count each parallel edge separately.[ref]
The parity obstruction is local: each intermediate visit pairs an arriving edge with a departing edge. Only the distinct endpoints can have an unpaired incidence. The handshaking lemma, , also shows that the number of vertices with odd vertex degree is even. Sufficiency in the two-endpoint case reduces to the Euler circuit criterion: add one extra edge between the odd vertices, construct an Euler circuit, rotate its record to start with the extra edge, then delete that edge. The remaining trail has the required endpoints.
For the Seven Bridges of Königsberg multigraph, the vertex degrees at are , so no Eulerian trail exists. Remove the unique edge : the vertex degrees become , and a six-edge Eulerian trail runs from to . Label the parallel edges between and between ; label by and by . A complete record is . It revisits while using every remaining edge once.
Figure 1.
Four odd vertex degrees forbid an Eulerian trail; two allow distinct endpoints; zero allow an Euler circuit
. Details.
Facial boundary walk 2026-10-14
For a finite connected graph embedded as a plane graph, follow the edges around a face of a plane graph to obtain a closed walk. Count traversals, not distinct edges: a bridge in a graph occurs twice along one facial boundary walk. Each edge contributes two sides in total.[ref]
For the three-vertex graph path , the only facial boundary walk is , of length four. Both edges are bridges in a graph; neither is a graph cycle. Thus a facial boundary walk need not be a graph cycle.
Foster's theorem Created 2026-10-06 Updated 2026-10-14
For a finite connected unweighted loopless graph with graph vertices,
The edge-inclusion formula for a uniform spanning tree gives the left-hand side as , and every spanning tree has edges. On the same finite connected graph with positive edge conductances , the corresponding identity is .
Graph excess 2026-10-14
Here excess means edges minus vertices. For a connected graph it is one less than the number of independent cycles. Deleting a leaf and its incident edge, or suppressing a degree-two vertex, preserves excess. This convention differs by one from the cyclomatic number for connected graphs.
Graphic matroid 2026-10-14
For a graph triangle on vertices , label the edges , , and , with weights . The empty set, all singletons, and all pairs are forests; the triple contains the graph cycle . Thus its eight subsets have exactly the independence pattern checked in the weighted three-vector matroid, and the same fifteen exchange comparisons pass. The matroid greedy algorithm chooses , chooses , and rejects , producing the heaviest spanning tree, of weight .
Figure 1.
A weighted graph triangle admits greedy selection of a matroid basis; a hereditary independence system without exchange traps a greedy algorithm at weight instead of
. Details.
Exchange outline. Deleting edges cannot create a graph cycle. If forests have , some edge of joins different connected components of a graph of : otherwise, within each such component, would have at most its number of vertices minus one edges, giving . Adding that edge keeps a forest. This is the matroid independence axioms expressed through connectivity.
Graph minor Created 2026-10-05 Updated 2026-10-14
A graph minor compresses connected regions of a graph into single vertices while retaining selected connections between them. For finite simple graphs, means that some sequence of deleting vertices, deleting edges, and performing edge contractions produces up to graph isomorphism. Deleting a vertex also deletes all its incident edges; deleting an edge leaves its endpoints. The edge contraction convention here removes resulting self-loops and duplicate edges.[ref]
For an exact small example, let be the cycle graph with vertices and edges . Contract to a new vertex . The surviving edges are , giving the complete graph . Thus , although has no triangle in a graph as a subgraph. The branch sets of a graph minor are , with the original edges witnessing all three required adjacencies. The first panel of the edge contraction diagram shows this operation.
A subgraph uses existing vertices and edges; a topological minor permits a graph subdivision of the target as a subgraph, so target edges become graph paths with mutually disjoint interiors and no target vertex in an interior. An ordinary graph minor permits whole connected branch sets of a graph minor in place of target vertices. Every topological minor is a graph minor, by contracting the replacement graph paths.[ref]
The converse fails. Take the tree with edges . Contracting gives the star graph . Yet the original tree has maximum degree three, whereas every graph subdivision of retains a centre of degree of a vertex four. Hence is a graph minor but not a topological minor of this tree. The difference is that a connected branch set of a graph minor may gather connections incident to several original vertices.
The counts of vertices and edges never increase under these operations. However, the example shows that being a bipartite graph is not preserved: its graph minor contains an odd cycle. Its chromatic number also increases from two to three. A connected graph stays connected under an edge contraction, because the image of each graph path still connects its endpoints, but deletion can disconnect it. Thus one must check the particular graph property before treating it as preserved by taking graph minors.
Being a planar graph is preserved: in a crossing-free drawing, shrink a contracted edge and bring its incident edges into the merged vertex; deletion merely removes parts of the drawing. This makes a nonplanar graph minor a certificate that the original graph is nonplanar. More strongly, for a finite simple graph, being a planar graph is equivalent to having neither the complete graph nor the complete bipartite graph as a graph minor. Finding the corresponding branch sets of a graph minor settles nonplanarity even when no literal or subgraph is present. The converse is a substantial theorem, rather than a consequence of preservation alone.[ref]
A real function on a finite connected graph satisfying everywhere is constant. At a maximum graph vertex, the identity forces every graph neighbour to have the same maximum. Connectedness propagates it to every graph vertex. This proves uniqueness of voltage up to an additive constant, and identifies sums of oppositely directed occupation voltages.
For a connected graph, the Moore-Penrose inverse of its oriented incidence matrix satisfies , because this product is the orthogonal projection onto . Thus every signal decomposes into its constant mean and . Writing , a sub-Gaussian random vector noise gives a simultaneous bound on with scale .
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 is
This 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.
A Hamiltonian graph must be a connected graph and have minimum degree : each vertex has two distinct neighbours on its Hamilton cycle. It also has no cut vertex. Indeed, deleting any vertex from the Hamilton cycle leaves a graph path through every remaining vertex, so the remaining graph is connected. These are quick ways to rule out a Hamilton cycle.[ref]
Even these conditions together are not sufficient: the complete bipartite graph is connected, has minimum degree two and no cut vertex, but has no Hamilton cycle. Every graph cycle in a bipartite graph alternates between its two parts, using equally many vertices from each; it cannot use all two and all three.
In the other direction, Dirac's theorem gives a sufficient condition: a finite simple graph with and has a Hamilton cycle. Failure of this inequality proves nothing by itself: the cycle graph has a Hamilton cycle despite .[ref]
The complete graph has and , exceeding the planar graph edge bound . Therefore it is not a planar graph. The complete bipartite graph has and . The general bound allows twelve edges, but the bipartite planar graph edge bound allows only eight, proving nonplanarity.
Figure 1.
Actual plane-graph face counts compared with impossible face counts for the two complete-graph obstructions
. Details.
These are necessary bounds, not a complete planarity test. For an original counterexample, subdivide every edge of once. The resulting simple graph is a connected graph with , , and is bipartite: put all original vertices in one part and all nine new vertices in the other. Both inequalities hold, and . Nevertheless, a crossing-free graph drawing would let us trace each two-edge graph path as one curve, producing an impossible embedding of . The graph subdivision preserves this obstruction. Kuratowski's theorem supplies a stronger characterization than these counts.
Oriented incidence matrix 2026-10-06
An oriented incidence matrix records an arbitrarily chosen orientation of each edge of a graph. Use one row per edge, with and at its endpoints and zeros elsewhere; the transpose convention is also common. The product records endpoint differences. For a connected graph, , since zero difference propagates along every graph path.
A linked graph is -linked if it has at least vertices and, for every choice of distinct terminals , it has pairwise vertex-disjoint graph paths joining to for all . The pairing is prescribed, which is stronger than the unpaired conclusion of the Menger theorem.
We prove the rooted dense minor linkage step carefully. We first prove the rooted branch-set reduction. Let be even, let , and suppose a graph has disjoint nonempty vertex sets , where . Suppose each is connected or every one of its graph components meets , and each is adjacent to all but at most of the other not meeting . Assume also that no rooted separation of a graph of order below avoids of these sets. Then there are disjoint connected vertex sets such that for and each of these first sets is adjacent to all but at most of .
Here adjacency of sets means existence of an edge between them. A rooted separation of a graph is with , , no edges between and , and order . It avoids when . We prove the reduction by induction, first on the vertex count and then on the edge count; any counterexample chosen minimal in this ordering will be impossible.
We may delete edges joining two vertices of . They cannot affect rooted separations of a graph, since lies wholly on the first side. Within a branch set, their deletion can only split a graph component into graph components each containing an endpoint in , so the branch-set hypothesis also persists. An isolated vertex outside and all branch sets can be deleted. An isolated vertex is also impossible, since has order and avoids at least sets. Thus in a minimal counterexample is independent, and every isolated vertex outside belongs to a singleton branch set.
Consider a rooted separation of a graph of order exactly avoiding at least branch sets, and put . Restrict to and . Each is nonempty: any not itself avoided is adjacent to at least one of the avoided sets, and the endpoint of such an edge in must lie in . If a graph component of misses , it lies in and is a whole graph component of , with no vertex of . The original hypothesis then forces to be connected and , entirely outside . Thus each restricted set is connected or all its graph components meet . In particular every missing equals an original set outside , so all its required adjacencies from persist.
A rooted separation of a graph of avoiding restricted sets lifts to in , of the same order: an avoided restricted set misses , hence is an original set outside . The edges removed inside do not obstruct lifting, since . This proves the required separation hypothesis for . If is smaller, induction gives the desired connected sets rooted at . Moreover has disjoint graph paths from to , by the Menger theorem. Indeed a separator of smaller order between these sets would give a rooted separation of a graph of of smaller order still avoiding those original sets. Truncate the graph paths at their first visits to , label their endpoints accordingly, and adjoin each graph path to the corresponding rooted connected set. They meet only in their distinct endpoints, so this gives the desired sets for , a contradiction. Consequently in a minimal counterexample every such separation of order has and , an independent set.
Now contract any edge whose endpoints do not belong to two different branch sets. Its endpoints cannot both lie in , so the image of still has size . The branch-set conditions persist. If the contraction created a forbidden rooted separation of a graph of order below , its lift would have order below , except possibly when the contracted vertex lies in its separator. In that case the lifted order increases by one and is at most . Equality would put the contracted edge inside , contradicting the just-proved independence of for an order- separation avoiding sets. Thus the separation hypothesis also persists. Applying induction in the contracted graph and expanding the contracted vertex would produce the required disjoint connected sets. Hence every edge in a minimal counterexample joins two different branch sets.
Every vertex outside the branch sets would be isolated, since every edge joins two branch sets; such an isolated vertex could be deleted. Thus the branch sets cover the graph. Each nonsingleton branch set is therefore an independent set, and all its vertices belong to , because each of its singleton graph components must meet . Let be the union of the nonsingleton branch sets, and write . There is a matching in a graph from into . Otherwise the Hall marriage theorem gives with neighbourhood satisfying . Since is independent, is a rooted separation of a graph of order . It avoids every singleton branch set outside , of which there are at least
The penultimate counting bound uses that the nonsingleton sets number at most , so . This contradicts the separation hypothesis.
Use that matching in a graph to make a two-vertex connected set for each terminal in ; terminals outside remain singleton sets. There are at least
unused vertices, all singleton original branch sets. Choose of them for the remaining . Every rooted contains a singleton original branch set: either its terminal, or its terminal's matched neighbour. That singleton misses at most of the selected nonterminal singleton sets. This constructs exactly the desired family, contradicting minimality and proving the branch-set reduction.
Return to the given -connected graph. By the allowed assumption it has a graph minor with , where . Put . Then
Take a branch-set model of and the prescribed terminals as . The branch sets are connected and each misses at most of the others. The separation hypothesis holds with : a separation of order below avoiding a branch set would separate a surviving terminal from that set, contrary even to -connectivity. Since , the reduction applies. It produces sets with , , each terminal set missing at most of the nonterminal sets. For each pair at least
nonterminal sets are adjacent to both. Choose different such sets for the pairs successively. The connected graph property inside the three sets and the two joining edges give a graph path from to ; take a simple graph path within their union. Different graph paths use disjoint sets. We have proved
In fact the argument proves the stronger transfer statement with -connectivity and the stated dense graph minor.
For the negative assertion, it suffices to give a value of for which the proposed general implication fails. Take and the graph on cyclic indices in which two indices are adjacent when their cyclic distance is one or two. This is the four-connected planar obstruction to two-linkage. Draw the even cycle in a graph as the outer square, the odd cycle in a graph as an inner square rotated by degrees of vertices, and join each odd vertex to the two neighbouring even vertices; the annulus is triangulated without crossings. The outer face has vertices in this order.
Figure 1.
A four-connected planar graph with alternating terminal pairs on a square face
. Details.
Deleting at most three vertices leaves the graph connected. In cyclic order, consecutive surviving vertices are joined unless separated by a run of at least two deleted vertices. Disconnection requires two distinct such runs, hence at least four deletions. Conversely deleting the four neighbours of a vertex isolates it, so the vertex connectivity is exactly four. Disjoint graph paths joining to and to cannot exist: both would lie in the closed disk complementary to the outer face, and their endpoints alternate on its boundary. A first such graph path is a crosscut of the disk; the Jordan curve theorem puts the other two endpoints on opposite sides, forcing the second graph path to meet it. Thus
This is a counterexample to the unrestricted implication; no claim that the same construction works for every is needed.
Couple the uniform random graph process by giving every possible edge an independent uniform label in and revealing them in increasing order. The graph at label threshold is a binomial random graph. Define as the first step with no isolated vertices and as the first connected graph. Deterministically . We prove the reverse inequality with high probability by tracking the same process through a short interval.
Put , , and . At the isolated vertex count has
The variance estimate follows by comparing two isolated-vertex indicators, whose joint-to-product probability ratio is . Thus with high probability. Also the Markov inequality gives with probability tending to one.
At this same threshold, exclude every graph component with order . For , any such component contains a spanning tree. The Cayley formula and a union bound therefore give
In this range the bracket is at most . Summing over gives . For , even the cut-absence bound is enough:
The bracket tends to zero, so this range also has total probability . Consequently the graph at consists of one component of order greater than and its isolated-vertex set , where with high probability.
Conditional on the entire graph at , every unrevealed edge label remains independently uniform on . In particular,
There are no isolated vertices at with high probability, because their expected value is asymptotic to . On the intersection of these events, each vertex of loses isolation by joining the original large component, never by forming a separate small component with another vertex of . At every step between these two thresholds there is therefore one nontrivial component and some isolated vertices. The final isolated vertex disappears precisely when the graph becomes connected. This proves the connectivity hitting time equals disappearance of isolated vertices result:
For the critical-window probability, let with . For each fixed , the falling factorial moment of the isolated-vertex count is
uniformly for such shifts. Apply the Bonferroni inequalities to the zero-count event. Its odd and even truncations bracket by partial sums of . Since , their remainders tend uniformly to zero. Hence . The process equality just proved changes this probability by at most its failure probability. Therefore
The ratio follows because the denominator is bounded below by ; no convergence of is needed.
The printed second conclusion has the complementary denominator and is false as written. For , the printed ratio tends to . Its denominator is correct for the probability of being disconnected. Thus either remove the leading in the denominator or replace “connected” by “disconnected”; the proof supplies both corrected versions.
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 is
where 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 . Then
Consequently
This 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.
Use and the positive return time . The walk has transitions , ; its transition matrix defines a reversible Markov chain, although the transition probabilities need not be symmetric.
The voltage equals one at , zero at , and is a harmonic function on a graph away from the terminals: . For this unit electric potential difference the electric current is
The first-step analysis therefore proves the return probability from effective resistance identity:
Finite irreducibility ensures eventual hitting of one of the terminals, so no missing escape event appears in this finite-network calculation.
For an infinite locally finite connected graph, exhaust it by finite sets and wire their exteriors to one sink. The event of exiting before the first return decreases to the event of never returning. Thus
with . In particular recurrence is equivalent to infinite effective resistance to infinity.
After deleting an edge, consider any infinite component and choose a root away from that edge's endpoints. Its vertex degree is unchanged. On every finite wired exhaustion the Rayleigh monotonicity principle makes the resistance no smaller; the limit of a sequence does too. A recurrent original network consequently leaves a recurrent component. Finite components give recurrent walks as well, with an isolated graph vertex viewed as an absorbing state. This proves that edge deletion preserves recurrence. The phrase “no less recurrent” refers to this recurrence comparison: at a deleted-edge endpoint the vertex degree factor also changes, so monotonicity of its first-return probability alone should not be inferred.
First suppose is 3-connected and noncomplete, and write . There is an induced path with nonadjacent: otherwise the first three vertices of any shortest path between nonadjacent vertices would contradict that assertion. Since is 3-connected, is a connected graph. Choose a spanning tree of that graph rooted at . Color first with the same color, then color the other vertices in reverse tree order, leaving last. Every vertex except has its tree parent uncolored and thus at most previously colored neighbors. At , the two neighbors share a color, so again at most colors are forbidden. This constructs a proper -coloring and proves Brooks' bound for 3-connected noncomplete graphs. A complete graph is exactly the excluded case; a 3-connected graph cannot be an odd cycle.
For the partition claim, assume are nonnegative integers with . Minimize
If a vertex in has internal degree , its degree into is at most . Moving it to changes by , contradicting minimality when . The analogous move handles a violation in when . For a zero coefficient, break ties among minimizers by minimizing the total number of internal edges. If , minimality of ensures is independent; a violating vertex in has all its neighbors in and no neighbor in , so moving it reduces the tie-break quantity without increasing . The reversed argument handles . If both are zero then , and the graph is a union of isolated vertices and edges, admitting two independent parts. Thus
For , put . A maximum-degree-three graph containing no is 3-colorable. Here is why the previously proved 3-connected case suffices: connected graphs of degree at most two are paths or cycles and use at most three colors. Split a larger graph at cut vertices and permute colors when gluing. In a 2-connected cubic graph with a two-vertex cut , a cut edge gives colorings of the sides glued with their distinct endpoint colors. If are nonadjacent, the cut components have positive numbers of edges to both endpoints and the total endpoint degrees are at most three. There are at most three components. With three components, adding to each side preserves maximum degree three and gives the endpoints degree two. No new is created, so induction supplies side colorings with distinct endpoint colors, which can be permuted to agree. With two components, the components incident twice to and twice to either agree or differ. If they differ, adding to each side preserves maximum degree three; each augmented side is smaller and cannot be , because one endpoint then has degree only two, so induction gives distinct-endpoint colorings. If they agree, call the side with only one edge from each endpoint the small side. Any coloring of the other side can be matched on it: for equal endpoint colors, contract in the small side (the merged vertex has degree at most two); for distinct colors add (the endpoints again have degree two). Induction applies in both cases. A 2-connected graph with no two-vertex cut is 3-connected and was handled above. This proves the needed subcubic coloring fact without quoting the unproved full theorem.
Use three colors on and at most fresh colors on , by greedy coloring. This gives . More usefully, repeatedly remove degree-at-most-three parts: the partition supplies a four-degree reduction for a cost of three colors. If , then . Induction in , with the remaining part still -free, gives
The base cases use respectively colors, within this bound; at , Brooks' theorem would give four, but the same partition with gives a 3-colorable part and an independent part, hence four. Thus the induction requires no unproved general Brooks theorem.
A connected graph with has no isolated vertices. Conversely, a disconnected graph with no isolated vertices has a connected component with size between and . We must show that this latter event has probability tending to zero.
The permitted component-size estimate excludes sizes between and with high probability. For the remaining small sizes, let count components with vertices. A connected graph on a fixed -vertex set contains a spanning tree. By the Cayley formula, there are labelled trees, as follows from the Prüfer code bijection between labelled trees and sequences of labels. A union bound over the trees, together with the absence of every edge to the complementary vertex set, gives
Put and . Using and , uniformly for we obtain
Here . Therefore, with ,
The Markov inequality excludes all these small components with high probability. Together with the permitted estimate, this proves that the difference between the probability of connectivity and the probability of no isolated vertices tends to zero. Hence
False. Attach 594 pendant vertices to one vertex of . The connected graph still contains the nonplanar , but has , , and average degree of a graph . Attaching more leaves lowers the average further toward two without making the graph planar.