The five-cycle and its complement both have no triangle, so . In a six-vertex graph, any vertex has at least three neighbours or three nonneighbours. In the first triple an edge completes a triangle with the chosen vertex, while no edges give an independent triple. The complementary argument handles three nonneighbours. Hence .
Now suppose a nine-vertex graph contains no triangle and no independent four-set. Each vertex has at most three neighbours, since its neighbourhood is independent. It cannot have at most two neighbours: its at least six nonneighbours contain, by the result just proved, either a triangle or an independent triple; the former is forbidden and the latter joins the vertex to give an independent four-set. Every degree must therefore equal three. But nine vertices of degree three have odd total degree, contradicting the handshake lemma. Thus .
The Ramsey number is the least such that every -vertex graph contains a clique of size or an independent set of size . Take and choose a vertex . Among its other vertices, either it has at least neighbours or it has at least nonneighbours.
In the first case those neighbours contain an independent -set or an -clique, which joins to form an -clique. In the second case the nonneighbours contain an -clique or an independent -set, which joins to form an independent -set. This proves
The chromatic number is the smallest positive integer for which . Thus equality of the polynomials implies , as well as and . In particular contains no , since such a clique requires colors. The equality case in Turán's theorem now gives . This uses more than equality of triangle counts: the polynomial also determines colorability.
The degree of a chromatic polynomial is the number of vertices and the negative of its next coefficient is the number of edges. Equality with therefore forces vertices and edges. A simple graph on those vertices with that many edges contains every possible edge, so .
Deletion-contraction also proves the alternating-sign form with nonnegative coefficients. If has vertices, has , so subtracting its alternating expansion adds its coefficient at each succeeding index:
Starting from an edgeless graph gives and no constant term when .
For the first coefficients, inclusion-exclusion over the forbidden monochromatic edges gives the precise expression
where counts components of the spanning graph , including isolated vertices. Only gives . A rank-one edge set is a single edge, giving coefficient at . Rank two comes from every two-edge subset, each with positive sign, and every triangle, each with negative sign. No other simple edge set has rank two: its nontrivial components must be a three-vertex component or two separate edges. Thus
The displayed assertion concerns ; below this degree the corresponding coefficient is absent and its expression is zero.
For a positive integer , counts proper vertex colorings using a labelled palette of colors. Choose an edge . Proper colorings of divide into those in which have different colors, counted by , and those in which they have the same color, counted by . Thus
where parallel edges after contraction are suppressed. Induction, using for an edgeless graph, produces a polynomial agreeing with every integer coloring count. The polynomial is unique because two polynomials agreeing at infinitely many integers are identical.
The Turán graph is the complete -partite graph whose nonempty part sizes differ by at most one. Write , : it has parts of size and parts of size .
Turán's theorem states that every simple -vertex graph with no has at most edges, with equality precisely for a graph isomorphic to . Its edge number is half of minus the sum of the squared part sizes.
Add adjacent to every vertex of and adjacent to every vertex of . Suppose an – separator has fewer than vertices. It cannot contain all of either class. Choose and . No edge can join the remaining two classes, since it would give a three-edge – path. Hence every neighbour of lies in , and every neighbour of lies in . The minimum-degree bound implies
a contradiction. Menger's theorem therefore gives internally vertex-disjoint – paths. Each uses at least one vertex of each original class, and only vertices are available in each class. Every path must consequently use exactly one of each. Their middle edges form a perfect matching.
In the vertex form of Menger's theorem, for distinct nonadjacent vertices of a finite graph, the maximum number of pairwise internally vertex-disjoint – paths equals the minimum size of an – vertex separator. A separator is a subset of vertices other than whose deletion leaves no – path; internally disjoint paths may share their endpoints but no other vertices. Equivalently, between disjoint vertex sets the maximum number of mutually vertex-disjoint connecting paths equals the minimum size of a separating vertex set, where endpoints may be deleted in that set version.
Make a bipartite graph whose two classes index the two partitions, joining on the left to on the right exactly when . For a subset of left indices, its union of blocks contains elements. They all lie in the blocks indexed by , whose union has elements. Thus . Hall's theorem gives a matching covering all left vertices, hence also all right vertices. Its partner map is the required permutation .
Hall's theorem states that a finite bipartite graph with classes has a matching covering if and only if for every . Here is the set of vertices of adjacent to at least one member of . Necessity follows because matched partners of are distinct members of .
For sufficiency induct on ; zero or one vertex is immediate. If a nonempty proper has , Hall's condition holds within the graph on . It also holds on the remaining classes: for ,
Induction gives matchings in these two disjoint subgraphs, and their union covers . Otherwise every nonempty proper has . Choose any edge and delete its two endpoints. Every nonempty subset of the remaining left class was a proper subset of , so deleting leaves at least as many neighbours as vertices. Induction gives a matching there, and adjoining completes the matching. This proves sufficiency in all cases.
For , make one block from the edge weights . These blocks are independent because they contain disjoint edges. Changing one whole block only changes weights of edges incident with vertex . Every matching contains at most one such edge, so its total weight changes by at most one. Comparing an old optimal matching in the new weights and a new optimal matching in the old weights proves that the maximum matching weight also changes by at most one.
Apply the bounded-differences martingale argument to these blocks, giving
Exposing each edge separately would give a weaker quadratic-in- denominator. The grouped exposure is what supplies the requested linear denominator. The proof needs only independent weights in , not identical uniform laws. For , the matching weight is deterministically zero; the divided formula is intended for .
Figure 1.
Independent blocks for revealing matching weights
. Each edge is assigned to its lower-numbered endpoint. Edges in one block share a vertex, so any matching uses at most one of them. Details.
The union area is a bounded measurable function of the centres, with . Fix all centres except one, and let be the union of the fixed disks. Replacing the remaining disk changes the area to . The second term always lies in , so the area changes by at most , not merely by the weaker bound .
Thus has coordinate differences at most one for the independent centres. The preceding martingale bound gives
One may take , independently of all centre distributions. Boundedness of the area ensures the conditional expectations exist even when the centre locations have no finite moments.
Azuma's inequality states that if is a martingale with almost surely, then for ,
For independent product coordinates , expose them successively and set . If changing one coordinate changes by at most one, the possible conditional means at that exposure have diameter at most one, by averaging the same remaining independent coordinates. Therefore the martingale increments have absolute value at most one. It follows that
For coordinate bounds , the same argument gives denominator . The argument extends to arbitrary independent measurable coordinates for an integrable function with these bounds, rather than requiring finite state sets.
On this product, use the Hamming metric . The relevant Lipschitz condition is , equivalently changing any one coordinate changes the function by at most one. More generally an -Lipschitz function has bound . The unit version is the bounded-differences condition used below.
Every vertex in the component can be reached from by a simple path. The number of potential length- simple paths beginning at is at most , and each has probability of being present. Counting such paths may count a vertex more than once, so it gives an upper bound on the expected number of reached vertices:
Thus works for every . Equivalently the dominating branching process has mean offspring one half and expected total progeny two.
Explore the component of one vertex by processing discovered vertices in order. At each step, the number of newly discovered neighbours is a binomial variable with at most trials and success probability , on previously unexposed independent edges. Pad each step with independent dummy trials. This couples the exploration below independent offspring variables , each of mean one half.
If the component has at least vertices, after vertices have been processed at least offspring must have been found. Hence
The sum is binomial with mean . The multiplicative Chernoff inequality therefore gives
A union bound over all vertices bounds the probability of any component of size at least by . Taking with any , for example ten, makes this tend to zero. Thus the largest component is at most a constant times with high probability.
Realize the random graph process by giving every edge an independent uniform arrival time. For a fixed four-set , only its six internal edges and its outgoing edges affect whether it is an isolated clique. It is an isolated clique at some time exactly when all six internal edges arrive before every outgoing edge.
The relative ordering of these edges is uniform. The chance that the first six are exactly the six internal edges is . A union bound over the possible vertex sets gives
Edges entirely outside are irrelevant. Counting the whole arrival-order event avoids an invalid union over continuously many times.
Let count the four-vertex sets spanning a clique. Its expectation is . If , then and Markov's inequality gives .
Now suppose . Then . Two distinct clique indicators are independent unless their vertex sets share at least two vertices. An overlap of two vertices gives ordered pairs requiring eleven distinct edges; an overlap of three gives pairs requiring nine edges. Consequently
The preceding second-moment bound therefore gives . Thus
is a threshold for the appearance of a four-clique. Sharing just one vertex creates no dependence because the two edge sets are disjoint.
Assume , as required by the denominators. Since each indicator has variance at most its expectation, and independent event pairs have zero covariance,
The sum uses ordered pairs, matching the covariance expansion. Chebyshev's inequality now gives
If , almost surely and the divided expression is not the useful form of the bound.

Pinned article: Introduction to the OurBigBook Project

Welcome to the OurBigBook Project! Our goal is to create the perfect publishing platform for STEM subjects, and get university-level students to write the best free STEM tutorials ever.
Everyone is welcome to create an account and play with the site: ourbigbook.com/go/register. We belive that students themselves can write amazing tutorials, but teachers are welcome too. You can write about anything you want, it doesn't have to be STEM or even educational. Silly test content is very welcome and you won't be penalized in any way. Just keep it legal!
We have two killer features:
  1. topics: topics group articles by different users with the same title, e.g. here is the topic for the "Fundamental Theorem of Calculus" ourbigbook.com/go/topic/fundamental-theorem-of-calculus
    Articles of different users are sorted by upvote within each article page. This feature is a bit like:
    • a Wikipedia where each user can have their own version of each article
    • a Q&A website like Stack Overflow, where multiple people can give their views on a given topic, and the best ones are sorted by upvote. Except you don't need to wait for someone to ask first, and any topic goes, no matter how narrow or broad
    This feature makes it possible for readers to find better explanations of any topic created by other writers. And it allows writers to create an explanation in a place that readers might actually find it.
    Figure 1.
    Screenshot of the "Derivative" topic page
    . View it live at: ourbigbook.com/go/topic/derivative
  2. local editing: you can store all your personal knowledge base content locally in a plaintext markup format that can be edited locally and published either:
    This way you can be sure that even if OurBigBook.com were to go down one day (which we have no plans to do as it is quite cheap to host!), your content will still be perfectly readable as a static site.
    Figure 5. . You can also edit articles on the Web editor without installing anything locally.
    Video 3.
    Edit locally and publish demo
    . Source. This shows editing OurBigBook Markup and publishing it using the Visual Studio Code extension.
  3. https://raw.githubusercontent.com/ourbigbook/ourbigbook-media/master/feature/x/hilbert-space-arrow.png
  4. Infinitely deep tables of contents:
    Figure 6.
    Dynamic article tree with infinitely deep table of contents
    .
    Descendant pages can also show up as toplevel e.g.: ourbigbook.com/cirosantilli/chordate-subclade
All our software is open source and hosted at: github.com/ourbigbook/ourbigbook
Further documentation can be found at: docs.ourbigbook.com
Feel free to reach our to us for any help or suggestions: docs.ourbigbook.com/#contact