For a finite graph of maximum degree , a random independent edge coloring and the Lovász local lemma prove existence of a coloring with no repetitively colored four-edge path when , and no repetitively colored six-edge path when .
A fixed edge lies in at most unoriented paths of length . Hence a four-edge event has a closed dependency neighbourhood of size at most and probability ; the symmetric local-lemma product is at most . The corresponding six-edge quantities are , and . The stated constants make both products less than one.
Both lengths can be excluded simultaneously with for an absolute constant . Apply the asymmetric Lovász local lemma with parameters , . A path of length meets at most four-edge paths and six-edge paths. The sums of neighbour parameters are therefore bounded by constants times . Choosing sufficiently large makes both products in the local-lemma inequalities at least one half, establishing the claim.
In a partially fixed two-colour edge coloring of a complete graph, complete all unassigned edges independently and fairly. For a fixed clique with unassigned edges, its conditional probability of becoming monochromatic is zero if both colours already occur; if a colour is fixed and no conflicting colour occurs; and if none is fixed. Sum these conditional probabilities over the cliques to obtain a computable conditional expectation. Fix each next edge to a colour that does not increase this conditional expectation, yielding a deterministic minimization construction.
A bipartite graph has equal list-chromatic index, chromatic index and maximum degree of a graph . Start with a proper -edge coloring. Orient its line graph toward smaller colors at one part and toward larger colors at the other. An edge of color has at most outgoing neighbours. Every induced orientation has a digraph kernel obtained from a stable matching in a bipartite graph with those preferences. Apply the kernel list-coloring lemma.
Graph coloring Created 2026-10-14 Updated 2026-10-20
A graph coloring assigns labels called colours to elements of a graph, subject to specified constraints. Here we focus on proper vertex colouring of a simple graph : it is an undirected graph with a finite set of vertices, and a colouring with at most colours is a functionThe colour labels need not be visual colours: they can represent time slots or resources. Unused labels are allowed. Properness concerns graph adjacency, so moving vertices in a drawing does not change whether the graph coloring is valid.[ref]
https://ocw.mit.edu/courses/6-1200j-mathematics-for-computer-science-spring-2024/mit6_1200j_s24_lec11.pdf. MIT, Graphs and Coloring, Section 2.1
Each colour class is an independent set: no edge has both endpoints in it. Conversely, a set partition of into independent sets gives a proper graph coloring by assigning one colour to each part. Thus graph coloring groups mutually compatible objects, and its chromatic number asks for the fewest such groups.
For an illustrative scheduling model, let each vertex represent an activity of equal duration and each edge represent a pair that cannot occur in the same time slot. A proper graph coloring is then a schedule respecting those pairwise conflicts. If the conflicts form a cycle graph with edges , activities can share one slot and another. This model assumes interchangeable slots and includes only the pairwise conflicts encoded by the graph.[ref]
https://ocw.mit.edu/courses/6-042j-mathematics-for-computer-science-fall-2010/1ccaf180bcd244fddd32e60789fa922f_h9wxtqoa1jY.pdf. Leighton, MIT Graph Theory and Coloring, transcript pages 8–10
The word "colouring" also occurs in edge coloring, which requires different colours on edges sharing an endpoint. The chromatic number discussed here always refers to proper vertex colouring.
Colour each edge of the complete graph independently red or blue, with probability for each colour. Every four-element subset of vertices determines exactly one copy of , containing six edges. These six edges are all red with probability and all blue with probability . The events are disjoint events, soLet be the indicator random variable for this event and let count the monochromatic copies. Linearity of expectation givesThe indicator random variables for overlapping copies need not be independent. Averaging over all edge colorings ensures that at least one has . Thus the probabilistic method provesFor , both sides are zero and any edge coloring works. Copies are counted by their four-vertex subsets, rather than by their possible labellings.
Set . Independently sample an edge coloring exactly as in part (d), count its monochromatic copies of by examining all four-vertex subsets, and accept precisely when . Otherwise start over with a fresh edge coloring.
To prove an expected polynomial time bound, the existence argument alone is insufficient: we need a lower bound on the acceptance probability at this exact threshold. Since is a nonnegative integer with expectation , rejection implies . Markov's inequality therefore gives the integer-valued expectation threshold restart boundThe number of attempts has a geometric distribution, with expectation at most . Sampling the edge coloring costs random bits, and checking all four-vertex subsets costs operations, since only six edges must be tested per subset. HenceThis is a randomized algorithm that always returns an edge coloring meeting the original threshold and terminates with probability one. The stated operation count uses -bit counters; counting their bit complexity explicitly introduces at most a further logarithm factor and still gives polynomial time. For , return any edge coloring immediately.
Color every edge independently and uniformly with one of colors. For each unoriented simple four-edge path , let be its repetition event. Its four distinct edges must satisfy two prescribed color equalities, so .
Events with edge-disjoint paths depend on disjoint random variables. A fixed edge lies on at most unoriented four-edge paths: count its four possible positions and two orientations, bound the remaining choices by , then divide the oriented path count by two. Thus the union of all paths sharing any of 's four edges has size at most . This union includes itself, so a dependency graph has .
For ,The symmetric Lovász local lemma yields positive probability of avoiding every event. Therefore such an edge coloring exists. If there are no four-edge paths the conclusion is immediate.
Past exam of the mathematics course of the University of Cambridge 2002 iii Paper 9 2 Solution Created 2026-10-03 Updated 2026-10-14
Each vertex of a bipartite graph has a strict preference ordering of its neighbours; every neighbour is preferred to being unmatched. A stable matching in a bipartite graph is a matching in a graph with no blocking edge: an unused edge blocks if both endpoints prefer each other to their assigned partners, interpreting an unmatched endpoint as willing to accept any neighbour. Stability does not require a perfect matching in a graph.
For existence, run the Gale-Shapley algorithm. Whenever a vertex in the first part is unmatched and has an untried neighbour, it proposes to its most preferred untried neighbour. A receiver keeps its preferred proposal and rejects the other, including any previously held proposal. At most proposals occur, so the procedure stops with a matching in a graph. Suppose an edge blocked this final matching in a graph. Since prefers to its final partner, or is unmatched, must have proposed to . But a receiver's held proposal only improves, so 's final partner is preferred to if was rejected. If was not rejected, the edge is in the matching in a graph. Both alternatives contradict blocking. Every finite bipartite preference instance therefore has a stable matching.
For the mutual-worst edge in stable matchings, let be stable matchings with and . We give the argument using alternating graph components including possible unmatched endpoints. If were unmatched in , then would have to prefer its -partner to , since otherwise would block . Following the -edge from , stability of forces its other endpoint to have and prefer an -partner. Stability of then forces the next vertex to have and prefer an -partner. These implications continue along the alternating graph component of . They cannot stop, because at a missing next edge the preceding edge would block the appropriate matching in a graph. They also cannot close into a cycle in a graph, since the graph component already has endpoint . This contradiction proves that is matched in . The same reasoning applies to .
Now prefers its -partner to , because is its worst choice. Along the alternating graph component, stability of forces that partner to prefer its -partner; stability of forces the next vertex in 's part to prefer its -partner, and so on. A graph path graph component is impossible by the same endpoint argument, so this is a cycle in a graph. Thus throughout this cycle in a graph the part containing prefers and the part containing prefers . In particular must prefer to its -partner. That contradicts being 's worst choice. Hence an edge ranked last by both endpoints, if present in one stable matching, is present in every stable matching.
For the list edge coloring assertion, let be the maximum degree. We first prove that the chromatic index is . Use induction on the number of edges, with a proper -edge coloring of . Some color is missing at and some color is missing at . If , color with it. Otherwise the edges of colors form alternating graph paths and even cycles in a graph. The graph component containing cannot contain : an alternating graph path from , starting with color , would end at with color , have even length, and place in the same bipartition class. Swap in the graph component containing . Now is missing at both ends of , so it can be colored . The lower bound is immediate at a vertex of vertex degree .
Fix such a proper coloring . Orient the line graph toward the smaller color at vertices in the first part of , and toward the larger color at vertices in the second part. A vertex of the line graph corresponding to an edge of color has outdegree at mostEvery induced subgraph of this orientation has a digraph kernel. Indeed, restrict to its edge set in the original bipartite graph, give first-part vertices a preference for smaller colors and second-part vertices a preference for larger colors, and choose a stable matching. Its edges form an independent set in the line graph. Every edge outside the matching in a graph has an endpoint whose partner is preferred to it, by stability; thus it has an outgoing edge to the independent set. This proves that the orientation is a kernel-perfect directed graph.
Here is the kernel list-coloring lemma with its proof. If a kernel-perfect directed graph has lists satisfying , choose any color appearing in a list and a digraph kernel of the induced subgraph on vertices whose lists contain . Color with , delete , and delete from the remaining lists. Each remaining vertex that loses a color had an outgoing neighbour in , so its outdegree decreases by at least one; the list inequality persists. Vertices not losing a color also retain the inequality. Induction on the number of vertices completes a proper list coloring.
Lists of size satisfy that lemma for our oriented line graph, so . Identical lists show . Consequently the Galvin theorem for bipartite list edge coloring givesThe empty graph is immediate; if parallel edges are allowed, orient their line-graph adjacency in both directions when the two endpoints prescribe opposite directions. The outdegree bound still holds, and the same stable matching and digraph kernel proof applies with preferences on incident edges.
Past exam of the mathematics course of the University of Cambridge 2004 iii Paper 11 4 Solution Created 2026-10-03 Updated 2026-10-14
The assertion with the same in the degree interval and the final colour bound is false as printed. Fix , , let , and take . Every degree is , while every pair hypergraph codegree is one. For any proposed , choose large enough that . Nevertheless a matching in a graph contains at most edges, whereas there are edges in total. Thus every edge coloring requires at least colours, exceeding . The obstruction persists with arbitrarily small relative hypergraph codegree.
The meaningful asymptotic target separates the output tolerance from the input regularity error. For fixed rank and target , choose a sufficiently small and require degrees in as well as pair hypergraph codegrees at most . The semi-random method then gives . Here is the requested proof essay for that corrected conclusion, including its random rounds, tracking requirements and completion step.
A useful way to run all colour classes together is the auxiliary matching construction for hypergraph edge colouring. Use initial colours. Create a task vertex for each original edge , and a resource vertex for each original vertex and colour. An assignment is an -edge consisting of its task and the resources for all . A matching in a hypergraph in this auxiliary system is a proper partial colouring: a task cannot get two colours, and two edges sharing cannot use the same resource .
The auxiliary task degrees are , resource degrees are , and its pair hypergraph codegrees are at most . It is therefore nearly regular with small hypergraph codegrees. For and a nonempty original hypergraph, the hypergraph codegree condition also forces ; taking small absorbs rounding and ensures a large working degree. Rank one is immediate by assigning distinct colours to edges at each vertex.
The extra balance condition is important. Let be the set of tasks corresponding to edges through original vertex . A matching in a hypergraph missing a small fraction of all tasks need not leave few tasks in each . The Rödl nibble must leave at most unmatched tasks in every such star, where one may choose . This local requirement, rather than just a global almost-perfect matching in a hypergraph, is what permits a cheap final edge colouring.
Run a Rödl nibble on the auxiliary system, whose rank is . In a round of working degree , sample each surviving assignment independently with probability , for a small fixed . Accept the sampled assignments that meet no other sampled assignment. Delete every auxiliary vertex touched by any sampled assignment, including conflicted ones, before proceeding. The accepted assignments are a matching in a hypergraph, and later assignments cannot reuse a consumed task or resource. Record each discarded but uncoloured task as waste; it must be counted in the final residual graph.
For an auxiliary vertex of degree , the probability of remaining untouched isFor an auxiliary edge through a surviving vertex, the other vertices survive with probability approximately . Their incident trial families overlap in at most trials by the hypergraph codegree bound, so the overlap error in this product calculation is small. This leads to the degree trajectorywhile the surviving fraction of task vertices is approximately per round. For a sampled assignment, a union bound over at most conflicting assignments gives collision probability at most . More explicitly, for a fixed task the expected number of ordered sampled conflict pairs having the first assignment through that task is at mostThis bounds its waste probability. Thus productive deletion is first order in , and collision loss is second order.
The technical tracking step makes these expected value calculations locally simultaneous and keeps their errors from accumulating. Its requirements are: residual auxiliary degrees stay near their trajectory after controlled pruning; each original star has the predicted number of surviving tasks; and every star's total collision and pruning waste is small. The standard probabilistic tools enter at distinct points.
Within a fixed round, task-survival indicators are independent: trial families for different tasks are disjoint, even when their assignments share resources. Conditional Chernoff bounds therefore control the number of surviving tasks in each star. Collision loss has short certificates consisting of pairs of selected intersecting assignments. The number selected through one resource has a binomial distribution of bounded mean. Chernoff bounds truncate these numbers at a suitable logarithmic cutoff; after truncation one trial has only a logarithmically bounded effect on the certified collision count. A certifiable function concentration bound, or a corresponding exposure argument, then controls loss in each star. These rare local overload events have polynomially bounded local dependency neighborhoods in the working degree, so the Lovász local lemma can select a simultaneous outcome independent of the total number of vertices.
Residual-degree counts require additional care because they are not sums of independent indicators. Two survival tests share at most a hypergraph codegree's worth of trials; expanding their joint probabilities bounds their covariance by the corresponding relative overlap. For a residual-degree count with summands, overlapping summands and shared survival trials give a variance bound of the formChebyshev's inequality then bounds by . This gives a small exceptional fraction when the relative hypergraph codegree is sufficiently small; it does not by itself make every degree good. The tracking argument records and prunes these exceptional configurations, bounding their contribution to each star by codegree-weighted exposure and the same local-loss bookkeeping. Markov's inequality controls exceptional mass, and repeated conditional concentration controls the retained counts. One must not apply an independent Chernoff bound directly to a residual degree or infer a uniform star bound just from a global expected loss. Keeping the pruning loss explicitly is the key distinction between a valid Rödl nibble argument and those shortcuts.
Choose the parameters in this order: first and ; next so small that ; nextand finally the initial regularity/hypergraph codegree tolerance small enough for all tracking and pruning errors. This is a bounded number of rounds depending on the tolerances, not on the graph order. After rounds, the surviving task fraction is at most approximately , while accumulated collision loss is . Reserving the remaining margin for tracking and pruning leaves at most uncoloured edges at every original vertex. The working degree is still a fixed positive multiple of , namely about , so the large-degree estimates remain applicable throughout.
Finally use a fresh palette on the residual original hypergraph. Its maximum degree is at most ; an edge meets at most others. Greedy colouring therefore needs at most fresh colours. The total is at mostfor sufficiently large , already ensured by choosing small. This completes the passage from the locally balanced Rödl nibble to the hypergraph chromatic index bound. The degree tolerance must be the small input parameter ; replacing it by the entire output allowance removes the slack and leads precisely to the complete-graph counterexample above.
Ramsey number 2026-10-14
For positive integers , the Ramsey number is the least integer such that every red-blue edge coloring of the complete graph contains either a red clique on vertices or a blue clique on vertices. The complete graph has all unordered pairs as edges; every edge gets exactly one color, with no requirement that incident edges have different colors. The definition and its graph interpretation appear in D. Yogeshwaran's Discrete Mathematics notes, section 5.3.
For example, asks how many vertices force a monochromatic triangle in a graph. Swapping colors gives . Also : either a red edge exists, or all edges are blue. On vertices, an all-blue coloring avoids both a red edge and a blue -clique. Under the convention that a one-vertex clique qualifies in either color, .
For , splitting the neighbors of one vertex by the colors of their incident edges givesIndeed, in a complete graph of the order on the right, at least neighbors are joined to that vertex by red edges, or at least are joined by blue edges. In the red case, the defining property of the smaller Ramsey number supplies either a blue -clique among the neighbors or a red -clique that extends by the chosen vertex; the blue case is symmetric. Starting from the one-vertex base cases, this recursively proves finite existence. The binomial upper bound for a Ramsey number packages the resulting estimate. [ref]
https://www.its.caltech.edu/~dconlon/RamseyLecture1.pdf. David Conlon's Graph Ramsey Theory notes, Lecture 1
present the neighbor argument and the sharp Ramsey number for triangles.Equivalently, every graph on at least vertices has an -clique or a -element independent set: color its edges red and the edges of its complement graph blue. This is the Ramsey theorem in graph theory. Larger monochromatic patterns have their own thresholds, such as a graph Ramsey number, matching Ramsey number or triangle-packing Ramsey number; these ask different questions from finding one clique.
Ramsey number for triangles Created 2026-10-14 Updated 2026-10-31
Every red-blue edge coloring of the complete graph contains a monochromatic triangle in a graph, and some coloring of contains none. Together the five-cycle Ramsey coloring and six-vertex monochromatic triangle argument giveThe threshold is exact: one carefully chosen coloring establishes the lower bound, while the upper bound must handle every coloring.
A familiar interpretation uses six people and colors each pair red if they know one another and blue if they do not. Assuming the relation is symmetric and every pair falls into exactly one case, there are either three mutual acquaintances or three mutual strangers. The conclusion concerns all three pairs within the group, not merely two relationships through a common person. There is no prediction about which color wins or which three people form the group.
The small size makes exhaustive verification practical. The complete graph has edges, giving red-blue colorings of labeled vertices; exactly 12 have no monochromatic triangle in a graph. They are the choices of a red cycle graph of length five, whose blue complement graph is another five-cycle. The complete graph has edges, giving colorings. Checking all triples in every coloring finds none without a monochromatic triangle in a graph; in fact the minimum number is two. These counts can be reproduced by assigning one bit to each unordered pair and testing whether the three bits of each triple agree. The monochromatic-triangle counting formula gives a separate explanation of the stronger minimum-two conclusion.
Repetitively colored path 2026-10-31
An even-length graph path in an edge coloring is repetitively colored when its first half and second half have the same color sequence in the same order. For a path with distinct edges colored independently and uniformly from colors, the probability of a repetition on edges is : after the first colors, the last colors are prescribed. Reversing the path preserves this property, so the corresponding bad events may be indexed by unoriented paths.
Tait coloring 2026-10-14
A proper three-color edge coloring of a cubic graph. Label its colors by the nonzero elements of : the incident colors at each vertex then sum to zero. On a planar map without bridges in a graph, integrating these labels on the dual graph gives a four-color face coloring. On a torus, a nonzero period can obstruct this integration.