How to use this course
Andrey Andreyevich Markov (the elder, 1856–1922) is known everywhere for Markov chains, the model of a random process whose future depends on the present but not on the past. They power search engines, speech recognition, statistical physics and Bayesian computation. The chains came late in his career, when he was fifty. Before that he had done first-rate work in number theory, in the theory of continued fractions and moments, in approximation theory and in the limit theorems of probability. This course presents all of it, together with the life of a man who fought the tsar’s government and the Orthodox Church as fiercely as he fought mathematical errors.
- Real analysis and linear algebra (eigenvalues, symmetric matrices).
- A first course in probability: expectation, variance, independence.
- For Lesson 04, elementary number theory and continued fractions.
- For Lessons 05–06, orthogonal polynomials are helpful but are introduced as needed.
Each technical lesson opens with a paragraph for the general reader, then gives precise statements, proof sketches and exercises with folded solutions. His son, Andrey Markov Jr. (1903–1979), was a logician known for Markov algorithms and constructive mathematics; he appears only in Lesson 12.
Timeline
| 1856 | Born 14 June (2 June Old Style) in Ryazan. |
| 1874 | Enters the Physics and Mathematics Faculty of St Petersburg University after Gymnasium No. 5. |
| 1877–78 | Gold medal for an essay on integrating differential equations by continued fractions; graduates in 1878. |
| 1879–80 | Two memoirs in Mathematische Annalen on indefinite binary quadratic forms: the Markov numbers. |
| 1880 | Master’s thesis on binary quadratic forms with positive determinant. Begins lecturing as Privatdozent. |
| 1883 | Marries Maria Valvatyeva. Takes over the probability course after Pafnuty Chebyshev leaves the university. |
| 1884 | Doctoral thesis on applications of algebraic continued fractions; proves Chebyshev’s inequalities on moments. |
| 1886 | Extraordinary professor. Elected adjunct of the St Petersburg Academy of Sciences on Chebyshev’s proposal. |
| 1889–90 | Answers a question of Dmitri Mendeleev: the Markov inequality for derivatives of polynomials. |
| 1890 | Extraordinary academician. |
| 1893 | Ordinary professor (some sources give 1894). |
| 1896 | Ordinary academician, succeeding Chebyshev. |
| 1898 | Correct proof, by the method of moments, of the central limit theorem asserted by Chebyshev. |
| 1900 | Ischislenie veroyatnostei (Calculus of Probabilities); later editions 1908, 1913, 1924. |
| 1902 | Protests the tsar’s annulment of Maxim Gorky’s election to the Academy. |
| 1905 | Retires from the university after 25 years, but continues to teach. |
| 1906 | First paper on chains: the law of large numbers for dependent variables, published in Kazan. |
| 1907–08 | Central limit theorem for chains with two, then finitely many, states. |
| 1912 | Asks the Holy Synod to excommunicate him; the request is granted. |
| 1913 | 23 January: statistical analysis of Eugene Onegin presented to the Academy. Celebrates the bicentenary of the law of large numbers. |
| 1917 | From September teaches unpaid in a secondary school in Zaraisk. |
| 1922 | Dies 20 July in Petrograd. |
Ryazan to St Petersburg, 1856–1878
Andrey Andreyevich Markov was born in Ryazan, south-east of Moscow, on 14 June 1856. His father, Andrey Grigorievich Markov, had studied at a church seminary and worked as a government clerk, later as a manager of estates. The family moved to St Petersburg when Markov was a boy. His younger brother Vladimir Andreyevich Markov (1871–1897) also became a mathematician and earned an international reputation before dying of tuberculosis at 25.
At St Petersburg Gymnasium No. 5 Markov excelled mainly in mathematics.
The university
In 1874 he entered the Physics and Mathematics Faculty of St Petersburg University. The faculty was the centre of the school founded by Pafnuty Chebyshev, and Markov studied with Chebyshev and with Chebyshev’s students Aleksandr Korkin and Yegor Zolotarev. Chebyshev’s mathematics was concrete: approximation of functions, inequalities with explicit constants, number theory, and a probability theory built on rigorous estimates. Markov adopted this style for life.
He won the university’s gold medal for an essay on the integration of differential equations by means of continued fractions, a characteristic Chebyshev theme, and graduated in 1878. He stayed at the university to prepare for an academic career.
Chebyshev’s school, 1878–1886
Korkin and Zolotarev had studied the minima of positive definite quadratic forms. They guided Markov’s master’s thesis, On binary quadratic forms with positive determinant, defended in April 1880. Its central results had already appeared in French in Mathematische Annalen in 1879 and 1880. They determine the indefinite binary quadratic forms whose smallest nonzero value is relatively largest, and they introduce the Diophantine equation whose solutions are now called Markov numbers (Lesson 04). The work is now regarded as a classic.
From the autumn of 1880 Markov lectured at the university as a Privatdozent. In 1883 he married Maria Valvatyeva; her family had waited for him to reach a secure position before approving the match. The same year Chebyshev left the university, and Markov took over the course in probability theory.
The doctorate
In 1884 Markov defended his doctoral dissertation, On certain applications of algebraic continued fractions. It treated a question Chebyshev had raised in 1874: if the first moments \(\int x^k\,d\mu\) of a distribution are known, how much can be said about the distribution itself? Chebyshev had stated the answer as a system of inequalities without proof. Markov proved them in 1884, as did the Dutch mathematician Thomas Joannes Stieltjes independently and at almost the same time; a polite priority dispute followed. These inequalities (Lesson 05) later supplied the key step in Markov’s proof of the central limit theorem.
Professor and academician, 1886–1905
In 1886 Markov became extraordinary professor, and on Chebyshev’s proposal the St Petersburg Academy of Sciences elected him an adjunct. He became an extraordinary academician in 1890 and an ordinary academician in 1896, filling the place left by Chebyshev, who died in 1894. He became ordinary professor at the university in 1893.
His teaching covered the calculus of finite differences, on which he published a two-volume text (1889–91), and probability theory. His lectures were demanding and unpolished; he cared about rigour and about getting the inequalities exactly right. He also ran a student mathematical circle. His doctoral students at St Petersburg included Georgy Voronoy (1896), the geometer of Voronoi diagrams; James Victor Uspensky (1910); Abram Besicovitch (1912); Nikolai Günther (1915); and Jacob Tamarkin (1917).
In 1889 he answered a question that the chemist Dmitri Mendeleev had raised while studying the density of solutions as a function of concentration. The answer, published in 1890, was the inequality for derivatives of polynomials in Lesson 06. In 1898 he gave the first correct proof by the method of moments of the central limit theorem that Chebyshev had asserted in 1887, and in 1900 he published his textbook Ischislenie veroyatnostei. After 25 years of service he retired from the university in 1905 as merited professor, but he continued to lecture on probability as an academician. His most famous work was still ahead.
Markov numbers and quadratic forms
For the general reader. Some irrational numbers are harder to approximate by fractions than others; the golden ratio is the hardest of all. Adolf Hurwitz measured this with a single number, \(\sqrt5\). Markov had already found, in 1879, the whole list of values below 3 that this measure can take, and the equation \(x^2+y^2+z^2=3xyz\) that produces them.
- Define the minimum of an indefinite binary quadratic form.
- State Markov’s theorem and its translation into Diophantine approximation.
- Generate Markov triples by the branching move and compute the first values of the spectrum.
Minima of forms
Let \(f(x,y)=ax^2+bxy+cy^2\) have real coefficients and discriminant \(D=b^2-4ac>0\), and suppose \(f\) does not represent 0 at integer points other than \((0,0)\). Its minimum is \(m(f)=\inf\{|f(x,y)|:(x,y)\in\mathbb Z^2\setminus\{0\}\}\). The ratio \(\sqrt D/m(f)\) does not change under scaling of \(f\) or under integral changes of variables with determinant \(\pm1\). Korkin and Zolotarev had studied the analogous problem for positive definite forms.
Call a triple of positive integers \((x,y,z)\) a Markov triple if
\[ x^2+y^2+z^2=3xyz. \]The numbers appearing in such triples are 1, 2, 5, 13, 29, 34, 89, 169, 194, 233, … For an indefinite binary form \(f\) as above, either \(\sqrt D/m(f)\ge3\), or
\[ \frac{\sqrt D}{m(f)}=\frac{\sqrt{9m^2-4}}{m} \]for some Markov number \(m\), and \(f\) is equivalent to a multiple of an explicit form attached to a Markov triple with largest entry \(m\).
The values \(\sqrt5,\ \sqrt8,\ \sqrt{221}/5,\ \sqrt{1517}/13,\dots\) increase to 3. Above 3 the set of possible values (the Markov spectrum) becomes complicated, containing intervals beyond Freiman’s constant \(\approx4.528\).
Diophantine approximation
For an irrational \(\alpha\), let \(\nu(\alpha)\) be the supremum of the \(c\) such that \(|\alpha-p/q|<1/(cq^2)\) has infinitely many solutions. Hurwitz proved in 1891 that \(\nu(\alpha)\ge\sqrt5\) always, with equality for the golden ratio. Applied to the forms \((x-\alpha y)(x-\alpha' y)\) of quadratic irrationals, Markov’s theorem shows that the values of \(\nu\) below 3 are exactly the numbers \(\sqrt{9m^2-4}/m\). The values \(\nu(\alpha)\) form the Lagrange spectrum, which agrees with the Markov spectrum below 3.
The tree of triples
The equation is quadratic in each variable. Fixing \(x,y\), the two roots \(z,z'\) of \(z^2-3xyz+(x^2+y^2)=0\) satisfy \(z+z'=3xy\). So \((x,y,z)\mapsto(x,y,3xy-z)\) sends Markov triples to Markov triples. Every triple can be reduced by such moves to \((1,1,1)\), and all triples form a tree in which every triple other than \((1,1,1)\) and \((1,1,2)\) has three distinct entries. Georg Frobenius asked in 1913 whether each Markov number is the largest entry of only one triple, up to order. This uniqueness conjecture is still open.
Exercise 4.1Starting from \((1,1,1)\), apply the move \(z\mapsto3xy-z\) to each coordinate to list all Markov triples with largest entry at most 100.
Show solution
Exercise 4.2Show that \(f(x,y)=x^2-xy-y^2\) has \(D=5\) and \(m(f)=1\), and that \(g(x,y)=x^2-2y^2\) has \(D=8\) and \(m(g)=1\). Which Markov numbers do they correspond to?
Show solution
Exercise 4.3Show that a Markov triple with two equal entries must be \((1,1,1)\) or \((1,1,2)\).
Show solution
Moments and continued fractions
For the general reader. Suppose you know the average of a random quantity, the average of its square, and a few more such averages, but not the distribution itself. How much probability can lie below a given value? Chebyshev posed the question; Markov and Stieltjes answered it, using continued fractions and the same nodes and weights that make Gaussian numerical integration so accurate.
- Connect moments, orthogonal polynomials and continued fractions.
- State the Chebyshev–Markov–Stieltjes inequalities.
- See why moments determine the normal distribution, the key to Lesson 07.
Orthogonal polynomials and Gauss quadrature
Let \(\mu\) be a positive measure on \(\mathbb R\) with finite moments \(m_k=\int x^k\,d\mu\) and infinite support. Gram–Schmidt applied to \(1,x,x^2,\dots\) gives orthogonal polynomials \(p_0,p_1,\dots\); \(p_n\) depends only on \(m_0,\dots,m_{2n-1}\). It has \(n\) real simple zeros \(x_1<\dots<x_n\). There are positive weights \(w_k\) (the Christoffel numbers) such that the Gauss rule
\[ \int q\,d\mu=\sum_{k=1}^n w_k\,q(x_k) \]holds for every polynomial \(q\) of degree at most \(2n-1\).
The continued fraction
The Stieltjes transform has a continued fraction expansion of Jacobi type,
\[ \int\frac{d\mu(t)}{z-t}=\cfrac{m_0}{z-a_0-\cfrac{b_1}{z-a_1-\cfrac{b_2}{z-a_2-\cdots}}}, \]where \(a_n\) and \(b_n>0\) are the coefficients of the three-term recurrence \(x\,p_n=p_{n+1}+a_np_n+b_np_{n-1}\) for monic \(p_n\). The \(n\)-th convergent is the rational function \(\sum_k w_k/(z-x_k)\), and its denominator is \(p_n\). This is the dictionary that let Markov turn questions about moments into questions about continued fractions.
Let \(x_k,w_k\) be the Gauss nodes and weights of order \(n\) for \(\mu\). If \(\nu\) is any positive measure with the same moments \(m_0,\dots,m_{2n-1}\), then for each \(k\)
\[ \sum_{j<k}w_j\ \le\ \nu\big((-\infty,x_k)\big)\ \le\ \nu\big((-\infty,x_k]\big)\ \le\ \sum_{j\le k}w_j . \]Proof idea for the upper bound. Construct a polynomial \(q\) of degree \(2n-2\) with \(q\ge\mathbf 1_{(-\infty,x_k]}\) on \(\mathbb R\), \(q(x_j)=1\) for \(j\le k\) and \(q(x_j)=0\) for \(j>k\) (Hermite interpolation with matched derivatives at the nodes). Then \(\nu((-\infty,x_k])\le\int q\,d\nu=\int q\,d\mu=\sum_j w_jq(x_j)=\sum_{j\le k}w_j\). The lower bound is symmetric.
Consequently, as \(n\) grows, the gaps \(w_k\) shrink when the moment problem is determinate, and the distribution function is pinned down by its moments. For the normal distribution this holds, which is why convergence of all moments to the normal ones implies convergence in distribution (Lesson 07).
Exercise 5.1For Lebesgue measure on \([-1,1]\), find the two-point Gauss rule and check it on \(x^2\) and \(x^3\).
Show solution
Exercise 5.2For \(d\mu=e^{-x}dx\) on \([0,\infty)\) the moments are \(m_k=k!\). The monic \(p_2\) is \(x^2-4x+2\). Find the nodes and weights, verify exactness on \(x^2\) and \(x^3\), and check the inequalities of the theorem for \(\mu\) itself at \(k=1\).
Show solution
The Markov inequality for polynomials
For the general reader. A polynomial of degree \(n\) that stays between \(-1\) and \(1\) on an interval cannot be arbitrarily steep there. Markov showed in 1890 that its slope is at most \(n^2\), and that the Chebyshev polynomial is the steepest. The question came from Mendeleev, who wanted to know how far one could trust the slope of a curve fitted to experimental data.
- State the inequalities of Andrey and Vladimir Markov with their extremal cases.
- Prove the first-derivative inequality from Bernstein’s inequality and interpolation.
If \(p\) is a real polynomial of degree at most \(n\), then
\[ \max_{[-1,1]}|p'|\ \le\ n^2\,\max_{[-1,1]}|p|, \]with equality if and only if \(p=c\,T_n\), where \(T_n(\cos\theta)=\cos n\theta\) is the Chebyshev polynomial.
Under the same hypotheses, for \(1\le k\le n\),
\[ \max_{[-1,1]}|p^{(k)}|\ \le\ T_n^{(k)}(1)\,\max_{[-1,1]}|p|,\qquad T_n^{(k)}(1)=\frac{n^2(n^2-1^2)(n^2-2^2)\cdots(n^2-(k-1)^2)}{1\cdot3\cdot5\cdots(2k-1)} . \]Vladimir Markov’s memoir on functions deviating least from zero appeared in Russian in 1892 and was little known abroad until a German translation appeared in Mathematische Annalen in 1916.
Proof sketch of the first inequality
Normalize \(\max|p|=1\). Two estimates cover the interval.
- Interior. Bernstein’s inequality (1912) for trigonometric polynomials, applied to \(p(\cos\theta)\), gives \(|p'(x)|\le n/\sqrt{1-x^2}\). This is at most \(n^2\) whenever \(\sqrt{1-x^2}\ge1/n\).
- Near the ends. Let \(\eta=\cos(\pi/2n)\) be the largest zero of \(T_n\). Interpolating \(p\) at the zeros of \(T_n\) and differentiating, one shows that for \(|x|\ge\eta\) all the derivatives of the Lagrange basis polynomials have the same sign pattern as in \(T_n'\), which gives \(|p'(x)|\le|T_n'(x)|\le T_n'(1)=n^2\).
The two regions overlap, because for \(|x|\le\eta\) we have \(\sqrt{1-x^2}\ge\sin(\pi/2n)\ge1/n\), using \(\sin t\ge2t/\pi\) on \([0,\pi/2]\). ∎
The inequality is now a basic tool in approximation theory, in numerical analysis (stability of polynomial methods) and in theoretical computer science, where it gives lower bounds for the degree of polynomials approximating Boolean functions.
Exercise 6.1Show that \(T_n'(1)=n^2\).
Show solution
Exercise 6.2Compute V. A. Markov’s constant for \(n=3\), \(k=2\), and check it against \(T_3=4x^3-3x\).
Show solution
Exercise 6.3Rescale: if \(p\) has degree \(n\) and \(|p|\le M\) on \([a,b]\), bound \(|p'|\) on \([a,b]\). Why did this answer Mendeleev’s concern about fitting curves to data?
Show solution
Limit theorems by moments
For the general reader. Average many independent random quantities and the average settles down (the law of large numbers); look at the fluctuations around it and they follow the bell curve (the central limit theorem). Chebyshev proved the first and claimed the second. Markov supplied a correct proof of the second, then spent years defending the method of moments against a faster method of his colleague Aleksandr Lyapunov.
- Prove Markov’s and Chebyshev’s inequalities and the weak law of large numbers.
- Understand the method of moments and why it needs Lesson 05.
- State the central limit theorem in Lyapunov’s form, which Markov proved by moments in 1913.
If \(Y\ge0\) and \(a>0\), then \(P(Y\ge a)\le E[Y]/a\).
Proof. \(a\,\mathbf 1_{\{Y\ge a\}}\le Y\); take expectations. ∎ Applied to \(Y=(X-EX)^2\) this gives the Bienaymé–Chebyshev inequality \(P(|X-EX|\ge\varepsilon)\le\operatorname{Var}X/\varepsilon^2\). The inequality appears in Markov’s textbook; older literature often calls it Chebyshev’s inequality.
Let \(X_1,X_2,\dots\) be random variables with means \(\mu_k\) and \(\operatorname{Var}(S_n)=o(n^2)\), where \(S_n=X_1+\dots+X_n\). Then \((S_n-\sum\mu_k)/n\to0\) in probability. Pairwise uncorrelated variables with bounded variances qualify.
Markov noticed that the proof uses only the variance of the sum, not independence. This observation is the seed of Lesson 08.
The method of moments
Chebyshev’s 1887 argument for the central limit theorem tried to show that every moment of the normalized sum tends to the corresponding moment of the standard normal, \(E[Z^{2k}]=(2k-1)!!\), and then to conclude convergence of distributions. The second step is exactly the Chebyshev–Markov–Stieltjes inequalities of Lesson 05: when the limit is determined by its moments, as the normal distribution is, convergence of moments implies convergence of distribution functions. Chebyshev’s computation of moments was incomplete. Markov gave a correct proof in 1898.
Let \(X_k\) be independent with \(E X_k=0\), \(\operatorname{Var}X_k=\sigma_k^2\), \(B_n^2=\sum_{k\le n}\sigma_k^2\), and suppose for some \(\delta>0\)
\[ \frac{1}{B_n^{2+\delta}}\sum_{k=1}^nE|X_k|^{2+\delta}\longrightarrow0. \]Then \(P(S_n/B_n\le x)\to\Phi(x)=\frac1{\sqrt{2\pi}}\int_{-\infty}^xe^{-t^2/2}dt\) for every \(x\).
Lyapunov proved this in 1900–01 using characteristic functions, a method that does not require all moments to exist. Markov responded by truncating the variables, so that all moments exist, applying the method of moments to the truncated sums, and controlling the error. He completed this proof in the third edition of his textbook (1913).
Exercise 7.1Show that Markov’s inequality is sharp: for given \(a>0\) and \(0<m\le a\), find \(Y\ge0\) with \(EY=m\) and \(P(Y\ge a)=m/a\).
Show solution
Exercise 7.2A fair coin is tossed \(n\) times. Use Chebyshev’s inequality to find \(n\) guaranteeing that the proportion of heads is within 0.01 of \(\tfrac12\) with probability at least 0.95. Compare with the central limit theorem.
Show solution
Exercise 7.3Let \(X_k=\pm1\) with probability \(\tfrac12\), independent. Show that \(E[(S_n/\sqrt n)^4]\to3=E[Z^4]\).
Show solution
Chains: the law of large numbers without independence
For the general reader. In 1902 the Moscow mathematician Pavel Nekrasov argued that the law of large numbers requires independence, and drew from social statistics a conclusion about free will. Markov, who disliked both the mathematics and the theology, built a counterexample: a sequence in which each trial depends on the one before, yet averages still settle down. This sequence was the first Markov chain.
- Define a finite Markov chain and its transition matrix.
- Compute the \(n\)-step transition probabilities of a two-state chain.
- Prove the law of large numbers for such a chain by bounding the variance.
The setting
A sequence \(X_0,X_1,\dots\) with values in a finite set \(S\) is a (homogeneous) Markov chain with transition matrix \(P=(p_{ij})\) if
\[ P(X_{t+1}=j\mid X_t=i,\ X_{t-1},\dots,X_0)=p_{ij}. \]Then \(P(X_{t+n}=j\mid X_t=i)=(P^n)_{ij}\). Markov’s 1906 paper, published in the Izvestiya of the Physico-Mathematical Society at Kazan University, treated variables “connected in a chain” in exactly this sense, beginning with two states.
Two states
Take \(S=\{1,0\}\) (say vowel and consonant) with \(P(X_{t+1}=1\mid X_t=1)=p_1\) and \(P(X_{t+1}=1\mid X_t=0)=p_2\). Then
\[ P=\begin{pmatrix}p_1&1-p_1\\ p_2&1-p_2\end{pmatrix},\qquad \pi=\frac{p_2}{1-p_1+p_2},\qquad \lambda=p_1-p_2 . \]The eigenvalues of \(P\) are 1 and \(\lambda\), and
\[ P^n=\begin{pmatrix}\pi&1-\pi\\ \pi&1-\pi\end{pmatrix}+\lambda^n\begin{pmatrix}1-\pi&-(1-\pi)\\ -\pi&\pi\end{pmatrix}. \]For the two-state chain with \(|\lambda|<1\) and any initial state, \(\frac1n\sum_{t=1}^nX_t\to\pi\) in probability.
Proof. From the formula for \(P^n\), \(|E X_t-\pi|\le|\lambda|^t\), and for \(s<t\), \(|\operatorname{Cov}(X_s,X_t)|\le C|\lambda|^{t-s}\) for a constant \(C\). Hence
\[ \operatorname{Var}\Big(\sum_{t=1}^nX_t\Big)\le n\Big(\tfrac14+2C\sum_{k\ge1}|\lambda|^k\Big)=O(n), \]and Chebyshev’s inequality finishes the proof, since \(E\big[\frac1n\sum X_t\big]\to\pi\). ∎ Independence was never used, only the geometric decay of correlations. Markov extended the argument to chains with any finite number of states whose transition probabilities are all positive.
Exercise 8.1Verify that \(\pi\) is stationary, \((\pi,1-\pi)P=(\pi,1-\pi)\), and check the formula for \(P^n\) at \(n=1\).
Show solution
Exercise 8.2Give a sequence of identically distributed, dependent \(\{0,1\}\) variables for which the law of large numbers fails. Which hypothesis of Markov’s theorem does it violate?
Show solution
Exercise 8.3For \(p_1=0.9,\ p_2=0.2\), compute \(\pi\), \(\lambda\) and \(P(X_{10}=1\mid X_0=0)\).
Show solution
Stationarity, Onegin and the central limit theorem
For the general reader. On 23 January 1913 Markov told the Academy of Sciences about an unusual experiment. He had taken the first 20,000 letters of Alexander Pushkin’s verse novel Eugene Onegin, marked each as vowel or consonant, and counted how often a vowel follows a vowel. Real text, he showed, behaves like a chain and not like coin tosses. It was the first application of his chains to data.
- State the convergence theorem for finite chains and its link with positive matrices.
- Compute the variance of chain averages, the basis of the chain CLT.
- Reproduce Markov’s Onegin test.
Let \(P\) be the transition matrix of a chain on a finite set, and suppose some power \(P^r\) has all entries positive. Then there is a unique probability vector \(\pi\) with \(\pi P=\pi\), all its entries are positive, and \(P^n\to\mathbf 1\pi\) geometrically fast. The eigenvalue 1 is simple and all other eigenvalues have modulus less than 1.
Markov proved results of this kind for stochastic matrices in 1906–08, including the role of the eigenvalue 1. Oskar Perron (1907) and Georg Frobenius (1908–1912) proved the general theory of positive and nonnegative matrices, now called Perron–Frobenius theory. A short proof for stochastic matrices uses contraction: if every entry of \(P^r\) is at least \(\varepsilon>0\), then any two rows of \(P^{rk}\) differ in total variation by at most \((1-\varepsilon)^k\).
Fluctuations
In 1907 Markov proved the central limit theorem for a two-state chain and in 1908 for finitely many states. For the two-state stationary chain, \(\operatorname{Cov}(X_0,X_k)=\pi(1-\pi)\lambda^k\), so
\[ \frac1n\operatorname{Var}\Big(\sum_{t=1}^nX_t\Big)\longrightarrow\pi(1-\pi)\,\frac{1+\lambda}{1-\lambda}, \qquad \frac{\sum_{t\le n}X_t-n\pi}{\sqrt n}\ \Rightarrow\ N\Big(0,\ \pi(1-\pi)\tfrac{1+\lambda}{1-\lambda}\Big). \]Compared with independent trials, the variance is multiplied by \((1+\lambda)/(1-\lambda)\): positive dependence inflates fluctuations, negative dependence damps them.
The Onegin count
Markov wrote the 20,000 letters, without spaces or punctuation, in blocks of 100. He counted 8,638 vowels and 11,362 consonants, a vowel frequency of about 0.432. He found the probability of a vowel after a vowel to be \(p_1\approx0.128\), and after a consonant \(p_2\approx0.663\). He then compared the observed dispersion of vowel counts across blocks with the dispersion predicted for independent letters and for a chain, and found the chain fitted. He made a similar study of 100,000 letters of prose by Sergei Aksakov.
Exercise 9.1With \(p_1=0.128\) and \(p_2=0.663\), compute \(\pi\) and \(\lambda\). Does the stationary vowel frequency match Markov’s count?
Show solution
Exercise 9.2Among the 19,999 consecutive pairs, how many vowel–vowel pairs are expected if letters were independent with vowel probability 0.432? How many under the chain? Markov observed 1,104.
Show solution
Exercise 9.3Compute the variance factor \((1+\lambda)/(1-\lambda)\) for the Onegin chain. For a block of 100 letters, compare the standard deviation of the vowel count under independence and under the chain.
Show solution
Least squares
For the general reader. When measurements contain errors, the method of least squares picks the parameter values that make the sum of squared errors smallest. Carl Friedrich Gauss proved in the 1820s that this choice is, in a precise sense, the best possible among simple estimators. Markov’s textbook presented the result in the clean form now taught to every statistics student, and so the theorem carries both names.
- State the Gauss–Markov theorem and its hypotheses.
- Prove it in matrix form.
Consider the linear model \(y=X\beta+\varepsilon\), where \(X\) is a known \(n\times p\) matrix of rank \(p\), \(\beta\in\mathbb R^p\) is unknown, and the errors satisfy \(E\varepsilon=0\) and \(\operatorname{Cov}(\varepsilon)=\sigma^2I\). The least-squares estimator is \(\hat\beta=(X^{\mathsf T}X)^{-1}X^{\mathsf T}y\).
Under these hypotheses, \(\hat\beta\) is unbiased, and for every linear unbiased estimator \(\tilde\beta=Cy\) the matrix \(\operatorname{Cov}(\tilde\beta)-\operatorname{Cov}(\hat\beta)\) is positive semidefinite. In particular, for every vector \(a\), \(\operatorname{Var}(a^{\mathsf T}\hat\beta)\le\operatorname{Var}(a^{\mathsf T}\tilde\beta)\). No normality or independence of the errors is needed.
Proof. Write \(C=(X^{\mathsf T}X)^{-1}X^{\mathsf T}+D\). Unbiasedness for all \(\beta\) forces \(CX=I\), hence \(DX=0\). Then
\[ \operatorname{Cov}(Cy)=\sigma^2CC^{\mathsf T}=\sigma^2\big((X^{\mathsf T}X)^{-1}+DD^{\mathsf T}\big), \]because the cross terms contain \(DX=0\). Since \(DD^{\mathsf T}\) is positive semidefinite, the claim follows. ∎
Gauss proved the optimality of least squares in his Theoria combinationis observationum erroribus minimis obnoxiae (1821–23). Markov gave a careful exposition in his textbook, and a 1938 paper by Florence Nightingale David and Jerzy Neyman, titled an extension of “the Markoff theorem on least squares”, helped fix his name to it. Historians regard the attribution to Markov as generous; the name is now standard.
Exercise 10.1For \(y_i=\beta+\varepsilon_i\), \(i=1,\dots,n\), show that the sample mean is the best linear unbiased estimator of \(\beta\).
Show solution
Exercise 10.2Show by example that the theorem fails if the errors are correlated with unequal variances, and name the remedy.
Show solution
The rebel academician, 1902–1917
Markov was a liberal and an atheist, and he said so in public. In 1902 the Academy elected the writer Maxim Gorky an honorary member; Tsar Nicholas II had the election annulled. Markov protested repeatedly, and in 1903 he refused the state decorations he was due. When the tsar dissolved the Second Duma in June 1907, Markov renounced his rights as a voter in protest.
His quarrels with Nekrasov were both mathematical and political. Nekrasov, a conservative Moscow mathematician, used probability to argue for free will and the established order; Markov regarded the arguments as abuses of mathematics. The chains of Lesson 08 were one answer. Nekrasov in turn accused Markov of Marxism, which was an exaggeration.
In 1912, after the Orthodox Church had excommunicated Leo Tolstoy, Markov asked the Holy Synod to excommunicate him as well. The request was granted. In 1913, when the government celebrated three hundred years of the Romanov dynasty, Markov organized a rival celebration of the two hundredth anniversary of Jacob Bernoulli’s Ars Conjectandi and the law of large numbers. The same year the university elected him an honorary member; the minister of education did not confirm the election until after the February Revolution of 1917.
He kept teaching after his retirement. In 1908 he refused a government order to report on students during unrest and was removed from university teaching. His work on chains continued: nonhomogeneous chains (1910), and in 1911–12 more general schemes, including chains observed only through some of their variables.
DiscussionMarkov invented chains partly to refute an argument he found theologically motivated and mathematically wrong. Can a mathematical result be shaped by a dispute about something outside mathematics without being compromised by it? Use this case and the Gorky affair to discuss.
Last years and legacy, 1917–1922
In September 1917 Markov asked the Academy to send him to some small town in the interior. He spent the famine winter in Zaraisk, south of Moscow, teaching mathematics in the secondary school without pay. Back in Petrograd, he continued to lecture in 1921 although he could scarcely stand, and underwent an operation. He died in Petrograd on 20 July 1922 after months of severe suffering, aged 66.
His son Andrey Markov Jr. (1903–1979) became a leading logician, known for Markov algorithms, the unsolvability of the homeomorphism problem for 4-manifolds, and the Russian school of constructive mathematics.
Legacy
- Stochastic processes: the term “Markov chain” was in use by the 1920s. Andrey Kolmogorov’s 1931 theory of Markov processes in continuous time, Wolfgang Doeblin’s and Joseph Doob’s work on general state spaces, and the Markov property in modern probability all descend from the 1906 paper.
- Applications: Markov chain Monte Carlo (from the Metropolis algorithm of 1953), hidden Markov models in speech recognition and genomics, queueing theory, statistical mechanics, and the PageRank algorithm for ranking web pages. Claude Shannon’s 1948 theory of information modelled English text as a Markov source, directly echoing the Onegin study.
- Number theory: the Markov spectrum and Markov numbers, connected today with hyperbolic geometry, cluster algebras and exceptional vector bundles; Frobenius’s uniqueness conjecture is still open.
- Analysis: the Markov brothers’ inequality, the Chebyshev–Markov–Stieltjes inequalities and the theory of moments.
- Statistics: the Gauss–Markov theorem and Markov’s inequality, standard in every course.
- School: through Voronoy, Uspensky, Besicovitch, Tamarkin and others his influence reached geometry of numbers, geometric measure theory and American analysis.
Final projectTake a text of at least 20,000 letters in a language you know. Repeat Markov’s count: estimate \(p_1,p_2\), compute \(\pi\) and \(\lambda\), and compare the dispersion of vowel counts in blocks of 100 letters with the predictions of the independent and the chain model. Write up the result in two pages.
Sources and further reading
Biography
- J. J. O’Connor and E. F. Robertson, Andrei Andreyevich Markov, MacTutor History of Mathematics.
- Andrey Markov, Wikipedia.
- A. P. Youschkevitch, Markov, Andrei Andreevich, Dictionary of Scientific Biography, via MacTutor.
- Markov, Andrei Andreevich, Encyclopedia of Mathematics.
- G. P. Basharin, A. N. Langville and V. A. Naumov, The life and work of A. A. Markov, Linear Algebra and its Applications 386 (2004), 3–26.
- B. Hayes, First links in the Markov chain, American Scientist 101 (2013).
- A. A. Markov, Mathematics Genealogy Project.
Mathematics
- A. Markoff, Sur les formes quadratiques binaires indéfinies, Math. Ann. 15 (1879), 381–406; 17 (1880), 379–399.
- A. A. Markov, On a question by D. I. Mendeleev, Zapiski Imp. Akad. Nauk 62 (1890); see notes and translation, University of Auckland.
- A. A. Markov, Extension of the law of large numbers to quantities depending on each other, Izv. Fiz.-Mat. Obshch. Kazan. Univ. (2) 15 (1906).
- A. A. Markov, An example of statistical investigation of the text Eugene Onegin concerning the connection of samples in chains, Izv. Imp. Akad. Nauk (1913); English translation in Science in Context 19 (2006).
- A. A. Markov, Ischislenie veroyatnostei, 1900; 3rd ed. 1913.
- M. Aigner, Markov’s Theorem and 100 Years of the Uniqueness Conjecture, Springer, 2013.
- T. W. Cusick and M. E. Flahive, The Markoff and Lagrange Spectra, AMS, 1989.
- N. I. Akhiezer, The Classical Moment Problem, Oliver and Boyd, 1965.
- Markov chain, Markov number and Markov brothers’ inequality, Wikipedia.