For a variable of finite variance and , Chebyshev's inequality is
On that event, . Thus , proving the assertion. Equivalently apply Markov's inequality to the squared deviation.
From every vertex choose one neighbour of the successor color and follow these choices. The finite directed graph with one chosen outgoing edge per vertex contains a directed cycle. Its vertices are distinct until the first repeated vertex. Each step increases the color by one modulo five, so returning to the starting vertex requires the cycle length to be divisible by five. It therefore has length at least five and is also a cycle in the underlying graph. This proves a cycle of length a positive multiple of five exists.
Assign each vertex a color independently and uniformly from the five available residues. Let be the event that none of its neighbours has the successor color. Conditional on the color of , its neighbours all avoid that color with probability , so .
The event only uses colors in the closed neighbourhood of . Events based on disjoint such sets are jointly independent. A closed neighbourhood can intersect another only when the two centres are at distance at most two, giving dependency degree at most . For sufficiently large ,
The symmetric local lemma therefore supplies a color assignment with no bad event, proving every vertex has a neighbour of the successor color. As defined in the question, this is a five-color assignment; it is not required to be a proper vertex coloring of every edge, which would be impossible for some large regular graphs.
The construction generalizes to cyclic successor colorings of regular graphs.
For events with a dependency graph, assume each event is independent of the sigma-algebra generated by its nonneighbours. If numbers satisfy , the general Lovász local lemma gives
The symmetric version says that if every event has probability at most , the dependency graph has maximum degree at most , and , then none occurs with positive probability. For , set . Since , the general condition follows from the symmetric numerical hypothesis. The logarithmic inequality proves that estimate. When , the events are mutually independent and each has probability below one, so the conclusion is immediate. This is the intended implication from the general to the symmetric form; the source repeats the word symmetric in its final clause.
Retain from the preceding part. In , at most vertices have too few neighbours in , and at most have too few in . Since , , so some is good for both. Put and . Their sizes are at least . Regularity of therefore gives
There is an edge joining a vertex of to a vertex of . Its two endpoints and form a triangle. The nonempty equal classes ensure this counting argument also covers small integer sizes.
Let be the vertices of with fewer than neighbours in . If , it is a permissible subset in the regularity test, and averaging those degrees gives . But , so
contradicting regularity. Therefore there are at most such vertices. The same argument in fact rules out when that threshold is integral and nonzero.
For nonempty disjoint vertex sets define . The pair is -uniform, also called regular, if whenever and have sizes at least and ,
Thus reasonably large relative subsets retain almost the same edge density.
An even cycle is bipartite and has chromatic number two. An odd cycle has chromatic number three. The extremal-density theorem therefore gives
For odd cycles the complete balanced bipartite graph also exhibits the matching asymptotic lower density one half.
The extremal number is the maximum number of edges in a simple graph on vertices containing no subgraph isomorphic to . For a fixed graph with , the Erdős-Stone theorem gives
Equivalently, the ratio to tends to . The bipartite case has limiting density zero.
A vertex with at least neighbours has either a -clique among them, producing with the vertex, or an independent -set among them, producing an induced star with that centre.
For the second assertion put . If either of those two outcomes is absent, the preceding result forces maximum degree at most . In a connected graph of this maximum degree, a ball of radius has at most vertices, using the rough bound on walks at each distance. If the graph has more vertices, some vertex lies at distance at least from a chosen root. A shortest path to it is induced, since a chord would shorten it; its first edges give an induced path of the required length. Thus a sufficiently large connected graph has one of the three listed configurations.
For , split vertices into classes of size , coloring edges between classes red and edges inside classes blue. The red graph has no , and every blue component is too small for the connected tree. This proves the lower bound.
For the upper bound let and suppose the blue graph contains no copy of the tree. By the permitted chromatic-number statement, its chromatic number is at most . A graph of larger chromatic number would have a subgraph of chromatic number exactly , obtained by deleting vertices until that number is reached. A proper blue coloring with at most classes puts no blue edges within any class, so each class is a red clique. If there is no red , each class has at most vertices, contradicting . Therefore
The one-vertex boundary cases give one directly.
The graph Ramsey number is the smallest such that every red-blue coloring of the edges of has a red copy of or a blue copy of . These copies are subgraphs, not necessarily induced. Equivalently every graph on vertices contains or its complement contains .
The Ramsey number is the least such that every graph on vertices has a -clique or an independent set of size . Choose a vertex in a graph of order . It has either at least neighbours or at least nonneighbours. In the first set, a -clique extends with the vertex to a -clique, while an independent -set already suffices. The complementary argument handles the second set. Thus
The boundary values are and . Induction on , using Pascal's identity, therefore gives
Choose the central vertex's color in ways. Every rim vertex must avoid that color, so the rim is a cycle colored using the remaining colors. Hence
For a triangle, . For , deleting an edge leaves a path with polynomial , and contracting it leaves . Deletion-contraction and induction give
The path formula chooses its first color freely and each succeeding color in ways.
For an edge , colorings of divide into those giving different colors, counted by , and those giving them the same color, counted by . Parallel edges produced by contraction may be suppressed. Thus
For an edgeless graph on vertices, . Induct on the number of edges, allowing smaller vertex counts for contractions. If both smaller expansions have alternating nonnegative coefficients, the contraction's leading degree is one lower, so subtracting it gives
with absent coefficients interpreted as zero. Each coefficient remains nonnegative. Both terms have zero constant coefficient for nonempty graphs, so the resulting expansion is
This induction simultaneously proves the counting function is a polynomial.
First the graph is connected: every component has at least vertices, so two components cannot fit. Take a longest path . Every neighbour of either endpoint lies on that path. In the index set define
Their sizes sum to , so they share an index . The edges at that index give the cycle
containing every vertex of the path. The minimum-degree assumption and ensure the resulting cycle is nondegenerate. If it omitted any graph vertex, connectedness would supply an edge from outside it to the cycle. Starting with that outside vertex and then following the cycle without closing it gives a path with vertices, contradicting maximality. Thus the cycle is Hamiltonian. This proves Dirac's theorem in the required case.
If no complete matching exists, Hall's theorem gives a nonempty , of size , with . The pairs between and must be nonedges, so there are at least
missing edges. Hence , contradicting the strict edge bound. Therefore a complete matching exists.
The strictness is necessary: isolate one vertex of and put all edges between the remaining left vertices and all right vertices. There are exactly edges and no matching can cover the isolated vertex. This also handles .
Hall's theorem states that a finite bipartite graph with classes has a matching covering exactly when for every . Necessity follows because the distinct matched partners of belong to .
For sufficiency take a maximum matching. If it leaves unmatched, explore alternating paths starting at , traversing unmatched edges from left to right and matched edges back to the left. No reached right vertex can be unmatched, since flipping the edges of such an alternating path would augment the matching. Let be the reached left and right sets. Every neighbour of lies in : unmatched edges are explored, and a matched edge from a reached left vertex leads to its already reached predecessor. Conversely every member of is a neighbour of . Their matched partners are exactly , so , contradicting the hypothesis. Thus a matching covering exists.

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