Rado's theorem (Ramsey theory)
# Rado's theorem (Ramsey theory)

Rado's theorem is a theorem from the branch of mathematics known as Ramsey theory. It is named for the German mathematician Richard Rado. It was proved in his thesis, Studien zur Kombinatorik.

## Statement

Let $A\mathbf {x} =\mathbf {0}$ be a system of linear equations, where $A$ is a matrix with integer entries. This system is said to be $r$-regular if, for every $r$-coloring of the natural numbers 1, 2, 3, ..., the system has a monochromatic solution. A system is regular if it is r-regular for all r ≥ 1.

Rado's theorem states that a system $A\mathbf {x} =\mathbf {0}$ is regular if and only if the matrix A satisfies the columns condition. Let $c_i$ denote the i-th column of A. The matrix A satisfies the columns condition provided that there exists a partition $C_1,$ $C_2,$ ..., $C_n$ of the column indices such that if $s_{i}=\Sigma _{j\in C_{i}}c_{j}$, then

* $s_1$ = 0
* for all i ≥ 2, $s_i$ can be written as a rational linear combination of the $c_j's$ in all the $C_k$ with k < i. This means that $s_i$ is in the linear subspace of $Q^m$ spanned by the set of the $c_j's.$

## Special cases

Folkman's theorem, the statement that there exist arbitrarily large sets of integers all of whose nonempty sums are monochromatic, may be seen as a special case of Rado's theorem concerning the regularity of the system of equations

    $x_{T}=\sum _{i\in T}x_{\{i\}},$

where T ranges over each nonempty subset of the set {1, 2, ..., x}.

Other special cases of Rado's theorem are Schur's theorem and Van der Waerden's theorem. For proving the former apply Rado's theorem to the matrix $(1\ 1\ {-1})$. For Van der Waerden's theorem with m chosen to be length of the monochromatic arithmetic progression, one can for example consider the following matrix:

$\left({\begin{matrix}1&1&-1&0&\cdots &0&0\\1&2&0&-1&\cdots &0&0\\\vdots &\vdots &\vdots &\vdots &\ddots &\vdots &\vdots \\1&m-1&0&0&\cdots &-1&0\\1&m&0&0&\cdots &0&-1\end{matrix}}\right)$

## Computability

Given a system of linear equations it is a priori unclear how to check computationally that it is regular. Fortunately, Rado's theorem provides a criterion which is testable in finite time. Instead of considering colourings (of infinitely many natural numbers), it must be checked that the given matrix satisfies the columns condition. Since the matrix consists only of finitely many columns, this property can be verified in finite time.

However, the subset sum problem can be reduced to the problem of computing the required partition $C_1,$ $C_2,$ ..., $C_n$ of columns: Given an input set S for the subset sum problem we can write the elements of S in a matrix of shape 1 × |S|. Then the elements of S corresponding to vectors in the partition $C_1$ sum to zero. The subset sum problem is NP-complete. Hence, verifying that a system of linear equations is regular is also an NP-complete problem.

