Lecture 15

Random vectors in high dimensions

Course edition
Fall 2026
Last updated
October 19, 2026

Part V · High dimensions: tools and phenomena · Lecture 2 of 4

Student PDFReport an issue

A guided route

Lecture map

High and mid topics are both examined. Follow the topic links, and open optional branches when they help.

These notes support STAT 709 at the University of Wisconsin–Madison. Use them alongside the cited textbooks; corrections and questions are welcome.

High priorityOverview

  • Targets. Scalar concentration becomes a tool for vectors when we decide what to measure: all graph degrees, every covariance entry, a Euclidean norm, or finitely many pairwise distances.

  • Strategy. The recurring steps are to control one quantity, count the quantities of interest, and apply a union bound.

  • Scope. The Gaussian and convex concentration statements, their matrix-norm example, and random projection are mid priority; the general concentration proofs and extensions remain optional.

Recap from earlier lecturesFrom Lecture 14: exponential tail bounds · 1 min

Reminder only: this block introduces no new exam requirements.

Learning goals

High priorityIntroduction

In this lecture, we will continue studying concentration inequalities and introduce some fundamental high-dimensional phenomena. For a random vector \(X = (X_1,\ldots,X_n)\)X=(X1,…,Xn)X = (X_1,\ldots,X_n) with independent components, the previous lecture shows how to control \(\langle a, X \rangle\)⟨a,X⟩\langle a, X \rangle for a given nonrandom vector \(a\)aa.

As before, we use \(c\)cc or \(C\)CC to denote a positive absolute constant.

1. Examples of concentration inequalities

High priorityExamples of concentration inequalities
Quick Explanation
With high probability

Let us first recall concentration inequalities we learned in the previous lecture by looking at some examples.

Random graphs.

The Erdős-Rényi graph \(G \sim G(n,p)\)G∼G(n,p)G \sim G(n,p) is a random graph with \(n\)nn vertices where we randomly draw an edge between vertices \(i\)ii and \(j\)jj with probability \(p\)pp. In other words, for \(1 \le i < j \le n\)1≤i<j≤n1 \le i < j \le n, we have an independent Bernoulli random variable \(A_{ij} \sim \mathrm{Bern}(p)\)Aij∼Bern(p)A_{ij} \sim \mathrm{Bern}(p). Set \(A_{ji}=A_{ij}\)Aji=AijA_{ji}=A_{ij} and \(A_{ii}=0\)Aii=0A_{ii}=0. The degree of vertex \(i\)ii is \[d_i = \sum_{j \neq i} A_{ij}.\]di=∑j≠iAij.d_i = \sum_{j \neq i} A_{ij}. The expected degree for each \(i\)ii is \(\E [d_i] = (n-1)p\)𝔼[di]=(n−1)p\mathbb{E}[d_i] = (n-1)p, and we denote \(d = (n-1) p\)d=(n−1)pd = (n-1) p.

Proposition 1Dense graphs have concentrated degrees

There is an absolute constant \(C\)CC such that the following holds. Suppose the expected degree satisfies \(d \ge C (\log n)^{2}\)d≥C(logn)2d \ge C (\log n)^{2}. Then, with probability1 at least \(0.9\)0.90.9 all degrees of \(G\)GG are between \(0.9d\)0.9d0.9d and \(1.1d\)1.1d1.1d.

We can replace \(0.9\)0.90.9 by \(0.99\)0.990.99, and \(0.9d\)0.9d0.9d and \(1.1d\)1.1d1.1d closer to \(d\)dd (e.g., \(0.99d\)0.99d0.99d, \(1.01d\)1.01d1.01d). The same conclusion holds with a larger constant \(C\)CC.

Proof. To prove this inequality, we apply Bernstein’s inequality for bounded random variables (Hoeffding’s inequality is too crude): for any \(i\)ii,

\[\mathbb{P}\left(\big|d_i - d| \ge \frac{C_1(\sigma + M)}{\delta}\right) \le 2\exp\left(-\min\left(\frac{1}{\delta}, \frac{1}{\delta^2}\right)\right), \qquad \text{for any}~\delta > 0,\]ℙ(|di−d|≥C1(σ+M)δ)≤2exp(−min(1δ,1δ2)),for anyδ>0,\mathbb{P}\left(\big|d_i - d| \ge \frac{C_1(\sigma + M)}{\delta}\right) \le 2\exp\left(-\min\left(\frac{1}{\delta}, \frac{1}{\delta^2}\right)\right), \qquad \text{for any}~\delta > 0,

(1)

where \(C_1\)C1C_1 is a certain constant, \(\sigma = (\Var(d_i))^{1/2}\)σ=(Var(di))1/2\sigma = (\mathrm{Var}(d_i))^{1/2} and \(M \le 1\)M≤1M \le 1 is a simple upper bound on \(|A_{ij} - \E[A_{ij}]|\)|Aij−𝔼[Aij]||A_{ij} - \mathbb{E}[A_{ij}]|. Note \(\sigma = ((n-1)p(1-p))^{1/2} \le d^{1/2}\)σ=((n−1)p(1−p))1/2≤d1/2\sigma = ((n-1)p(1-p))^{1/2} \le d^{1/2}. We pick \(\delta = (a\log n)^{-1}\)δ=(alogn)−1\delta = (a\log n)^{-1} where \(a=6\)a=6a=6 to get \[\mathbb{P}\left(\big|d_i - d| \ge \frac{C_1(\sqrt{d}\, + 1)}{\delta}\right) \le 2\exp\left(-\min\left(\frac{1}{\delta}, \frac{1}{\delta^2}\right)\right) \le2n^{-a}\quad\text{when }a\log n\ge1,\]ℙ(|di−d|≥C1(d+1)δ)≤2exp(−min(1δ,1δ2))≤2n−awhen alogn≥1,\mathbb{P}\left(\big|d_i - d| \ge \frac{C_1(\sqrt{d}\, + 1)}{\delta}\right) \le 2\exp\left(-\min\left(\frac{1}{\delta}, \frac{1}{\delta^2}\right)\right) \le2n^{-a}\quad\text{when }a\log n\ge1, Note \(C_1\frac{\sqrt{d}\, + 1}{\delta} = O(\sqrt{d} \log n)\)C1d+1δ=O(dlogn)C_1\frac{\sqrt{d}\, + 1}{\delta} = O(\sqrt{d} \log n). Thus, under the assumption \(d \ge C(\log n)^2\)d≥C(logn)2d \ge C(\log n)^2 for a large \(C\)CC, we have \(C_1\frac{\sqrt{d}\, + 1}{\delta} \le 0.1 d\)C1d+1δ≤0.1dC_1\frac{\sqrt{d}\, + 1}{\delta} \le 0.1 d. Thus, by the union bound, \[\mathbb{P}\left(\exists~i, ~\big|d_i - d| \ge 0.1 d \right) \le \sum_{i=1}^n\mathbb{P}\left(\big|d_i - d| \ge \frac{C_1(\sigma + M)}{\delta}\right) \le 2n^{1 - a}\]ℙ(∃i,|di−d|≥0.1d)≤∑i=1nℙ(|di−d|≥C1(σ+M)δ)≤2n1−a\mathbb{P}\left(\exists~i, ~\big|d_i - d| \ge 0.1 d \right) \le \sum_{i=1}^n\mathbb{P}\left(\big|d_i - d| \ge \frac{C_1(\sigma + M)}{\delta}\right) \le 2n^{1 - a} For \(n\ge2\)n≥2n\ge2 and \(a=6\)a=6a=6, the right-hand side is at most \(2\cdot2^{-5}<0.1\)2⋅2−5<0.12\cdot2^{-5}<0.1; enlarging the constant in the degree assumption ensures the radius comparison above. ◻

The coarser inverted radius used above is not optimal. The direct bounded Bernstein inequality, or a multiplicative Chernoff inequality, lets us replace \((\log n)^2\)(logn)2(\log n)^2 by \(\log n\)logn\log n in the statement of Proposition 1. See [2][Prop. 2.4.1] for details.

Covariance matrix.

  • Observations. Let \(y_1,\ldots,y_n \stackrel{\iid}{\sim} Y \in \R^d\)y1,…,yn∼i.i.d.Y∈ℝdy_1,\ldots,y_n \stackrel{\mathrm{i.i.d.}}{\sim} Y \in \mathbb{R}^d be i.i.d. random vectors with zero mean and subgaussian components, namely \(\E Y = 0\)𝔼Y=0\mathbb{E}Y = 0 and \(\max_{1 \le j \le d} \| Y_j \|_{\psi_2} \le K\)max1≤j≤d∥Yj∥ψ2≤K\max_{1 \le j \le d} \| Y_j \|_{\psi_2} \le K.

  • Integrability. All coordinate products are integrable: Cauchy–Schwarz gives \(\E|Y_jY_m|\le(\E Y_j^2\E Y_m^2)^{1/2}<\infty\)𝔼|YjYm|≤(𝔼Yj2𝔼Ym2)1/2<∞\mathbb{E}|Y_jY_m|\le(\mathbb{E}Y_j^2\mathbb{E}Y_m^2)^{1/2}<\infty.

  • Population covariance. Thus the covariance matrix exists and is denoted by \(\Sigma = \mathrm{Cov}(Y)\)Σ=Cov(Y)\Sigma = \mathrm{Cov}(Y) which is a \(d\times d\)d×dd\times d matrix.

  • Empirical covariance. The empirical covariance matrix is

\[\hat \Sigma = \frac{1}{n} \sum_{i=1}^n y_i y_i^\top\]Σ̂=1n∑i=1nyiyi⊤\hat \Sigma = \frac{1}{n} \sum_{i=1}^n y_i y_i^\top We can apply Bernstein’s inequality to bound the estimation error under the max norm: \[\big\| \hat \Sigma - \Sigma \big\|_{\max} := \max_{1\le j,m \le d} \big| \hat \Sigma - \Sigma \big|_{j,m} = \max_{1\le j,m \le d} \Big| \frac{1}{n} \sum_{i=1}^n \big( [y_i]_j [y_i]_m - \E[ [y_i]_j [y_i]_m]\big) \Big|\,.\]∥Σ̂−Σ∥max:=max1≤j,m≤d|Σ̂−Σ|j,m=max1≤j,m≤d|1n∑i=1n([yi]j[yi]m−𝔼[[yi]j[yi]m])|.\big\| \hat \Sigma - \Sigma \big\|_{\max} := \max_{1\le j,m \le d} \big| \hat \Sigma - \Sigma \big|_{j,m} = \max_{1\le j,m \le d} \Big| \frac{1}{n} \sum_{i=1}^n \big( [y_i]_j [y_i]_m - \mathbb{E}[ [y_i]_j [y_i]_m]\big) \Big|\,.

  • Independent observations. For each fixed pair \((j,m)\)(j,m)(j,m), the summands are independent across observations \(i\)ii.

  • Dependent coordinates allowed. Coordinates within an observation need not be independent.

  • Tail scale. The product and centering bounds give \(\|Y_jY_m-\E(Y_jY_m)\|_{\psi_1}\le4K^2\)∥YjYm−𝔼(YjYm)∥ψ1≤4K2\|Y_jY_m-\mathbb{E}(Y_jY_m)\|_{\psi_1}\le4K^2, so Bernstein’s inequality yields

\[P\left( |[\hat\Sigma-\Sigma]_{jm}|\ge tK^2\right) \le 2 \exp \left(-cn \min(t^2, t) \right)\,.\]P(|[Σ̂−Σ]jm|≥tK2)≤2exp(−cnmin(t2,t)).P\left( |[\hat\Sigma-\Sigma]_{jm}|\ge tK^2\right) \le 2 \exp \left(-cn \min(t^2, t) \right)\,. We choose \(t = C \sqrt{(\log d)/ n}\)t=C(logd)/nt = C \sqrt{(\log d)/ n} with a sufficiently large \(C \ge 1\)C≥1C \ge 1 so that \(cn t^2 \ge 4\log d\)cnt2≥4logdcn t^2 \ge 4\log d. Assume \(d\ge2\)d≥2d\ge2 and \(n\ge C^2\log d\)n≥C2logdn\ge C^2\log d, so \(t\le1\)t≤1t\le1 and hence \(\min(t^2, t) = t^2\)min(t2,t)=t2\min(t^2, t) = t^2. This yields \[P\left( |[\hat\Sigma-\Sigma]_{jm}|\ge CK^2\sqrt{\frac{\log d}{n}} \right) \le 2 \exp(- 4 \log d) = 2d^{-4}.\]P(|[Σ̂−Σ]jm|≥CK2logdn)≤2exp(−4logd)=2d−4.P\left( |[\hat\Sigma-\Sigma]_{jm}|\ge CK^2\sqrt{\frac{\log d}{n}} \right) \le 2 \exp(- 4 \log d) = 2d^{-4}. By applying a union bound over the choice of \(j,m\)j,mj,m, we get \[P\left(\big\| \hat \Sigma - \Sigma \big\|_{\max}\ge CK^2\sqrt{\frac{\log d}{n}} \right) \le 2d^{-2}.\]P(∥Σ̂−Σ∥max≥CK2logdn)≤2d−2.P\left(\big\| \hat \Sigma - \Sigma \big\|_{\max}\ge CK^2\sqrt{\frac{\log d}{n}} \right) \le 2d^{-2}. Note that by adjusting the constant, we can make the exponent \(-2\)−2-2 in \(d^{-2}\)d−2d^{-2} smaller (like \(-10\)−10-10, \(-100\)−100-100, etc.)

Uniform control.

A union bound converts one-entry concentration into simultaneous control of graph degrees or covariance entries. The number of quantities contributes a logarithmic factor through the chosen failure probability.

High priorityPractice: A sharper degree requirement

See Exercise 1 in Section 7 for the full statement and complete solution.

2. Two general concentration inequalities

Low priority — not examined: Two general concentration inequalities

It is possible to generalize the concentration inequalities beyond a linear combination of independent random variables. The following result is a classic concentration inequality for general Lipschitz functions, although it only applies to Gaussian random variables instead of subgaussian random variables.

Mid priorityGaussian concentration inequality
Theorem 1Gaussian concentration inequality

Let \(X_1, X_2, \ldots X_n \stackrel{\iid}{\sim} \mathcal{N}(0, 1)\)X1,X2,…Xn∼i.i.d.𝒩(0,1)X_1, X_2, \ldots X_n \stackrel{\mathrm{i.i.d.}}{\sim} \mathcal{N}(0, 1). Let \(F: \mathbb{R}^n \to \mathbb{R}\)F:ℝn→ℝF: \mathbb{R}^n \to \mathbb{R} be an \(L\)LL-Lipschitz function, i.e., \(|F(x) - F(y)| \le L\|x - y\|\)|F(x)−F(y)|≤L∥x−y∥|F(x) - F(y)| \le L\|x - y\|. Then \[\|F(X_1, \ldots, X_n) - \mathbb{E}F(X_1, \ldots, X_n)\|_{\psi_2} \le C L\]∥F(X1,…,Xn)−𝔼F(X1,…,Xn)∥ψ2≤CL\|F(X_1, \ldots, X_n) - \mathbb{E}F(X_1, \ldots, X_n)\|_{\psi_2} \le C L where \(C\)CC is a constant.

Low priority — not examined: Gaussian concentration: proof and details

If we consider the special case \(F(x) = \langle a, x \rangle\)F(x)=⟨a,x⟩F(x) = \langle a, x \rangle, then \(F\)FF is \(\|a\|\)∥a∥\|a\|-Lipschitz. This leads to the same bound as in Hoeffding’s inequality.

Proof. Of Theorem 1.

For simplicity, denote \(X=(X_1,\dots,X_n)\)X=(X1,…,Xn)X=(X_1,\dots,X_n), and let \(Y\)YY be an independent copy. First prove the claim for smooth \(F\)FF with \(\|\nabla F\|\le L\)∥∇F∥≤L\|\nabla F\|\le L; convolution approximation extends it to every Lipschitz \(F\)FF, with dominated convergence justified by linear growth and Gaussian exponential integrability. We also introduce the definition \(X_\theta = X\cos \theta + Y\sin \theta\)Xθ=Xcosθ+YsinθX_\theta = X\cos \theta + Y\sin \theta. Using Markov’s inequality and Jensen’s inequality, we obtain \[P(F(X)-\E F(X)>Lt) \leq e^{-\lambda Lt}\E e^{\lambda(F(X)-\E F(X))} \leq e^{-\lambda Lt}\E e^{\lambda(F(X)- F(Y))}.\]P(F(X)−𝔼F(X)>Lt)≤e−λLt𝔼eλ(F(X)−𝔼F(X))≤e−λLt𝔼eλ(F(X)−F(Y)).P(F(X)-\mathbb{E}F(X)>Lt) \leq e^{-\lambda Lt}\mathbb{E}e^{\lambda(F(X)-\mathbb{E}F(X))} \leq e^{-\lambda Lt}\mathbb{E}e^{\lambda(F(X)- F(Y))}. Note that \[\frac{d}{d\theta} X_{\theta} = -X\sin\theta + Y\cos\theta\sim N(0,I_n)\]ddθXθ=−Xsinθ+Ycosθ∼N(0,In)\frac{d}{d\theta} X_{\theta} = -X\sin\theta + Y\cos\theta\sim N(0,I_n) for any \(\theta\in[0,\pi/2]\)θ∈[0,π/2]\theta\in[0,\pi/2]. A crucial observation is that \(\frac{d}{d\theta} X_\theta\)ddθXθ\frac{d}{d\theta} X_\theta and \(X_\theta\)XθX_\theta are independent, since \((X_\theta, \frac{d}{d\theta} X_\theta)\)(Xθ,ddθXθ)(X_\theta, \frac{d}{d\theta} X_\theta) is an orthogonal transform of \(X,Y\)X,YX,Y. Denote \(X'_\theta = \frac{d}{d\theta} X_\theta\)X′θ=ddθXθX'_\theta = \frac{d}{d\theta} X_\theta.

We use Jensen’s inequality for the integration (viewed as measure integration w.r.t. \(\mathrm{Unif}[0,\pi/2]\)Unif[0,π/2]\mathrm{Unif}[0,\pi/2]) in the exponentiation and Fubini’s theorem, \[\begin{aligned} \E e^{\lambda[F(Y)-F(X)]} &= \E \exp \Big( \frac{\pi\lambda}{2} \int_0^{\pi/2} (-X\sin\theta + Y\cos\theta)^T\nabla F(X_\theta) \frac{2}{\pi}d\theta \Big) \\ &\leq \frac{2}{\pi} \int_0^{\pi/2} \E e^{\frac{\pi\lambda}{2} (-X\sin\theta + Y\cos\theta)^T\nabla F(X_\theta)}d\theta \qquad \text{(by Jensen and Fubini)} \\ &= \frac{2}{\pi} \int_0^{\pi/2} \E e^{\frac{\pi\lambda}{2} (X'_\theta)^T\nabla F(X_\theta)}d\theta \\ &= \frac{2}{\pi} \int_0^{\pi/2} \mathbb{E} e^{\frac{\lambda^2 \pi^2 \|\nabla F(X_\theta)\|^2}{8}} d\theta \qquad \text{(by independence)} \\ &\leq e^{\frac{\lambda^2 \pi^2 L^2}{8}}. \qquad \qquad \qquad \text{(by Lipschitz assumption)} \end{aligned}\]𝔼eλ[F(Y)−F(X)]=𝔼exp(πλ2∫0π/2(−Xsinθ+Ycosθ)T∇F(Xθ)2πdθ)≤2π∫0π/2𝔼eπλ2(−Xsinθ+Ycosθ)T∇F(Xθ)dθ(by Jensen and Fubini)=2π∫0π/2𝔼eπλ2(X′θ)T∇F(Xθ)dθ=2π∫0π/2𝔼eλ2π2∥∇F(Xθ)∥28dθ(by independence)≤eλ2π2L28.(by Lipschitz assumption)\begin{aligned} \mathbb{E}e^{\lambda[F(Y)-F(X)]} &= \mathbb{E}\exp \Big( \frac{\pi\lambda}{2} \int_0^{\pi/2} (-X\sin\theta + Y\cos\theta)^T\nabla F(X_\theta) \frac{2}{\pi}d\theta \Big) \\ &\leq \frac{2}{\pi} \int_0^{\pi/2} \mathbb{E}e^{\frac{\pi\lambda}{2} (-X\sin\theta + Y\cos\theta)^T\nabla F(X_\theta)}d\theta \qquad \text{(by Jensen and Fubini)} \\ &= \frac{2}{\pi} \int_0^{\pi/2} \mathbb{E}e^{\frac{\pi\lambda}{2} (X'_\theta)^T\nabla F(X_\theta)}d\theta \\ &= \frac{2}{\pi} \int_0^{\pi/2} \mathbb{E} e^{\frac{\lambda^2 \pi^2 \|\nabla F(X_\theta)\|^2}{8}} d\theta \qquad \text{(by independence)} \\ &\leq e^{\frac{\lambda^2 \pi^2 L^2}{8}}. \qquad \qquad \qquad \text{(by Lipschitz assumption)} \end{aligned}

  • Symmetry. The difference \(F(X)-F(Y)\)F(X)−F(Y)F(X)-F(Y) has the same distribution as \(F(Y)-F(X)\)F(Y)−F(X)F(Y)-F(X) by exchanging the independent copies. The preceding bound therefore applies to the MGF in the Markov step.

  • Constant case. If \(L=0\)L=0L=0, \(F\)FF is constant.

  • Optimize. Otherwise choose \(\lambda=\frac{4t}{\pi^2L}\)λ=4tπ2L\lambda=\frac{4t}{\pi^2L} to obtain

\[P(F(X)-\E F(X)>Lt) \leq e^{-\frac{2t^2}{\pi^2}}.\]P(F(X)−𝔼F(X)>Lt)≤e−2t2π2.P(F(X)-\mathbb{E}F(X)>Lt) \leq e^{-\frac{2t^2}{\pi^2}}. Applying the same argument to \(-F(X)\)−F(X)-F(X), we can derive that \[P(-F(X) + \E F(X)>Lt) \leq e^{-\frac{2t^2}{\pi^2}},\]P(−F(X)+𝔼F(X)>Lt)≤e−2t2π2,P(-F(X) + \mathbb{E}F(X)>Lt) \leq e^{-\frac{2t^2}{\pi^2}}, and therefore \[P(|F(X)-\E F(X)|>Lt) \leq 2e^{-\frac{2t^2}{\pi^2}}.\]P(|F(X)−𝔼F(X)|>Lt)≤2e−2t2π2.P(|F(X)-\mathbb{E}F(X)|>Lt) \leq 2e^{-\frac{2t^2}{\pi^2}}. ◻

Mid priorityConcentration of Gaussian matrix norms
Example 1

Suppose that \(Y\)YY is a matrix of i.i.d. standard normal entries. Let \(\| \cdot \|\)∥⋅∥\| \cdot \| be either the Frobenius norm or the matrix operator norm. Then, \[P\big( \big| \|Y\| - \mathbb{E} \|Y\| \big| > t \big) \le 2 e^{-ct^2}, \qquad \text{for all}~t > 0.\]P(|∥Y∥−𝔼∥Y∥|>t)≤2e−ct2,for allt>0.P\big( \big| \|Y\| - \mathbb{E} \|Y\| \big| > t \big) \le 2 e^{-ct^2}, \qquad \text{for all}~t > 0.

Low priority — not examined: Matrix norms: explanation

The above inequality follows from Theorem 1 and the observation that \(|f(Y) - f(\tilde Y)| \le f(Y - \tilde Y)\)|f(Y)−f(Ỹ)|≤f(Y−Ỹ)|f(Y) - f(\tilde Y)| \le f(Y - \tilde Y) with \(f(Y) = \| Y \|\)f(Y)=∥Y∥f(Y) = \| Y \| (due to triangle inequality in the definition of a norm). Remarkably, the deviation of \(\|Y\|\)∥Y∥\|Y\| from its expectation is \(O(1)\)O(1)O(1), which does not depend on the dimensions of the matrix \(Y\)YY. As we will learn in the next lecture, \(\mathbb{E} \|Y\|\)𝔼∥Y∥\mathbb{E} \|Y\| generally scales with the matrix dimension. In the special case of vectors \(Y \in \R^n\)Y∈ℝnY \in \mathbb{R}^n, from homework problems we have learned \(\|Y\| = \sqrt{n} + O_P(1)\)∥Y∥=n+OP(1)\|Y\| = \sqrt{n} + O_P(1) (see also next section), so indeed \(\|Y\|\)∥Y∥\|Y\| concentrates around its mean.

What if we don’t have Gaussian distributions? Talagrand’s concentration inequality.

Mid priorityTalagrand’s concentration inequality
Theorem 2Talagrand’s concentration inequality

Suppose that \(X_1,\ldots, X_n\)X1,…,XnX_1,\ldots, X_n are independent random variables satisfying \(\max_i |X_i| \le K\)maxi|Xi|≤K\max_i |X_i| \le K. Denote \(X=(X_1,\ldots,X_n)\)X=(X1,…,Xn)X=(X_1,\ldots,X_n). Let \(F:\R^n\to\R\)F:ℝn→ℝF:\mathbb{R}^n\to\mathbb{R} be a convex \(L\)LL-Lipschitz function. Then

\[P\big( | F(X) - \mathbb{E} [F(X)]| \ge tL \big) \le C \exp\Big( -\frac{ct^2}{K^2}\Big) \qquad \text{for any}~t > 0.\]P(|F(X)−𝔼[F(X)]|≥tL)≤Cexp(−ct2K2)for anyt>0.P\big( | F(X) - \mathbb{E} [F(X)]| \ge tL \big) \le C \exp\Big( -\frac{ct^2}{K^2}\Big) \qquad \text{for any}~t > 0.

(2)
Low priority — not examined: Talagrand concentration: proof and extension

See [1] (Theorem 2.1.13) for a proof. This theorem says that for a bounded random vector with independent coordinates, \(F(X) - \mathbb{E} [F(X)]\)F(X)−𝔼[F(X)]F(X) - \mathbb{E} [F(X)] is subgaussian with norm bounded by \(O(KL)\)O(KL)O(KL).

In place of Gaussianity, we now require bounded independent coordinates and convexity. For independent variables \(\xi_i\)ξi\xi_i with \(\max_i\|\xi_i\|_{\psi_2}\le K\)maxi∥ξi∥ψ2≤K\max_i\|\xi_i\|_{\psi_2}\le K, one practical extension uses truncation: \[X_i = \xi_i \mathbf{1}\{ |\xi_i| \le \tau_n \}\]Xi=ξi1{|ξi|≤τn}X_i = \xi_i \mathbf{1}\{ |\xi_i| \le \tau_n \} at appropriate threshold \(\tau_n\)τn\tau_n. For example, choose \(\tau_n = C_q K\sqrt{\log n}\)τn=CqKlogn\tau_n = C_q K\sqrt{\log n} for subgaussian \(\xi_i\)ξi\xi_i allows us to have \(P(X_i = \xi_i, \forall~i) \ge 1 - C'n^{-q}\)P(Xi=ξi,∀i)≥1−C′n−qP(X_i = \xi_i, \forall~i) \ge 1 - C'n^{-q} for any \(q > 0\)q>0q > 0. For convex \(F\)FF, we may then apply Talagrandś concentration inequality to \(X_i\)XiX_i, obtain the concentration inequality of \(F(X)\)F(X)F(X), and control the change in center using \[|\E F(X)-\E F(\xi)|\le L\E\|X-\xi\|_2 \le L\Big(\sum_i\E[\xi_i^2\mathbf1\{|\xi_i|>\tau_n\}]\Big)^{1/2}.\]|𝔼F(X)−𝔼F(ξ)|≤L𝔼∥X−ξ∥2≤L(∑i𝔼[ξi21{|ξi|>τn}])1/2.|\mathbb{E}F(X)-\mathbb{E}F(\xi)|\le L\mathbb{E}\|X-\xi\|_2 \le L\Big(\sum_i\mathbb{E}[\xi_i^2\mathbf1\{|\xi_i|>\tau_n\}]\Big)^{1/2}. Integrating the subgaussian tail makes this small by increasing \(C_q\)CqC_q. Together with the truncation failure probability, this transfers the bound to \(F(\xi)\)F(ξ)F(\xi), at the cost of the logarithmic scale in \(\tau_n\)τn\tau_n.

Low priority — not examined: Practice: The norm is Lipschitz

See Exercise 2 in Section 7 for the full statement and complete solution.

3. Norm of random vectors

High priorityNorm of random vectors

Suppose that \(X = (X_1,\ldots,X_n)\)X=(X1,…,Xn)X = (X_1,\ldots,X_n) is a random vector where \(X_1,\ldots,X_n\)X1,…,XnX_1,\ldots,X_n are independent random variables with \(\E [X_i] = 0\)𝔼[Xi]=0\mathbb{E}[X_i] = 0 and \(\Var(X_i) = 1\)Var(Xi)=1\mathrm{Var}(X_i) = 1. We are interested in the Euclidean norm \(\| X \|\)∥X∥\| X \|. Let’s gather some results about \(\| X \|\)∥X∥\| X \| we have proved so far.

  1. For i.i.d. coordinates, by the LLN and continuous mapping theorem, \(n^{-1/2} \| X \| \stackrel{p}{\rightarrow} 1\)n−1/2∥X∥→p1n^{-1/2} \| X \| \stackrel{p}{\rightarrow} 1 as \(n \to \infty\)n→∞n \to \infty.

  2. For i.i.d. coordinates with finite fourth moment, the CLT and delta method give \(\|X\|-\sqrt n\Rightarrow N(0,\Var(X_1^2)/4)\)∥X∥−n⇒N(0,Var(X12)/4)\|X\|-\sqrt n\Rightarrow N(0,\mathrm{Var}(X_1^2)/4). For standard Gaussian coordinates, this variance is \(1/2\)1/21/2.

  3. By Jensen’s inequality, \(\E[\|X\|] \le \sqrt{\E[\|X\|^2]} = \sqrt{n}\)𝔼[∥X∥]≤𝔼[∥X∥2]=n\mathbb{E}[\|X\|] \le \sqrt{\mathbb{E}[\|X\|^2]} = \sqrt{n}.

  4. If \(X_i\)XiX_i has distribution \(N(0,1)\)N(0,1)N(0,1) or \(\max_i |X_i| \le C\)maxi|Xi|≤C\max_i |X_i| \le C, then \(\|X\| - \E[\| X \|]\)∥X∥−𝔼[∥X∥]\|X\| - \mathbb{E}[\| X \|] has subgaussian norm \(O(1)\)O(1)O(1).

Points 1 and 2 suggest that \(\|X\|\)∥X∥\|X\| concentrates around \(\sqrt n\)n\sqrt n, but do not supply a finite-sample tail bound. Point 4 follows from the preceding mid-priority concentration statements; the direct Bernstein proof below supplies an independent main-route argument. Theorem 3.1.1 of [2] shows the following result.

Theorem 3

Let \(X = (X_1,\ldots,X_n)\)X=(X1,…,Xn)X = (X_1,\ldots,X_n) be a random vector where \(X_1,\ldots,X_n\)X1,…,XnX_1,\ldots,X_n are independent random variables with \(\E(X_i^2) = 1\)𝔼(Xi2)=1\mathbb{E}(X_i^2) = 1 and \(\max_i \|X_i\|_{\psi_2} \le K\)maxi∥Xi∥ψ2≤K\max_i \|X_i\|_{\psi_2} \le K. Then, \[\left\| \| X \|_2 - \sqrt{n} \right\|_{\psi_2} \le CK^2.\]∥∥X∥2−n∥ψ2≤CK2.\left\| \| X \|_2 - \sqrt{n} \right\|_{\psi_2} \le CK^2.

Proof. For convenience, we assume \(K \ge 1\)K≥1K \ge 1. Let \(Y_i = X_i^2 - 1\)Yi=Xi2−1Y_i = X_i^2 - 1. The product and centering inequalities from Lecture 14 give \(\|Y_i\|_{\psi_1}\le 2\|X_i^2\|_{\psi_1}\le4K^2\)∥Yi∥ψ1≤2∥Xi2∥ψ1≤4K2\|Y_i\|_{\psi_1}\le 2\|X_i^2\|_{\psi_1}\le4K^2. Applying Bernstein’s inequality,

\[P\left(\Big| \frac{1}{n} \| X \|^2 - 1 \Big| \ge u \right) \le 2 \exp \left( - \frac{cn}{K^4} \min(u, u^2) \right), \qquad \text{for all}~u >0\]P(|1n∥X∥2−1|≥u)≤2exp(−cnK4min(u,u2)),for allu>0P\left(\Big| \frac{1}{n} \| X \|^2 - 1 \Big| \ge u \right) \le 2 \exp \left( - \frac{cn}{K^4} \min(u, u^2) \right), \qquad \text{for all}~u >0

(3)

where we used \(K^4 \ge K^2\)K4≥K2K^4 \ge K^2 due to the assumption \(K \ge 1\)K≥1K \ge 1. To prove the tail bound for \(\|X\|\)∥X∥\|X\|, we use the following observation: \[|z - 1| \ge \delta \quad \Longrightarrow \quad |z^2 - 1| \ge \max(\delta, \delta^2), \qquad\text{for all }z\ge0,\ \delta>0\]|z−1|≥δ⇒|z2−1|≥max(δ,δ2),for all z≥0,δ>0|z - 1| \ge \delta \quad \Longrightarrow \quad |z^2 - 1| \ge \max(\delta, \delta^2), \qquad\text{for all }z\ge0,\ \delta>0 Thus we obtain \[P\left(\Big| \frac{1}{\sqrt{n}} \| X \| - 1 \Big| \ge \delta \right) \le P\left(\Big| \frac{1}{n} \| X \|^2 - 1 \Big| \ge \max(\delta, \delta^2) \right) \le2\exp\left(-\frac{cn}{K^4}\delta^2\right)\]P(|1n∥X∥−1|≥δ)≤P(|1n∥X∥2−1|≥max(δ,δ2))≤2exp(−cnK4δ2)P\left(\Big| \frac{1}{\sqrt{n}} \| X \| - 1 \Big| \ge \delta \right) \le P\left(\Big| \frac{1}{n} \| X \|^2 - 1 \Big| \ge \max(\delta, \delta^2) \right) \le2\exp\left(-\frac{cn}{K^4}\delta^2\right) where we used \(\min(u, u^2) \ge \delta^2\)min(u,u2)≥δ2\min(u, u^2) \ge \delta^2 with \(u = \max(\delta, \delta^2)\)u=max(δ,δ2)u = \max(\delta, \delta^2). Changing variables to \(t = \delta \sqrt{n}\)t=δnt = \delta \sqrt{n}, we therefore obtain \[P\big(\big| \| X \| - \sqrt{n} \big| \ge t \big) \le 2 \exp\left( - \frac{ct^2}{K^4} \right)\, \qquad \text{for all}~ t \ge 0.\]P(|∥X∥−n|≥t)≤2exp(−ct2K4)for allt≥0.P\big(\big| \| X \| - \sqrt{n} \big| \ge t \big) \le 2 \exp\left( - \frac{ct^2}{K^4} \right)\, \qquad \text{for all}~ t \ge 0. ◻

Vershynin’s Gaussian cloud illustration: two-dimensional spread compared with high-dimensional concentration near a sphere.

Figure excerpt: Vershynin, High-Dimensional Probability, Figure 3.6.

For the angular counterpart, see Lecture 5: a uniform direction from Gaussian noise.

Uniform spherical random variable.

Recall that we introduced the uniform random variable on the sphere \(\mathrm{Unif}(\mathbb{S}^{n-1})\)Unif(𝕊n−1)\mathrm{Unif}(\mathbb{S}^{n-1}) in the \(n\)nn-dimensional Euclidean space. We use \(r\mathbb{S}^{n-1}\)r𝕊n−1r\mathbb{S}^{n-1} to denote the sphere in \(\R^n\)ℝn\mathbb{R}^n with radius \(r\)rr.

Theorem 3 gives a useful radial coupling between a Gaussian vector and a uniform point on the sphere of radius \(\sqrt n\)n\sqrt n. In fact, if \(G \sim N(0, I_n)\)G∼N(0,In)G \sim N(0, I_n), then \[G = UR, \qquad \text{where}~U = G / \|G \|, ~R = \|G\|\]G=UR,whereU=G/∥G∥,R=∥G∥G = UR, \qquad \text{where}~U = G / \|G \|, ~R = \|G\| satisfies \(U \sim \mathrm{Unif}(\mathbb{S}^{n-1})\)U∼Unif(𝕊n−1)U \sim \mathrm{Unif}(\mathbb{S}^{n-1}) and \(U\)UU and \(R\)RR are independent. Since \(R\)RR concentrates around \(\sqrt{n}\)n\sqrt{n}, the probability mass of \(G\)GG is mostly around a thin spherical layer of radius \(\sqrt{n}\)n\sqrt{n}.

  • Relative concentration. The absolute shell width stays of order one while its radius grows like \(\sqrt n\)n\sqrt n, so the relative width tends to zero.

  • Different laws. The Gaussian and sphere distributions are nevertheless different: one has a density in space, while the other lives on a sphere.

Theorem 4Uniform spherical distribution is subgaussian

Denote the inner product of vectors by \(\langle u, v \rangle = u^\top v\)⟨u,v⟩=u⊤v\langle u, v \rangle = u^\top v. The random vector \(X \sim \mathrm{Unif}(\sqrt{n}\,\mathbb{S}^{n-1})\)X∼Unif(n𝕊n−1)X \sim \mathrm{Unif}(\sqrt{n}\,\mathbb{S}^{n-1}) satisfies

\[\sup_{u\in \R^n: \|u \|=1}\| \langle X, u \rangle \|_{\psi_2} \le C\,.\]supu∈ℝn:∥u∥=1∥⟨X,u⟩∥ψ2≤C.\sup_{u\in \mathbb{R}^n: \|u \|=1}\| \langle X, u \rangle \|_{\psi_2} \le C\,.

(4)

Namely, projecting \(X\)XX using any unit vector gives a subgaussian random variable with a norm bounded by \(C\)CC.

This result is intuitively true because of the relation \[X = \sqrt{n} \frac{G}{\|G\|}\]X=nG∥G∥X = \sqrt{n} \frac{G}{\|G\|} Since \(\| G \| \approx \sqrt{n}\)∥G∥≈n\| G \| \approx \sqrt{n} and \(\langle G, u \rangle \sim N(0,1)\)⟨G,u⟩∼N(0,1)\langle G, u \rangle \sim N(0,1) for any choice of unit vector \(u\)uu, we expect (4) is true.

Proof. Proof sketch.

A rigorous proof is based on defining a “high probability event” \[\mathcal{E} = \left\{ \| G \| \ge \frac{\sqrt{n}}{2} \right\}\]ℰ={∥G∥≥n2}\mathcal{E} = \left\{ \| G \| \ge \frac{\sqrt{n}}{2} \right\} which satisfies \(P(\mathcal{E}^c) \le 2 \exp(-cn)\)P(ℰc)≤2exp(−cn)P(\mathcal{E}^c) \le 2 \exp(-cn). So \[\begin{aligned} P\left(| \langle X, u \rangle| \ge t \right) &\le P\left(\frac{|\langle G,u\rangle|}{\|G\|}\ge \frac{t}{\sqrt{n}} ~ \text{and} ~ \mathcal{E} \right) + P(\mathcal{E}^c) \\ &\le P\left(|\langle G,u\rangle|\ge\frac t2 ~ \text{and} ~ \mathcal{E} \right) + 2 \exp(-cn) \\ &\le P\left(|\langle G,u\rangle|\ge\frac t2 \right) + 2 \exp(-cn) \\ &\le 2\exp(-t^2/8) + 2 \exp(-cn). \end{aligned}\]P(|⟨X,u⟩|≥t)≤P(|⟨G,u⟩|∥G∥≥tnandℰ)+P(ℰc)≤P(|⟨G,u⟩|≥t2andℰ)+2exp(−cn)≤P(|⟨G,u⟩|≥t2)+2exp(−cn)≤2exp(−t2/8)+2exp(−cn).\begin{aligned} P\left(| \langle X, u \rangle| \ge t \right) &\le P\left(\frac{|\langle G,u\rangle|}{\|G\|}\ge \frac{t}{\sqrt{n}} ~ \text{and} ~ \mathcal{E} \right) + P(\mathcal{E}^c) \\ &\le P\left(|\langle G,u\rangle|\ge\frac t2 ~ \text{and} ~ \mathcal{E} \right) + 2 \exp(-cn) \\ &\le P\left(|\langle G,u\rangle|\ge\frac t2 \right) + 2 \exp(-cn) \\ &\le 2\exp(-t^2/8) + 2 \exp(-cn). \end{aligned} For \(t\le\sqrt n\)t≤nt\le\sqrt n, the right side is at most \(4e^{-c_1t^2}\)4e−c1t24e^{-c_1t^2}. Combining this with the trivial probability bound \(1\)11 and reducing the absolute constant gives \(2e^{-c_2t^2}\)2e−c2t22e^{-c_2t^2}, the required subgaussian form. For \(t > \sqrt{n}\)t>nt > \sqrt{n}, the probability is trivially zero since \(| \langle X, u \rangle| \le \| X \| = \sqrt{n}\)|⟨X,u⟩|≤∥X∥=n| \langle X, u \rangle| \le \| X \| = \sqrt{n}. ◻

Instructor’s NoteMost Gaussian points live in a shell

The origin is the peak of the Gaussian density, but density at one location is not the same as probability in a region. There are many more directions and much more volume away from the origin. In high dimension that balance puts most points in a thin shell of radius about \(\sqrt n\)n\sqrt n, even though each coordinate is still ordinary Gaussian noise.

Radial concentration.

For independent isotropic subgaussian coordinates, the Euclidean norm is close to \(\sqrt n\)n\sqrt n, even though each coordinate fluctuates. This radial statement differs from concentration of a fixed coordinate.

Exact densities of the relative Gaussian radius for dimensions 2, 10, and 100 concentrate near 1.
High priorityPractice: Norm fluctuations for random signs

See Exercise 3 in Section 7 for the full statement and complete solution.

4. Random projection

Mid priorityRandom projection
Quick Recall
Uniform control

  • Low-dimensional structure. If we have a large collection of high-dimensional points \(Q:= \{x_i\}_{i \le N} \subset \R^d\)Q:={xi}i≤N⊂ℝdQ:= \{x_i\}_{i \le N} \subset \mathbb{R}^d, we can reduce dimensionality if the points are approximately in a low-dimensional subspace.

  • Random projection. A surprising result states that for an arbitrary collection of points, we can randomly map the points to a low-dimensional space while approximately preserving the pairwise distances.

Theorem 5Johnson-Lindenstrauss lemma

Let \(\veps \in (0,1/2)\)ε∈(0,1/2)\varepsilon\in (0,1/2). There exists a constant \(C\)CC such that the following statement is true. Let \(k \ge \frac{C \log N}{\veps^2}\)k≥ClogNε2k \ge \frac{C \log N}{\varepsilon^2} be an integer. Then there exists a linear mapping \(f: \R^d \to \R^k\)f:ℝd→ℝkf: \mathbb{R}^d \to \mathbb{R}^k such that \[(1- \veps) \| x - y \|^2 \le \| f(x) - f(y) \|^2 \le (1 + \veps) \| x - y \|^2, \qquad \text{for all}~x,y \in Q\](1−ε)∥x−y∥2≤∥f(x)−f(y)∥2≤(1+ε)∥x−y∥2,for allx,y∈Q(1- \varepsilon) \| x - y \|^2 \le \| f(x) - f(y) \|^2 \le (1 + \varepsilon) \| x - y \|^2, \qquad \text{for all}~x,y \in Q

This result is useful when \(d\)dd is much larger than \(O((\log N) / \veps^2)\)O((logN)/ε2)O((\log N) / \varepsilon^2).

Normalization.

The Gaussian map \(f(x)=Ax/\sqrt{k}\)f(x)=Ax/kf(x)=Ax/\sqrt{k} satisfies \(\E\|f(x)-f(y)\|^2=\|x-y\|^2\)𝔼∥f(x)−f(y)∥2=∥x−y∥2\mathbb{E}\|f(x)-f(y)\|^2=\|x-y\|^2 for every fixed pair. Concentration and a union bound then control all \(N(N-1)/2\)N(N−1)/2N(N-1)/2 pairwise distances simultaneously.

Proof. Let \(Q\)QQ be fixed before drawing \(A\in\R^{k\times d}\)A∈ℝk×dA\in\mathbb{R}^{k\times d}, whose entries are independent with \(A_{ij} \stackrel{\iid}{\sim} N(0,1)\)Aij∼i.i.d.N(0,1)A_{ij} \stackrel{\mathrm{i.i.d.}}{\sim} N(0,1). Our goal is to show

\[P\left( (1-\veps) \| u\|^2 \le \big\| \frac{1}{\sqrt{k}} A u \big\|^2 \le (1+\veps) \| u \|^2 \right) \ge 1 - 2\exp\left(-c\veps^2k \right), \qquad \text{for any}~u \in \R^d.\]P((1−ε)∥u∥2≤∥1kAu∥2≤(1+ε)∥u∥2)≥1−2exp(−cε2k),for anyu∈ℝd.P\left( (1-\varepsilon) \| u\|^2 \le \big\| \frac{1}{\sqrt{k}} A u \big\|^2 \le (1+\varepsilon) \| u \|^2 \right) \ge 1 - 2\exp\left(-c\varepsilon^2k \right), \qquad \text{for any}~u \in \mathbb{R}^d.

(5)

Once this is proved, then we apply this inequality to \(u= x - y\)u=x−yu= x - y for every pair \(x, y \in Q\)x,y∈Qx, y \in Q. By the union bound, \[P\left( \forall x,y\in Q,\ (1-\veps) \| x-y\|^2 \le \big\| \frac{1}{\sqrt{k}} A (x-y) \big\|^2 \le (1+\veps) \| x-y \|^2 \right) \ge 1 - 2N^2\exp\left(-c\veps^2k \right)\]P(∀x,y∈Q,(1−ε)∥x−y∥2≤∥1kA(x−y)∥2≤(1+ε)∥x−y∥2)≥1−2N2exp(−cε2k)P\left( \forall x,y\in Q,\ (1-\varepsilon) \| x-y\|^2 \le \big\| \frac{1}{\sqrt{k}} A (x-y) \big\|^2 \le (1+\varepsilon) \| x-y \|^2 \right) \ge 1 - 2N^2\exp\left(-c\varepsilon^2k \right) The right-hand side is larger than \(1-O(N^{-2})\)1−O(N−2)1-O(N^{-2}) after choosing the absolute constant sufficiently large under our assumption. To show Equation 5, we denote \(z = Au/\sqrt{k}\)z=Au/kz = Au/\sqrt{k}. It is easy to check (by independence of the Gaussian rows) that \(z\sim N(0,(\|u\|^2/k)I_k)\)z∼N(0,(∥u∥2/k)Ik)z\sim N(0,(\|u\|^2/k)I_k) with independent coordinates. Each row of \(A\)AA has inner product \(N(0,\|u\|^2)\)N(0,∥u∥2)N(0,\|u\|^2) with \(u\)uu, and distinct rows are independent. Thus, our goal Equation 5 is the same as \[P\Big( \big|\|z\|^2-\E\|z\|^2\big|\le\veps\|u\|^2\Big)\ge1- 2\exp\left(-c\veps^2k \right).\]P(|∥z∥2−𝔼∥z∥2|≤ε∥u∥2)≥1−2exp(−cε2k).P\Big( \big|\|z\|^2-\mathbb{E}\|z\|^2\big|\le\varepsilon\|u\|^2\Big)\ge1- 2\exp\left(-c\varepsilon^2k \right). If \(u=0\)u=0u=0, the success event has probability one. We can assume without loss of generality that \(\|u \|=1\)∥u∥=1\|u \|=1 since we can always consider rescaling \(z/\|u\|\)z/∥u∥z/\|u\|. By Bernstein’s inequality in Equation (3), we get exactly the above desired inequality. ◻

Finite-set dimension reduction.

A Gaussian projection preserves the squared lengths of all pairwise differences in a finite set after a union bound. The required target dimension grows logarithmically with the number of points and quadratically in inverse distortion.

Mid priorityPractice: Count the required projections

See Exercise 4 in Section 7 for the full statement and complete solution.

5. Further reading

Further reading

Section 2 follows Theorems 2.1.12–2.1.13 of [1]; the author’s text includes the proofs. The applications, norm concentration, sphere geometry, and random projection follow [2] (Sections 2.4, 3.1, 3.4, 5.3).

Key ideas

  • Scalar tail bounds plus union bounds control many quantities simultaneously.

  • A high-dimensional vector can have a concentrated norm without small coordinates.

  • Gaussian direction and radius describe distinct geometric features.

  • Random projections preserve a fixed finite set of distances when the target dimension is sufficiently large.

Detailed reference

Detailed reference

High priorityUniform control

A union bound converts one-entry concentration into simultaneous control of graph degrees or covariance entries. The number of quantities contributes a logarithmic factor through the chosen failure probability. Return to the earlier explanation.

High priorityRadial concentration

For independent isotropic subgaussian coordinates, the Euclidean norm is close to \(\sqrt n\)n\sqrt n, even though each coordinate fluctuates. This radial statement differs from concentration of a fixed coordinate. Return to the earlier explanation.

Mid priorityFinite-set dimension reduction

A Gaussian projection preserves the squared lengths of all pairwise differences in a finite set after a union bound. The required target dimension grows logarithmically with the number of points and quadratically in inverse distortion. Return to the earlier explanation.

Looking ahead

Lecture 16 asks for bounds that hold in every direction of a random matrix. The random-vector bounds here combine with finite approximations to the sphere and union bounds. Continue to Lecture 16.

7. Exercises and complete solutions8 exercises · complete solutions

High priorityA sharper degree requirement
Exercise 1A sharper degree requirement#

Use bounded Bernstein directly to show that for \(0<\eta<1\)0<η<10<\eta<1, \(\PR(\max_i|d_i-d|\ge\eta d)\le2n\exp[-\eta^2d/(2(1+\eta/3))]\)ℙ(maxi|di−d|≥ηd)≤2nexp[−η2d/(2(1+η/3))]\mathbb{P}(\max_i|d_i-d|\ge\eta d)\le2n\exp[-\eta^2d/(2(1+\eta/3))].

Reveal solution

For fixed \(i\)ii, \(d_i-d\)di−dd_i-d sums independent centered Bernoulli terms with total variance at most \(d\)dd and absolute bound 1. Substitute \(t=\eta d\)t=ηdt=\eta d into Bernstein to get the exponential factor. A union bound over \(n\)nn vertices gives the assertion; degrees need not be mutually independent. Thus \(d\ge C_\eta\log(n/\alpha)\)d≥Cηlog(n/α)d\ge C_\eta\log(n/\alpha) suffices for failure probability at most \(\alpha\)α\alpha.

Low priority — not examined: The norm is Lipschitz
Exercise 2The norm is Lipschitz#

Show that \(x\mapsto\|x\|_2\)x↦∥x∥2x\mapsto\|x\|_2 and \(A\mapsto\|A\|_{\rm op}\)A↦∥A∥opA\mapsto\|A\|_{\mathrm{op}} are 1-Lipschitz with respect to Euclidean and Frobenius distance, respectively.

Reveal solution

The reverse triangle inequality gives \(|\|x\|-\|y\||\le\|x-y\|\)|∥x∥−∥y∥|≤∥x−y∥|\|x\|-\|y\||\le\|x-y\|. Likewise \(|\|A\|_{\rm op}-\|B\|_{\rm op}|\le\|A-B\|_{\rm op}\le\|A-B\|_F\)|∥A∥op−∥B∥op|≤∥A−B∥op≤∥A−B∥F|\|A\|_{\mathrm{op}}-\|B\|_{\mathrm{op}}|\le\|A-B\|_{\mathrm{op}}\le\|A-B\|_F, since the largest squared singular value is at most their sum. Both functions are also convex.

High priorityNorm fluctuations for random signs
Exercise 3Norm fluctuations for random signs#

If the coordinates are independent signs taking values \(\pm1\)±1\pm1, what are \(\|X\|_2\)∥X∥2\|X\|_2 and the limiting variance in the norm delta method?

Reveal solution

Each square is 1, so \(\|X\|_2=\sqrt n\)∥X∥2=n\|X\|_2=\sqrt n exactly. Also \(\Var(X_1^2)=0\)Var(X12)=0\mathrm{Var}(X_1^2)=0, giving a degenerate limiting Normal with variance zero. This demonstrates why the Gaussian variance \(1/2\)1/21/2 is not a universal norm fluctuation.

Mid priorityCount the required projections
Exercise 4Count the required projections#

If every fixed difference vector has distortion failure probability at most \(2e^{-c\epsilon^2k}\)2e−cϵ2k2e^{-c\epsilon^2k}, give a sufficient \(k\)kk for \(N\ge2\)N≥2N\ge2 fixed points to have all pairwise distances preserved with probability at least \(1-\alpha\)1−α1-\alpha.

Reveal solution

There are at most \(N(N-1)/2\)N(N−1)/2N(N-1)/2 unordered pairs. The failure probability is at most \(N(N-1)e^{-c\epsilon^2k}\le N^2e^{-c\epsilon^2k}\)N(N−1)e−cϵ2k≤N2e−cϵ2kN(N-1)e^{-c\epsilon^2k}\le N^2e^{-c\epsilon^2k}. Hence \(k\ge[2\log N+\log(1/\alpha)]/(c\epsilon^2)\)k≥[2logN+log(1/α)]/(cϵ2)k\ge[2\log N+\log(1/\alpha)]/(c\epsilon^2) suffices. The point set is fixed independently of the random map.

High priorityAll covariance entries at once
Exercise 5All covariance entries at once#

Under the coordinatewise subgaussian assumption, derive the max-norm covariance rate without assuming \(\log d\le n\)logd≤n\log d\le n.

Reveal solution

Products have \(\psi_1\)ψ1\psi_1 norm at most \(2K^2\)2K22K^2, and centered products at most \(4K^2\)4K24K^2. Bernstein and a union bound over \(d^2\)d2d^2 entries give \(2d^2\exp[-cn\min(t^2,t)]\)2d2exp[−cnmin(t2,t)]2d^2\exp[-cn\min(t^2,t)] for threshold \(CK^2t\)CK2tCK^2t. Taking \(t=C\max\{\sqrt{u/n},u/n\}\)t=Cmax{u/n,u/n}t=C\max\{\sqrt{u/n},u/n\} with \(u=\log(2d^2/\alpha)\)u=log(2d2/α)u=\log(2d^2/\alpha) yields failure at most \(\alpha\)α\alpha for a sufficiently large absolute constant. This retains the linear-deviation regime.

High priorityThe event comparison for a square root
Exercise 6The event comparison for a square root#

For \(z\ge0\)z≥0z\ge0, prove \(|z-1|\ge\delta\)|z−1|≥δ|z-1|\ge\delta implies \(|z^2-1|\ge\max(\delta,\delta^2)\)|z2−1|≥max(δ,δ2)|z^2-1|\ge\max(\delta,\delta^2).

Reveal solution

If \(z\ge1+\delta\)z≥1+δz\ge1+\delta, then \(z^2-1\ge2\delta+\delta^2\)z2−1≥2δ+δ2z^2-1\ge2\delta+\delta^2. If \(0\le z\le1-\delta\)0≤z≤1−δ0\le z\le1-\delta, necessarily \(\delta\le1\)δ≤1\delta\le1, and \(1-z^2\ge2\delta-\delta^2\ge\delta=\max(\delta,\delta^2)\)1−z2≥2δ−δ2≥δ=max(δ,δ2)1-z^2\ge2\delta-\delta^2\ge\delta=\max(\delta,\delta^2). For \(\delta>1\)δ>1\delta>1 the second case is impossible.

High priorityCovariance of a uniform direction
Exercise 7Covariance of a uniform direction#

For \(U\sim\mathrm{Unif}(\mathbb S^{n-1})\)U∼Unif(𝕊n−1)U\sim\mathrm{Unif}(\mathbb S^{n-1}), prove \(\E U=0\)𝔼U=0\mathbb{E}U=0 and \(\E UU^\top=I_n/n\)𝔼UU⊤=In/n\mathbb{E}UU^\top=I_n/n.

Reveal solution

Reflecting one coordinate preserves the law, so each mean and each off-diagonal product expectation is zero. Permuting coordinates preserves the law, so all diagonal second moments are equal. Their sum is \(\E\|U\|^2=1\)𝔼∥U∥2=1\mathbb{E}\|U\|^2=1, giving \(1/n\)1/n1/n each. Thus \(\sqrt nU\)nU\sqrt nU has identity covariance despite dependent coordinates.

Mid priorityA general norm central limit theorem
Exercise 8A general norm central limit theorem#

For i.i.d. mean-zero unit-variance coordinates with finite fourth moment, prove the norm limit with variance \(\Var(X_1^2)/4\)Var(X12)/4\mathrm{Var}(X_1^2)/4.

Reveal solution

Put \(Q_n=n^{-1}\sum X_i^2\)Qn=n−1∑Xi2Q_n=n^{-1}\sum X_i^2. The CLT gives \(\sqrt n(Q_n-1)\Rightarrow N(0,\Var(X_1^2))\)n(Qn−1)⇒N(0,Var(X12))\sqrt n(Q_n-1)\Rightarrow N(0,\mathrm{Var}(X_1^2)). Since \(g(q)=\sqrt q\)g(q)=qg(q)=\sqrt q has derivative \(1/2\)1/21/2 at 1, \(\sqrt n(\sqrt{Q_n}-1)=\|X\|-\sqrt n\)n(Qn−1)=∥X∥−n\sqrt n(\sqrt{Q_n}-1)=\|X\|-\sqrt n converges to the asserted law, including the zero-variance case.

References

[1]
T. Tao. Topics in random matrix theory. American Mathematical Soc. 2012.
[2]
R. Vershynin. High-dimensional probability: An introduction with applications in data science. Cambridge university press. 2018.

Terminology notes


  1. Here the theorem gives the stated fixed confidence of 0.9. In an asymptotic statement, “with high probability” usually means probability tending to one; that stronger statement requires a corresponding choice of the constants or growth assumptions.↩︎

What changed

October 19, 2026: Corrected notation, wording and cross-references after the course-wide errata review; refreshed the linked HTML and PDF editions.

October 14, 2026. Added issue-reporting links to the webpage and PDF. The mathematics and priority assignments are unchanged in this update.

October 14, 2026 (figure follow-up). Restored the original high-dimensional cloud illustration. The deleted Johnson–Lindenstrauss figure remains removed.

Comments

Discuss an idea or ask a public question. Include a section or exercise number when relevant. For errors in the notes or website, Report an issue.

Public comments use Disqus. Enable JavaScript to load them.

Email the instructor for a private question or if comments are unavailable.