Probability · Solutions
Inequalities and Limit Theorems
Work this sheet on paper and show every step: a bound is only as good as the hypothesis check that licenses it, so name each inequality or theorem as you use it (“by Markov applied to ”, “by Borel–Cantelli”, “by Slutsky”) and say why its hypotheses hold. Every answer here has an exact closed form; no calculator is needed, and decimal approximations are given in the solutions only as sanity checks. Full worked solutions are on a separate page, with a separate reveal for each question so you can check one without seeing the rest.
- 1.Computation
A non-negative random variable has mean and variance , and nothing else about it is known. Consider the event .
- (a)Bound by Markov's inequality. Which hypotheses did you use?
- (b)Bound the same probability by Chebyshev's inequality. Write down explicitly the two-sided event you are bounding and why it contains .
- (c)Bound it by Cantelli's inequality. Then say whether the number , obtained by halving your answer to (b), is also a valid bound.
- (d)Show that the Cantelli bound cannot be improved: exhibit a non-negative with mean , variance and equal to your answer in (c).
Solution
(a) Markov. and , which are the two hypotheses, so with
Only non-negativity and the mean were used; the variance played no part.
(b) Chebyshev. If then , so : the event is contained in , and probabilities respect containment. Chebyshev with gives
This used finite mean and variance, not non-negativity. It is better than Markov because the variance is small relative to the mean; Markov, which cannot see the variance, has to allow for a spike at carrying of the mass.
(c) Cantelli. With ,
Halving Chebyshev is not valid: would be a legitimate one-sided bound only if the distribution were known to be symmetric about its mean, and symmetry is not a hypothesis. Part (d) produces a distribution with , which shows is actually false, not merely unproved.
(d) A distribution attaining . Try two atoms: with probability and with probability . The mean fixes :
Check the variance from the deviations and :
Both values are positive, so ; and exactly. This is the general extremal shape for Cantelli — one atom at the threshold, the rest of the mass just on the other side of the mean — and it shows that no bound smaller than can hold for every variable with this mean and variance.
- 2.Proof
Markov's inequality uses the first moment. It has a version for any positive moment.
- (a)Let and suppose for some . Prove that for every , Say exactly where non-negativity is used.
- (b)Let be uniform on and . Compute exactly, and the bound of (a) for , and .
- (c)In one or two sentences: what does (b) show about how the bound depends on ?
Solution
(a) Reduce to Markov. The map is strictly increasing on . Because and , both and lie in that domain, so holds if and only if : the events and are the same event and have the same probability. This is where non-negativity is used — for a variable that can be negative and even , is also produced by , and the two events differ.
The variable is non-negative with finite mean , so Markov's inequality applies to it at threshold :
(b) The uniform on . The density is on , so exactly. The moments are
With the bounds are
Sanity check: , , , all above the truth , as every valid bound must be.
(c) The bound is not monotone in : going from to improved it, and going on to made it worse again. Raising weights the far tail more heavily in , but the denominator grows too, and which effect wins depends on the distribution and on . So is a free parameter to be chosen, exactly like the shift in Cantelli's proof or the exponent in a Chernoff bound — and the sharpest of these bounds is the infimum over . (For this , gives and the bound again, a tie with .)
- 3.Computation
Let , so for , with .
- (a)Show that the moment generating function is for every real .
- (b)For a threshold , derive the Chernoff bound verifying that the optimising is positive. What happens to the optimisation when ?
- (c)Take and . Write down the Chernoff bound, the Markov bound, the Chebyshev bound and the exact value of , all in closed form, and order them.
Solution
(a) The MGF. By the definition and the series for the exponential,
The series converges for every real , so the MGF exists everywhere; in particular it is finite for some , which is the hypothesis the generic Chernoff bound needs.
(b) Optimise over . For any , Markov applied to gives with
So is convex and its minimum is at , that is , or . Because this is strictly positive, so it is an admissible choice. Substituting,
and exponentiating,
When , for every , so is increasing on and the infimum is approached as , where . The bound degenerates to : a Chernoff bound has nothing to say about thresholds at or below the mean.
(c) Four numbers for , .
Chernoff: .
Markov (, mean ): .
Chebyshev: and , so the bound is .
Exact: .
Sanity check on the order: gives Chernoff ; Chebyshev ; Markov ; and gives the exact value . So
every bound exceeding the truth, and tightening in the order of how much of the distribution each one sees: one moment, two moments, the whole MGF. Even Chernoff is loose by a factor of about four here — it is a bound on a worst case, not an estimate.
- 4.Computation
For each function below, first decide whether it is convex or concave on and say how you know.
- (a)Let equal or with probability each. Compute both sides of Jensen's inequality for , and , and confirm the direction in each case.
- (b)A positive random variable has and nothing else is specified. For each of the following, either construct an that achieves it or prove that no can: ; ; .
- (c)If and , what can be said about ? Justify from the equality case of Jensen's inequality.
Solution
Convexity first. has second derivative , so it is concave; has second derivative , convex; has second derivative , convex. Jensen reads for convex and for concave .
(a) .
For (concave): , while . Since , indeed : the mean of the root is below the root of the mean.
For (convex): , while . And .
For (convex): , while . (The gap is the variance, which is the same statement.)
(b) Jensen turns each question into a one-line verdict.
is impossible: is concave, so for every positive with mean .
is impossible: is convex, so .
is possible: convexity only requires , and clears it. Take or with probability each: and , and .
(c) Here , so Jensen's inequality for the strictly convex holds with equality. The equality case says this happens only when is almost surely constant, and the constant must be its mean: . (Equivalently, , and a variable with zero variance is almost surely its mean.)
- 5.Critique
A laboratory takes independent measurements , each known to lie in , and reports the sample mean as an estimate of the unknown . A student is asked to guarantee is small and writes:
Step 1. The are independent and bounded, so Hoeffding's inequality applies: .
Step 2. With and this is .
Step 3. The two-sided event is the same thing up to sign, so as well.
Step 4. Since is astronomically small, the probability of an error of or more is about .
- (a)Three of the four steps are wrong. Identify each error and say which hypothesis or which part of Hoeffding's inequality is being misused.
- (b)Give the correct two-sided Hoeffding guarantee for this experiment, in closed form.
- (c)Suppose it is additionally known that . Compute Chebyshev's bound for the same event and compare it with your answer to (b). What does the comparison say about what Hoeffding does and does not use?
Solution
(a) The three errors.
Step 1 quotes the wrong special case. The bound is Hoeffding's inequality for summands in . The general statement is
and here every , not . The width of the range enters squared, so this is not a small correction — it is a factor of in the exponent. Independence, which Step 1 does state, is genuinely needed and is fine.
Step 3 forgets the union. The one-sided bound controls ; the two-sided event is the union of that with , which is bounded by applying the one-sided result to . Boole's inequality then gives twice the one-sided bound, so the two-sided guarantee carries a factor .
Step 4 reads a bound as an estimate. Hoeffding gives an upper bound valid for every distribution on ; it is not the probability, and for the particular distribution in the laboratory the truth may be far smaller. "At most" is all that has been shown.
Step 2 is arithmetic on the wrong formula and is not itself an error.
(b) The correct guarantee. With and ,
At , : the exponent is , so the one-sided bound is and the two-sided bound is
Sanity check by rescaling: and the event is , so the form gives , the same. Numerically — a real guarantee, and twenty-six orders of magnitude away from the student's .
(c) Chebyshev with a known variance. , so
Now : here Chebyshev beats Hoeffding. There is no contradiction. Hoeffding uses only the range and must cover the worst distribution on it — for instance the two-point distribution at and , which has variance , four times the variance we were told. For that distribution Chebyshev would give , and Hoeffding would win. Hoeffding's strength is its exponential decay in and in , which will overtake any bound for larger or larger deviations; at this moderate deviation, knowing the variance is worth more than knowing the range.
- 6.Proof
In each part, state which function you apply Jensen's inequality to, verify its convexity or concavity, and check the hypotheses on the random variable.
- (a)Let with and both finite. Prove , and determine exactly when equality holds.
- (b)Let be positive numbers. By choosing a suitable random variable, prove the arithmetic–geometric mean inequality with equality if and only if all the are equal.
- (c)Let have mean and a moment generating function that is finite for all in an interval around . Prove for every such , and deduce that the generic Chernoff bound is at least whenever .
Solution
(a) Take on the open interval ; , so is strictly convex. takes values in , has finite mean, and is finite by hypothesis. Jensen gives
and multiplying through by (positive because ) yields .
Since is strictly convex, equality in Jensen holds if and only if is almost surely constant. So exactly when for some — and then both factors are and , which checks.
(b) Let be a random variable that takes the value with probability for each (if some coincide, the probabilities simply add). Then and
The function has second derivative on , so it is strictly concave, and both expectations are finite sums. Jensen in its concave form gives , that is
Applying the strictly increasing function to both sides preserves the inequality and gives AM–GM.
For the equality case, strict concavity means equality in Jensen holds only when is almost surely constant, and a variable taking each of the with positive probability is constant only if all the coincide. Conversely if all both sides equal .
(c) Fix in the interval and take . Its second derivative is , so is convex on all of , whatever the sign of . has finite mean and is finite by hypothesis, so Jensen gives
Now let and . Then , so
This holds for every , hence for the infimum: the Chernoff bound is at least and says nothing at all about when . That is as it should be — a variable is typically on either side of its mean with substantial probability, and no tail bound can pretend otherwise. It also explains why, for , the optimising is bounded away from : near the bound is close to , and all the gain comes from moving out to where has bitten.
- 7.Computation
Let be uniform on . For each sequence below decide, with proof, in which of the four modes — almost surely, in probability, in , in distribution — it converges to . Use the implications between modes to shorten the work, and say each time which implication you are using.
- (a).
- (b).
- (c) independent, with and . For the almost-sure question, compute exactly for a fixed , and use it.
Solution
(a) : all four modes. Fix an outcome and write . Then as a sequence of numbers, since . So for every , and in particular almost surely. Almost sure convergence implies convergence in probability, which implies convergence in distribution.
For , compute directly:
So in every sense.
(b) : almost surely, in probability, in distribution — but not in . Again fix . The ratio of consecutive terms is
so from some index on the terms shrink by at least a fixed factor with , and (the exponential decay of beats the linear growth of ). Hence for every , so almost surely, and therefore in probability and in distribution by the implications.
In it fails:
The sequence converges to at every single outcome and its mean square diverges — because near the convergence is very slow and is very large. (Even the mean does not go to zero: .) This is a case of almost sure convergence not implying convergence.
(c) : in probability, in , in distribution — but not almost surely. For any , , so in probability, hence in distribution. And , so also in .
For the almost-sure question, note that takes only the values and , so the numerical sequence converges to if and only if it is eventually : there is some with for all . Fix and . By independence,
The events decrease in to , so by continuity of probability from above
(For the event is empty, since .) The convergence set is the countable union over of these events, so by countable subadditivity it has probability at most . Hence : the sequence converges almost surely to nothing — it is infinitely often for almost every outcome, even though at each fixed time the chance of a is only .
Summary. : all four. : a.s., , , not . : , , , not a.s. Between them, (b) and (c) show that neither of and implies the other.
- 8.Sketch
Take the probability space with the uniform probability, and for define
Every feature you draw must be labelled with the number that justifies it.
- (a)Sketch , and as functions of on the same axes. What is the area under each graph?
- (b)Mark the outcome on your sketch and list . Then prove that almost surely, identifying precisely the set of outcomes where convergence fails.
- (c)Compute and . Does in ? Which feature of the sketch shows that cannot tend to ?
- (d)Sketch the CDF of and, on the same axes, the CDF of the constant . Explain from the sketch why in distribution, and say what happens at .
Solution
(a) The graphs. Each is a rectangle standing on the interval with height , and zero to the right of it. On axes with from to horizontally and height up to : is the horizontal line at height across the whole of ; is height on and on ; is height on and after. Draw the drops at and as vertical dashed segments, with a filled dot at the top (the endpoint belongs to the tall part).
The area under each graph is : the rectangles get taller and narrower at exactly compensating rates. Label each rectangle "area ".
(b) One outcome. Draw a vertical dashed line at . It crosses the tall part of (height ), of (since , height ) and of (since , height ), but not of (since ). So the sequence at is : three spikes and then zero forever.
The same happens at every . Fix such an and let be any integer with . For every we have , so lies in the zero part and . A sequence that is eventually constantly converges to . The only outcome where this fails is , which lies in for every , so . The divergence set is , a single point, whose uniform probability is . Hence : .
The mechanism is visible on the sketch: the rectangles are nested, each inside the last, so once the line at has escaped a rectangle it has escaped all later ones. Contrast a moving bump, which would revisit forever.
(c) Moments. for every , and
So does not tend to : there is no convergence, and indeed the mean squares diverge. The feature that shows is the constant area: the expectation of a non-negative function on under the uniform probability is the area under its graph, and every rectangle has area . A sequence can go to zero at almost every point while its area stays fixed, provided the height escapes to infinity on a vanishing set — and by the implications, in probability and in distribution as well, since almost sure convergence gives both.
(d) The CDFs. takes the value with probability and with probability , so
a staircase with a jump of at and a jump of at . The CDF of the constant is for and for : a single jump of size at . Draw both, with the plateau of at height sitting just below the limit's plateau at .
For general the plateau is at and the second jump is at . As grows the plateau rises to and the second jump marches off to the right, so at every fixed , once ; and for both are . That is convergence at every continuity point of , which is the definition of . At , the one discontinuity of the limit, convergence is not required — but here it happens anyway, since .
- 9.Computation
A fair six-sided die is rolled times; is the th score and the running mean.
- (a)Compute and exactly.
- (b)Using Chebyshev's inequality, find the smallest that guarantees .
- (c)Do the same using Hoeffding's inequality, leaving the answer in terms of a logarithm before giving the integer.
- (d)Both bounds tend to as . State exactly which limit theorem this proves, in which mode of convergence, and explain in a few sentences why neither bound, on its own, establishes the strong law.
Solution
(a) , and
(b) Chebyshev. Independence gives , so
Requiring gives , so the smallest integer is .
Sanity check: at the bound is , and at it is .
(c) Hoeffding. Each , a range of width , so . With the two-sided bound is
Requiring means , that is . Since , this is , so the smallest integer is .
Sanity check: at , ; at it is , just over. Hoeffding needs about of Chebyshev's sample here; the advantage would grow if the tolerance were tightened, because Hoeffding's grows like and Chebyshev's like .
(d) What is proved. Both bounds say that for the fixed ,
and the same argument works for every . That is the definition of : the weak law of large numbers, convergence in probability.
The strong law asserts , a statement about the whole trajectory of a single sequence of rolls, and no bound on a single is by itself a statement about trajectories — the misbehaving set could in principle move around from to forever, as the typewriter-style sequences do, while shrinking at every . What converts a sequence of bounds into an almost-sure statement is summability over together with the Borel–Cantelli lemma; that is a further step neither part (b) nor (c) has taken. Chebyshev's bound, of order , is not summable at all; Hoeffding's, of order , is — so the Hoeffding route can be completed into a strong law, whereas the Chebyshev route cannot.
- 10.Proof
Let be independent and identically distributed with almost surely, where , and let . You may quote Hoeffding's inequality and the first Borel–Cantelli lemma; everything else must be argued. Prove that by the following route.
- (a)Fix and put . Show that , and give the sum's value in closed form as a function of the bound you use.
- (b)Deduce that for almost every outcome there is an such that for all .
- (c)Part (b) is for one . Complete the proof that , being explicit about why the passage from one to all is legitimate.
- (d)Explain why the same argument cannot be run with Chebyshev's inequality in place of Hoeffding's, and compare the hypothesis used here with the finite-fourth-moment hypothesis under which the strong law can also be proved by this mechanism.
Solution
(a) A summable bound. The are independent and bounded in , so Hoeffding's two-sided inequality applies with and :
Since and , the exponent is strictly negative, so and the bounds form a convergent geometric series:
(b) Borel–Cantelli. The first Borel–Cantelli lemma says that events whose probabilities have a finite sum occur infinitely often with probability . So . Let be that null event. For only finitely many contain ; let be one more than the largest such (or if there are none). Then for every , , that is . This holds for every outside the null set , which is what "for almost every " means.
(c) From one to all. Convergence means: for every there is with for . Part (b) delivers this one at a time, each with its own exceptional null set, and there are uncountably many ; an uncountable union of null sets need not be null, so we cannot simply take them all. The repair is to use only for .
Apply (b) with to get null sets , and put . By countable subadditivity, . Now take any and any . Choose with . Since , there is with for all . As was arbitrary, . The convergence set therefore contains the complement of , so
The passage is legitimate because a countable family of tolerances suffices to test convergence — any is beaten by some — and countably many null sets union to a null set.
(d) Why Chebyshev cannot do it. Chebyshev gives , and diverges, so Borel–Cantelli has nothing to bite on. The bound tends to , which is the weak law, but a failure budget of leaves room for the running mean to wander out of infinitely often, ever more rarely; Chebyshev cannot rule that out, and the mechanism of (b) needs a finite budget.
The finite-fourth-moment route gets its summability from Markov applied to , which yields and . Boundedness is a strictly stronger hypothesis than a finite fourth moment — a variable confined to has every moment finite, with — so the theorem proved here is a special case of the fourth-moment theorem. What the stronger hypothesis buys is a much better rate: geometric tails instead of , which is exactly the difference between Hoeffding and Chebyshev-type bounds seen throughout. In both proofs the structure is identical — a summable bound on the tail probabilities, Borel–Cantelli, then the countable- trick — and neither reaches Kolmogorov's theorem, which needs only and a genuinely harder argument.
- 11.Computation
Let be i.i.d. Bernoulli with , and let . In part (c) you may use that if then , together with Slutsky's theorem.
- (a)State what the central limit theorem gives for , checking each of its hypotheses.
- (b)The log-odds is . Find the limiting distribution of by the delta method, and evaluate the asymptotic variance at .
- (c)Now take . Find the limit of at . Then explain why the delta method fails at , show that at the quantity converges in probability to , and find the non-degenerate limit of .
- (d)Compute exactly for general and . Which inequality predicts the sign of the bias, and why does the delta method not see it?
Solution
(a) The CLT. The are i.i.d. with and . Since , is strictly positive and, being at most , finite. All hypotheses hold, and
(This is the standardised statement with the constant multiplied back in.)
(b) The log-odds. , so
which is finite and non-zero on . The delta method with and gives
At : , so the asymptotic variance is . The estimated log-odds has approximate standard error — larger than that of itself by the factor , because the logit is steep near the edges of .
(c) A function with a stationary point. . At , , so the delta method applies:
At , , and the delta method's hypothesis fails; its formula would predict a normal with variance , which is a signal that the first-order term has vanished and the scale is wrong. Compute directly. Completing the square,
exactly, with no remainder. Let ; by (a), , so by the granted fact . Then
Slutsky's theorem with and (a deterministic sequence converges in probability to its limit) gives . Convergence in distribution to a constant is convergence in probability to it, so .
The right magnification is :
Writing with , the limit is : minus one quarter of a chi-squared variable with one degree of freedom. It is non-degenerate, non-normal, and never positive — which makes sense, since has its maximum at and can only fall short of it.
(d) The exact bias. Since and ,
so
The estimator is biased downward by , at every . Jensen's inequality predicts the sign: , so is concave and , with strict inequality because is strictly concave and is not constant. The delta method is blind to it because the bias is while the spread it describes is ; multiplied by , the bias is and vanishes from the limit. At , where the term is absent, the bias is exactly the mean of the limit found in (c): , divided by .
- 12.Critique
Service times are i.i.d. Exponential, so ; take as given and the Berry–Esseen constant . Write . A student submits three claims.
Claim A. " is above , so is normal. Hence , correct to three decimal places."
Claim B. "Since with , we have for every : for large the standardised mean is, with high probability, within of a standard normal variable."
Claim C. " is approximately normal for large , and so is . Their difference is , and a difference of two approximately normal variables is approximately normal. So is approximately normal: an exponential variable is close to normal after all."
- (a)Each claim is wrong. For each, identify the false step and name the theorem or definition it misuses.
- (b)For Claim A, state precisely what Berry–Esseen guarantees about . For Claim B, give the statement that is actually true, and prove that the student's version cannot hold by considering as well as . For Claim C, say what the true distribution of is.
- (c)Give two bounds on that are theorems rather than approximations: one from Cantelli's inequality and one from a Chernoff bound (derive first). Compare them with the student's figure.
Solution
(a) The three errors.
Claim A treats the central limit theorem, an asymptotic statement about the limit , as if it delivered an exact distribution at . The rule "" is folklore, not a theorem; the only theorem about finite is Berry–Esseen, and it bounds the absolute error in the CDF, which is nowhere near three decimal places here. Claiming three-decimal accuracy in a tail probability of order is claiming relative accuracy, which nothing provides.
Claim B confuses convergence in distribution with convergence in probability. is a statement about the CDFs ; it says nothing about the values and at the same outcome — indeed need not live on the same probability space at all. The implication holds only for a constant limit, and is not constant.
Claim C applies the CLT to an individual summand. The theorem concerns the sum on the scale — the CDF of is close to — and closeness on that scale says nothing on the scale of a single , which is of order . The two "approximately normal" sums differ by an amount that is negligible relative to and not negligible relative to , and their approximation errors, which are of the same order as itself, are exactly what the difference consists of. The step "a difference of approximately normal variables is approximately normal" also requires joint normality and control of the errors, neither of which is available.
(b) The correct statements.
A. Berry–Esseen says that for every and every ,
So all that is guaranteed is , that is . The student's three decimals are not justified. Sanity check against the truth: is exactly Gamma, and the exact value of is about — roughly double the normal figure. The absolute error, about , sits comfortably inside the Berry–Esseen envelope; the relative error is about . And the sign is the one skewness predicts: an exponential population has a heavy right tail, and the normal approximation underestimates right-tail probabilities.
B. The true statement is: for every real , . Nothing more. To see that the student's version is impossible, note that is also , so just as well, and the student's reasoning would equally give . But , so by the triangle inequality , and if then at least one of the two terms is . Hence
The left side does not depend on and equals . Contradiction; so no such exists, whatever space it is built on.
C. is exactly Exponential, for every , with density on — as skewed as it ever was. The CLT washes the shape of the summands out of the sum; it does not reshape the summands.
(c) Two bounds that are theorems.
Cantelli. and . With ,
(Chebyshev would give , slightly worse and two-sided.)
Chernoff. First the MGF: for ,
finite for every in , so the Chernoff bound is available. By independence , and the event is , so for
Then , which vanishes at , i.e. , and confirms a minimum. Substituting,
so
Sanity check: , so the exponent is and the bound is about .
Comparison. Cantelli and Chernoff are both guarantees valid at ; the exact value lies below both, as it must; and the student's lies below the exact value — it is not a bound at all, but an approximation that happens to err on the optimistic side by a factor of about two. The right way to read the three numbers is: Chernoff certifies the probability is under , the CLT suggests it is of order to , and only the first sentence is a theorem.