For a nontrivial strongly connected directed graph, a coherent cyclic order of a digraph and the Dilworth theorem produce a spanning circuit family with at most its independence number circuits. Put a largest consecutive stable block first and duplicate its vertices as sinks. Use forward edges and edges into the sink copies to form an acyclic auxiliary graph. Its reachability order has width equal to the block size. Expand a chain partition to paths, then exchange intersecting path suffixes until the permutation of source-to-sink labels has as many cycles as possible. Paths in the same permutation cycle are disjoint, so identifying copied endpoints produces simple directed circuits. A windmill of directed triangles sharing one vertex shows that the bound is sharp.
Complete graph Created 2026-09-24 Updated 2026-10-14
A complete graph is a simple graph in which every two distinct vertices are joined by an edge. The finite complete graph on vertices is denoted . Here the edges are undirected, and self-loops are excluded. The usual pictures below use : is a single vertex, a single edge, and a triangle in a graph.[ref]
Completeness describes all the possible pairs, rather than a drawing style. Different layouts can represent the same graph through a graph isomorphism. Crossing lines away from the drawn vertices do not add new vertices or edges.
Figure 1.
Complete graphs with one through five vertices
. Each original drawing joins every pair of distinct vertices exactly once. The complete graphs have respectively edges. Intersections of drawn lines in the panel are not additional vertices. Details.
There are unordered pairs of distinct vertices, so this is the edge count of a complete graph. Each vertex has vertex degree . The degree-sum formula gives the same count: . These formulas make a complete graph the upper extreme for edge counts among simple graphs of a fixed size.
This is useful when modelling pairwise relationships. If every pair of objects needs its own direct connection, ten vertices require edges, while twenty require . Adding one more vertex to introduces further edges. This counts a specified direct-link model; it does not require every communication system to implement every relationship with a separate physical connection.
A proper vertex coloring of must give every vertex a different color, so its chromatic number is . For , its independence number is : two distinct vertices already have an edge between them. Thus complete graphs provide immediate test cases for graph coloring and independent sets.
The cyclic stability is the largest size of an independent set appearing consecutively in a representative of a coherent cyclic order of a digraph. It is at most the ordinary independence number. A set with no forward path between its distinct vertices can be moved into a consecutive block by swapping nonadjacent vertices. Choose a representative minimizing the span of the set; a vertex in a gap can be moved left or right past the block, contradicting minimality unless there are no gaps.
If graphs cover the edges of an -vertex graph with independence number at most , their coloring entropy weights satisfy the displayed bound. A random vertex's color is recorded in every covering graph containing it; independent dummy colors with matching marginal laws fill the other positions. Conditional on all recorded colors, compatible vertices form an independent set, leaving conditional entropy at most . The mutual information carried by the colors is at most , proving the bound.
Independence number Created 2026-10-03 Updated 2026-10-14
The independence number is the largest cardinality of an independent set in a finite simple graph:
It answers "how many mutually compatible objects can be selected at once?", while the chromatic number asks how many compatible groups are needed for all the vertices. Diestel uses this notation for a largest independent set.[ref]
For the cycle graph , the independent set shows that . Three selected vertices would require at least three unselected vertices separating them around the cycle graph, which has only five vertices. Thus . There are five largest independent sets, obtained by rotating around the cycle graph, and five corresponding minimum vertex covers.
For the complete bipartite graph , an independent set cannot contain a vertex from each side, since every such pair is joined by an edge. The larger side has three vertices, so . A triangle in a graph has independence number one. A graph with no edges and vertices has independence number , including when .
The complement correspondence between vertex covers and independent sets gives, with ,
Every extra vertex that can be left in an independent set is one fewer vertex needed in a minimum vertex cover. This identity holds for all finite simple graphs, including the triangle in a graph and the cycle graph ; it does not require the bipartite graph hypothesis of Kőnig's theorem for bipartite matching.
For a nonempty graph, every colour class of a proper vertex colouring contains at most vertices. Counting all the vertices therefore gives
Since the chromatic number is an integer, the bound rounds up: for the cycle graph , . It is attained by assigning colour to , colour to , and colour to . All five edges, including , have differently coloured endpoints.
Independent set (graph theory) Created 2026-10-14 Updated 2026-10-18
An independent set selects mutually compatible objects when an edge of a graph represents a conflict. For example, if vertices are activities and edges join activities that cannot occur together, an independent set is a collection that can share one time slot. Finding the largest such collection is measured by the independence number.[ref]
In a finite simple graph , an independent set is a subset with no edge joining two selected vertices:
The empty set and every singleton set are independent sets. In the cycle graph drawn under vertex cover, is an independent set, but is not: the closing edge joins those two vertices. Choosing nonconsecutive labels is insufficient unless the wraparound edge is checked.
An independent set of maximum size has cardinality equal to the independence number. Being unable to add another vertex only makes an independent set inclusion-maximal. In the star graph , the centre alone is inclusion-maximal, since it is adjacent to every leaf, but the three leaves form a larger independent set. This distinction mirrors the difference between an inclusion-minimal vertex cover and a minimum vertex cover.
Every independent set has a vertex cover as its complement of a set; a largest independent set has a minimum vertex cover as its complement. In every proper vertex colouring, each colour class is an independent set, so graph coloring partitions the vertices into mutually compatible groups.
Replace by if necessary; this only weakens the hypothesis. We prove the result for finite graphs using a random proper partial graph coloring, then a deterministic completion. All constants below may depend on this fixed positive .
First record the extension of a partial colouring by neighbour-colour savings. If a partial colouring uses colours from a palette of size , let be the number of coloured neighbours of , their number of distinct colours, and the neighbour-colour saving. There are available colours and uncoloured neighbours. Thus
at every vertex suffices for greedy completion: each subsequently coloured neighbour removes at most one available colour while reducing the uncoloured-neighbour count by one.
Call high-degree if . Its graph neighbourhood has at least
nonadjacent pairs for all sufficiently large . Assign independently to every vertex one of tentative colours. Erase the colour of every vertex having a neighbour with the same tentative colour. The remaining colouring is proper; erasure is based on the original assignments and is not an iterative cascade.
For each , define as the number of tentative colours assigned to at least one nonadjacent pair in its graph neighbourhood. Let count those same colours for which at least one neighbour of loses its colour. Then counts repeated colours with no erased occurrence among the neighbours, so .
For a particular nonadjacent pair , consider the event that both receive one colour and no vertex of receives that colour. This guarantees that its exactly two occurrences in both survive. Its probability is at least
Here , , and for . Different pairs cannot be counted by the same colour in this event, since each event specifies exactly two occurrences in the graph neighbourhood. Therefore
for every high-degree vertex. This is the expected colour savings from sparse neighbourhoods.
We need simultaneous concentration, not just a positive expectation. A single tentative-colour change can affect or only in the old and new colour categories, so each function changes by at most two. A witness for fixes two vertices for each of colours. A witness for fixes such a nonadjacent pair and an erased neighbour together with a same-coloured adjacent vertex, at most four vertices per colour. Thus both are certifiable functions with Lipschitz constant and certificate parameter at most . Both are bounded by .
To see exactly what concentration follows, let an integer-valued change by at most per coordinate and have certificates of size at most . For an input with , fix such a certificate . If has , form a hybrid agreeing with that input on and with outside . The hybrid has value at least , so at least certificate positions differ from . Equal weights on show that its Talagrand convex distance from is at least . Talagrand's convex distance inequality therefore gives the two-threshold concentration for certifiable functions,
At an integer median , each median-side probability is at least . Taking thresholds or and using gives
for . Summing these tails gives . For sufficiently large , depending on , it follows that
Apply this to and . Except with probability at most , .
A bad event at depends only on tentative colours at distance at most two. It is independent of the entire collection of bad events at distance greater than four. Its dependency graph of events consequently has maximum degree at most for large . The Lovász local lemma now makes all high-degree vertices good simultaneously: exponential decay beats this polynomial dependency bound.
The needed local-lemma step can be checked directly. If every bad-event probability is at most , induction on conditioning sets gives : split those events into non-neighbours of , independent of it, and at most neighbours, whose avoidance probability is at least by the induction. Multiplying the resulting conditional avoidance probabilities makes total avoidance positive. Taking works whenever , since . Our bound satisfies this criterion once .
Choose a successful partial colouring and set . This contains the original palette. High-degree vertices satisfy
Low-degree vertices have after increasing if necessary. Greedy completion therefore gives . Finally, for ,
The constants are deliberately conservative; existence of a fixed positive improvement is the point. The same proof uses an external maximum degree bound, so if infinite locally finite graphs are allowed, every finite subgraph has this uniform colouring bound and compactness extends the colouring to the whole graph.
For the stronger triangle-free result, the appropriate brief route is semi-random palette refinement for triangle-free colouring. Start with colours and repeatedly make small tentative random assignments, retain conflict-free choices, and update the uncoloured vertices' available lists. Triangle-freeness makes each graph neighbourhood independent. Track list size and average residual neighbour congestion per colour, prune unusually congested colours, and use concentration inequalities and the Lovász local lemma to preserve these invariants through the rounds. The ratio of residual congestion to list size decreases until a final completion using the Lovász local lemma or greedy coloring succeeds. Average control and pruning are important: four-cycles are allowed, so assuming tight uniform concentration for every individual colour load would be unjustified. With a sufficiently large absolute , this programme gives . The one-round fixed-fraction saving proved above alone does not establish that logarithmic improvement.
To show the order is best possible, let through integers and sample with . A Chernoff bound and union bound give maximum degree at most with probability tending to one. The expected triangle count is at most , so fewer than vertices need be deleted to remove all triangles with high probability. For , the expected number of independent -sets is at most
its logarithm is at most , which tends to minus infinity. The altered triangle-free graph thus has at least vertices and independence number below , giving for an absolute positive . Append a disjoint star graph whose centre has vertex degree if needed to make its maximum degree exactly . This proves the triangle-free chromatic lower bound at bounded maximum degree, , so the preceding order cannot be improved in general.
Both alternatives can be proved. For the oriented tree alternative take ; at the displayed tournament order is zero, so that unqualified boundary case cannot be intended.
Choose a median order of a tournament , maximizing its number of forward directed edges. Every interval inherits a median order, since improving that interval would improve the whole order. If had fewer outneighbours than inneighbours in , moving it just past would increase the number of forward directed edges. Hence it has at least half the vertices of that later interval as outneighbours.
Call a graph embedding half-sparse if every proper final interval satisfies . This half-sparse median-order embedding admits a useful extension. Suppose an outward leaf is attached to a vertex mapped to , and reserve two extra vertices at the end of the tournament order. In the old interval after , half-sparsity bounds the number of occupied vertices by less than half its size plus one. The interval extended by two vertices has at least that half-size plus one outneighbours of . Thus at least one outneighbour is free; map the new leaf there. Every old final interval has gained two available places and at most one new image, so its strict inequality persists. Final intervals wholly within the two new places contain at most one image, so they also satisfy the inequality. This proves the extension, not just an existence assertion about degrees.
Starting with an directed edge in a two-vertex tournament and repeatedly attaching outward leaves proves that every -vertex arborescence embeds half-sparsely in every -vertex tournament for . The root-first construction supplies the induction. An unused suffix can be appended without destroying the inequality; for a suffix which contains the whole old order the extra place supplies the needed strictness. A singleton embeds half-sparsely in the first vertex of a two-vertex order. Reversing the oriented tree and tournament gives ordinary embeddings of reversed arborescences in vertices as well.
Here is the stronger invariant needed for an arbitrary oriented tree. Root it at a source. Classify each directed edge as forward or backward according to whether it points away from or towards the root in the underlying rooted tree. Let be the number of backward directed edges and the number of nonempty connected components made of these directed edges, ignoring isolated vertices. Put . We claim that the oriented tree has a half-sparse embedding in every median-ordered tournament of order .
Induct on the oriented tree order. If it has a forward leaf, delete that leaf, use the induction hypothesis and apply the two-place extension. Neither nor changes. If there are no backward directed edges, use the arborescence construction. Otherwise first remove forward leaves as above, so every remaining leaf is backward. Choose a backward component furthest from the root. It must be a pendant subtree: a forward continuation below it would either reach another backward component, contrary to its choice, or end at a forward leaf. Let this component have vertices and top vertex . Since the root is a source, is not the root; its joining directed edge from its parent is forward. The component is an reversed arborescence rooted at .
Delete the component. The remaining oriented tree has parameters
Its required tournament order is . Embed it in the initial interval of this length. Temporarily attach outward leaves at , using the extension lemma repeatedly. This consumes exactly extra places and gives a half-sparse embedding of the enlarged oriented tree in the original tournament. The temporary images all lie in the outneighbourhood of ; among them embed the deleted reversed arborescence. Its root automatically receives the joining directed edge from . Replace the temporary leaves by this component. The final image is a subset of the temporary enlarged image, so half-sparsity survives. This proves the invariant with the precise count, including the case when the remaining oriented tree is a singleton.
Unless the oriented tree is already an in- or out-arborescence, every rooting has at least one backward component. Choose one orientation, reversing all directed edges if necessary, so that some rooting has at most backward directed edges. It then has . Within this fixed orientation choose the root to minimize lexicographically. If a neighbour pointed into the root, move the root across that directed edge. Only this directed edge changes its forward/backward classification. Removing it from the backward forest decreases by one and decreases by at most one; hence it cannot increase , and when stays equal it strictly decreases . This contradicts the chosen minimum. Thus the chosen root is a source, while its retains the required bound. Reversal does not affect a universal tournament-embedding assertion, because one reverses the host tournament too. The invariant proves the three-times-order tournament bound for oriented trees:
For the lower obstruction, take the outward graph star with leaves. There is a regular tournament on vertices: on residues modulo , direct when is one of . Every vertex has outdegree , so none can be the centre of that outward star. Thus the universal bound cannot be reduced to .
For the strongly connected directed graph alternative, the correct universal assertion is an upper bound by the independence number, together with examples needing that many directed circuits. The literal assertion that every such graph needs directed circuits is false: a directed four-cycle has independence number two and is spanned by one directed circuit. Work with a nontrivial strongly connected digraph; a loopless singleton has no directed circuit.
Use the permitted coherent cyclic order of a digraph. Representatives differ by cyclic rotations and swaps of consecutive nonadjacent vertices. In every representative, a backward directed edge has a forward directed path from to . A directed circuit with one backward directed edge winds once around the order. Every vertex belongs to such a directed circuit, because every vertex has an outgoing directed edge and coherence puts that directed edge on a once-winding directed circuit. Let be the cyclic stability of a digraph order: the largest size of an independent set consecutive in an equivalent order. Then .
We need a short ordering lemma. If a set has no forward path between distinct members, then . Among equivalent representatives retaining this property, minimize the span from its first to its last member. Suppose there is a vertex in a gap. If some gap vertex cannot be reached from an earlier member of by a forward path, take the first such . Every preceding gap vertex in the span is reachable from an earlier member of . It follows that has no forward incoming directed edge from anywhere in that part of the span; a backward outgoing directed edge to it is also impossible, since coherence would supply the same forbidden forward reachability. Thus is nonadjacent to every intervening vertex and can be moved before the first member of , shortening the span. Otherwise every gap vertex is reachable from an earlier member of . Take the last one. It cannot have a forward path to a later member of , and coherence consequently rules out directed edges in either direction to the following members of . Move it past them, again shortening the span. Swaps of nonadjacent vertices do not change the forward-edge graph, so these moves preserve the hypothesis. Both cases contradict minimality. Therefore is consecutive. It is independent: a forward directed edge is forbidden by hypothesis, and a backward directed edge would imply a forward path by coherence. Rotate it to the start to obtain .
Choose a representative starting with a stable block . Add sink copies , retain all forward directed edges of , and add for each original directed edge . This is an acyclic auxiliary directed graph . A once-winding directed circuit through cannot visit another block member, since no forward path can join two members of this initial independent block. Opening this directed circuit gives a path from to in .
The partial order defined by reachability in has width exactly . The sink copies already form an antichain of size . For the reverse inequality, let be an antichain and let index its sink copies. Permute the independent initial block so that these labels come first, then rotate that part of the block to the end. The set
has size : a vertex and its own copy cannot both belong to , since they are comparable by the opened directed circuit. There is no forward path between distinct members of in the rotated order. A path between original members would give comparability in ; a path from an original member to would become a path to its sink copy, also forbidden. No forward path leaves the final stable block. The ordering lemma therefore gives .
Apply the Dilworth theorem to partition this reachability order into chains in a partial order. Each chain contains exactly one original block vertex and exactly one sink copy, since each of these two antichains has size ; these are its first and last elements. Expand consecutive chain relations into directed paths in . The paths cover all vertices, though intervening vertices can occur on several paths. Label their heads and their tails ; the tail labels define a permutation .
Among all such covering path families maximize the number of cycles of . If two paths whose labels lie in the same permutation cycle meet at a vertex, exchange their suffixes there. The paths remain simple, since the auxiliary graph is acyclic, and their union still covers the same vertices. Exchanging the two tail labels splits that permutation cycle into two, a contradiction. Thus paths in the same permutation cycle are disjoint. Identify every with and concatenate the paths around each cycle of . Each concatenation is a genuine directed circuit, with no repeated vertex except its closing vertex. Together these directed circuits cover , and there are at most of them. This proves the circuit-cover bound by independence number:
Finally, form directed triangles sharing just one central vertex, with no directed edges between their other vertices. This strongly connected directed graph has independence number , by taking one outer vertex from each triangle. A simple directed circuit can use only one triangle, since visiting a second requires repeating the centre. Exactly directed circuits are therefore necessary. The bound is sharp in general; is not a universal bound.
All graphs here are finite and simple. For the strong graph product , two distinct graph vertex pairs are adjacent if in each coordinate the entries are equal or adjacent. Use for its strong graph power; the exam's means this product power, not the distance-based graph power. The Shannon capacity of a graph is
where is the independence number. Products of independent sets are independent, so for . To see why the limit exists, fix and write , . Then , using and , so . Take the supremum over ; the reverse upper bound holds termwise. This proves the required form of Fekete lemma. For the empty graph on no graph vertices one sets graph capacity zero separately.
Associativity of the strong product gives
An orthonormal representation of a graph assigns a real unit vector to each graph vertex, with whenever distinct graph vertices are nonadjacent. Adjacent graph vertices need not receive orthogonal vectors. A handle is a unit vector . The handle formulation of the Lovász theta function is
with a zero denominator giving infinity. Representations may use any finite-dimensional Euclidean space. This is the usual Lovász number in its orthonormal-representation formulation.
For an independent set , the vectors , , are mutually orthonormal. Directly,
If is finite, every summand is at least , giving . For a strong power, use the vectors and handle
Their norms are one. Nonadjacency of two distinct words means a coordinate has distinct nonadjacent entries, so the corresponding tensor inner product has a zero factor. The handle inner products satisfy
Applying the preceding calculation gives . Taking roots, then the infimum over representations and handles, proves
This is the tensor-product capacity bound from an orthonormal representation, and the displayed projection calculation supplies Bessel inequality explicitly.
For , label graph vertices by , with edges at differences . The five words
are independent in its strong square: a difference in the first coordinate produces a nonedge difference in the second, while a first-coordinate difference is already a nonedge. Hence .
Figure 1.
Five independent words in the strong square of the pentagon
. Details.
For the matching upper bound set , , and
Each vector is unit. For a nonedge, the angle difference is , and
because and . Thus these vectors form an orthonormal representation. The handle has , giving . Together the two bounds prove the pentagon capacity code result
Throughout this question the binomial random graph has , as fixed in the introduction. Let and . Count the -vertex independent sets by a random variable . Linearity of expectation gives
For the second inequality, implies . For the limit, grows faster than . By the first moment method, with high probability there is no such independent set; any larger independent set would contain one. Thus the independence number satisfies with high probability.
Every class of a proper graph coloring is an independent set, giving the claimed chromatic lower bound:
A -colouring assigns one of colours to every vertex so that adjacent vertices have different colours. The chromatic number is the least such . An independent set contains no adjacent pair, and the independence number is the maximum size of such a set.
For a concrete first example, start with the five-cycle and apply the Mycielski construction times. Each application raises the chromatic number by one and preserves triangle-freeness. The resulting graph has chromatic number and contains no triangle, hence no complete graph for .
We next prove the stronger high-girth assertion by the probabilistic method. For a large integer , take
If counts cycles of lengths , then
By the first moment method, with probability tending to one .
Let . The expected number of independent sets of size is at most
because dominates . Hence with positive probability has fewer than short cycles and .
Delete one vertex from each cycle of length at most . The remaining graph has no such cycle, has at least vertices, and still has . Since each colour class is independent,
This proves that there are graphs of arbitrarily high girth and chromatic number.
For the final claim, begin instead with
The expected number of triangles is
so with probability tending to one . Put . The expected number of independent -sets is bounded by
because the positive term is whereas the negative term has order .
Thus some such has fewer than triangles and no independent set of size . Delete one vertex from every triangle; more than vertices remain and the graph is triangle-free. Take any induced subgraph on exactly vertices. Vertex deletion cannot increase the independence number, so the resulting graph satisfies
This is the triangle-free graph with sub-power independence number construction.
Strong product of graphs 2026-10-14
Its vertices are pairs of vertices. Two distinct pairs are adjacent exactly when, in each coordinate, their entries are equal or adjacent in the corresponding graph. Cartesian products of independent sets are independent, giving supermultiplicativity of the independence number.
Vertex cover number Created 2026-10-14 Updated 2026-10-14
The vertex cover number records the size of a minimum vertex cover:
The vertex cover number is a number, while a minimum vertex cover is a set attaining it. For the cycle graph , the independence number is , so the complement correspondence gives . The vertex cover above attains this size.
Every matching in a graph gives a lower bound on the vertex cover number. Its edges have no shared endpoints, so covering each selected edge requires a different vertex. Thus, for any matching in a graph and any vertex cover ,
where is the matching number. Exhibiting a matching in a graph and a vertex cover of the same size certifies that both are optimum. Kőnig's theorem for bipartite matching says that every finite bipartite graph admits this equality: .[ref]
For the complete bipartite graph , let the left vertices be and the right vertices be . All six edges join to . Selecting covers every edge; selecting gives a matching in a graph of size two. The lower bound and this vertex cover give , so . The remaining vertices form a largest independent set of size three. Crossings of drawn edges are not extra vertices.
Figure 1.
Two disjoint matching edges certify that the two left vertices are a minimum cover of K₂,₃
. Details.
The bipartite graph hypothesis matters. In a triangle in a graph, any two vertices form a minimum vertex cover, while any two edges share an endpoint. Hence and . Similarly, the cycle graph has and . The inequality for the matching number remains valid, but equality can fail.