Skip to content
nonconvexcard

Analysis Prerequisites

Suprema, limits, Lipschitz continuity, compactness and the two or three analysis facts that the probability and optimisation proofs quietly rely on.

FoundationsFoundations⏱ 1 hour6 min readanalysislipschitzcompactnesssupremumconvergence
3 problems →

This page is a short reference, not a course. It states the analysis facts that later proofs use without comment, so that a reader who wants to check a step has somewhere to look. Where a result is standard and long, it is stated with a citation rather than proved — and marked as such.

Suprema and infima

DefinitionSupremum

For S⊆RS \subseteq \R non-empty and bounded above, sup⁡S\sup S is the least upper bound: sup⁡S≥s\sup S \ge s for all s∈Ss \in S, and no smaller number has that property. It need not belong to SS. By convention sup⁡∅=−∞\sup \emptyset = -\infty and sup⁡S=+∞\sup S = +\infty when SS is unbounded above.

Two facts are used repeatedly in learning theory, where the object of interest is sup⁡f∈F(R(f)−R^n(f))\sup_{f \in \Fcal} \big(R(f) - \hat R_n(f)\big) over a function class F\Fcal:

sup⁡x(g(x)+h(x))≤sup⁡xg(x)+sup⁡xh(x),∣sup⁡xg(x)−sup⁡xh(x)∣≤sup⁡x∣g(x)−h(x)∣.\sup_{x}\big(g(x) + h(x)\big) \le \sup_x g(x) + \sup_x h(x), \qquad \Big|\sup_x g(x) - \sup_x h(x)\Big| \le \sup_x |g(x) - h(x)| .

The first is subadditivity; the second says the supremum is a 11-Lipschitz functional in the uniform norm, and it is what makes the bounded-differences argument behind McDiarmid's inequality apply to suprema at all.

Continuity and Lipschitz continuity

DefinitionLipschitz continuity

f:X→Rf : \Xcal \to \R on a metric space (X,ρ)(\Xcal, \rho) is KK-Lipschitz if ∣f(x)−f(y)∣≤Kρ(x,y)|f(x) - f(y)| \le K\rho(x,y) for all x,yx,y. The smallest such KK is ∥f∥Lip\norm{f}_{\mathrm{Lip}}.

Lipschitz continuity is the regularity assumption of choice in high-dimensional probability, for a specific reason: it is exactly what is needed for a function of many independent inputs to concentrate, and the resulting bounds do not degrade with dimension. Compare:

  • f(x)=max⁡ixif(x) = \max_i x_i is 11-Lipschitz in ∥⋅∥2\norm{\cdot}_2 on Rd\R^d — uniformly in dd.
  • f(x)=∑ixif(x) = \sum_i x_i is d\sqrt d-Lipschitz.
  • f(x)=∥x∥2f(x) = \norm{x}_2 is 11-Lipschitz, by the triangle inequality.

For differentiable ff, ∥f∥Lip=sup⁡x∥∇f(x)∥2\norm{f}_{\mathrm{Lip}} = \sup_x \norm{\nabla f(x)}_2, which is the bridge between the analytic condition and the calculus.

Convexity inequalities

TheoremJensen's inequality

Let φ:R→R\varphi : \R \to \R be convex and XX an integrable random variable with E∣φ(X)∣<∞\E|\varphi(X)| < \infty. Then

φ(EX)≤E[φ(X)].\varphi(\E X) \le \E[\varphi(X)] .

If φ\varphi is strictly convex, equality holds if and only if XX is almost surely constant.

Key idea

The supporting-line trick — replace a convex function by a linear lower bound, then take expectations — is one of the two or three most reused moves in this laboratory. It proves Jensen here, it proves the variational characterisation of the KL divergence, and it is the first step of the Chernoff method.

TheoremHölder's inequality

For p,q∈[1,∞]p, q \in [1,\infty] with 1/p+1/q=11/p + 1/q = 1,

E∣XY∣≤∥X∥Lp ∥Y∥Lq,∥X∥Lp=(E∣X∣p)1/p.\E|XY| \le \norm{X}_{L^p}\,\norm{Y}_{L^q}, \qquad \norm{X}_{L^p} = \big(\E|X|^p\big)^{1/p} .

The case p=q=2p = q = 2 is Cauchy–Schwarz.

Hölder is quoted, not proved here; see the references. The consequence used most often is the monotonicity of LpL^p norms, ∥X∥Lp≤∥X∥Lq\norm{X}_{L^p} \le \norm{X}_{L^q} for p≤qp \le q, which is why convergence in L2L^2 implies convergence in L1L^1 but not conversely.

Limits and integrals

TheoremMonotone and dominated convergence

Let Xn→XX_n \to X pointwise almost surely.

  • Monotone convergence. If 0≤X1≤X2≤⋯0 \le X_1 \le X_2 \le \cdots then EXn→EX\E X_n \to \E X (both sides possibly +∞+\infty).
  • Dominated convergence. If ∣Xn∣≤Y|X_n| \le Y for all nn with EY<∞\E Y < \infty, then EXn→EX\E X_n \to \E X.
  • Fatou. If Xn≥0X_n \ge 0 then E[lim inf⁡nXn]≤lim inf⁡nEXn\E[\liminf_n X_n] \le \liminf_n \E X_n.

These are quoted from measure theory. They appear whenever a proof differentiates under an expectation — for instance when showing that a moment generating function is smooth inside its domain, a step used silently in the sub-Gaussian computations.

Compactness and existence of minimisers

TheoremExtreme value theorem

A continuous real-valued function on a compact subset of Rd\R^d attains its supremum and infimum.

In Rd\R^d, compact means closed and bounded (Heine–Borel). This theorem is what the proof of the spectral theorem uses to produce the top eigenvector, and it is the reason optimisation theory cares about coercivity: if f(x)→∞f(x) \to \infty as ∥x∥→∞\norm{x} \to \infty, then the sublevel set {f≤f(x0)}\{f \le f(x_0)\} is bounded, closed by continuity, hence compact, so a minimiser exists. Without coercivity a continuous convex function need not have a minimiser at all — f(x)=exf(x) = e^{x} on R\R is the one-line counterexample.

Problems

Equality in Jensen's inequalityProof · Beginner · 15 min Lipschitz constants depend on the normNumerical · Beginner · 15 min The supremum is 1-Lipschitz in the uniform normProof · Intermediate · 15 min

References

  • BookWalter Rudin (1976). Principles of Mathematical Analysis
  • BookRick Durrett (2019). Probability: Theory and ExamplesChapter 1 for the measure-theoretic facts quoted here without proof.

These works are cited as sources to read, not reproduced. All exposition, examples and problems on this site are written independently; where an argument is standard, the citation points to a canonical treatment.

Results stated on this page

Problems (3)

All problems