Remove the integer requirements from the previous formulation to obtain its linear programming relaxation. Give each edge constraint a nonnegative dual variable , and each bound for a nonnegative dual variable . Since all right-hand sides are one, the dual linear program is
An integer feasible point selects a multiset of edges touching every nonisolated vertex, together with at least one singleton for each isolated vertex. Repeated edges or singleton choices can be discarded without losing coverage, so an optimum has a genuine edge cover of the nonisolated part and one singleton per isolated vertex. If has no isolated vertices, this is exactly an edge cover, with the objective counting selected edges including any unnecessary multiplicities. The isolated-singleton extension is necessary because a graph with an isolated vertex admits no ordinary edge cover.
This interpretation concerns integer feasible dual solutions. The linear programming relaxation can have fractional optima, so its value need not equal the integer independent set optimum. For example, the triangle has relaxed independent-set value , whereas its maximum independent set has size and its minimum edge cover has size .
Worked solutions to all three questions of the Oxford examination held on 25 May 2023. Source release: released examination archive, member 2022/T/a18330w1.pdf; the cover identifies the examination as Trinity Term 2023. Numbering follows the source PDF, pages 2–4. The examination asks candidates to choose two questions; all three are solved here.
We use finite simple graphs throughout the graph arguments. In Question 1(c), must be nonempty for the stated minimum to exist. In Question 3(d), an edge cover exists only when there is no isolated vertex; for a nonempty connected graph this excludes the one-vertex graph. These minor domain qualifications are made explicit in the affected solutions.
Use minimum-weight edge cover by matching savings. Reject inputs with an isolated vertex. For every vertex , choose a cheapest incident edge and write . Define a baseline and a saving for each edge by
Compute a maximum-weight matching using as its weights, allowing the empty matching in a graph and imposing no maximum-cardinality condition. Negative savings may be ignored. Return
This is an edge cover. Since original weights are nonnegative, removing duplicate appearances of an edge cannot increase the total, and hence
To prove optimality, take a minimum-weight edge cover and remove redundant edges until it is inclusion-minimal. Nonnegative weights ensure that its weight does not increase, so it remains optimal. As proved in (i), its components are star graphs. Choose one edge from each star graph, forming a matching in a graph .
In a star graph with center , selected leaf , and other leaves , this choice contributes to . Each other leaf has its edge available, so . Thus this contribution is at most the weight of that star graph. Summing over components yields
Since maximizes saving, , and consequently
All inequalities are equalities. Therefore is a minimum-weight edge cover. This proof also handles zero weights and duplicate cheapest-edge choices.
Finding all and constructing takes time. A general-graph maximum-weight matching polynomial-time algorithm supplies the only substantial step; the documented routine runs in arithmetic time. Exact rational or integer weights avoid floating-point comparisons affecting optimality.[ref]
First test for an isolated vertex, reporting infeasibility if one exists. Otherwise compute a maximum cardinality matching using a general-graph polynomial-time algorithm, then add one arbitrary incident edge for each unmatched vertex in a matching. The proof in (i) shows that the resulting edge cover has minimum cardinality .
The final scan takes time with adjacency lists; the maximum cardinality matching computation is polynomial. One may obtain it from a general-graph maximum-weight matching routine with every weight equal to one.[ref]
Assume has no isolated vertex; otherwise an edge cover does not exist. In particular, a one-vertex connected graph is an excluded degenerate case of the statement.
Let be a maximum cardinality matching, of size , and let be its unmatched vertices in a matching. There is no edge joining two vertices of , since adding it would enlarge . Choose one incident edge for each . These chosen edges are distinct and outside , so together they form an edge cover of size
Consequently .
For the opposite bound, let be a minimum-cardinality edge cover. It is inclusion-minimal. Every selected edge has an endpoint of vertex degree one in : otherwise deleting that edge would leave both endpoints covered. Each connected component of a graph of is therefore a star graph. To see this, a component can have at most one vertex of vertex degree greater than one; a shortest graph path between two such vertices would contain an edge whose endpoints both have vertex degree greater than one. A component with no such vertex is a single edge, also a star graph.
If there are such star graphs, each has one fewer edge than vertices, so . Select one edge from each component to get a matching in a graph of size . Hence , proving the edge cover and matching identity
The joint law is the Edwards-Sokal coupling. For a fixed spin configuration, the sum over each edge state contributes . Since is either zero or one, setting gives
Consequently the spin marginal distribution is the Potts measure
This follows from a finite sum that factorizes over edges, without any independence assumption on the spin marginal.
For a fixed edge configuration, the joint weight vanishes unless the spins agree across every open edge, equivalently unless they are constant on each open percolation cluster. Each of the clusters, including isolated vertices, may independently be assigned any of colors. Thus exactly spin configurations have nonzero weight, and their common weight is the edge-product factor divided by . The edge marginal distribution is therefore the random-cluster measure
In this convention . Dividing the joint mass by this positive marginal gives the conditional distribution
Equivalently the clusters receive independent uniformly chosen colors. Conversely, conditionally on the spins, edges are independent: an unequal-spin edge must be closed, while an equal-spin edge is open with probability . These two conditional descriptions explain the Edwards-Sokal coupling directly.
If and lie in the same open cluster, their conditional spin-equality probability is one. If they lie in different clusters, their two independent uniform colors agree with probability . Averaging over the random-cluster measure yields
and hence the spin-connectivity identity for the Potts model
The identity also includes , when connectivity and spin equality are both certain.
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.
Let be the number of isolated vertices and set . For fixed , the falling factorial counts ordered -tuples of distinct isolated vertices. A specified tuple is isolated exactly when all edges incident to its vertices are absent. There are such edges, so
Since and , taking logarithms gives
Thus every fixed factorial moment tends to . We use the standard factorial-moment criterion for Poisson convergence: nonnegative integer-valued random variables whose factorial moments converge, for every fixed order, to converge in distribution to . Consequently has that limiting distribution, and its mass at each fixed integer converges. In particular,
This establishes the limiting probability of at least one isolated vertex, rather than merely a bound based on its expectation.
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
For the unheaded degree-one continuation, write , where indicates that vertex has degree one. With
we have
For distinct vertices , separate the cases where their connecting edge is present or absent. If it is present, all their other incident edges must be absent. If it is absent, each vertex chooses its unique neighbour among the other vertices; those two neighbours may coincide. The respective edge constraints are independent even in that case. Thus
Dividing by gives the exact ratio
The first term tends to zero because has order ; the second tends to one. Consequently its variance satisfies
The Chebyshev inequality now yields . A vertex of degree one exists with high probability, even though the limiting probability of having an isolated vertex is strictly between zero and one.
It suffices to prove the assertion after replacing by : that replacement gives a tighter interval. Thus assume and , and put
At , let count isolated vertices in . The same indicator random variable calculation as for all isolated vertices gives
By the Chebyshev inequality, with high probability. Since eventually, the marked vertices are then not all connected.
At , the logarithmic-regime giant component result applies with and any fixed . Its unique giant component misses vertices. On the event that it misses at most twice that number, exchangeability makes the missed vertex set uniform conditional on its size. A union bound therefore gives
Thus all of is connected at with high probability.
For the uniform random graph process, assign uniform labels to the edges of the complete graph as independent random variables and reveal them in label order. The binomial random graph is the prefix containing the labels at most , where has a binomial distribution with parameters and . Its variance at is , whereas the gap between and the relevant endpoint is . The Chebyshev inequality gives and with high probability, with harmless integer rounding. The monotone graph property that all marked vertices are connected now implies
The marked-set connectivity threshold is lower than the threshold for connecting every vertex, because only about specified vertices need to avoid the small graph components.
Put and . The hypothesis implies . For the number of isolated vertices, the isolated vertices in the Erdős-Rényi model formulas give
Thus the Chebyshev inequality gives with high probability, uniformly over the specified range.
The Cayley formula supplies a spanning tree on any connected vertex set. Consequently the expected value of the number of graph components of order is bounded by
Choose a fixed with . For , with , the binomial coefficient bound gives
Here . The geometric series and a union bound therefore exclude this entire size range, since . For , an empty graph cut would be necessary. Its total probability is at most
There are consequently no graph components of orders between and , with high probability.
For each fixed , a graph component containing a graph cycle has a spanning tree and at least one extra edge. Counting that extra edge gives an expected value ; hence every small graph component is a tree component. The total number of vertices in tree components of orders satisfies
The Markov inequality gives with high probability. When , this sum is empty and . Since , the remaining vertices must lie in one graph component larger than . It is unique, and its order is . Every other graph component is a tree with at most vertices. This is the logarithmic-regime giant component mechanism: almost all missing vertices are isolated.
The empty family satisfies the bound, so assume is nonempty and choose a graph according to the uniform distribution on a finite set . Let be its random vector of edge indicators, indexed by . Then its information entropy is .
For each vertex , put , so records the graph neighbourhood of . The possible graph neighbourhoods form an intersecting family of subsets of : the graph intersection of any two members of has no isolated vertex at . A subset and its complement cannot both occur. Pairing the subsets into complementary pairs gives at most possible graph neighbourhoods. The maximum entropy on a finite alphabet therefore gives
This argument applies for . For the assumed nonempty family cannot exist, since its only possible graph has an isolated vertex.
Each edge belongs to exactly two of the sets . To obtain the needed instance of Shearer inequality directly from the preceding compression argument, repeatedly apply a union-intersection compression to incomparable members of the multiset . Each such step strictly increases , by
The potential is bounded and integer-valued, so the process terminates in a chain under inclusion. Coordinate multiplicities stay equal to two, so, for , the terminal chain consists of two copies of and empty sets. The compression of an entropy sum now gives
Exponentiating proves the entropy bound for graphs with isolated-vertex-free intersections:
In the Erdős-Rényi model , the vertex set is and every one of the possible edges is present independently with probability .
Let count isolated vertices. If , the union bound gives
Thus .
Chebyshev inequality states that
Now suppose . Monotonicity lets us use the largest allowed . With
the supplied lower exponential estimate shows
For distinct vertices ,
Hence
and
Chebyshev with gives , so .
For connectivity, the lower-threshold result is immediate because a connected graph has no isolated vertex:
For the upper threshold, if a graph is disconnected it has a component with vertex set of some size . In particular, every one of the edges from to its complement is absent. Therefore
Choose
For , the standard bound gives
The sum of these terms tends to zero. For , use and :
Thus above the threshold. Together,
This is the connectivity threshold in the Erdős-Rényi model.
Path-cycle matching 2026-10-24
A path-cycle matching in a finite simple graph is a collection of mutually vertex-disjoint paths and cycles in a graph. Its used edges form a subgraph with every degree of a vertex at most two. Conversely, every finite connected component of a graph with maximum degree at most two is a graph path, a cycle in a graph, or an isolated vertex; following successive edges proves this classification. Discarding unused isolated vertices therefore converts any such subgraph into a path-cycle matching without changing its edge count. On a bipartite graph, maximizing the used edges is exactly bipartite b-matching with every .
Perfect matching Created 2026-09-24 Updated 2026-10-14
A perfect matching is a matching in a graph that covers every vertex exactly once. Its edges have no shared endpoints, and every vertex is an endpoint of one selected edge. It is useful when a collection must be divided into disjoint pairs with no element left over.
In a bipartite graph with equally many vertices on its two sides, a perfect matching can assign every person one allowed job and every job one person. The example under permanent of a matrix has three people and three jobs, with exactly three valid assignments. The blue edges below show those three perfect matchings; a crossing in the drawing is not an extra vertex.
Figure 1.
Three perfect matchings pair every person vertex with one job vertex along allowed edges
. Details.
Every selected edge covers two vertices, so a graph with an odd integer number of vertices has no perfect matching. An even integer number is necessary but does not guarantee existence: an isolated vertex cannot be covered. A perfect matching also need not be unique. For example, the complete bipartite graph has two perfect matchings, corresponding to the two ways of assigning two people to two jobs.
Counting all perfect matchings is a different question from finding one. For a zero-one biadjacency matrix of a balanced bipartite graph, the count is its permanent of a matrix. The nonzero determinant criterion for a perfect matching supplies an existence test, but cancellation means that a zero determinant does not rule one out.
Star forest 2026-10-25
A forest whose connected components of a graph are star graphs. In an inclusion-minimal edge cover, every edge has at least one endpoint of vertex degree one, forcing this structure with no isolated vertex.
For the number of tree components of order in a binomial random graph, choose their vertices, choose one of labelled trees by the Cayley formula, require its edges, and exclude both the remaining internal edges and all crossing edges. For interpret , recovering the isolated vertex count. If for fixed positive and , the Stirling formula gives . Distinct overlapping vertex sets cannot both be graph components; for disjoint sets their joint occurrence gains the factor relative to the product, because their between-set edges must be absent only once.
Vertex cover Created 2026-10-05 Updated 2026-10-14
A vertex cover chooses vertices that collectively touch every edge of a graph. Think of placing monitors at junctions: if a monitor watches every connection incident to its junction, a vertex cover watches all connections. The minimum vertex cover asks how few monitors suffice. This is a model of covering connections through their endpoints, rather than of monitoring distances in the drawing.
For a finite simple graph , a vertex cover is a subset satisfying
Both endpoints may be selected; the condition requires at least one. An isolated vertex covers no edge, so a minimum vertex cover never needs it.[ref]
Take the cycle graph with vertices and edges . The set is a vertex cover: vertex covers and , vertex covers and , and vertex covers as well as . In particular, the closing edge is covered even though vertex is unselected.
The unselected vertices form an independent set. This is the key connection: an edge missed by would have both endpoints in , precisely what an independent set forbids. For every subset ,
Here is the complement of a set within ; the graph itself keeps all its edges. The complement graph is a different construction.[ref]
Figure 1.
A minimum vertex cover and its maximum independent complement on the same five-cycle
. Details.
The endpoints of any maximal matching form a vertex cover: an edge avoiding all endpoints would enlarge that matching in a graph. Consequently a graph with no matching in a graph of size has a vertex cover of size at most . This supplies a convenient vertex cover, but it need not be a minimum vertex cover.