Chapter 5 Exercises

Vershynin, High-Dimensional Probability (2nd ed.) §5.8

Exercise list locked from the textbook; solved independently then cross-checked against the book’s Hints

How to use this file

  • Textbook: Roman Vershynin, High-Dimensional Probability: An Introduction with Applications in Data Science, 2nd ed. (2026), Chapter 5 (Concentration without Independence).
  • Range: Exercises 5.1–5.32 (printed pp. 165–170; PDF pp. 180–185, offset PDF = printed + 15).
  • Principle: stems follow the textbook (abridged where long); solutions were written independently and then cross-checked against the book’s Hints for the Exercises. All approaches below agree with the printed hints; disagreements and print-level checks are flagged where they arise.
  • Companion notes: ch05-notes.qmd.
警告Print-level checks performed against the PDF

Three items in the text layer of the exercise section garble fine typography; each was verified glyph-by-glyph against the PDF and resolved as follows.

  1. Exercise 5.15(b): the hypothesis is \(n < \tfrac12 \log N\) (stacked fraction “1” over “2”; the plain text layer garbles it as “21”). This is also the only reading consistent with part (a), which yields the necessary condition \(n \ge (\log N)/(\log 5) \approx 0.62\log N\).
  2. Exercise 5.24 / Theorem 5.4.14: the radical in \(C\sigma\sqrt{p + \log(m+n)}\) spans the whole sum \(p + \log(m+n)\) (the vinculum was verified to run from the \(p\) to the closing parenthesis), not just \(p\).
  3. Exercise 5.32: the printed multiplier of \(s_i(B)^2\) is \(N/n\). With \(m \ge Cn\log n\) sampled (unscaled) rows the statistically correct multiplier is \(N/m\); see the flag in Exercise 5.32. The fraction denominator is printed as “\(n\)” at full size, so this is a genuine inconsistency in the book rather than an extraction artifact.

Locked list:

Exercise Title Parts
5.1 Continuous, differentiable, and Lipschitz functions (a)–(d)
5.2 Check all claims in Example 5.1.2 (a)–(c)
5.3 Blow-up of exponentially small sets (a), (b)
5.4 Concentration in the geodesic metric —
5.5 Concentration on the unit sphere —
5.6 Concentration about the mean and median are equivalent —
5.7 Concentration is equivalent to blow-up —
5.8 Gaussian concentration —
5.9 Concentration of maximum (a), (b)
5.10 Concentration around the \(L_p\) norm —
5.11 Pushing forward Gaussian to uniform measures —
5.12 Concentration on the continuous cube (a), (b)
5.13 Concentration on the continuous ball (a), (b)
5.14 Johnson–Lindenstrauss lemma with subgaussian matrices —
5.15 Optimality of Johnson–Lindenstrauss lemma (a), (b)
5.16 Matrix Taylor series (a)–(c)
5.17 Matrix monotonicity (a), (b)
5.18 Matrix monotonicity of \(1/x\) and \(\ln x\) (a)–(c)
5.19 Matrix exponentiation (a), (b)
5.20 Expectation bound from matrix Bernstein —
5.21 Matrix Hoeffding inequality —
5.22 Matrix Khintchine inequality —
5.23 Matrix Bernstein inequality for rectangular matrices —
5.24 Matrix Khintchine for rectangular matrices —
5.25 Stochastic block model without loops —
5.26 Covariance estimation: a high-probability guarantee —
5.27 Covariance estimation: the boundedness assumption —
5.28 Logarithmic factor in covariance estimation and matrix Bernstein (a), (b)
5.29 Effective rank (a)–(d)
5.30 Sampling from frames —
5.31 Random matrices with general independent rows —
5.32 Matrix sketching —

Throughout, \(C, c, C_1, c_1 > 0\) denote absolute constants whose values may change from line to line, and \(\|f\|_{\mathrm{Lip}}\) is the Lipschitz (semi)norm of Definition 5.1.1.

Exercise 5.1 (KK) (Continuous, differentiable, and Lipschitz functions)

注记Stem (abridged)
  1. Show that every Lipschitz function is uniformly continuous.
  2. Show that every differentiable function \(f:\mathbb{R}^n \to \mathbb{R}\) is Lipschitz, and \(\|f\|_{\mathrm{Lip}} \le \sup_{x \in \mathbb{R}^n} \|\nabla f(x)\|_2\).
  3. Find a non-Lipschitz but uniformly continuous function \(f:[-1,1] \to \mathbb{R}\).
  4. Find a nondifferentiable but Lipschitz function \(f:[-1,1] \to \mathbb{R}\).
提示Solution

(a). Let \(f\) be \(L\)-Lipschitz and let \(\varepsilon > 0\). If \(L = 0\) then \(f\) is constant and there is nothing to prove. Otherwise set \(\delta := \varepsilon/L\). Whenever \(\|x - y\| < \delta\) we get \(|f(x) - f(y)| \le L\|x-y\| < L\delta = \varepsilon\). This is uniform continuity (the same \(\delta\) works everywhere).

(b). Fix \(x, y \in \mathbb{R}^n\) and consider the auxiliary function of one variable \[ g(t) := f\big((1-t)x + ty\big), \qquad t \in [0,1]. \] Since \(f\) is differentiable, so is \(g\), and by the chain rule \[ g'(t) = \big\langle \nabla f\big((1-t)x + ty\big),\, y - x \big\rangle . \] By the one-dimensional mean value theorem there exists \(\xi \in (0,1)\) with \(f(y) - f(x) = g(1) - g(0) = g'(\xi)\). Hence, using the Cauchy–Schwarz inequality, \[ |f(y) - f(x)| = |g'(\xi)| \le \big\|\nabla f\big((1-\xi)x + \xi y\big)\big\|_2 \, \|y - x\|_2 \le \Big( \sup_{z \in \mathbb{R}^n} \|\nabla f(z)\|_2 \Big) \|y-x\|_2 . \] Taking the supremum over \(x \ne y\) gives \(\|f\|_{\mathrm{Lip}} \le \sup_{z}\|\nabla f(z)\|_2\). (If the supremum is infinite the inequality holds trivially; if it is finite, \(f\) is Lipschitz with that constant.)

(c). \(f(x) := \sqrt{|x|}\) on \([-1,1]\). It is continuous on the compact interval \([-1,1]\), hence uniformly continuous (Heine–Cantor theorem). It is not Lipschitz: for \(x > 0\), \[ \frac{|f(x) - f(0)|}{|x - 0|} = \frac{\sqrt{x}}{x} = \frac{1}{\sqrt{x}} \longrightarrow \infty \quad \text{as } x \to 0^+, \] so no finite \(L\) can satisfy the Lipschitz condition.

(d). \(f(x) := |x|\) on \([-1,1]\). It is 1-Lipschitz by the triangle inequality, \(\big||x| - |y|\big| \le |x-y|\), but it is not differentiable at \(0\) (the left and right derivatives there are \(-1\) and \(+1\)).

Exercise 5.2 (KK) (Check all claims in Example 5.1.2)

注记Stem (abridged)

Check: (a) \(f(x) = \langle x, \theta \rangle\) has \(\|f\|_{\mathrm{Lip}} = \|\theta\|_2\); (b) \(f(x) = Ax\) has \(\|f\|_{\mathrm{Lip}} = \|A\|\); (c) \(f(x) = \|x\|\) for any norm on \(\mathbb{R}^n\) has Lipschitz norm equal to the smallest \(L\) with \(\|x\| \le L\|x\|_2\) for all \(x\).

提示Solution

(a). For all \(x, y \in \mathbb{R}^n\), the Cauchy–Schwarz inequality gives \[ |f(x) - f(y)| = |\langle x - y, \theta\rangle| \le \|x-y\|_2\,\|\theta\|_2, \] so \(\|f\|_{\mathrm{Lip}} \le \|\theta\|_2\). This is sharp: if \(\theta \ne 0\), take \(x := \theta\), \(y := 0\); then \(|f(x) - f(y)| = \|\theta\|_2^2 = \|\theta\|_2 \cdot \|x - y\|_2\), so the ratio \(|f(x)-f(y)|/\|x-y\|_2\) attains \(\|\theta\|_2\) and \(\|f\|_{\mathrm{Lip}} = \|\theta\|_2\). (For \(\theta = 0\), \(f \equiv 0\) and both sides vanish.)

(b). View \(f\) as a map from \((\mathbb{R}^n, \|\cdot\|_2)\) to \((\mathbb{R}^m, \|\cdot\|_2)\), where \(A\) is \(m \times n\) (this is the correct direction; the book’s footnote 2 swaps the two spaces — a harmless slip, already recorded in the companion notes). By the definition of the operator norm, \[ \|f(x) - f(y)\|_2 = \|A(x-y)\|_2 \le \|A\| \, \|x-y\|_2, \] so \(\|f\|_{\mathrm{Lip}} \le \|A\|\). Equality: the continuous function \(u \mapsto \|Au\|_2\) attains its maximum over the compact unit sphere at some unit vector \(u_0\), and \(\|Au_0\|_2 = \|A\|\). Taking \(x := u_0\), \(y := 0\) gives \(\|f(x)-f(y)\|_2 = \|A\|\cdot\|x-y\|_2\). Hence \(\|f\|_{\mathrm{Lip}} = \|A\|\).

(c). Let \(\|\cdot\|\) be any norm on \(\mathbb{R}^n\), with the domain of \(f(x) = \|x\|\) equipped with the Euclidean norm. The two triangle inequalities \(\|x\| \le \|y\| + \|x-y\|\) and \(\|y\| \le \|x\| + \|x-y\|\) combine into the reverse triangle inequality \[ |f(x) - f(y)| = \big|\|x\| - \|y\|\big| \le \|x-y\| \qquad \text{for all } x,y. \] Writing \(z := x - y\) and using positive homogeneity of \(\|\cdot\|\), we see that the best Euclidean Lipschitz constant is exactly \[ \|f\|_{\mathrm{Lip}} = \sup_{z \ne 0} \frac{\|z\|}{\|z\|_2} = \min\Big\{ L \ge 0 : \|z\| \le L\|z\|_2 \ \ \forall z \in \mathbb{R}^n \Big\}, \] i.e. the norm-equivalence constant between \(\|\cdot\|\) and \(\|\cdot\|_2\). This supremum is finite by the equivalence of all norms on the finite-dimensional space \(\mathbb{R}^n\) (and it is attained, since \(\|z\|/\|z\|_2\) is constant along rays and continuous on the compact unit sphere).

Exercise 5.3 (KKK) (Blow-up of exponentially small sets)

注记Stem (abridged)

Let \(A\) be a subset of the sphere \(\sqrt{n}\,S^{n-1}\) such that \(\sigma(A) > 2\exp(-cs^2)\), where \(\sigma\) is the normalized area. (a) Prove that \(\sigma(A_s) > 1/2\). (b) Deduce that \(\sigma(A_{2t}) \ge 1 - 2\exp(-ct^2)\) for any \(t \ge s\).

提示Solution

(a). We argue by contradiction, following the blow-up lemma (Lemma 5.1.6). Suppose \(\sigma(A_s) \le 1/2\) and set \[ B := (A_s)^c = \{x \in \sqrt{n}\,S^{n-1} : \|x - a\|_2 > s \text{ for all } a \in A\}. \] Then \(\sigma(B) = 1 - \sigma(A_s) \ge 1/2\). Moreover \(A \cap B_s = \emptyset\): indeed, if some \(a \in A\) belonged to \(B_s\), there would exist \(b \in B\) with \(\|a-b\|_2 \le s\), contradicting the definition of \(B\). Consequently, \[ \sigma(A) \le 1 - \sigma(B_s). \tag{*} \] Now apply Lemma 5.1.6 to the set \(B\) (which has \(\sigma(B) \ge 1/2\)): for every \(u \ge 0\), \[ \sigma(B_u) \ge 1 - 2\exp(-cu^2). \] (Recall the lemma’s proof: by the isoperimetric inequality on the sphere, \(\sigma(B_u) \ge \sigma(H_u)\) for the hemisphere \(H = \{x_1 \le 0\}\), and the subgaussian coordinate bound \(\|X_1\|_{\psi_2} \le C\) for \(X \sim \mathrm{Unif}(\sqrt{n}S^{n-1})\) gives \(\sigma(H_u) = \mathbb{P}\{X_1 \le u/\sqrt{2}\} \ge 1 - 2\exp(-cu^2)\).) Taking \(u = s\) in \((*)\): \[ \sigma(A) \le 2\exp(-cs^2), \] contradicting the hypothesis \(\sigma(A) > 2\exp(-cs^2)\). Hence \(\sigma(A_s) > 1/2\).

(b). Let \(t \ge s\). Neighborhoods are increasing in the radius, so by part (a), \[ \sigma(A_t) \ge \sigma(A_s) > 1/2. \] Apply Lemma 5.1.6 to the set \(A_t\) (on the same sphere \(\sqrt{n}S^{n-1}\)): with probability-free notation, \[ \sigma\big((A_t)_t\big) \ge 1 - 2\exp(-ct^2). \] Finally, the triangle inequality for the Euclidean metric gives \((A_t)_t \subseteq A_{2t}\): if \(x\) is within \(t\) of some \(y \in A_t\), and \(y\) is within \(t\) of some \(a \in A\), then \(\|x - a\|_2 \le 2t\). Therefore \[ \sigma(A_{2t}) \ge \sigma\big((A_t)_t\big) \ge 1 - 2\exp(-ct^2), \] as claimed. \(\blacksquare\)

Remark. Part (a) says that even an exponentially small set (of measure just above \(2e^{-cs^2}\)) already fills half the sphere after an \(s\)-blow-up; part (b) then bootstraps the ordinary blow-up lemma from this half-measure set. Together they verify Remark 5.1.7: the \(1/2\) in Lemma 5.1.6 can be replaced by any exponentially small threshold.

Exercise 5.4 (KK) (Concentration in the geodesic metric)

注记Stem (abridged)

We stated Theorem 5.1.3 for functions Lipschitz with respect to the Euclidean metric on the sphere. Show that it also works with the geodesic metric, which measures the shortest arc between points.

提示Solution

Write \(d_g(x,y)\) for the geodesic distance on \(\sqrt{n}S^{n-1}\) (arc length) and \(d_2(x,y) = \|x-y\|_2\) for the chord. Parametrize points by the polar angle \(\theta = \angle(x, y) \in [0, \pi]\): \[ d_g(x,y) = \sqrt{n}\,\theta, \qquad d_2(x,y) = 2\sqrt{n}\,\sin(\theta/2). \]

Comparison of the two metrics. Since \(\sin(\theta/2) \le \theta/2\), the chord never exceeds the arc: \[ d_2(x,y) \le d_g(x,y). \tag{1} \] Conversely, the elementary inequality \(\sin u \ge (2/\pi)u\) on \([0, \pi/2]\) (concavity of \(\sin\)) applied to \(u = \theta/2\) gives \(d_2(x,y) = 2\sqrt n \sin(\theta/2) \ge 2\sqrt{n} \cdot \frac{2}{\pi}\cdot\frac{\theta}{2} = \frac{2}{\pi}\,d_g(x,y)\), i.e. \[ d_g(x,y) \le \frac{\pi}{2}\, d_2(x,y). \tag{2} \]

From geodesic to Euclidean Lipschitz. Let \(f : \sqrt{n}S^{n-1} \to \mathbb{R}\) be Lipschitz with respect to the geodesic metric. Then for all \(x, y\), \[ |f(x) - f(y)| \le \|f\|_{\mathrm{Lip}, g}\, d_g(x,y) \le \frac{\pi}{2}\,\|f\|_{\mathrm{Lip}, g}\, d_2(x,y), \] using (2). Hence \(f\) is also Lipschitz in the Euclidean metric with \[ \|f\|_{\mathrm{Lip},2} \le \frac{\pi}{2}\,\|f\|_{\mathrm{Lip},g} \le 2\,\|f\|_{\mathrm{Lip},g}. \tag{3} \]

Conclusion. Let \(X \sim \mathrm{Unif}(\sqrt{n}S^{n-1})\). Theorem 5.1.3, applied to \(f\) as a Euclidean-Lipschitz function, together with (3) yields \[ \|f(X) - \mathbb{E}f(X)\|_{\psi_2} \le C\,\|f\|_{\mathrm{Lip},2} \le C\,\|f\|_{\mathrm{Lip},g}. \] Equivalently, \(\mathbb{P}\{|f(X) - \mathbb{E}f(X)| \ge t\} \le 2\exp\big(-ct^2/\|f\|^2_{\mathrm{Lip},g}\big)\) for all \(t \ge 0\). Note that the geodesic assumption is genuinely weaker, since \(d_g \ge d_2\) by (1): the class of geodesically Lipschitz functions contains the Euclidean ones, and the theorem still holds on the larger class at the cost of the constant factor \(\pi/2\) in (3). \(\blacksquare\)

Exercise 5.5 (K) (Concentration on the unit sphere)

注记Stem (abridged)

We stated Theorem 5.1.3 for the scaled sphere \(\sqrt{n}S^{n-1}\). Deduce that a Lipschitz function \(f\) on the unit sphere \(S^{n-1}\) satisfies \[ \|f(X) - \mathbb{E}f(X)\|_{\psi_2} \le \frac{C\|f\|_{\mathrm{Lip}}}{\sqrt{n}}, \qquad X \sim \mathrm{Unif}(S^{n-1}), \tag{5.29} \] equivalently, for every \(t \ge 0\), \[ \mathbb{P}\{|f(X) - \mathbb{E}f(X)| \ge t\} \le 2\exp\Big(-\frac{cnt^2}{\|f\|_{\mathrm{Lip}}^2}\Big). \tag{5.30} \]

提示Solution

Rescale. Define the function on the sphere of radius \(\sqrt{n}\) \[ F(y) := f\!\left(\frac{y}{\sqrt{n}}\right), \qquad y \in \sqrt{n}\,S^{n-1}. \] Lipschitz norm of \(F\). For \(y_1, y_2 \in \sqrt{n}S^{n-1}\), \[ |F(y_1) - F(y_2)| = \Big|f\Big(\frac{y_1}{\sqrt n}\Big) - f\Big(\frac{y_2}{\sqrt n}\Big)\Big| \le \|f\|_{\mathrm{Lip}} \cdot \frac{\|y_1 - y_2\|_2}{\sqrt n}, \] so \(\|F\|_{\mathrm{Lip}} = \|f\|_{\mathrm{Lip}}/\sqrt{n}\) (equality is attained at any pair realizing the Lipschitz ratio of \(f\) after scaling).

Transfer of the distribution. Let \(Y \sim \mathrm{Unif}(\sqrt{n}S^{n-1})\). The map \(y \mapsto y/\sqrt n\) is a bijection between the two spheres that takes the uniform measure to the uniform measure (it is the restriction of a linear bijection, hence scales all areas by the same factor \(n^{-(n-1)/2}\)). Therefore \(X := Y/\sqrt n \sim \mathrm{Unif}(S^{n-1})\), and \[ F(Y) = f(X), \qquad \mathbb{E}F(Y) = \mathbb{E}f(X). \]

Apply Theorem 5.1.3. It gives \[ \|f(X) - \mathbb{E}f(X)\|_{\psi_2} = \|F(Y) - \mathbb{E}F(Y)\|_{\psi_2} \le C\|F\|_{\mathrm{Lip}} = \frac{C}{\sqrt n}\,\|f\|_{\mathrm{Lip}}, \] which is (5.29).

Tail form (5.30). By the definition of the subgaussian norm (Proposition 2.6.1, the equivalence between the \(\psi_2\) norm and the tail bound), the inequality \(\|Z\|_{\psi_2} \le K\) implies \(\mathbb{P}\{|Z - \mathbb{E}Z| \ge t\} \le 2\exp(-ct^2/K^2)\) for all \(t \ge 0\). Applying this with \(Z = f(X)\) and \(K = C\|f\|_{\mathrm{Lip}}/\sqrt n\) gives \[ \mathbb{P}\{|f(X) - \mathbb{E}f(X)| \ge t\} \le 2\exp\Big(-\frac{cnt^2}{\|f\|_{\mathrm{Lip}}^2}\Big), \] which is (5.30). \(\blacksquare\)

Remark. This is the form used in the proof of the random projection Lemma 5.3.2, where the Euclidean norm of the projected point is a 1-Lipschitz function on the unit sphere.

Exercise 5.6 (KK) (Concentration about the mean and median are equivalent)

注记Stem (abridged)

For a random variable \(Z\) with median \(M\), show that \[ c\,\|Z - \mathbb{E}Z\|_{\psi_2} \le \|Z - M\|_{\psi_2} \le C\,\|Z - \mathbb{E}Z\|_{\psi_2}. \]

提示Solution

We use three standard facts from Chapter 2, stated for arbitrary random variables \(W\) and constants \(a\):

  1. (Triangle inequality for \(\psi_2\)) \(\|W + a\|_{\psi_2} \le \|W\|_{\psi_2} + \|a\|_{\psi_2}\), with \(\|a\|_{\psi_2} \asymp |a|\).
  2. (Moments vs. Orlicz) \(\|W\|_{L_p} \le C\sqrt p\,\|W\|_{\psi_2}\) for all \(p \ge 1\); in particular \(\mathbb{E}|W| = \|W\|_{L_1} \le C\|W\|_{\psi_2}\).
  3. (Median minimizes \(L^1\)) any median \(M\) of \(Z\) minimizes \(a \mapsto \mathbb{E}|Z - a|\).

For fact 3, here is the short proof. Consider the convex function \(h(a) = \mathbb{E}|Z-a|\) and let \(a > M\). Pointwise, \(|Z - a| - |Z-M| \ge -(a-M)\) always, while on the event \(\{Z \le M\}\) we have \(|Z-a| - |Z-M| = (a - Z) - (M - Z) = a - M\). Hence \[ h(a) - h(M) \ge (a-M)\big[\mathbb{P}\{Z \le M\} - \mathbb{P}\{Z > M\}\big] \ge 0, \] because \(M\) is a median, so \(\mathbb{P}\{Z \le M\} \ge 1/2 \ge \mathbb{P}\{Z > M\}\). The case \(a < M\) is analogous. In particular, taking \(a = \mathbb{E}Z\), \[ \mathbb{E}|Z - M| \le \mathbb{E}|Z - \mathbb{E}Z|. \tag{\dagger} \]

Step 1: the centering constant is small. Since \(|\mathbb{E}Z - M| = |\mathbb{E}(Z - M)| \le \mathbb{E}|Z-M|\), and using \((\dagger)\) followed by facts 2 and 1 applied to \(W = Z - \mathbb{E}Z\) (a mean-zero random variable), \[ |M - \mathbb{E}Z| \le \mathbb{E}|Z - M| \le \mathbb{E}|Z - \mathbb{E}Z| = \|Z - \mathbb{E}Z\|_{L_1} \le C\|Z - \mathbb{E}Z\|_{\psi_2}. \tag{\ddagger} \]

Step 2: upper bound. Write \(Z - M = (Z - \mathbb{E}Z) + (\mathbb{E}Z - M)\) and use the triangle inequality together with \((\ddagger)\): \[ \|Z - M\|_{\psi_2} \le \|Z - \mathbb{E}Z\|_{\psi_2} + C|\mathbb{E}Z - M| \le C\,\|Z - \mathbb{E}Z\|_{\psi_2}. \]

Step 3: lower bound. Symmetrically, \(Z - \mathbb{E}Z = (Z - M) + (M - \mathbb{E}Z)\), so \[ \|Z - \mathbb{E}Z\|_{\psi_2} \le \|Z - M\|_{\psi_2} + C|M - \mathbb{E}Z| \le \|Z - M\|_{\psi_2} + C\,\mathbb{E}|Z - M| \le C\,\|Z - M\|_{\psi_2}, \] where the last step uses fact 2 with \(W = Z - M\). Combining Steps 2 and 3 gives the two-sided equivalence. \(\blacksquare\)

Remark. This is why Theorem 5.1.3 may be stated with either the mean or the median: the two versions differ by at most an absolute constant factor.

Exercise 5.7 (KKK) (Concentration is equivalent to blow-up)

注记Stem (abridged)

Let \(X\) be a random vector in a metric space \((T, d)\) and \(\sigma(A) := \mathbb{P}\{X \in A\}\). Suppose that for some \(K > 0\), \[ \|f(X) - \mathbb{E}f(X)\|_{\psi_2} \le K\|f\|_{\mathrm{Lip}} \quad \text{for every Lipschitz } f : T \to \mathbb{R}. \] Show that if \(\sigma(A) \ge 1/2\), then for every \(t \ge 0\), \(\sigma(A_t) \ge 1 - 2\exp(-ct^2/K^2)\), where \(A_t = \{x \in T: \exists y \in A,\ d(x,y) \le t\}\).

提示Solution

The proof combines Exercise 5.6 with the distance function; this matches the book’s hint.

Step 1: the distance function is 1-Lipschitz. Define \(f(x) := \mathrm{dist}(x, A) = \inf\{d(x, y) : y \in A\}\) (with \(f \equiv +\infty\) if \(A = \emptyset\); here \(A \neq \emptyset\) since \(\sigma(A) \ge 1/2\)). For any \(x, x' \in T\) and any \(y \in A\), the triangle inequality gives \(d(x, y) \le d(x, x') + d(x', y)\); taking the infimum over \(y\) and then swapping the roles of \(x, x'\), \[ |f(x) - f(x')| \le d(x, x'), \] so \(\|f\|_{\mathrm{Lip}} \le 1\).

Step 2: zero is a median of \(f(X)\). Since \(\sigma(A) = \mathbb{P}\{X \in A\} \ge 1/2\) and \(f \ge 0\) with \(f = 0\) exactly on \(A\), we have \[ \mathbb{P}\{f(X) \le 0\} = \mathbb{P}\{X \in A\} \ge 1/2, \qquad \mathbb{P}\{f(X) \ge 0\} = 1 \ge 1/2. \] Thus \(M = 0\) satisfies the defining properties of a median of \(f(X)\).

Step 3: apply the hypothesis via Exercise 5.6. By the upper bound of Exercise 5.6 (with \(Z = f(X)\), median \(M = 0\)), \[ \|f(X)\|_{\psi_2} = \|f(X) - M\|_{\psi_2} \le C\,\|f(X) - \mathbb{E}f(X)\|_{\psi_2} \le C K \|f\|_{\mathrm{Lip}} \le CK. \] By the definition of the subgaussian norm, for every \(t \ge 0\), \[ \mathbb{P}\{f(X) > t\} \le 2\exp\big(-ct^2/K^2\big). \]

Step 4: conclude. The complement of \(A_t\) consists exactly of the points at distance \(> t\) from \(A\): \[ T \setminus A_t = \{x \in T : f(x) > t\}. \] Therefore \[ \sigma(A_t) = \mathbb{P}\{X \in A_t\} = 1 - \mathbb{P}\{f(X) > t\} \ge 1 - 2\exp(-ct^2/K^2), \] as claimed. \(\blacksquare\)

Remark. Combined with Section 5.1.4 (where Lipschitz concentration was derived from the blow-up of Lemma 5.1.6), this shows that on any metric probability space, the concentration inequality \(\|f(X) - \mathbb{E}f(X)\|_{\psi_2} \le K\|f\|_{\mathrm{Lip}}\) and the blow-up property \(\sigma(A) \ge 1/2 \Rightarrow \sigma(A_t) \ge 1 - 2e^{-ct^2/K^2}\) are equivalent up to absolute constants.

Exercise 5.8 (KK) (Gaussian concentration)

注记Stem (abridged)

Deduce the Gaussian concentration inequality (Theorem 5.2.3) from the Gaussian isoperimetric inequality (Theorem 5.2.2).

提示Solution

We mirror the sphere argument (Section 5.1.4) with half-spaces replacing hemispheres.

Step 0: Gaussian blow-up. Let \(A \subset \mathbb{R}^n\) (Borel) with \(\gamma_n(A) \ge 1/2\), and let \[ H := \{x \in \mathbb{R}^n : x_1 \le 0\} \] be the half-space through the origin, so that \(\gamma_n(H) = 1/2\). The Gaussian isoperimetric inequality (Theorem 5.2.2) states that among all sets of given Gaussian measure, half-spaces minimize the measure of the neighborhood. Since \(\gamma_n(A) \ge \gamma_n(H)\), monotonicity of the isoperimetric profile gives \[ \gamma_n(A_t) \ge \gamma_n(H_t). \tag{1} \] The \(t\)-neighborhood of the half-space \(H\) is again a half-space, shifted: \[ H_t = H + tB_2^n = \{x : x_1 \le t\}, \] (the translate of a half-space by any vector \(v\) with \(\|v\|_2 \le t\) in the inward direction enlarges it to \(\{x_1 \le t\}\), and a short computation shows this is exactly the Minkowski sum). For \(X \sim N(0, I_n)\), the first coordinate \(X_1 \sim N(0,1)\), so \[ \gamma_n(H_t) = \mathbb{P}\{X_1 \le t\} = \Phi(t) = 1 - \big(1 - \Phi(t)\big) \ge 1 - e^{-t^2/2}, \] where the last step is the standard normal tail bound (Proposition 2.1.2). Combining with (1): \[ \gamma_n(A) \ge \tfrac12 \text{ and } t \ge 0 \quad \Longrightarrow \quad \gamma_n(A_t) \ge 1 - e^{-t^2/2} \ge 1 - 2e^{-ct^2}. \tag{2} \]

Step 1: reduction to a median. Let \(f : \mathbb{R}^n \to \mathbb{R}\) be Lipschitz; without loss of generality \(\|f\|_{\mathrm{Lip}} = 1\) (otherwise replace \(f\) by \(f/\|f\|_{\mathrm{Lip}}\) and rescale at the end). Let \(M\) be a median of \(f(X)\) and consider the sublevel set \[ A := \{x \in \mathbb{R}^n : f(x) \le M\}, \qquad \gamma_n(A) = \mathbb{P}\{f(X) \le M\} \ge 1/2. \] If \(x \in A_t\), then \(\|x - y\|_2 \le t\) for some \(y \in A\), and \[ f(x) \le f(y) + \|x - y\|_2 \le M + t, \] so \(A_t \subseteq \{f \le M + t\}\). By (2), \[ \mathbb{P}\{f(X) \le M + t\} \ge \gamma_n(A_t) \ge 1 - 2e^{-ct^2}, \] that is, \(\mathbb{P}\{f(X) > M + t\} \le 2e^{-ct^2}\). Applying the same argument to \(-f\) (which is also 1-Lipschitz, with median \(-M\)) yields \(\mathbb{P}\{f(X) < M - t\} \le 2e^{-ct^2}\). The union of the two tails gives \[ \mathbb{P}\{|f(X) - M| > t\} \le 4e^{-ct^2} \le 2e^{-c't^2}, \] hence \(\|f(X) - M\|_{\psi_2} \le C\).

Step 2: median to mean. By Exercise 5.6 (or Lemma 2.7.8 applied as in Section 5.1.4), \[ \|f(X) - \mathbb{E}f(X)\|_{\psi_2} \le C\|f(X) - M\|_{\psi_2} \le C. \] Recalling the normalization \(\|f\|_{\mathrm{Lip}} = 1\) and rescaling back, we conclude \[ \|f(X) - \mathbb{E}f(X)\|_{\psi_2} \le C\,\|f\|_{\mathrm{Lip}}, \] which is Theorem 5.2.3. \(\blacksquare\)

Exercise 5.9 (KKK) (Concentration of maximum)

注记Stem (abridged)
  1. Let \(X_1, \ldots, X_n\) be independent \(N(0,1)\). Prove \(\big\|\max_i X_i - \mathbb{E}\max_i X_i\big\|_{\psi_2} \le C\).
  2. More generally, for jointly normal \(X_1, \ldots, X_n\) (not necessarily independent), prove \(\big\|\max_i X_i - \mathbb{E}\max_i X_i\big\|_{\psi_2} \le C\max_i \sqrt{\mathrm{Var}(X_i)}\).
提示Solution

(a). Consider the maximum function \(f(x) := \max_{i \le n} x_i\) on \(\mathbb{R}^n\). For any \(x, y \in \mathbb{R}^n\), \[ \max_i x_i \le \max_i (y_i + |x_i - y_i|) \le \max_i y_i + \max_i |x_i - y_i| \le \max_i y_i + \|x - y\|_2, \] and symmetrically, so \(|f(x) - f(y)| \le \|x - y\|_2\): that is, \(\|f\|_{\mathrm{Lip}} \le 1\) (with respect to the Euclidean metric). Let \(X = (X_1, \ldots, X_n) \sim N(0, I_n)\). Gaussian concentration (Theorem 5.2.3) gives \[ \Big\|\max_{i}X_i - \mathbb{E}\max_i X_i\Big\|_{\psi_2} = \|f(X) - \mathbb{E}f(X)\|_{\psi_2} \le C\,\|f\|_{\mathrm{Lip}} \le C. \] (Together with \(\mathbb{E}\max_i X_i \approx \sqrt{2\ln n}\) from Exercise 2.38(b), this shows the maximum is typically within \(O(1)\) of its mean.)

(b). By Definition 3.3.4, joint normality means that the vector \(X = (X_1, \ldots, X_n)\) can be written as \[ X = \mu + A Z, \qquad Z = (Z_1, \ldots, Z_k) \sim N(0, I_k), \] for a fixed vector \(\mu \in \mathbb{R}^n\) and a fixed \(n \times k\) matrix \(A\), with covariance matrix \(\Sigma = AA^T\). Then for each \(i\), \[ \mathrm{Var}(X_i) = e_i^T \Sigma e_i = \|A^T e_i\|_2^2 = \|a_i\|_2^2, \qquad a_i := i\text{-th row of } A. \tag{*} \] Define \(g(z) := \max_{i \le n}\big(\mu_i + \langle a_i, z\rangle\big)\) for \(z \in \mathbb{R}^k\). The map \(z \mapsto \mu + Az\) is affine, and the maximum is 1-Lipschitz in the sup sense as in (a), so for \(z, z' \in \mathbb{R}^k\): \[ |g(z) - g(z')| \le \max_i \big|\langle a_i, z - z'\rangle\big| \le \Big(\max_i \|a_i\|_2\Big) \cdot \|z - z'\|_2. \] By \((*)\), \(\max_i \|a_i\|_2 = \max_i \sqrt{\mathrm{Var}(X_i)} =: \sigma\). Applying Gaussian concentration (Theorem 5.2.3) to the Lipschitz function \(g\) of the standard Gaussian vector \(Z\): \[ \big\|\max_i X_i - \mathbb{E}\max_i X_i\big\|_{\psi_2} = \|g(Z) - \mathbb{E}g(Z)\|_{\psi_2} \le C\,\|g\|_{\mathrm{Lip}} \le C\,\sigma = C\,\max_i\sqrt{\mathrm{Var}(X_i)}, \] which is the claim. \(\blacksquare\)

Remark. No independence is needed in (b) — only the Lipschitz structure of \(g\) and Gaussian concentration for \(Z\). The scale \(\max_i \sqrt{\mathrm{Var}(X_i)}\) is sharp: for perfectly correlated \(X_i = X_1 \sim N(0,1)\) the fluctuations are those of a single Gaussian.

Exercise 5.10 (KKK) (Concentration around the \(L_p\) norm)

注记Stem (abridged)

For a random variable \(Z\) with \(\mathbb{E}Z \ge 0\) and \(p \ge 1\), show that \[ \big\|Z - \|Z\|_{L_p}\big\|_{\psi_2} \le C\sqrt p\,\|Z - \mathbb{E}Z\|_{\psi_2}. \]

提示Solution

Write \(\mu_p := \|Z\|_{L_p} = (\mathbb{E}|Z|^p)^{1/p}\) and \(W := Z - \mathbb{E}Z\). As in Exercise 5.6, the only tools needed are: the triangle inequality \(\|W + a\|_{\psi_2} \le \|W\|_{\psi_2} + C|a|\) for constants \(a\); the moment bound \(\|W\|_{L_p} \le C\sqrt p\, \|W\|_{\psi_2}\); and the reverse triangle inequality in \(L_p\).

Step 1: the centering shift is at most \(C\sqrt p\,\|W\|_{\psi_2}\). By Jensen’s inequality, \(|\mathbb{E}Z| \le \mathbb{E}|Z| \le \|Z\|_{L_p} = \mu_p\). Treating \(Z = (\mathbb{E}Z)\cdot 1 + W\) on the probability space and using the triangle inequality in \(L_p\) (the constant function has \(L_p\) norm \(|\mathbb{E}Z|\)), \[ \mu_p = \|Z\|_{L_p} \le |\mathbb{E}Z| + \|W\|_{L_p}. \] Since \(\mathbb{E}Z \ge 0\), this gives \[ 0 \le \mu_p - \mathbb{E}Z \le \|W\|_{L_p} \le C\sqrt p\,\|W\|_{\psi_2}. \tag{*} \]

Step 2: triangle inequality in \(\psi_2\). Since \(Z - \mu_p = W + (\mathbb{E}Z - \mu_p)\) with \(|\mathbb{E}Z - \mu_p| = \mu_p - \mathbb{E}Z\) bounded in \((*)\), \[ \big\|Z - \mu_p\big\|_{\psi_2} \le \|W\|_{\psi_2} + C\big(\mu_p - \mathbb{E}Z\big) \le \|W\|_{\psi_2} + C\sqrt p\,\|W\|_{\psi_2} \le C\sqrt p\,\|Z - \mathbb{E}Z\|_{\psi_2}. \] \(\blacksquare\)

Remark. The hypothesis \(\mathbb{E}Z \ge 0\) is used exactly once, to turn \(|\mu_p - \mathbb{E}Z|\) into \(\mu_p - \mathbb{E}Z \le \|W\|_{L_p}\). This complements Exercise 5.6 (the case of centering at the median) and justifies Remark 5.2.1: concentration inequalities valid around the mean automatically hold around the \(L_p\) norm, at a price \(C\sqrt p\).

Exercise 5.11 (KK) (Pushing forward Gaussian to uniform measures)

注记Stem (abridged)

Let \(\Phi\) denote the CDF of \(N(0,1)\) and \(Z = (Z_1, \ldots, Z_n) \sim N(0, I_n)\). Check that \[ \varphi(Z) := \big(\Phi(Z_1), \ldots, \Phi(Z_n)\big) \sim \mathrm{Unif}\big([0,1]^n\big). \]

提示Solution

By the definition of \(N(0, I_n)\), the coordinates \(Z_1, \ldots, Z_n\) are independent, and the coordinates of \(\varphi(Z)\) are obtained by applying the (Borel) function \(\Phi\) coordinate-wise. A function of independent random variables applied coordinate-wise preserves independence, so it suffices to check that \(\Phi(Z_1) \sim \mathrm{Unif}[0,1]\) and then invoke the product structure of the uniform measure on the cube.

One coordinate (probability integral transform). The normal CDF \(\Phi\) is continuous and strictly increasing (the standard normal density is positive everywhere), so its quantile function \(\Phi^{-1} : (0,1) \to \mathbb{R}\) is well defined. For \(u \in (0, 1)\), \[ \mathbb{P}\{\Phi(Z_1) \le u\} = \mathbb{P}\{Z_1 \le \Phi^{-1}(u)\} = \Phi\big(\Phi^{-1}(u)\big) = u, \] using monotonicity of \(\Phi\) to convert the event. At the endpoints, \(\mathbb{P}\{\Phi(Z_1) \le 0\} = \mathbb{P}\{Z_1 = -\infty\} = 0\) and \(\mathbb{P}\{\Phi(Z_1) \le 1\} = 1\). Hence \(\Phi(Z_1)\) has distribution function \(u \mapsto u\) on \([0,1]\), i.e. \(\Phi(Z_1) \sim \mathrm{Unif}[0,1]\).

Product measure. Let \(U_i := \Phi(Z_i)\). For any Borel rectangle \(B = B_1 \times \cdots \times B_n \subseteq [0,1]^n\), independence of the \(Z_i\) (hence of the \(U_i\)) gives \[ \mathbb{P}\{(U_1, \ldots, U_n) \in B\} = \prod_{i=1}^n \mathbb{P}\{U_i \in B_i\} = \prod_{i=1}^n \mathrm{Leb}(B_i) = \mathrm{Leb}(B). \] Since the rectangles generate the Borel \(\sigma\)-algebra (a \(\pi\)-\(\lambda\) argument), \((U_1, \ldots, U_n) \sim \mathrm{Unif}([0,1]^n)\), i.e. \(\varphi(Z) \sim \mathrm{Unif}([0,1]^n)\). \(\blacksquare\)

Remark. In other words, \(\varphi\) pushes the standard Gaussian measure \(\gamma_n\) forward to the uniform (Lebesgue) measure on the cube: \(\gamma_n(\varphi^{-1}(B)) = \mathrm{Leb}(B)\) for all Borel \(B \subseteq [0,1]^n\). This is the transfer used in Exercise 5.12.

Exercise 5.12 (KK) (Concentration on the continuous cube)

注记Stem (abridged)

Prove Theorem 5.2.10 for \(T = [0,1]^n\): if \(X \sim \mathrm{Unif}([0,1]^n)\) and \(f\) is Lipschitz on the cube (Euclidean metric), then \(\|f(X) - \mathbb{E}f(X)\|_{\psi_2} \le C\|f\|_{\mathrm{Lip}}\). (a) Express \(X = \varphi(Z)\) using Exercise 5.11, then use Gaussian concentration to control the deviation of \(f(\varphi(Z))\) in terms of \(\|f \circ \varphi\|_{\mathrm{Lip}} \le \|f\|_{\mathrm{Lip}}\|\varphi\|_{\mathrm{Lip}}\). (b) Show that \(\|\varphi\|_{\mathrm{Lip}}\) is bounded by a constant, and finish.

提示Solution

(a). Let \(Z \sim N(0, I_n)\) and let \(\varphi(x) = \big(\Phi(x_1), \ldots, \Phi(x_n)\big)\) with the standard normal CDF \(\Phi\). By Exercise 5.11, \(\varphi(Z) \sim \mathrm{Unif}([0,1]^n)\); hence we may realize \(X = \varphi(Z)\), and \[ f(X) = (f \circ \varphi)(Z), \qquad \mathbb{E}f(X) = \mathbb{E}(f\circ\varphi)(Z). \] The composition of Lipschitz maps is Lipschitz, with bound \[ |(f\circ\varphi)(x) - (f\circ\varphi)(y)| \le \|f\|_{\mathrm{Lip}}\,\|\varphi(x) - \varphi(y)\|_2 \le \|f\|_{\mathrm{Lip}}\,\|\varphi\|_{\mathrm{Lip}}\,\|x-y\|_2, \] so \(\|f\circ\varphi\|_{\mathrm{Lip}} \le \|f\|_{\mathrm{Lip}}\|\varphi\|_{\mathrm{Lip}}\). Gaussian concentration (Theorem 5.2.3) applied to the Lipschitz function \(f \circ \varphi\) of the Gaussian vector \(Z\) yields \[ \|f(X) - \mathbb{E}f(X)\|_{\psi_2} = \|(f\circ\varphi)(Z) - \mathbb{E}(f\circ\varphi)(Z)\|_{\psi_2} \le C\,\|f\|_{\mathrm{Lip}}\,\|\varphi\|_{\mathrm{Lip}}. \]

(b). It remains to bound \(\|\varphi\|_{\mathrm{Lip}}\). Since \(\varphi\) acts coordinate-wise, for any \(x, y \in \mathbb{R}^n\) the mean value theorem applied to \(\Phi\) in each coordinate gives points \(\xi_i\) between \(x_i\) and \(y_i\) with \[ \|\varphi(x) - \varphi(y)\|_2^2 = \sum_{i=1}^n \big(\Phi(x_i) - \Phi(y_i)\big)^2 = \sum_{i=1}^n \Phi'(\xi_i)^2\,(x_i - y_i)^2 \le \Big(\sup_{\xi \in \mathbb{R}} \Phi'(\xi)\Big)^2 \|x-y\|_2^2. \] Now \(\Phi'(\xi) = \frac{1}{\sqrt{2\pi}}e^{-\xi^2/2} \le \frac{1}{\sqrt{2\pi}}\), with equality at \(\xi = 0\). Hence \[ \|\varphi\|_{\mathrm{Lip}} = \frac{1}{\sqrt{2\pi}} < 1. \] (Equality is attained along any line segment where all coordinates move near \(0\); so the value is exact.) Substituting into part (a): \[ \|f(X) - \mathbb{E}f(X)\|_{\psi_2} \le C\,\|f\|_{\mathrm{Lip}} \cdot \frac{1}{\sqrt{2\pi}} \le C\,\|f\|_{\mathrm{Lip}}, \] which is the conclusion of Theorem 5.2.10 for \(T = [0,1]^n\). \(\blacksquare\)

Exercise 5.13 (KKK) (Concentration on the continuous ball)

注记Stem (abridged)

Prove Theorem 5.2.10 for \(T = \sqrt{n}B_2^n\) by a strategy similar to Exercise 5.12: (a) Define \(\varphi : \mathbb{R}^n \to \sqrt{n}B_2^n\) that pushes the Gaussian measure on \(\mathbb{R}^n\) forward to the uniform measure on \(\sqrt{n}B_2^n\). (b) Check that \(\varphi\) has bounded Lipschitz norm.

提示Solution

Throughout, \(R := \|Z\|_2\) denotes the norm of \(Z \sim N(0, I_n)\); \(R\) has the chi distribution \(\chi_n\), with strictly increasing, continuous CDF \[ F(r) = \mathbb{P}\{R \le r\} = \int_0^r c_n s^{n-1} e^{-s^2/2}\,ds, \qquad c_n := \frac{2^{1-n/2}}{\Gamma(n/2)}. \]

(a). Construction of the pushforward. Define the radial map \[ \varphi(x) := \frac{g(\|x\|_2)}{\|x\|_2}\,x, \qquad g(r) := \sqrt{n}\,F(r)^{1/n}, \qquad \varphi(0) := 0. \] Thus \(\varphi\) keeps directions and reshapes radii so that \(\|\varphi(x)\|_2 = g(\|x\|_2) \in [0, \sqrt n]\).

Polar decomposition of the Gaussian. Write \(Z = R\,U\) where \(U := Z/\|Z\|_2 \in S^{n-1}\). By rotational invariance of the standard Gaussian density, \(U\) is uniformly distributed on \(S^{n-1}\) (with normalized area \(\sigma\)), and \(U\) is independent of \(R\). Indeed, for any bounded measurable \(a, b\), \[ \mathbb{E}\, a(U)b(R) = (2\pi)^{-n/2}\int_0^\infty\!\!\int_{S^{n-1}} a(u)\,b(r)\,r^{n-1}e^{-r^2/2}\,d\sigma(u)\,dr = \Big(\int_{S^{n-1}}\!\! a\,d\sigma\Big)\Big((2\pi)^{-n/2}\!\!\int_0^\infty b(r) r^{n-1}e^{-r^2/2}dr\Big), \] a product, so \(U \perp R\) and \(\mathrm{Law}(U) = \sigma\).

Radius law of the uniform ball. A point \(Y \sim \mathrm{Unif}(\sqrt n B_2^n)\) has the analogous polar structure: direction uniform on \(S^{n-1}\), independent of the radius, with \(\mathbb{P}\{\|Y\|_2 \le s\} = \mathrm{vol}(sB_2^n)/\mathrm{vol}(\sqrt n B_2^n) = (s/\sqrt n)^n\) for \(s \in [0, \sqrt n]\) (volume scales like the \(n\)-th power of the radius).

The radial law matches. Since \(F\) is continuous and strictly increasing, the probability integral transform gives \(F(R) \sim \mathrm{Unif}[0,1]\). Hence for \(s \in [0, \sqrt n]\): \[ \mathbb{P}\{g(R) \le s\} = \mathbb{P}\{F(R)^{1/n} \le s/\sqrt n\} = \mathbb{P}\{F(R) \le (s/\sqrt n)^n\} = (s/\sqrt n)^n. \] Therefore \(\varphi(Z) = g(R)\,U\) has uniform direction, independent radius with exactly the law of \(\|Y\|_2\); matching the polar characterization of \(\mathrm{Unif}(\sqrt n B_2^n)\) (two vectors whose (direction, radius) pairs have the same joint law are equal in distribution). So \(\varphi\) pushes \(\gamma_n\) forward to \(\mathrm{Unif}(\sqrt{n}B_2^n)\).

(b). Bounded Lipschitz norm. First note the key estimate, valid for all \(r \ge 0\): since \(e^{-s^2/2} \ge e^{-r^2/2}\) on \([0, r]\), \[ F(r) = \int_0^r c_n s^{n-1}e^{-s^2/2}\,ds \ \ge\ c_n e^{-r^2/2}\int_0^r s^{n-1}ds \ =\ \frac{c_n}{n}\,e^{-r^2/2}\,r^n. \tag{\star} \] Combined with Stirling’s bound \(\Gamma(n/2) \ge c\,(n/2)^{n/2 - 1/2}\), a short computation gives \(\sqrt n\,(c_n/n)^{1/n} \le C\); indeed \(\ln\big[(c_n/n)^{1/n}\big] \le -\tfrac12\ln n + O(1)\).

Claim: with \(A := \sup_{r>0}|g'(r)|\) and \(B := \sup_{r>0} g(r)/r\), both are \(\le C\).

  • Bound on \(g(r)/r\). From \((\star)\), \(g(r) = \sqrt n F(r)^{1/n} \le \sqrt n (c_n/n)^{1/n} e^{-r^2/(2n)}\, r \le C r\).
  • Bound on \(|g'(r)|\). Differentiate \(g = \sqrt n F^{1/n}\): using the \(\chi_n\) density \(f(r) = c_n r^{n-1}e^{-r^2/2}\), \[ g'(r) = \frac{\sqrt n}{n}\,f(r)\,F(r)^{\frac1n - 1} \ \le\ \frac{\sqrt n}{n}\,c_n r^{n-1}e^{-r^2/2}\,\Big(\frac{c_n}{n}e^{-r^2/2}r^n\Big)^{\frac{1}{n}-1} \ =\ \sqrt n \Big(\frac{c_n}{n}\Big)^{1/n} e^{-r^2/(2n)}\ \le\ C, \] where we used \((\star)\) for \(F^{1/n - 1} = 1/F^{(n-1)/n}\); all powers of \(r\) and most exponentials cancel.

Radial maps are Lipschitz with constant \(\max(A, B)\). Let \(x \ne y\) with radii \(r, s\) and unit directions \(u, v\). Move in two steps (radial, then angular): \[ \|\varphi(x) - \varphi(y)\|_2 \le \|g(r)u - g(s)u\|_2 + \|g(s)u - g(s)v\|_2 = |g(r) - g(s)| + g(s)\,\|u - v\|_2. \] The first term is at most \(A|r-s| \le A\|x - y\|_2\) (radii differ by less than the distance). For the second, note \(g(s) \le B s\) and, by the reverse triangle inequality applied at radius \(s\), \[ s\,\|u - v\|_2 = \|su - sv\|_2 \le \|su - rv\|_2 + |r - s|\cdot\|v\|_2 \le \|x - y\|_2 + |r-s| \le 2\|x - y\|_2. \] Hence \(\|\varphi(x) - \varphi(y)\|_2 \le (A + 2B)\|x - y\|_2 \le C\|x-y\|_2\); also \(\|\varphi(x) - \varphi(0)\|_2 = g(r) \le Br\). So \(\|\varphi\|_{\mathrm{Lip}} \le C\).

Conclusion (Theorem 5.2.10 for the ball). Let \(X = \varphi(Z) \sim \mathrm{Unif}(\sqrt n B_2^n)\) and let \(f : \sqrt n B_2^n \to \mathbb{R}\) be Lipschitz. Then \(f \circ \varphi\) is Lipschitz on \(\mathbb{R}^n\) with \(\|f \circ \varphi\|_{\mathrm{Lip}} \le \|f\|_{\mathrm{Lip}}\|\varphi\|_{\mathrm{Lip}} \le C\|f\|_{\mathrm{Lip}}\), and Gaussian concentration (Theorem 5.2.3) gives \[ \|f(X) - \mathbb{E}f(X)\|_{\psi_2} = \|(f\circ\varphi)(Z) - \mathbb{E}(f\circ\varphi)(Z)\|_{\psi_2} \le C\,\|f\|_{\mathrm{Lip}}. \qquad \blacksquare \]

Exercise 5.14 (KKK) (Johnson–Lindenstrauss lemma with subgaussian matrices)

注记Stem (abridged)

Let \(A\) be an \(m \times n\) random matrix with mean-zero, subgaussian, isotropic rows. Show that the Johnson–Lindenstrauss lemma (Theorem 5.3.1) holds for \(Q = \frac{1}{\sqrt m}A\). This covers the binary case, where \(A\) has \(\pm 1\) entries (how?).

提示Solution

Let \(\mathcal{X}\) be a set of \(N\) points in \(\mathbb{R}^n\) and \(\varepsilon > 0\); we must show that for \(m \ge C\varepsilon^{-2}\log N\), \[ (1-\varepsilon)\|x - y\|_2 \le \|Qx - Qy\|_2 \le (1+\varepsilon)\|x-y\|_2 \quad \text{for all } x,y \in \mathcal{X} \] with probability at least \(1 - 2\exp(-c\varepsilon^2 m)\).

Step 1: a fixed direction (following the book’s hint: norm concentration). Fix \(z \in \mathbb{R}^n\), \(z \ne 0\), and consider the random vector \[ Y := \frac{Az}{\|z\|_2} = \Big(\tfrac{\langle A_1, z\rangle}{\|z\|_2}, \ldots, \tfrac{\langle A_m, z\rangle}{\|z\|_2}\Big) \in \mathbb{R}^m, \] where \(A_i\) are the rows. Its coordinates are independent (rows are independent), mean-zero, and subgaussian, since each \(A_i\) is a subgaussian random vector: \[ \big\|\langle A_i, z\rangle/\|z\|_2\big\|_{\psi_2} \le C\|A_i\|_{\psi_2} \le CK_0, \] where \(K_0 := \max_i \|A_i\|_{\psi_2}\) (a finite constant independent of \(z\)). Isotropy gives unit second moments: \[ \mathbb{E}\big(\langle A_i, z\rangle/\|z\|_2\big)^2 = \frac{z^T \mathbb{E}[A_iA_i^T]z}{\|z\|_2^2} = 1. \] Theorem 3.1.1 (concentration of the norm) therefore applies to \(Y\) and yields, for all \(t \ge 0\), \[ \mathbb{P}\big\{\big|\|Y\|_2 - \sqrt m\big| \ge t\big\} \le 2\exp(-ct^2/K_0^4). \] Choosing \(t := \varepsilon\sqrt m\): \[ \mathbb{P}\big\{(1-\varepsilon)\sqrt m \le \|Y\|_2 \le (1+\varepsilon)\sqrt m\big\} \ge 1 - 2\exp(-c\varepsilon^2 m). \tag{*} \] Since \(\|Y\|_2 = \|Az\|_2/\|z\|_2 = \sqrt m\,\|Qz\|_2/\|z\|_2\), the event in \((*)\) is exactly \((1-\varepsilon)\|z\|_2 \le \|Qz\|_2 \le (1+\varepsilon)\|z\|_2\).

Step 2: union bound. The inequality in \((*)\) is required simultaneously for all \(z \in \mathcal{X} - \mathcal{X} = \{x - y : x, y \in \mathcal{X}\}\), a set of at most \(N^2\) nonzero points. By the union bound, it holds for all of them with probability at least \[ 1 - N^2 \cdot 2\exp(-c\varepsilon^2 m) \ \ge\ 1 - 2\exp(-c\varepsilon^2 m/2), \] provided \(m \ge C\varepsilon^{-2}\log N\). This is precisely the conclusion of Theorem 5.3.1 with \(Q = \frac1{\sqrt m}A\). \(\blacksquare\)

The binary case. Take \(A := \sqrt n\,B\), where \(B\) is an \(m \times n\) matrix with independent Rademacher entries (uniform in \(\{\pm 1\}\)). Each row \(A_i = \sqrt n\,B_i\) is mean-zero, subgaussian (\(\|A_i\|_{\psi_2} \asymp \sqrt n\)), and isotropic: \(\mathbb{E}[A_iA_i^T] = n\,\mathbb{E}[B_iB_i^T] = nI_n\), since distinct coordinates of \(B_i\) are independent with \(\mathbb{E}[B_{ij}B_{ik}] = \delta_{jk}\). Thus the theorem applies, and the dimension reduction map is \[ Q = \frac{1}{\sqrt m}A = \sqrt{\frac{n}{m}}\;B: \] multiplication by a \(\pm 1\) matrix scaled by \(\sqrt{n/m}\). This is the binary Johnson–Lindenstrauss transform: it requires only fair coin flips, no Gaussian sampling.

Exercise 5.15 (KKK) (Optimality of Johnson–Lindenstrauss lemma)

注记Stem (abridged)
  1. Let \(z_1, \ldots, z_N \in \mathbb{R}^n\) satisfy \(1 < \|z_i - z_j\|_2 \le 2\) for all distinct \(i,j\). Show that \(N \le 5^n\).
  2. Let \(n < \tfrac12 \log N\). Find vectors \(x_1, \ldots, x_N\) in \(\mathbb{R}^N\) for which there does not exist any map \(T : \mathbb{R}^N \to \mathbb{R}^n\) satisfying \(0.99\|x_i - x_j\|_2 \le \|T(x_i) - T(x_j)\|_2 \le 1.01\|x_i - x_j\|_2\) for all \(i, j\).
提示Solution

(a). Translate so that \(z_1 = 0\) (this does not change any pairwise distance). Since all pairwise distances are at most \(2\), every \(z_i\) lies in the ball \(2B_2^n\). Consider the \(N\) pairwise-disjoint open balls \(D_i := z_i + \tfrac12 B_2^n\): if \(w \in D_i \cap D_j\) then \(\|z_i - z_j\|_2 < \tfrac12 + \tfrac12 = 1\), contradicting \(\|z_i - z_j\|_2 > 1\). All these balls lie in the single ball \((2 + \tfrac12)B_2^n = \tfrac52 B_2^n\). Comparing volumes (which scale like radius\(^n\)): \[ N \cdot \mathrm{vol}\big(\tfrac12 B_2^n\big) \ \le\ \mathrm{vol}\big(\tfrac52 B_2^n\big) \quad\Longrightarrow\quad N \cdot \Big(\frac{1/2}{5/2}\Big)^{n} \le 1 \quad\Longrightarrow\quad N \le 5^n . \]

(b). Following the hint, take an orthogonal basis: let \(x_1, \ldots, x_N\) be the standard basis vectors \(e_1, \ldots, e_N\) of \(\mathbb{R}^N\). Their pairwise distances are all \(\|e_i - e_j\|_2 = \sqrt 2 \in (1, 2]\).

Suppose, for contradiction, that some map \(T : \mathbb{R}^N \to \mathbb{R}^n\) satisfies the displayed nearly-isometric condition, and set \(y_i := T(x_i) \in \mathbb{R}^n\). Then for all \(i \ne j\), \[ 0.99\sqrt 2 \ \le\ \|y_i - y_j\|_2 \ \le\ 1.01\sqrt 2 . \] Since \(0.99\sqrt2 \approx 1.40 > 1\) and \(1.01\sqrt 2 \approx 1.43 \le 2\), the points \(y_1, \ldots, y_N \in \mathbb{R}^n\) satisfy \(1 < \|y_i - y_j\|_2 \le 2\). Part (a) forces \(N \le 5^n\), i.e. \(n \ge \log N/\log 5 \approx 0.62 \log N\).

But the hypothesis of (b) is \(n < \tfrac12\log N < \log N/\log 5\) (since \(\log 5 \approx 1.61 > 2 \cdot \tfrac12 = 1\)). Then \[ N \ >\ 5^n \qquad\text{(indeed } 5^n < 5^{\frac12 \log N} = N^{\frac12\log 5} < N\text{)}, \] contradicting \(N \le 5^n\). Hence no such \(T\) exists. \(\blacksquare\)

Remark (on the printed constant). The hypothesis is printed as a stacked fraction “\(\frac{1}{2}\log N\)” (the plain text layer garbles it as “21 log N”). Any constant \(< 1/\log 5 \approx 0.62\) works; \(\tfrac12\) is a clean choice.

Remark (what this proves). Even allowing completely arbitrary, nonlinear, data-dependent maps \(T\), embedding \(N\) points with \(1\%\) distortion requires target dimension \(n \gtrsim \log N\). So the \(O(\log N)\) dimension of the Johnson–Lindenstrauss lemma (Remark 5.3.4) is optimal.

Exercise 5.16 (KK) (Matrix Taylor series)

注记Stem (abridged)

Let \(X\) be a symmetric matrix. (a) For any polynomial \(f(x) = a_0 + a_1 x + \cdots + a_p x^p\), check that \(f(X) = a_0I_n + a_1X + \cdots + a_pX^p\). (b) More generally, if \(f(x) = \sum_{k=1}^\infty a_k(x - x_0)^k\) is a convergent power series in a neighborhood of \(x_0\), check that \(f(X) = \sum_{k=1}^\infty a_k(X - x_0I_n)^k\), where the matrix series converges in the Frobenius norm (where?), and thus also in the operator norm. (c) Argue that \(e^X = I_n + X + \frac{X^2}{2!} + \frac{X^3}{3!} + \cdots\)

提示Solution

Fix a spectral decomposition \(X = \sum_{i=1}^n \lambda_i u_iu_i^T\) with an orthonormal eigenbasis \(\{u_i\}\); recall \(I_n = \sum_i u_iu_i^T\) and, since \(\langle u_i, u_j\rangle = \delta_{ij}\), \[ X^k = \Big(\sum_i \lambda_i u_iu_i^T\Big)^k = \sum_{i=1}^n \lambda_i^k\, u_iu_i^T \qquad (k = 0, 1, 2, \ldots), \tag{\dagger} \] with the convention \(X^0 = I_n\) (all cross terms vanish).

(a). By linearity and \((\dagger)\), \[ a_0 I_n + a_1 X + \cdots + a_p X^p = \sum_{i=1}^n \big(a_0 + a_1\lambda_i + \cdots + a_p\lambda_i^p\big)\,u_iu_i^T = \sum_{i=1}^n f(\lambda_i)\,u_iu_i^T = f(X) \] by Definition 5.4.2. (If some eigenvalues coincide, the right-hand side does not depend on which orthonormal eigenbasis was chosen, since the coefficient depends only on the eigenvalue; and every orthonormal basis of eigenvectors is a valid spectral decomposition. So the identity is unambiguous.)

(b). Answer to “where?”: the matrix series converges for every symmetric \(X\) whose spectrum lies in the disk of convergence, i.e. whenever \[ \|X - x_0I_n\| \le r' \quad \text{for some } r' < R, \] where \(R \in (0, \infty]\) is the radius of convergence of \(\sum_k a_k(x-x_0)^k\). This holds because \(\|X - x_0 I_n\| = \max_i |\lambda_i - x_0|\) for symmetric matrices, so the constraint is exactly \(|\lambda_i - x_0| < R\) for all \(i\).

Convergence in Frobenius norm. First, by the same computation as in (a), applied to the matrix \(X - x_0I_n\) (which has the same eigenvectors \(u_i\) and eigenvalues \(\lambda_i - x_0\)), the partial sums are exactly \[ S_K := \sum_{k=1}^{K} a_k(X - x_0I_n)^k = \sum_{i=1}^n \Big(\sum_{k=1}^{K} a_k(\lambda_i - x_0)^k\Big) u_iu_i^T . \] Power series converge absolutely inside their disk of convergence: for any \(r' > \sup_i|\lambda_i - x_0|\) with \(r' < R\) we have \(\sum_k |a_k| r'^k < \infty\). Hence each scalar tail \(T_K(\mu) := \sum_{k > K} a_k(\mu - x_0)^k\) satisfies \(\sup_{|\mu - x_0| \le r'}|T_K(\mu)| \le \sum_{k>K}|a_k|r'^k \to 0\). Moreover \(T_K(\mu) \to 0\) pointwise and \(\lim_K \sum_{k\le K}a_k(\mu - x_0)^k = f(\mu)\). Therefore, in the orthonormal basis \(\{u_i\}\), the matrix \(S_K - \sum_i f(\lambda_i)u_iu_i^T\) is diagonal with entries \(-T_K(\lambda_i)\), and its Frobenius norm satisfies \[ \Big\|S_K - f(X)\Big\|_F = \Big(\sum_{i=1}^n |T_K(\lambda_i)|^2\Big)^{1/2} \le \sqrt n \sum_{k > K}|a_k|r'^k \longrightarrow 0 . \] So the matrix series converges to \(f(X)\) in the Frobenius norm. Since \(\|\cdot\| \le \|\cdot\|_F\) for all matrices, convergence in the operator norm follows automatically.

(c). The exponential function has the everywhere-convergent Taylor series \(e^x = \sum_{k=0}^\infty x^k/k!\) (radius of convergence \(R = \infty\) by the ratio test). Applying part (b) with \(x_0 = 0\) and \(a_k = 1/k!\) — the convergence hypothesis holds for every symmetric \(X\) since \(R = \infty\) — we obtain \[ e^X = \sum_{k=0}^{\infty} \frac{X^k}{k!} = I_n + X + \frac{X^2}{2!} + \frac{X^3}{3!} + \cdots, \] with convergence in the Frobenius (hence operator) norm. \(\blacksquare\)

Exercise 5.17 (KK) (Matrix monotonicity)

注记Stem (abridged)
  1. Check that for commuting matrices \(X, Y\): \(X \preceq Y \Rightarrow f(X) \preceq f(Y)\) for any weakly increasing \(f : \mathbb{R} \to \mathbb{R}\).
  2. Give an example showing that (a) may fail for noncommuting matrices.
提示Solution

(a). Simultaneous diagonalization. Since \(X\) and \(Y\) are symmetric and commute, they can be diagonalized in a common orthonormal basis. Proof: decompose \(\mathbb{R}^n = \bigoplus_\lambda E_\lambda\) into eigenspaces of \(X\). If \(v \in E_\lambda\), then \(X(Yv) = YXv = \lambda Yv\), so each \(E_\lambda\) is invariant under \(Y\); the restriction of \(Y\) to \(E_\lambda\) is symmetric, hence diagonalizable by an orthonormal basis of \(E_\lambda\). Combining these bases over all \(\lambda\) yields an orthonormal basis \(\{u_1, \ldots, u_n\}\) with \[ X = \sum_{i=1}^n \alpha_i u_iu_i^T, \qquad Y = \sum_{i=1}^n \beta_i u_iu_i^T . \]

The order acts on eigenvalues. For each \(i\), \(u_i^T(Y - X)u_i = \beta_i - \alpha_i\). If \(X \preceq Y\), then \(u^T(Y-X)u \ge 0\) for all \(u\), so \[ \alpha_i \le \beta_i \qquad \text{for all } i. \tag{*} \] (Conversely \((*)\) implies \(X \preceq Y\); the two formulations are equivalent.)

Apply \(f\). By Definition 5.4.2 — using the common eigenbasis as the spectral decomposition of \(X\), and likewise for \(Y\); for repeated eigenvalues the definition is independent of the chosen eigenbasis because \(f\) is a fixed function of the eigenvalue — \[ f(X) = \sum_i f(\alpha_i)u_iu_i^T, \qquad f(Y) = \sum_i f(\beta_i)u_iu_i^T . \] Since \(f\) is weakly increasing, \((*)\) gives \(f(\alpha_i) \le f(\beta_i)\) for all \(i\), whence for every \(u \in \mathbb{R}^n\), writing \(u = \sum_i c_iu_i\), \[ u^T\big(f(Y) - f(X)\big)u = \sum_i (f(\beta_i) - f(\alpha_i))\,c_i^2 \ge 0 . \] That is, \(f(X) \preceq f(Y)\). \(\blacksquare\)

(b). Take \(f(x) = x^2\) (weakly increasing on \([0,\infty)\), which contains all eigenvalues below) and \[ X = \begin{pmatrix} 1 & 0 \\ 0 & 0\end{pmatrix}, \qquad Y = \begin{pmatrix} 2 & 1 \\ 1 & 1 \end{pmatrix}. \] Then \(X, Y\) are symmetric, and \[ Y - X = \begin{pmatrix} 1 & 1 \\ 1 & 1 \end{pmatrix} \succeq 0 \] (eigenvalues \(0\) and \(2\)), so \(X \preceq Y\); note \(XY \ne YX\) (they differ in the off-diagonal entries), so the pair is genuinely noncommuting. Now \[ X^2 = X, \qquad Y^2 = \begin{pmatrix} 5 & 3 \\ 3 & 2 \end{pmatrix}, \qquad Y^2 - X^2 = \begin{pmatrix} 4 & 3 \\ 3 & 1 \end{pmatrix}. \] The determinant of \(Y^2 - X^2\) equals \(4\cdot 1 - 3\cdot 3 = -5 < 0\), so \(Y^2 - X^2\) is indefinite and in particular not positive semidefinite: \(X^2 \npreceq Y^2\). Thus matrix monotonicity fails in general, exactly as Remark 5.4.6 warns; the two eigenvalues of \(Y\) are \((3\pm\sqrt5)/2 \in [0,\infty)\) and those of \(X\) are \(\{0,1\}\), so all eigenvalues lie where \(f(x) = x^2\) is weakly increasing. \(\blacksquare\)

Exercise 5.18 (KKK) (Matrix monotonicity of \(1/x\) and \(\ln x\))

注记Stem (abridged)

Let \(X, Y\) be symmetric \(n \times n\) matrices with \(X\) invertible and \(0 \preceq X \preceq Y\). (a) Prove that \(Y\) is also invertible, and \(X^{-1} \succeq Y^{-1} \succeq 0\). (b) Check the identity \(\ln x = \int_0^\infty \big(\frac{1}{1+t} - \frac{1}{x+t}\big)\,dt\). (c) Deduce from (b) and (a) that \(\ln X \preceq \ln Y\).

提示Solution

(a). Invertibility. \(X \succeq 0\) with all eigenvalues \(\ge 0\); invertibility forces every eigenvalue to be nonzero, hence \(X \succ 0\) (positive definite). Then for any \(u \ne 0\), \[ u^TYu \ \ge\ u^TXu \ \ge\ \lambda_{\min}(X)\|u\|_2^2 \ >\ 0, \] so \(Y \succ 0\) as well, and in particular \(Y\) is invertible.

Step 1: the case \(Y = I_n\) (as the hint suggests). Assume \(0 \prec X \preceq I_n\). The matrices \(X\) and \(I_n\) commute, so Exercise 5.17(a) applies with the weakly decreasing function \(f(x) = 1/x\) on \((0, \infty)\): \[ X \preceq I_n \quad\Longrightarrow\quad X^{-1} \succeq I_n^{-1} = I_n . \] (Directly: the eigenvalues of \(X\) lie in \((0,1]\), so those of \(X^{-1}\) are \(\ge 1\).)

Step 2: reduction to Step 1 by congruence. Let \(Y^{1/2} \succ 0\) denote the positive definite square root (Definition 5.4.2 applied to \(x^{1/2}\)), with inverse \(Y^{-1/2}\). Conjugating \(0 \prec X \preceq Y\) — i.e., multiplying the Loewner inequality by \(Y^{-1/2}\) on both sides, which preserves the semidefinite order — gives \[ 0 \prec Y^{-1/2}XY^{-1/2} \preceq Y^{-1/2}YY^{-1/2} = I_n . \] Step 1 yields \(\big(Y^{-1/2}XY^{-1/2}\big)^{-1} \succeq I_n\), i.e. \[ Y^{1/2}X^{-1}Y^{1/2} \succeq I_n . \] Congruence by \(Y^{-1/2}\) once more (order-preserving): \[ X^{-1} \ \succeq\ Y^{-1/2}I_nY^{-1/2} = Y^{-1} . \] Finally \(Y^{-1} \succeq 0\) because \(Y \succ 0\). \(\blacksquare\)

(b). For \(x > 0\) and \(0 \le T < \infty\), by the fundamental theorem of calculus, \[ \int_0^T \Big(\frac{1}{1+t} - \frac{1}{x+t}\Big)\,dt = \Big[\ln(1+t) - \ln(x+t)\Big]_0^T = \ln\frac{1+T}{x+T} + \ln x . \] As \(T \to \infty\), \(\ln\frac{1+T}{x+T} \to \ln 1 = 0\). Hence the improper integral converges and \[ \int_0^\infty \Big(\frac{1}{1+t} - \frac{1}{x+t}\Big)\,dt = \ln x . \qquad \blacksquare \]

(c). Matrix version of the identity. Fix a symmetric \(Z \succ 0\) with spectral decomposition \(Z = \sum_i \mu_i u_iu_i^T\) (\(\mu_i > 0\)). By Definition 5.4.2, \(\ln Z = \sum_i \ln(\mu_i)u_iu_i^T\) and \((Z + tI_n)^{-1} = \sum_i (\mu_i + t)^{-1}u_iu_i^T\). Applying the scalar identity of (b) to each \(\mu_i\) and using that all matrices involved are simultaneously diagonal in the basis \(\{u_i\}\): \[ \ln Z = \int_0^\infty \Big( \frac{1}{1+t}\,I_n \ -\ (Z + tI_n)^{-1} \Big)\,dt , \] understood as an improper integral of symmetric matrices converging in each quadratic form: for every \(u\) with \(\|u\|_2 = 1\), the scalar integrand equals \(\sum_i w_i\big(\frac{1}{1+t} - \frac{1}{\mu_i + t}\big)\) with \(w_i := \langle u, u_i\rangle^2\), \(\sum_i w_i = 1\); it is integrable on \([0,\infty)\) since each term is \(O(t^{-2})\) as \(t \to \infty\) (and equals \(O(t^{-1}) - O(t^{-1})\) with cancellation), and integrates to \(\sum_i w_i\ln\mu_i = \langle \ln Z\, u, u\rangle\).

Monotonicity. By part (a) applied to the pair \(0 \prec X + tI_n \preceq Y + tI_n\) (valid for every \(t \ge 0\); the inequality follows by adding \(tI_n\) to both sides of \(X \preceq Y\)): \[ (X + tI_n)^{-1} \ \succeq\ (Y + tI_n)^{-1} \qquad \text{for all } t \ge 0 . \] Equivalently, for every unit \(u\), \[ \Big\langle\Big[(X+tI_n)^{-1} - (Y+tI_n)^{-1}\Big]u,\ u\Big\rangle \ \ge\ 0 \qquad \text{for all } t \ge 0 . \] Integrating in \(t\) and using the matrix identity above for \(Z = X\) and \(Z = Y\): \[ \langle (\ln Y - \ln X)\,u, u\rangle = \int_0^\infty \Big\langle\big[(X+tI_n)^{-1} - (Y+tI_n)^{-1}\big]u,\ u\Big\rangle\,dt \ \ge\ 0 . \] As \(u\) was arbitrary, \(\ln Y - \ln X \succeq 0\), i.e. \[ \ln X \ \preceq\ \ln Y . \qquad \blacksquare \]

Remark. The point of the integral representation is that it converts the matrix monotonicity of \(\ln\) into the matrix monotonicity of inversion (part (a)) plus the order-closedness of the PSD cone under integration — bypassing the failure of naive monotonicity from Exercise 5.17(b). Together, (a) and (c) verify Remark 5.4.6; these are exactly the facts used in Step 4 of the proof of the matrix Bernstein inequality.

Exercise 5.19 (KK) (Matrix exponentiation)

注记Stem (abridged)

Let \(X, Y\) be \(n \times n\) symmetric matrices. (a) Show that if \(XY = YX\), then \(e^{X+Y} = e^X e^Y\). (b) Find an example with \(e^{X+Y} \ne e^Xe^Y\).

提示Solution

(a). By Exercise 5.16(c) all exponentials below are given by absolutely convergent series, in the Frobenius norm; since \(\|X^iY^j\| \le \|X\|^i\|Y\|^j\), the double series \(\sum_{i,j}\|X\|^i\|Y\|^j/(i!j!) = e^{\|X\|}e^{\|Y\|}\) converges, justifying all rearrangements.

Because \(XY = YX\), the binomial expansion is valid for powers of \(X + Y\) (every word in \(X, Y\) of length \(k\) with \(i\) letters \(X\) equals \(X^iY^{k-i}\)): \[ (X+Y)^k = \sum_{i=0}^k \binom{k}{i} X^iY^{k-i} . \] Therefore, for each truncation level, using \(\binom{k}{i}\frac{1}{k!} = \frac{1}{i!\,(k-i)!}\), \[ \sum_{k=0}^{K}\frac{(X+Y)^k}{k!} = \sum_{k=0}^{K}\ \sum_{i=0}^{k}\ \frac{X^i}{i!}\cdot\frac{Y^{k-i}}{(k-i)!} = \sum_{\substack{i,j \ge 0 \\ i+j \le K}} \frac{X^i}{i!}\cdot\frac{Y^j}{j!} . \] (The last equality is a re-indexing \(j = k - i\); for each fixed \(K\) all sums are finite.) Letting \(K \to \infty\), the left side converges in Frobenius norm to \(e^{X+Y}\), while the right side converges to the Cauchy product of the two absolutely convergent series \(\sum_i X^i/i!\) and \(\sum_j Y^j/j!\), which is \(e^Xe^Y\). Hence \[ e^{X+Y} = e^Xe^Y . \qquad \blacksquare \] Alternative shortcut: commuting symmetric matrices are simultaneously diagonalizable (as shown in Exercise 5.17(a)): \(X = \sum\alpha_iu_iu_i^T\), \(Y = \sum\beta_iu_iu_i^T\). Then \(e^{X+Y}\), \(e^X\), \(e^Y\) are all diagonal in the basis \(\{u_i\}\) with eigenvalues \(e^{\alpha_i + \beta_i} = e^{\alpha_i}e^{\beta_i}\), giving the identity at once.

(b). Take the symmetric, noncommuting Pauli-type matrices \[ X = \begin{pmatrix} 0 & 1 \\ 1 & 0 \end{pmatrix}, \qquad Y = \begin{pmatrix} 1 & 0 \\ 0 & -1 \end{pmatrix}; \qquad XY = \begin{pmatrix} 0 & -1 \\ 1 & 0 \end{pmatrix} \ne \begin{pmatrix} 0 & 1 \\ -1 & 0 \end{pmatrix} = YX . \] Since \(X^2 = I_2\), \[ e^{X} = \sum_{k \text{ even}}\frac{I_2}{k!} + \sum_{k \text{ odd}}\frac{X}{k!} = \cosh(1)\,I_2 + \sinh(1)\,X = \begin{pmatrix} \cosh 1 & \sinh 1 \\ \sinh 1 & \cosh 1 \end{pmatrix}, \] while \(Y\) is diagonal: \(e^Y = \mathrm{diag}(e, e^{-1})\). Their product is \[ e^Xe^Y = \begin{pmatrix} e\cosh 1 & e^{-1}\sinh 1 \\ e\sinh 1 & e^{-1}\cosh 1 \end{pmatrix}, \qquad \text{so} \qquad (e^Xe^Y)_{12} = e^{-1}\sinh 1 \approx 0.432 . \] On the other hand \(X + Y = \begin{pmatrix} 1 & 1 \\ 1 & -1\end{pmatrix}\) satisfies \((X+Y)^2 = 2I_2\), so \[ e^{X+Y} = \cosh(\sqrt2)\,I_2 + \frac{\sinh(\sqrt 2)}{\sqrt 2}(X+Y), \qquad (e^{X+Y})_{12} = \frac{\sinh\sqrt2}{\sqrt2} \approx 1.368 . \] The off-diagonal entries differ (\(0.432 \ne 1.368\)), so \[ e^{X+Y} \ \ne\ e^Xe^Y . \qquad \blacksquare \] Remark. One can also see the failure through traces: the Golden–Thompson inequality (Theorem 5.4.7) gives \(\mathrm{tr}\, e^{X+Y} \le \mathrm{tr}\,(e^Xe^Y)\), with equality essentially only in the commuting case; for the pair above the inequality is strict, so the matrices themselves must differ. This failure is the very reason the trace-inequality substitutes of Section 5.4.2 are needed.

Exercise 5.20 (KK) (Expectation bound from matrix Bernstein)

注记Stem (abridged)

Deduce from the matrix Bernstein inequality (Theorem 5.4.1) the expectation bound \[ \mathbb{E}\Big\|\sum_{i=1}^N X_i\Big\| \ \lesssim\ \Big\|\sum_{i=1}^N \mathbb{E}X_i^2\Big\|^{1/2}\,\big(1 + \log n\big)^{1/2} \ +\ K\big(1 + \log n\big), \] for independent, mean-zero, symmetric \(n\times n\) random matrices with \(\|X_i\| \le K\) almost surely.

提示Solution

Write \(S := \sum_{i=1}^NX_i\) and \(\sigma^2 := \big\|\sum_i\mathbb{E}X_i^2\big\|\), so the target reads \(\mathbb{E}\|S\| \lesssim \sigma\sqrt{1+\log n} + K(1+\log n)\) (the book’s (5.17) states the same bound with \(\log(2n) \asymp 1 + \log n\)).

Step 1: tail bound. Theorem 5.4.1 and the elementary identity \[ \frac{t^2}{2(\sigma^2 + Kt/3)} \ \ge\ \frac{1}{4}\,\min\Big(\frac{t^2}{\sigma^2},\ \frac{3t}{K}\Big) \] (case check: if \(Kt \le 3\sigma^2\) the denominator is at most \(2\sigma^2\); otherwise it is at most \(\tfrac{4}{3}Kt\)) give the Bernstein mixture form \[ \mathbb{P}\{\|S\| \ge t\} \ \le\ 2n\exp\Big(-c\,\min\big(t^2/\sigma^2,\ t/K\big)\Big), \qquad t \ge 0 . \]

Step 2: integrated tail formula (Lemma 1.6.1). \(\|S\| \ge 0\), so \[ \mathbb{E}\|S\| = \int_0^\infty \mathbb{P}\{\|S\| > t\}\,dt \ \le\ t_0 + \int_{t_0}^\infty 2n\,e^{-c\min(t^2/\sigma^2,\,t/K)}\,dt \] for any threshold \(t_0 \ge 0\) of our choice (on \([0, t_0]\) we bound the probability by \(1\)). Set \[ t_0 := C_0\big(\sigma\sqrt{1 + \log n} + K(1+\log n)\big) \] with \(C_0\) a sufficiently large absolute constant.

Step 3: the integral tail. Split at \(t_1 := \max(t_0, \sigma^2/K)\) (if \(K = 0\) then \(X_i = 0\) a.s. and there is nothing to prove).

  • On \([t_0, t_1]\) (nonempty only if \(t_0 < \sigma^2/K\), the subgaussian regime): here \(\min = t^2/\sigma^2\), and by the Gaussian tail bound \(\int_v^\infty e^{-cs^2}ds \le \frac{1}{2cv}e^{-cv^2}\) for \(v \ge 1\), \[ \int_{t_0}^{t_1} 2n\,e^{-ct^2/\sigma^2}\,dt \ \le\ 2n\int_{t_0}^\infty e^{-ct^2/\sigma^2}dt \ \le\ \frac{2n\sigma^2}{ct_0}\,e^{-ct_0^2/\sigma^2}. \] Now \(t_0 \ge C_0\sigma\sqrt{\log n}\), so \(2n\,e^{-ct_0^2/\sigma^2} \le 2n\cdot n^{-cC_0} \le 2n^{-1}\) for \(C_0 \ge 3/c\) (large \(n\); small \(n\) is absorbed into constants), and \(\sigma^2/t_0 \le \sigma \le t_0\). Hence this piece is \(\lesssim 1\).

  • On \([t_1, \infty)\) (subexponential regime, \(\min = t/K\)): \[ \int_{t_1}^{\infty} 2n\,e^{-ct/K}\,dt \ =\ \frac{2nK}{c}\,e^{-ct_1/K} \ \le\ \frac{2nK}{c}\,e^{-ct_0/K} \ \le\ \frac{2nK}{c}\,e^{-cC_0\log n} \ \le\ C K\,n^{1 - cC_0} \ \lesssim\ K\,(1+\log n), \] using \(t_0 \ge C_0 K\log n\) and choosing \(C_0 \ge 2/c\) so that \(n^{1-cC_0} \le n^{-1}\).

Step 4: conclusion. \[ \mathbb{E}\|S\| \ \le\ t_0 + C + CK(1+\log n) \ \lesssim\ \sigma\sqrt{1+\log n} + K(1+\log n), \] as required. \(\blacksquare\)

Remark. The choice \(t_0\) is the quantile where the \(2n\) factor is exactly killed by the tail; any larger threshold only worsens the additive \(t_0\). In the scalar case \(n = 1\) the bound is weaker than the trivial \(\mathbb{E}|S| \le \big(\sum\mathbb{E}X_i^2\big)^{1/2}\), reflecting that the logarithm is the sole price of high dimension; cf. Remark 5.4.12 and Exercise 5.28.

Exercise 5.21 (KKK) (Matrix Hoeffding inequality)

注记Stem (abridged)

Prove the matrix Hoeffding inequality (Theorem 5.4.13): if \(\varepsilon_1,\ldots,\varepsilon_N\) are independent Rademachers and \(A_1, \ldots, A_N\) are fixed symmetric \(n\times n\) matrices, then for any \(t \ge 0\), \[ \mathbb{P}\Big\{\Big\|\sum_{i=1}^N \varepsilon_iA_i\Big\| \ge t\Big\} \le 2n\exp\Big(-\frac{t^2}{2\sigma^2}\Big), \qquad \sigma^2 := \Big\|\sum_{i=1}^N A_i^2\Big\|. \]

提示Solution

We follow the four steps of the proof of the matrix Bernstein inequality (Theorem 5.4.1); throughout \(S := \sum_i\varepsilon_iA_i\).

Step 1: reduction to the MGF. As in (5.14)–(5.15), for \(\lambda \ge 0\), \[ \mathbb{P}\{\lambda_{\max}(S) \ge t\} \ \le\ e^{-\lambda t}\,\mathbb{E}\,e^{\lambda\lambda_{\max}(S)} \ \le\ e^{-\lambda t}\,\mathbb{E}\,\mathrm{tr}\,e^{\lambda S}, \] using Markov’s inequality and the fact that the eigenvalues of \(e^{\lambda S}\) are \(e^{\lambda\lambda_i(S)} > 0\), so the maximal eigenvalue is bounded by the trace.

Step 2: Lieb peeling. Exactly as in Step 2 of the Bernstein proof, separate one summand at a time and apply the Lieb inequality for random matrices (Lemma 5.4.9): conditioning on \((\varepsilon_i)_{i<N}\), taking expectation, and iterating, \[ \mathbb{E}\,\mathrm{tr}\,e^{\lambda S} \ \le\ \mathrm{tr}\exp\Big(\sum_{i=1}^N \log\,\mathbb{E}e^{\lambda\varepsilon_iA_i}\Big). \tag{*} \]

Step 3: MGF of a single symmetrized term. Fix \(A\) symmetric and \(\varepsilon\) Rademacher. Symmetrization makes the odd powers cancel in expectation: \[ \mathbb{E}e^{\lambda\varepsilon A} = \mathbb{E}\,\frac{e^{\lambda\varepsilon A} + e^{-\lambda\varepsilon A}}{2} = \frac{e^{\lambda A} + e^{-\lambda A}}{2} = \sum_{k=0}^\infty \frac{(\lambda A)^{2k}}{(2k)!}, \] using the (Frobenius-convergent, Exercise 5.16(c)) series of the exponential and \(\mathbb{E}\varepsilon^{2k} = 1\), \(\mathbb{E}\varepsilon^{2k+1} = 0\). Since \((2k)! \ \ge\ 2^k k!\) (proof by induction: \((2k)! = (2k)(2k-1)\cdot(2k-2)! \ge 2\cdot 3 \cdot (2k-2)!\), iterating down to \(2^k k!\)), and since \(A^{2k} = (A^2)^k \succeq 0\) with nonnegative eigenvalues \(\mu_j^{2k}\), each term satisfies \[ \frac{A^{2k}}{(2k)!} \ \preceq\ \frac{(A^2)^k}{2^k\,k!} \qquad (k \ge 0), \] (the difference is a function of \(A^2\) with eigenvalues \(\mu_j^{2k}\big(\tfrac{1}{2^kk!} - \tfrac{1}{(2k)!}\big) \ge 0\)). Summing the nonnegative definite terms (all functions of the same matrix \(A^2\), hence simultaneously diagonalizable and comparable): \[ \mathbb{E}e^{\lambda\varepsilon A} \ \preceq\ \sum_{k=0}^{\infty}\frac{(\lambda^2A^2/2)^k}{k!} \ =\ e^{\lambda^2A^2/2}. \] This is the matrix analogue of the scalar bound \(\cosh x \le e^{x^2/2}\) used in the proof of the Hoeffding inequality (Theorem 2.2.1).

Step 4: complete the estimate. Substituting Step 3 into \((*)\) and using the matrix monotonicity of \(\ln\) (Exercise 5.18(c), as in Step 4 of the Bernstein proof) together with trace monotonicity (Proposition 5.4.4(ii)): \[ \mathbb{E}\,\mathrm{tr}\,e^{\lambda S} \ \le\ \mathrm{tr}\exp\Big(\sum_{i=1}^N \frac{\lambda^2A_i^2}{2}\Big) = \mathrm{tr}\,e^{(\lambda^2/2)\Sigma}, \qquad \Sigma := \sum_i A_i^2 \succeq 0 . \] The trace is a sum of the \(n\) (positive) eigenvalues, each at most the largest: \[ \mathbb{E}\,\mathrm{tr}\,e^{\lambda S} \ \le\ n\,\lambda_{\max}\big(e^{(\lambda^2/2)\Sigma}\big) = n\,e^{(\lambda^2/2)\lambda_{\max}(\Sigma)} = n\,e^{\lambda^2\sigma^2/2}. \] Hence \(\mathbb{P}\{\lambda_{\max}(S) \ge t\} \le n\exp\big(-\lambda t + \lambda^2\sigma^2/2\big)\). Optimize in \(\lambda\): the minimum over \(\lambda \ge 0\) is attained at \(\lambda = t/\sigma^2\) (if \(\sigma = 0\) then all \(A_i = 0\) and the claim is trivial), giving \[ \mathbb{P}\{\lambda_{\max}(S) \ge t\} \ \le\ n\,e^{-t^2/2\sigma^2}. \] Applying the same bound to \(-S\) (whose summands are \(-\varepsilon_iA_i \stackrel{d}{=} \varepsilon_iA_i\)) and using \(\|S\| = \max(\lambda_{\max}(S), \lambda_{\max}(-S))\) as in (5.14): \[ \mathbb{P}\{\|S\| \ge t\} \ \le\ 2n\,e^{-t^2/2\sigma^2}, \] which is Theorem 5.4.13. \(\blacksquare\)

Remark. The proof is simpler than Bernstein’s in two places: the summands are automatically mean-zero (symmetrization), and the MGF bound has no singular denominator \(g(\lambda)\) — hence no restriction on \(\lambda\) and no linear (subexponential) tail term; the tail is purely subgaussian with variance proxy \(\sigma^2\).

Exercise 5.22 (KKK) (Matrix Khintchine inequality)

注记Stem (abridged)

Deduce the matrix Khintchine inequality (Theorem 5.4.14) from the matrix Hoeffding inequality (Theorem 5.4.13): for independent Rademachers \(\varepsilon_i\), fixed symmetric \(n\times n\) matrices \(A_i\), and every \(p \in [1, \infty)\), \[ \Big(\mathbb{E}\Big\|\sum_{i=1}^N\varepsilon_iA_i\Big\|^{p}\Big)^{1/p} \ \le\ C\,\big(p + \log n\big)^{1/2}\,\Big\|\sum_{i=1}^NA_i^2\Big\|^{1/2}, \] i.e. \((\mathbb{E}\|S\|^p)^{1/p} \le C\sqrt{p + \log n}\;\sigma\) with \(\sigma^2 = \|\sum_iA_i^2\|\).

提示Solution

Let \(X := \|S\|\) with \(S := \sum_i\varepsilon_iA_i\), and \(\sigma^2 := \|\sum_iA_i^2\|\). The plan is the hint’s: integrate the Hoeffding tail with the moment form of the integrated tail formula.

Moment identity (tail formula for moments). By Fubini’s theorem for the nonnegative variable \(X^p\): \[ \mathbb{E}X^p = p\int_0^\infty t^{p-1}\,\mathbb{P}\{X > t\}\,dt . \tag{\dagger} \] (This is the moment version of Exercise 1.15(c)/Lemma 1.6.1.) Since \(L_p\) norms increase in \(p\) on a probability space, it suffices to prove the bound for \(p \ge 2\); fix such \(p\).

Split the integral. Set the threshold \[ t_0 := 2\sigma\sqrt{p + \log(2n)} . \] On \([0, t_0]\) bound the integrand by \(t^{p-1}\); on \([t_0, \infty)\) insert the Hoeffding tail \(\mathbb{P}\{X > t\} \le 2n\,e^{-t^2/2\sigma^2}\): \[ \mathbb{E}X^p \ \le\ t_0^p \ +\ 2np\int_{t_0}^{\infty} t^{p-1}e^{-t^2/2\sigma^2}\,dt . \tag{\ddagger} \]

The tail integral. Substitute \(s := t^2/2\sigma^2\), \(t = \sigma\sqrt{2s}\), \(dt = \sigma\,s^{-1/2}\,ds/\sqrt 2\): \[ \int_{t_0}^{\infty} t^{p-1}e^{-t^2/2\sigma^2}\,dt = 2^{p/2 - 1}\sigma^{p}\int_{s_0}^\infty s^{p/2 - 1}e^{-s}\,ds, \qquad s_0 := \frac{t_0^2}{2\sigma^2} = 2\big(p + \log(2n)\big). \] For the incomplete gamma tail, use the elementary bound (valid for any exponent \(q \ge 0\), \(s_0 \ge 1\)) \[ \int_{s_0}^\infty s^{q}e^{-s}\,ds \ \le\ \int_{s_0}^\infty \Big(\sup_{s\ge0} s^q e^{-s/2}\Big)e^{-s/2}\,ds = \Big(\frac{2q}{e}\Big)^{q}\cdot 2e^{-s_0/2} \ \le\ C\,(q+1)^{q}\,e^{-s_0/2}, \] with \(q = \tfrac p2 - 1\). Since \(s_0 = 2(p + \log 2n)\), the factor \(e^{-s_0/2} = e^{-p}\,(2n)^{-1}\), so \[ 2n\int_{t_0}^\infty t^{p-1}e^{-t^2/2\sigma^2}dt \ \le\ C\,\sigma^p\,p\,\Big(\frac{p}{2}\Big)^{p/2}e^{-p} \ \le\ (C\sigma\sqrt p)^{p}, \] using \(p\,e^{-p} \le C\) and \((p/2)^{p/2} \le p^{p/2}\). Substituting into \((\ddagger)\): \[ \mathbb{E}X^p \ \le\ \big(2\sigma\sqrt{p + \log 2n}\big)^p + (C\sigma\sqrt p)^p \ \le\ \big(C\sigma\sqrt{p + \log n}\big)^p . \]

Conclusion. Taking \(p\)-th roots (and \(\log(2n) \asymp 1 + \log n\)): \[ \Big(\mathbb{E}\Big\|\sum_{i=1}^N\varepsilon_iA_i\Big\|^p\Big)^{1/p} \ \le\ C\sqrt{p}\,\sigma + C\sqrt{\log n}\;\sigma \ \le\ C\big(p + \log n\big)^{1/2}\,\Big\|\sum_{i=1}^NA_i^2\Big\|^{1/2}, \] which is Theorem 5.4.14 (in the printed form with the radical over \(p + \log n\); note \((\sqrt p + \sqrt{\log n})^2 \le 2(p+\log n)\), so the two renderings are equivalent up to the constant). \(\blacksquare\)

Remark. The dimension factor \(2n\) in the Hoeffding tail converts into the additive \(\sqrt{\log n}\), while the Gaussian decay converts into the multiplicative \(\sqrt p\) — neither can be obtained by first bounding the \(\psi_2\) norm (which would give the product \(\sqrt{p\log n}\) instead of the sum \(\sqrt p + \sqrt{\log n}\)). This is why the tail-integration route of Exercise 1.15(c) is essential.

Exercise 5.23 (KK) (Matrix Bernstein inequality for rectangular matrices)

注记Stem (abridged)

Let \(X_1, \ldots, X_N\) be independent, mean-zero, \(m\times n\) random matrices with \(\|X_i\| \le K\) a.s. Prove that for \(t \ge 0\), \[ \mathbb{P}\Big\{\Big\|\sum_{i=1}^NX_i\Big\| \ge t\Big\} \le 2(m+n)\exp\Big(-\frac{t^2/2}{\sigma^2 + Kt/3}\Big), \qquad \sigma^2 := \Big\|\sum_{i=1}^N\mathbb{E}X_i^TX_i + \sum_{i=1}^N\mathbb{E}X_iX_i^T\Big\|, \] where the sum inside the norm denotes the block-diagonal matrix with blocks \(\sum_i\mathbb{E}X_i^TX_i\) (\(n \times n\)) and \(\sum_i\mathbb{E}X_iX_i^T\) (\(m\times m\)).

提示Solution

We use the Hermitian dilation (Exercise 4.14), as the hint suggests. For an \(m \times n\) matrix \(X\) define the symmetric \((m+n)\times(m+n)\) block matrix \[ \mathcal{D}(X) := \begin{pmatrix} 0 & X \\ X^T & 0\end{pmatrix}. \]

Step 1: properties of the dilation.

  1. Linearity and mean zero. \(\mathcal{D}\) is linear, so \(\sum_i\mathcal{D}(X_i) = \mathcal{D}\big(\sum_iX_i\big)\), and \(\mathbb{E}\,\mathcal{D}(X_i) = \mathcal{D}(\mathbb{E}X_i) = 0\). The dilations \(\mathcal{D}(X_1), \ldots, \mathcal{D}(X_N)\) are independent (functions of independent matrices).

  2. Norm preservation. By Exercise 4.14, the eigenvalues of \(\mathcal{D}(X)\) are \(\pm s_j(X)\), \(j = 1, \ldots, \min(m,n)\), plus zeros. Hence \[ \|\mathcal{D}(X)\| = s_1(X) = \|X\| \qquad\text{and}\qquad \big\|\mathcal{D}\big(\textstyle\sum_iX_i\big)\big\| = \Big\|\sum_iX_i\Big\| . \] In particular \(\|\mathcal{D}(X_i)\| \le K\) almost surely.

  3. Variance. Squaring the block matrix, \[ \mathcal{D}(X)^2 = \begin{pmatrix} XX^T & 0 \\ 0 & X^TX \end{pmatrix}, \qquad\text{so}\qquad \sum_i\mathbb{E}\,\mathcal{D}(X_i)^2 = \begin{pmatrix} \sum_i\mathbb{E}X_iX_i^T & 0 \\ 0 & \sum_i\mathbb{E}X_i^TX_i \end{pmatrix}. \] The operator norm of a block-diagonal matrix is the maximum of the block norms: \[ \Big\|\sum_i\mathbb{E}\,\mathcal{D}(X_i)^2\Big\| = \max\Big(\Big\|\sum_i\mathbb{E}X_iX_i^T\Big\|,\ \Big\|\sum_i\mathbb{E}X_i^TX_i\Big\|\Big) = \sigma^2 , \] which is exactly the quantity defined in the exercise.

Step 2: apply the symmetric matrix Bernstein inequality. The random matrices \(\mathcal{D}(X_i)\) are independent, mean-zero, symmetric of size \((m+n)\times(m+n)\), and bounded by \(K\) a.s. Theorem 5.4.1 gives, for \(t \ge 0\), \[ \mathbb{P}\Big\{\Big\|\sum_{i=1}^N\mathcal{D}(X_i)\Big\| \ge t\Big\} \ \le\ 2(m+n)\exp\Big(-\frac{t^2/2}{\sigma^2 + Kt/3}\Big). \] By the norm-preservation identity of Step 1, the event inside the probability is exactly \(\{\|\sum_iX_i\| \ge t\}\). This completes the proof. \(\blacksquare\)

Remark. The two blocks of the variance statistic, \(\sum\mathbb{E}X_i^TX_i\) and \(\sum\mathbb{E}X_iX_i^T\), are in general different matrices (unlike the single-summand case, where \(X^TX\) and \(XX^T\) share nonzero eigenvalues); the correct variance proxy is the larger of the two — precisely what the dilation computes.

Exercise 5.24 (KK) (Matrix Khintchine for rectangular matrices)

注记Stem (abridged)

Let \(\varepsilon_1,\ldots,\varepsilon_N\) be independent Rademachers and \(A_1,\ldots,A_N\) fixed \(m\times n\) matrices. Show that for every \(p\in[1,\infty)\), \[ \Big(\mathbb{E}\Big\|\sum_{i=1}^N\varepsilon_iA_i\Big\|^{p}\Big)^{1/p} \ \le\ C\,\sigma\,\big(p + \log(m+n)\big)^{1/2}, \qquad \sigma^2 := \Big\|\sum_{i=1}^NA_i^TA_i + \sum_{i=1}^NA_iA_i^T\Big\|, \] with the same block-diagonal convention as in Exercise 5.23.

提示Solution

Dilate, as in Exercise 5.23 (the hint is the same). Set \[ H_i := \mathcal{D}(\varepsilon_iA_i) = \begin{pmatrix} 0 & \varepsilon_iA_i \\ \varepsilon_iA_i^T & 0 \end{pmatrix}, \qquad i = 1, \ldots, N . \] Each \(H_i\) is a symmetric \((m+n)\times(m+n)\) matrix; moreover \(H_i = \varepsilon_i\,\mathcal{D}(A_i)\) where \(\mathcal{D}(A_i)\) is a fixed symmetric matrix. Hence \[ \sum_{i=1}^NH_i = \sum_{i=1}^N\varepsilon_i\,B_i, \qquad B_i := \mathcal{D}(A_i) \ \text{fixed symmetric}. \]

Norm identity. By Exercise 4.14 (eigenvalues of a dilation are \(\pm\) the singular values), \[ \Big\|\sum_{i=1}^NH_i\Big\| = \Big\|\mathcal{D}\Big(\sum_i\varepsilon_iA_i\Big)\Big\| = \Big\|\sum_{i=1}^N\varepsilon_iA_i\Big\| . \tag{1} \]

Variance identity. As computed in Step 1.3 of Exercise 5.23 (there for expectations, here identically for fixed matrices): \[ \sum_{i=1}^NB_i^2 = \sum_i\mathcal{D}(A_i)^2 = \begin{pmatrix} \sum_iA_iA_i^T & 0 \\ 0 & \sum_iA_i^TA_i \end{pmatrix}, \qquad \Big\|\sum_iB_i^2\Big\| = \max\Big(\Big\|\sum_iA_iA_i^T\Big\|,\ \Big\|\sum_iA_i^TA_i\Big\|\Big) = \sigma^2 . \tag{2} \]

Apply the symmetric matrix Khintchine inequality. Theorem 5.4.14 applied to the Rademacher sum \(\sum_i\varepsilon_iB_i\) of fixed symmetric \((m+n)\times(m+n)\) matrices gives, for every \(p \ge 1\), \[ \Big(\mathbb{E}\Big\|\sum_{i=1}^N\varepsilon_iB_i\Big\|^p\Big)^{1/p} \ \le\ C\,\Big\|\sum_iB_i^2\Big\|^{1/2}\,\big(p + \log(m+n)\big)^{1/2}. \] Combining with the identities (1) and (2): \[ \Big(\mathbb{E}\Big\|\sum_{i=1}^N\varepsilon_iA_i\Big\|^{p}\Big)^{1/p} \ \le\ C\,\sigma\,\big(p + \log(m+n)\big)^{1/2}, \] as claimed. \(\blacksquare\)

Remark. The effective dimension entering the bound is \(m + n\) — the size of the dilation — which is unavoidable in general: already for \(m\times 1\) matrices (column vectors) the problem contains the \(n\)-dimensional Khintchine inequality as the case of diagonal blocks.

Exercise 5.25 (KKK) (Stochastic block model without loops)

注记Stem (abridged)

Definition 4.5.1 of the stochastic block model \(G(n,p,q)\) allows loops (every vertex connects to itself with probability \(p\)). Modify the definition to disallow loops, then prove a version of Theorem 5.5.1 under this adjustment.

提示Solution

Modified model. Split \(n\) vertices (even \(n\)) into two communities \(C_1, C_2\) of size \(n/2\). For distinct vertices \(i \ne j\), connect \(i\) and \(j\) independently with probability \(p\) if they lie in the same community and \(q\) if they lie in different communities; set \(A_{ii} = 0\) for all \(i\) (no loops). Denote the model still by \(G(n,p,q)\), \(p = a/n\), \(q = b/n\).

Claim. Theorem 5.5.1 holds verbatim: if \(b < a < 3b\) and \((a-b)^2 \ge Ca\log n\) (with \(C\) sufficiently large), then with probability at least \(0.99\) the spectral clustering algorithm (Section 4.5.5) identifies the communities with \(99\%\) accuracy.

Throughout, \(u \in \mathbb{R}^n\) denotes the community vector: \(u_i = +1\) on \(C_1\), \(-1\) on \(C_2\), and \(\mathbf{1}\) the all-ones vector; note \(u \perp \mathbf{1}\) and \(\|u\|_2 = \sqrt n\).

Step 1: the expected adjacency matrix. With loops, Section 4.5.2 gives \(D = \frac{p+q}{2}\mathbf{1}\mathbf{1}^T + \frac{p-q}{2}uu^T\) (check: same community, \(i\ne j\): \(\frac{p+q}{2} + \frac{p-q}{2} = p\); different: \(\frac{p+q}{2}-\frac{p-q}{2} = q\); diagonal: \(p\)). Without loops the diagonal becomes \(0\) instead of \(p\), i.e. \[ D' = \mathbb{E}A = D - pI_n = \frac{p+q}{2}\mathbf{1}\mathbf{1}^T + \frac{p-q}{2}uu^T - pI_n . \] Both \(\mathbf 1\) and \(u\) are still eigenvectors, and on \(\mathrm{span}\{\mathbf 1, u\}^\perp\) the matrix \(D'\) equals \(-pI_n\): \[ \lambda_1' = \frac{n}{2}(p+q) - p, \qquad \lambda_2' = \frac{n}{2}(p-q) - p = \frac{a-b}{2} - \frac{a}{n}, \qquad \lambda_3' = \cdots = \lambda_n' = -p . \] In particular \(u_2(D') = u/\sqrt n\) still carries the community membership (independent of the diagonal shift, since \(u\) is an eigenvector of \(I_n\)).

Step 2: the spectral gap. The relevant separation for Davis–Kahan at the second eigenvector is \[ \delta' := \min\big(\lambda_2' - \lambda_3',\ \lambda_1' - \lambda_2'\big) = \min\Big(\frac{a-b}{2},\ nq\Big) = \min\Big(\frac{a-b}{2},\ b\Big) = \frac{a-b}{2}, \] using \(a \le 3b \iff a - b \le 2b\). So the gap is exactly the same as with loops (\(\delta = (a-b)/2\) in Section 5.5).

Step 3: the random part. Decompose \(A = D' + R'\) with \(R' = A - \mathbb{E}A\). Entrywise, \(R'_{ij} = A_{ij} - \mathbb{E}A_{ij}\) for \(i \ne j\) are independent mean-zero, bounded by \(1\) in absolute value, and the diagonal vanishes: \(R'_{ii} = 0 - 0 = 0\). Thus (with the notation of Section 5.5) \[ R' = \sum_{i<j} R'_{ij}\big(e_ie_j^T + e_je_i^T\big), \] a sum of independent mean-zero symmetric matrices \(Z_{ij}\) with \(\|Z_{ij}\| \le 1\) (now with no diagonal terms). The variance is diagonal: \[ \sigma^2 = \Big\|\mathbb{E}\sum_{i<j}Z_{ij}^2\Big\| = \max_{i=1,\ldots,n}\ \sum_{j\ne i}\mathbb{E}(R'_{ij})^2 \le (n-1)p \le np = a, \] using \(\mathbb{E}(R'_{ij})^2 = \mathrm{Var}(A_{ij}) \le p\) (as \(p > q\)) and the norm of a diagonal matrix being its largest entry. (Loops only ever contributed to this diagonal, so removing them can only shrink \(\sigma^2\).) By the expectation bound (5.17) of matrix Bernstein and Markov’s inequality, as in (5.18)–(5.19): \[ \mathbb{P}\Big\{\|R'\| \le C\sqrt{a\log n}\Big\} \ \ge\ 0.99 . \tag{3} \] (Here we also used \(a \gtrsim \log n\), which follows from \((a-b)^2 \ge Ca\log n\) and \(a - b \le \frac23 a\), i.e. \(b > a/3\).)

Step 4: Davis–Kahan. Apply Theorem 4.1.15 in the form of Exercise 4.16 to the pair \(D', A = D' + R'\) at the second eigenvalue, with gap \(\delta' = (a-b)/2\): on the event (3), for some \(\theta \in \{-1, 1\}\), \[ \big\|\bar u_2(D') - \theta\,\bar u_2(A)\big\|_2 \ \le\ \frac{2\|R'\|}{\delta'} \ \le\ \frac{C_1\sqrt{a\log n}}{a-b} \ <\ \frac{1}{10}, \] provided \(C\) in the assumption \((a-b)^2 \ge Ca\log n\) is chosen large enough. Multiplying by \(\sqrt n\) (unit eigenvectors \(\bar u_2 = u_2/\sqrt n\)): \[ \big\|u_2(D') - \theta\,u_2(A)\big\|_2 \ \lesssim\ \frac{\sqrt n}{10}, \qquad u_2(D') = u . \]

Step 5: accuracy of spectral clustering. The algorithm of Section 4.5.5 computes \(u_2(A)\) and classifies by the signs of its coefficients; this never consults the diagonal of \(A\), so it is unchanged in the loopless model. Since all coefficients of \(u_2(D') = u\) equal \(\pm 1\) and identify community membership, and \(\|u - \theta u_2(A)\|_2 < \sqrt n/10\), at least \(99\%\) of the coefficients of \(\theta\,u_2(A)\) have the same sign as the corresponding coefficients of \(u\) (if \(k\) coefficients flipped sign, the squared distance would be \(\ge 4k\), forcing \(k \le n/100\)). Hence spectral clustering misclassifies at most \(0.01n\) vertices.

Combining Steps 3–5: with probability \(\ge 0.99\) the algorithm achieves \(99\%\) accuracy. \(\blacksquare\)

Remark (on the hint’s route). The hint suggests isolating the diagonal matrix contributed by the loops. Equivalently: loopless \(A = A_{\mathrm{loops}} - \mathrm{diag}(A_{\mathrm{loops}})\), so \(R' = R + \big(pI_n - \mathrm{diag}(A)\big)\), and the correction is a diagonal matrix with entries in \(\{p-1, p\}\), of norm \(\le 1\) — negligible next to (3). The direct computation above shows the correction is even cleaner: the diagonal of \(R'\) vanishes identically.

Exercise 5.26 (KK) (Covariance estimation: a high-probability guarantee)

注记Stem (abridged)

Prove the high-probability version of the covariance estimation result stated in Remark 5.6.5: under the assumptions of Theorem 5.6.1, for any \(u \ge 0\), \[ \|\Sigma_m - \Sigma\| \ \le\ C\Big(\sqrt{\frac{K^2 r(\log n + u)}{m}} + \frac{K^2 r(\log n + u)}{m}\Big)\,\|\Sigma\| \qquad \text{with probability} \ge 1 - 2e^{-u}, \] where \(r = \mathrm{tr}(\Sigma)/\|\Sigma\| \le n\) is the effective rank. (This is (5.28).)

提示Solution

The proof runs the high-probability (rather than expectation) form of matrix Bernstein through the argument of Theorem 5.6.1. Let \(X_1, \ldots, X_m\) be i.i.d. copies of \(X\), and \[ \Sigma_m - \Sigma = \frac1m\sum_{i=1}^m Y_i, \qquad Y_i := X_iX_i^T - \Sigma . \] The \(Y_i\) are i.i.d., mean-zero, symmetric \(n\times n\).

Step 1: variance and uniform bound (as in Theorem 5.6.1). By (5.23) and the boundedness assumption in the form (5.21), \(\|X\|_2^2 \le K^2\,\mathrm{tr}(\Sigma)\) a.s.: \[ \mathbb{E}Y^2 = \mathbb{E}(XX^T)^2 - \Sigma^2 \ \preceq\ \mathbb{E}(XX^T)^2 = \mathbb{E}\big[\|X\|_2^2\,XX^T\big] \ \preceq\ K^2\mathrm{tr}(\Sigma)\,\Sigma, \] so the matrix variance of the sum is \[ \sigma_m^2 := \Big\|\sum_{i=1}^m\mathbb{E}Y_i^2\Big\| = m\,\|\mathbb{E}Y^2\| \le m K^2\,\mathrm{tr}(\Sigma)\,\|\Sigma\| . \tag{1} \] For the uniform bound, by the triangle inequality and (5.21), \[ \|Y_i\| = \|X_iX_i^T - \Sigma\| \le \|X_i\|_2^2 + \|\Sigma\| \le K^2\mathrm{tr}(\Sigma) + \|\Sigma\| \le 2K^2\mathrm{tr}(\Sigma) =: M . \tag{2} \]

Step 2: the high-probability tail. Theorem 5.4.1 applied to \(Y_1, \ldots, Y_m\) gives, for every \(t \ge 0\), \[ \mathbb{P}\Big\{\big\|\textstyle\sum_iY_i\big\| \ge t\Big\} \le 2n\exp\Big(-\frac{t^2/2}{\sigma_m^2 + Mt/3}\Big). \] Choose \[ t := \sqrt{2(\log 2n + u)\,\sigma_m^2}\ +\ \frac{2}{3}(\log 2n + u)\,M . \] Since \(t = A + B\) with \(A^2 = 2L\sigma_m^2\) and \(B = \tfrac23 LM\) where \(L := \log(2n) + u\), we have \(t^2 \ge A^2 = 2L\sigma_m^2\) and \(t \ge B = \tfrac{2}{3}LM \ge \tfrac13 LM \cdot 2\), so \[ \frac{t^2/2}{\sigma_m^2 + Mt/3} \ \ge\ \min\Big(\frac{t^2}{4\sigma_m^2},\ \frac{3t}{4M}\Big) \ \ge\ \min\Big(\frac{L}{2},\ \frac{L}{2}\Big) = \frac{L}{2} \ \ge\ \frac{\log(2n) + u}{2}. \] Hence \(\mathbb{P}\{\|\sum_iY_i\| \ge t\} \le 2n\,e^{-(\log(2n)+u)/2} = 2n\,(2n)^{-1/2}\,e^{-u/2} \le 2\,e^{-u/2} \le 2e^{-u}\) for \(u \ge 0\). (If the constants in the \(\min\)-step are tightened, replace \(L\) by \(2L\) throughout; this only changes absolute constants.)

Step 3: convert to \(\|\Sigma_m - \Sigma\|\). With probability at least \(1 - 2e^{-u}\), \[ \|\Sigma_m - \Sigma\| = \frac1m\Big\|\sum_iY_i\Big\| \le \frac{\sqrt{L\,\sigma_m^2}}{m} + C\,\frac{LM}{m}. \] Substituting (1) and (2), and using \(\mathrm{tr}(\Sigma) = r\|\Sigma\|\): \[ \frac{\sqrt{L\,mK^2\,\mathrm{tr}(\Sigma)\|\Sigma\|}}{m} = \sqrt{\frac{K^2r(\log n + u)}{m}}\;\|\Sigma\|, \qquad \frac{L\cdot 2K^2\mathrm{tr}(\Sigma)}{m} = \frac{2K^2 r(\log n+u)}{m}\,\|\Sigma\|. \] Therefore \[ \|\Sigma_m - \Sigma\| \ \le\ C\Big(\sqrt{\frac{K^2 r(\log n + u)}{m}} + \frac{K^2 r(\log n + u)}{m}\Big)\|\Sigma\| \qquad \text{w.p.} \ge 1 - 2e^{-u}, \] which is (5.28). \(\blacksquare\)

Remark. Integrating (5.28) in \(u\) (or taking \(u = O(1)\)) recovers the expectation bound (5.27), and choosing \(u = \log(1/\delta)\) gives sample complexity \(m \asymp \varepsilon^{-2}K^2r\log(n/\delta)\) for relative error \(\varepsilon\) with confidence \(1-\delta\).

Exercise 5.27 (KK) (Covariance estimation: the boundedness assumption)

注记Stem (abridged)

Show that the boundedness assumption (5.20) cannot be dropped from Theorem 5.6.1 in general. (See Remark 5.6.6.)

提示Solution

We formalize the intuition of Remark 5.6.6: an isotropic distribution that equals zero with high probability makes the all-zero sample a likely event, on which the sample covariance vanishes.

Construction. Fix any target sample size \(m\) and any dimension \(n \ge 1\). Let \(\delta := \frac{1}{20m}\), and let \(X\) be the random vector in \(\mathbb{R}^n\) defined by: - with probability \(1 - \delta\): \(X = 0\); - with probability \(\delta\): \(X = \sqrt{n/\delta}\cdot s\,e_J\), where \(s\) is a random sign and \(J\) a random index, all independent.

Isotropy. Conditionally on being nonzero, \(X\) has second moment \(\mathbb{E}[XX^T \mid X \ne 0] = \frac{n}{\delta}\cdot\frac1n I_n = \frac{1}{\delta}I_n\) (averaging \(s^2e_Je_J^T\) over \(J\) and \(s\)). Hence \[ \Sigma = \mathbb{E}XX^T = (1-\delta)\cdot 0 + \delta\cdot\frac1\delta I_n = I_n : \] \(X\) is isotropic, \(\|\Sigma\| = 1\), \(\mathrm{tr}(\Sigma) = n\).

Failure of estimation. Let \(X_1, \ldots, X_m\) be i.i.d. copies. By independence, \[ \mathbb{P}\{X_1 = \cdots = X_m = 0\} = (1 - \delta)^m \ \ge\ 1 - m\delta = 1 - \tfrac{1}{20} = 0.95 . \] On this event the sample covariance is \(\Sigma_m = 0\), so \[ \|\Sigma_m - \Sigma\| = \|I_n\| = 1 = \|\Sigma\| . \] Consequently \(\mathbb{E}\|\Sigma_m - \Sigma\| \ge 0.95\,\|\Sigma\|\): relative covariance estimation with any constant error \(\varepsilon < 0.95\) fails, for every sample size \(m\) (the distribution depends on \(m\), which is legitimate — Theorem 5.6.1 makes no distributional assumption beyond (5.20)).

The boundedness assumption (5.20) fails, and must. Here \(\mathbb{E}\|X\|_2^2 = n\) while \(\|X\|_2^2 = n/\delta = 20mn\) on the nonzero event, so (5.20) would require a constant \(K \ge \sqrt{20m}\), i.e. no fixed \(K\) works as \(m \to \infty\). This shows that some tightness control such as (5.20) is genuinely necessary for any nonasymptotic bound of the form (5.24) that is uniform over distributions; it can be relaxed by truncation (Exercise 6.34), but not removed. \(\blacksquare\)

Exercise 5.28 (KKK) (Logarithmic factor in covariance estimation and matrix Bernstein inequality)

注记Stem (abridged)
  1. Give an example of a distribution where the covariance estimation bound \(\|\Sigma_m - \Sigma\| < \|\Sigma\|\) fails with high probability unless \(m \gtrsim n\log n\).
  2. Conclude that the logarithmic factors in the matrix Bernstein inequality (5.17) cannot be dropped.
提示Solution

(a). Coordinate distribution (coupon collector). Following the hint, let \(X\) be uniform on \(\{\sqrt n\,e_1, \ldots, \sqrt n\,e_n\}\). Then \(\Sigma = \mathbb{E}XX^T = I_n\), so \(\|\Sigma\| = 1\), and \(X\) is isotropic; note also that (5.20) holds with \(K = 1\): \(\|X\|_2 = \sqrt n = (\mathbb{E}\|X\|_2^2)^{1/2}\) almost surely. So this distribution is within the scope of Theorem 5.6.1.

Let \(X_1, \ldots, X_m\) be i.i.d. copies and let \(N_j := \#\{i : X_i = \sqrt n\,e_j\}\) be the occupancy counts, a multinomial with \(m\) trials and cell probabilities \(1/n\). The sample covariance is diagonal: \[ \Sigma_m = \frac1m\sum_{i=1}^mX_iX_i^T = \mathrm{diag}\Big(\frac{nN_1}{m}, \ldots, \frac{nN_n}{m}\Big). \] If some coordinate is never sampled (\(N_j = 0\)), the corresponding diagonal entry of \(\Sigma_m\) is \(0\) while \((\Sigma)_{jj} = 1\), so \(\|\Sigma_m - \Sigma\| \ge 1 = \|\Sigma\|\): the bound \(\|\Sigma_m - \Sigma\| < \|\Sigma\|\) fails.

The empty-box phenomenon. Let \(Z := \#\{j : N_j = 0\}\) and \(q := \mathbb{P}\{N_1 = 0\} = (1 - \tfrac1n)^m\). Then \(\mathbb{E}Z = nq\), and for \(m \le \frac{n\ln n}{99}\) (and \(n \ge 2\)), \[ q = \Big(1 - \frac1n\Big)^m \ge e^{-m/(n-1)} \ge e^{-\frac{2\ln n}{99}} \ge n^{-1/49}, \qquad\text{so}\qquad \mathbb{E}Z \ \ge\ n^{48/49} \to \infty . \] Moreover the indicators \(\mathbf 1\{N_j = 0\}\) are negatively correlated: \(\mathbb{P}\{N_j = 0,\ N_k = 0\} = (1 - \tfrac2n)^m \le (1 - \tfrac1n)^{2m}\), since \(1 - \tfrac2n \le (1-\tfrac1n)^2\). Hence \[ \mathrm{Var}\,Z \ \le\ \sum_{j=1}^n \mathrm{Var}\,\mathbf 1\{N_j = 0\} \ \le\ \sum_j \mathbb{P}\{N_j = 0\} = \mathbb{E}Z, \] and Chebyshev’s inequality gives \[ \mathbb{P}\{Z = 0\} \ \le\ \mathbb{P}\{|Z - \mathbb{E}Z| \ge \mathbb{E}Z\} \ \le\ \frac{\mathrm{Var}Z}{(\mathbb{E}Z)^2} \ \le\ \frac{1}{\mathbb{E}Z} \ \le\ n^{-48/49} \ \le\ \frac{1}{10} \] for \(n\) large. Therefore, for all \(m \le cn\log n\) (with \(c = 1/99\)), \[ \mathbb{P}\big\{\|\Sigma_m - \Sigma\| \ \ge\ \|\Sigma\|\big\} \ \ge\ \mathbb{P}\{Z \ge 1\} \ \ge\ 1 - n^{-48/49} \ \to\ 1 : \] covariance estimation fails with high probability unless \(m \gtrsim n\log n\). (The \(\log n\) is the price of the coupon collector: to see every one of \(n\) directions at least once takes about \(n\log n\) samples.) \(\blacksquare\)

(b). Suppose, for contradiction, that the logarithmic factors in (5.17) could be removed, i.e. that for some absolute \(C_0\), \[ \mathbb{E}\Big\|\sum_{i=1}^NX_i\Big\| \ \le\ C_0\Big(\Big\|\sum_{i=1}^N\mathbb{E}X_i^2\Big\|^{1/2} + K\Big) \tag{\dagger} \] held for all \(n\) and all independent, mean-zero, symmetric, \(K\)-bounded random matrices (in place of (5.17) with its \(\sqrt{\log(2n)}\) and \(\log(2n)\) factors).

Apply \((\dagger)\) to the covariance-estimation summands of part (a): \(X_i := X_iX_i^T - I_n\) (mean-zero, symmetric, and bounded by \(K = n + 1\) since \(\|XX^T\| = \|X\|_2^2 = n\)). As computed inside Theorem 5.6.1 (chain (5.23) with \(K_{\mathrm{Thm}} = 1\), \(\mathrm{tr}\,\Sigma = n\), \(\|\Sigma\| = 1\)): \[ \Big\|\sum_{i=1}^m\mathbb{E}Y_i^2\Big\| \le m\,\|\mathbb{E}(XX^T)^2\| = m\,\|n\,I_n\| = mn . \] So \((\dagger)\) and \(\Sigma_m - \Sigma = \frac1m\sum_iY_i\) give \[ \mathbb{E}\|\Sigma_m - \Sigma\| \ \le\ \frac{C_0}{m}\big(\sqrt{mn} + n + 1\big) \ \le\ C_0\Big(\sqrt{\frac nm} + \frac{2n}{m}\Big). \] Choose \(m := 100C_0^2\,n\) (which satisfies \(m \ge Cn\), so the right side is \(\le \frac1{10} + \frac{1}{50C_0} \le \frac15\)). On the other hand, provided \(n\) is large enough that \(m = 100C_0^2n \le \frac{n\ln n}{99}\) — i.e. \(\ln n \ge 9900C_0^2\) — part (a) applies to this \(m\) and yields \[ \mathbb{P}\{\|\Sigma_m - \Sigma\| \ge 1\} \ \ge\ 1 - n^{-48/49} \ \ge\ \frac{9}{10} \qquad\Longrightarrow\qquad \mathbb{E}\|\Sigma_m - \Sigma\| \ \ge\ \frac{9}{10}, \] contradicting \(\mathbb{E}\|\Sigma_m-\Sigma\| \le \tfrac15\). Hence \((\dagger)\) is false: some logarithmic factor in \(n\) is necessary in the matrix Bernstein expectation bound (5.17), and consequently in the high-probability version (which would otherwise integrate to a logarithm-free expectation bound). \(\blacksquare\)

Remark. The example shows the precise culprit: for heavy-tailed summands (here rank-one, \(K \sim n\)), the top eigenvalue has Gumbel-type fluctuations of order \(\sqrt{n\log n}\) — the maximum of \(n\) roughly exponential variables — which no dimension-free bound can capture.

Exercise 5.29 (KK) (Effective rank)

注记Stem (abridged)

For an \(n\times n\) symmetric positive-semidefinite matrix \(\Sigma \ne 0\), define \(r(\Sigma) = \mathrm{tr}(\Sigma)/\|\Sigma\|\). (a) Show \(1 \le r(\Sigma) \le \mathrm{rank}(\Sigma) \le n\). (b) Show this is optimal: full-rank matrices can have effective rank arbitrarily close to one. (c) Show that, unlike the algebraic rank, the effective rank is a continuous function of the matrix (e.g. in operator norm). (d) Show that if \(X\) takes values in a \(k\)-dimensional subspace of \(\mathbb{R}^n\), then \(\Sigma = \mathbb{E}XX^T\) has \(\mathrm{rank}(\Sigma) \le k\), hence \(r(\Sigma) \le k\).

提示Solution

Write the eigenvalues of \(\Sigma \succeq 0\) as \(\lambda_1 \ge \lambda_2 \ge \cdots \ge \lambda_n \ge 0\), so \(\|\Sigma\| = \lambda_1\), \(\mathrm{tr}(\Sigma) = \sum_i\lambda_i\), and \(\mathrm{rank}(\Sigma) = \#\{i : \lambda_i > 0\}\).

(a). Lower bound. Since \(\Sigma \ne 0\), \(\lambda_1 > 0\), and \[ r(\Sigma) = \frac{\lambda_1 + \cdots + \lambda_n}{\lambda_1} \ \ge\ \frac{\lambda_1}{\lambda_1} = 1 . \] Upper bound. Each nonzero eigenvalue satisfies \(0 < \lambda_i \le \lambda_1\), so \[ \mathrm{tr}(\Sigma) = \sum_{\lambda_i > 0}\lambda_i \ \le\ \mathrm{rank}(\Sigma)\cdot\lambda_1 \qquad\Longrightarrow\qquad r(\Sigma) \le \mathrm{rank}(\Sigma), \] and \(\mathrm{rank}(\Sigma) \le n\) trivially. (Equivalently, \(r(\Sigma) = \big(\sum_i\lambda_i\big)/\max_i\lambda_i\) — the “number of eigenvalues that matter”, cf. Remark 5.6.4.)

(b). Take \(\Sigma_\varepsilon := \mathrm{diag}(1, \varepsilon, \ldots, \varepsilon)\) for \(\varepsilon \in (0, 1)\). All eigenvalues are positive, so \(\mathrm{rank}(\Sigma_\varepsilon) = n\), while \[ r(\Sigma_\varepsilon) = \frac{1 + (n-1)\varepsilon}{1} = 1 + (n-1)\varepsilon \ \longrightarrow\ 1 \quad \text{as } \varepsilon \to 0^+ . \] So the effective rank can be arbitrarily close to \(1\) even at full rank. (Conversely, by (a) the extreme \(r = n\) is attained exactly at multiples of the identity, \(r(I_n) = n\); both endpoints of the inequality in (a) are thus sharp.)

(c). Both ingredients are continuous: the trace, because by the Weyl inequality each eigenvalue is 1-Lipschitz in the operator norm, \[ \big|\mathrm{tr}\,A - \mathrm{tr}\,B\big| \ \le\ \sum_i\big|\lambda_i(A) - \lambda_i(B)\big| \ \le\ n\|A - B\| \qquad (A, B \ \text{symmetric}), \] and the norm, because \(|\,\|A\| - \|B\|\,| \le \|A - B\|\). Hence, on the open set where the denominator does not vanish, \(r\) is a ratio of continuous functions with nonvanishing denominator: \[ \big|r(A) - r(B)\big| = \frac{\big|\mathrm{tr}A\cdot\|B\| - \mathrm{tr}B\cdot\|A\|\big|}{\|A\|\,\|B\|} \ \le\ \frac{n\|A-B\|\,\|B\| + \mathrm{tr}(A)\,\|A-B\|}{\|A\|\,\|B\|} . \] Fix \(B \succeq 0\) with \(\|B\| > 0\) and restrict to \(\|A - B\| \le \tfrac12\|B\|\), \(A \succeq 0\); then \(\|A\| \ge \tfrac12\|B\|\) and \(\mathrm{tr}(A) \le \mathrm{tr}(B) + n\|A-B\| \le \mathrm{tr}(B) + n\|B\|/2\), so \[ \big|r(A) - r(B)\big| \ \le\ \frac{2n\|A-B\|}{\|B\|} + \Big(\frac{\mathrm{tr}(B)}{\|B\|} + \frac n2\Big)\cdot\frac{2\|A-B\|}{\|B\|} \ \le\ \frac{C(B)\,\|A-B\|}{\|B\|} \ \to\ 0 . \] So \(r\) is (locally Lipschitz, hence) continuous at every nonzero PSD matrix, in the operator norm. This contrasts with the algebraic rank, which jumps discontinuously (e.g. \(\mathrm{rank}(\mathrm{diag}(1, \varepsilon)) = 2\) for \(\varepsilon > 0\) but \(=1\) at \(\varepsilon = 0\)). Note \(r\) is scale-invariant, \(r(t\Sigma) = r(\Sigma)\) for \(t > 0\), and cannot be extended continuously to \(\Sigma = 0\), since different directions of approach give different limits.

(d). Let \(E \subseteq \mathbb{R}^n\) be the \(k\)-dimensional subspace containing \(X\) a.s., and let \(P_E\) be the orthogonal projection onto \(E\). For any \(x \in E^\perp\), \(\langle X, x\rangle = 0\) a.s., hence \[ x^T\Sigma x = \mathbb{E}\langle X, x\rangle^2 = 0 . \] Since \(\Sigma \succeq 0\), the vanishing of the quadratic form forces \(\Sigma x = 0\) (indeed \(\Sigma^{1/2}x = 0\) because \(\|\Sigma^{1/2}x\|_2^2 = x^T\Sigma x = 0\)). Therefore \(E^\perp \subseteq \ker\Sigma\), so \(\mathrm{rank}(\Sigma) \le n - \dim E^\perp = k\), and by part (a), \(r(\Sigma) \le k\). (In other words: the effective rank also sees approximate low-dimensionality — \(r\) is small whenever the spectrum is dominated by few directions, cf. Remark 5.6.3.) \(\blacksquare\)

Exercise 5.30 (KK) (Sampling from frames)

注记Stem (abridged)

Consider an equal-norm Parseval frame \((u_1, \ldots, u_M)\) in \(\mathbb{R}^n\) (footnote: \(\|u_i\|_2 = \|u_j\|_2\) for all \(i, j\)). Show that, with high probability, a random sample of \(m \gtrsim n\log n\) frame elements still forms an “approximate” frame (formalize this notion).

提示Solution

Setup and formalization. Since \(\sum_{i=1}^Mu_iu_i^T = I_n\) (Parseval; Proposition 3.3.11(iii)) and the frame is equal-norm, taking traces gives \(M\|u_1\|_2^2 = \mathrm{tr}(I_n) = n\), i.e. \(\|u_i\|_2^2 = n/M\) for all \(i\).

Formalize “random sample” as sampling indices \(J_1, \ldots, J_m\) i.i.d. uniform in \(\{1, \ldots, M\}\) (with replacement). Define the sampled frame operator \[ T := \sum_{j=1}^m u_{J_j}u_{J_j}^T, \qquad\text{so that}\qquad \mathbb{E}\,T = m\cdot\frac1M\sum_{i=1}^Mu_iu_i^T = \frac{m}{M}\,I_n . \] We shall prove: for every \(u \ge 0\), with probability at least \(1 - 2e^{-u}\), \[ \Big(1 - \varepsilon\Big)\frac{m}{M}\,I_n \ \preceq\ T\ \preceq\ \Big(1+\varepsilon\Big)\frac{m}{M}\,I_n, \qquad \varepsilon := C\Big(\sqrt{\frac{n(\log n + u)}{m}} + \frac{n(\log n + u)}{m}\Big), \tag{*} \] so that, once \(m \ge C\varepsilon^{-2}n(\log n + u)\), the rescaled sample \(\big(\sqrt{M/m}\;u_{J_j}\big)_{j\le m}\) is an \(\varepsilon\)-approximate Parseval frame in the sense that \[ (1-\varepsilon)\|x\|_2^2 \ \le\ \frac Mm\sum_{j=1}^m\langle u_{J_j}, x\rangle^2 \ \le\ (1+\varepsilon)\|x\|_2^2 \qquad \text{for all } x\in\mathbb{R}^n , \] with both frame bounds \((1\pm\varepsilon)\frac{m}{M}\) for \(T\) itself — a stable, nearly tight frame (this is the natural formalization: the sampled and rescaled system almost satisfies the Parseval identity of Proposition 3.3.11(i)).

Reduction to covariance estimation (following the hint). Consider the isotropic random vector \[ X \sim \mathrm{Unif}\big\{\sqrt{M}\,u_1, \ldots, \sqrt{M}\,u_M\big\}, \] which is isotropic by Proposition 3.3.11(iv). Its second-moment matrix and its sample version from \(m\) i.i.d. copies \(X_1, \ldots, X_m\) are \[ \Sigma = \mathbb{E}XX^T = \frac1M\sum_i\big(Mu_iu_i^T\big) = I_n, \qquad \Sigma_m = \frac1m\sum_{j=1}^mX_jX_j^T = \frac Mm\,T . \] The boundedness assumption (5.20) holds with \(K = 1\) — in fact with equality: \[ \|X\|_2 = \sqrt M\,\|u_J\|_2 = \sqrt M\cdot\sqrt{\frac nM} = \sqrt n = \big(\mathbb{E}\|X\|_2^2\big)^{1/2} \quad \text{a.s.}, \] and the effective rank of \(\Sigma = I_n\) is \(r = \mathrm{tr}(I_n)/\|I_n\| = n\).

Apply (5.28) (Exercise 5.26). With probability at least \(1 - 2e^{-u}\), \[ \Big\|\frac Mm\,T - I_n\Big\| = \|\Sigma_m - \Sigma\| \ \le\ C\Big(\sqrt{\frac{n(\log n + u)}{m}} + \frac{n(\log n + u)}{m}\Big) = \varepsilon , \] which is exactly \((*)\) in operator-norm form (via (5.12): \(\|Y\| \le \varepsilon \iff -\varepsilon I \preceq Y \preceq \varepsilon I\)). \(\blacksquare\)

Remark. The \(\log n\) oversampling is unavoidable for i.i.d. sampling of an exact tight frame: it is the same coupon-collector effect as in Exercise 5.28 — until every frame direction is sampled at least once, \(T\) has a nontrivial kernel (if the frame contains \(n\) orthonormal vectors, some direction is missed with high probability unless \(m \gtrsim n\log n\)). Sampling without replacement can be handled by a version of the bounded-differences/matrix Bernstein argument for negatively associated selectors, with the same \(n\log n\) scale.

Exercise 5.31 (KKK) (Random matrices with general independent rows)

注记Stem (abridged)

Let \(A\) be an \(m\times n\) random matrix with independent, isotropic rows \(A_i\) (not necessarily identically distributed), such that \(\|A_i\|_2 \le K\sqrt n\) a.s. Prove that for every \(t\ge 1\), \[ \sqrt m - Kt\sqrt{n\log n} \ \le\ s_n(A) \ \le\ s_1(A) \ \le\ \sqrt m + Kt\sqrt{n\log n} \] with probability at least \(1 - 2n^{-ct^2}\).

提示Solution

Note first that \(K \ge 1\) automatically: isotropy gives \(\mathbb{E}\|A_i\|_2^2 = \mathrm{tr}(I_n) = n\), while \(\|A_i\|_2^2 \le K^2n\) a.s.

Step 1: high-probability bound on \(\frac1mA^TA - I_n\) (following the hint). The rows need not be identically distributed, so instead of (5.28) for i.i.d. copies we run its proof with matrix Bernstein (Theorem 5.4.1), which does not require identical distributions. Set \[ Y_i := A_iA_i^T - I_n \qquad (i = 1, \ldots, m), \] independent, mean-zero (isotropy: \(\mathbb{E}A_iA_i^T = I_n\)), symmetric, and \[ \|Y_i\| \le \|A_i\|_2^2 + 1 \le K^2n + 1 \le 2K^2n =: M, \tag{1} \] using \(K\ge1\), \(n \ge 1\). For the variance, exactly as in (5.23): \[ \mathbb{E}Y_i^2 \preceq \mathbb{E}\big(A_iA_i^T\big)^2 = \mathbb{E}\big[\|A_i\|_2^2\,A_iA_i^T\big] \preceq K^2n\,\mathbb{E}A_iA_i^T = K^2n\,I_n , \] so \(\sigma^2 := \|\sum_i\mathbb{E}Y_i^2\| \le mK^2n\). Now Theorem 5.4.1 and \(\frac{a+b}{1}\le 2\max(a,b)\) give, for any \(\tau \ge 0\), \[ \mathbb{P}\Big\{\Big\|\frac{1}{m}\sum_iY_i\Big\| > \tau\Big\} \ \le\ 2n\exp\Big(-c\,\min\Big(\frac{\tau^2m}{K^2n},\ \frac{\tau m}{K^2n}\Big)\Big). \tag{2} \] Choose (with \(L := t^2\log n \ge \log n\), using \(t \ge 1\)) \[ \tau := C_0\Big(\frac{K\,t\sqrt{n\log n}}{\sqrt m} + \frac{K^2\,t^2n\log n}{m}\Big) = C_0\Big(\frac{K\sqrt{L\,n}}{\sqrt m} + \frac{K^2Ln}{m}\Big). \] Check the two regimes (write \(\tau = \tau_1 + \tau_2\)): \[ \frac{\tau_1^2m}{K^2n} = C_0^2L, \qquad \frac{\tau_1\tau_2 m}{K^2 n} = C_0^2L\sqrt{\frac{Ln}{m}}, \qquad \frac{\tau_2m}{K^2n} = C_0^2L ; \] since \(\min(a+b, \cdot)\) is handled via \(\min(x,y) \ge \min(x', y')\) when \(x \ge x'\), \(y \ge y'\), and \(\tau^2 \ge \tau_1^2\), \(\tau \ge \tau_2\), the exponent in (2) is at least \(cC_0^2L = cC_0^2t^2\log n\). With \(C_0\) large, \(2ne^{-cC_0^2t^2\log n} \le 2n^{-c't^2}\). Hence with probability \(\ge 1 - 2n^{-c't^2}\): \[ \Big\|\frac1mA^TA - I_n\Big\| \ \le\ \delta := C\Big(\frac{Kt\sqrt{n\log n}}{\sqrt m} + \frac{K^2t^2n\log n}{m}\Big). \tag{3} \]

Step 2: from operator closeness to singular values. The squared singular values of \(A\) are the eigenvalues of \(A^TA\), so by eigenvalue monotonicity (Proposition 5.4.4(i)), \[ m(1 - \delta) \ \le\ s_n(A)^2 \ \le\ s_1(A)^2 \ \le\ m(1+\delta) . \tag{4} \] Indeed, \(\frac1mA^TA \preceq (1+\delta)I_n\) upper-bounds every eigenvalue, and \(\succeq (1-\delta)I_n\) lower-bounds the smallest. Also \(s_1(A)^2 \le m + \|A^TA - mI\| \le m(1+\delta)\) directly.

Upper bound for \(s_1\). From (4), \(s_1(A) \le \sqrt{m(1+\delta)}\).

  • If \(m \ge K^2t^2n\log n\): then \(\delta \le 2C\,\frac{Kt\sqrt{n\log n}}{\sqrt m} =: \delta_1\), and using \(\sqrt{1+x} \le 1 + x\) for \(x \ge 0\): \[ s_1(A) \ \le\ \sqrt m\,\sqrt{1 + \delta_1} \ \le\ \sqrt m\,(1 + \delta_1) \ =\ \sqrt m + 2CKt\sqrt{n\log n} . \]
  • If \(m < K^2t^2n\log n\): use \(s_1(A)^2 \le m(1+\delta) \le m + m\delta\) and \(m\delta \le C\big(Kt\sqrt{mn\log n} + K^2t^2n\log n\big) \le 2CK^2t^2n\log n\), so \[ s_1(A) \ \le\ \sqrt{m + 2CK^2t^2n\log n} \ \le\ \sqrt m + \sqrt{2C}\,Kt\sqrt{n\log n}, \] by subadditivity \(\sqrt{x+y} \le \sqrt x + \sqrt y\) and \(K \ge 1\).

Lower bound for \(s_n\). From (4), \(s_n(A) \ge \sqrt{m(1-\delta)} \ge \sqrt m\,(1 - \delta)\) whenever \(\delta \le 1\) (using \(\sqrt{1-x} \ge 1-x\)), and \(s_n(A) \ge 0\) always.

  • If \(m \ge K^2t^2n\log n\): \(\delta \le \delta_1 \le 1\) (adjust constants; for smaller \(m\) the claim is vacuous — see below), and \[ s_n(A) \ \ge\ \sqrt m - \sqrt m\,\delta_1 \ \ge\ \sqrt m - 2CKt\sqrt{n\log n} . \]
  • If \(m < K^2t^2n\log n\): the claimed lower bound is vacuous, because then \(\sqrt m < Kt\sqrt{n\log n}\) and the right-hand side \(\sqrt m - CKt\sqrt{n\log n} \le (1 - C)\sqrt m \le 0 \le s_n(A)\) (for the constant \(C \ge 1\) in the final statement).

Combining the cases and adjusting absolute constants, with probability at least \(1 - 2n^{-ct^2}\): \[ \sqrt m - Kt\sqrt{n\log n} \ \le\ s_n(A) \ \le\ s_1(A) \ \le\ \sqrt m + Kt\sqrt{n\log n}, \] where we have allowed the leading constants \(K, t \ge 1\) to absorb the \(C\)’s. \(\blacksquare\)

Remark. This is the heavy-tailed analogue of Theorem 4.6.1: the subgaussian fluctuation \(CK^2(\sqrt n + t)\) is replaced by \(Kt\sqrt{n\log n}\) — the Bernstein-type price for bounded rows with only two moments. The result is from [340, Section 5.4.2] (see the chapter notes).

Exercise 5.32 (KKK) (Matrix sketching)

注记Stem (abridged)

Let \(A\) be a tall \(N\times n\) matrix, all of whose rows have the same norm. Let \(B\) be the smaller matrix made by randomly selecting \(m = O(n\log n)\) rows of \(A\) (with replacement, uniform probability). Prove that if \(m \ge Cn\log n\), then \[ \max_{i=1,\ldots,n}\ \Big|\,s_i(A)^2 - \frac Nm\,s_i(B)^2\,\Big| \ \le\ 0.1\,s_1(A)^2 \] with probability at least \(0.9\). (The printed multiplier is \(N/n\); see the flag below.)

提示Solution
警告Flag: printed multiplier \(N/n\) vs. \(N/m\)

The formula is printed with the multiplier \(\frac Nn\) (verified glyph-by-glyph: full-size italic \(N\) above full-size italic \(n\)). With \(m \ge Cn\log n\) sampled rows that are left unscaled, \(\mathbb{E}[B^TB] = \frac mM A^TA\), so the statistically meaningful multiplier recovering \(s_i(A)^2\) is \(\frac Nm\), and with \(\frac Nn\) the claim is false in general (e.g. if all rows of \(A\) are equal, then \(s_1(B)^2 = m\,\rho\) while \(s_1(A)^2 = N\rho\), and \(\frac Nn s_1(B)^2 \approx \frac{N}{n}\,Cn\log n\,\rho \ne N\rho \pm 0.1N\rho\)). The proof below establishes the bound with \(\frac Nm\); equivalently, the printed statement becomes correct verbatim if each sampled row of \(B\) is scaled by \(\sqrt{n/m}\). This is presumably a typo (\(n \leftrightarrow m\) in the denominator).

Solution (with multiplier \(N/m\)). Write the rows of \(A\) as \(a_1, \ldots, a_N \in \mathbb{R}^n\) and let \(\rho := \|a_i\|_2^2\), independent of \(i\) by assumption. Let \(J_1, \ldots, J_m\) be i.i.d. uniform in \(\{1, \ldots, N\}\); the rows of \(B\) are \(a_{J_1}, \ldots, a_{J_m}\). Following the hint, consider the random row \[ X := a_J, \qquad J \sim \mathrm{Unif}\{1, \ldots, N\}, \qquad\text{so}\qquad \Sigma := \mathbb{E}XX^T = \frac1N A^TA . \] Note \(\|X\|_2^2 = \rho\) a.s., so the boundedness (5.20) holds with \(K = 1\) (up to the value of \(\mathbb{E}\|X\|^2 = \rho\)), and the sample second-moment matrix of \(m\) i.i.d. copies is \[ \Sigma_m = \frac1m\sum_{j=1}^ma_{J_j}a_{J_j}^T = \frac1m\,B^TB . \]

Step 1: matrix Bernstein for the centered rank-one sum. Rather than invoking (5.28) with its effective-rank losses, apply Theorem 5.4.1 directly to the independent, mean-zero, symmetric matrices \[ Y_j := a_{J_j}a_{J_j}^T - \frac1N A^TA, \qquad j = 1, \ldots, m . \] - Uniform bound. \(\|a_Ja_J^T\| = \|a_J\|_2^2 = \rho\) and \(\big\|\frac1NA^TA\big\| \le \frac1N\sum_i\|a_ia_i^T\| = \rho\), so \(\|Y_j\| \le 2\rho =: M\). - Variance. Since \(\|a_J\|^2 = \rho\) is deterministic, the equal-norm hypothesis gives \[ \mathbb{E}\big(a_Ja_J^T\big)^2 = \mathbb{E}\big[\|a_J\|_2^2\,a_Ja_J^T\big] = \rho\,\mathbb{E}a_Ja_J^T = \frac{\rho}{N}A^TA, \] hence (dropping the PSD-decreasing \(-\Sigma^2\) term as in (5.23)): \[ \sigma^2 := \Big\|\sum_{j=1}^m\mathbb{E}Y_j^2\Big\| \le m\,\frac{\rho}{N}\,\|A^TA\| = \frac{m\rho\,s_1(A)^2}{N}. \tag{1} \]

Step 2: choose the deviation. We target \[ \Big\|B^TB - \frac mM A^TA\Big\| = \Big\|\sum_jY_j\Big\| \ \le\ \tau m, \qquad \tau := \frac{\varepsilon\,s_1(A)^2}{N}, \qquad \varepsilon := 0.1 . \] The Bernstein exponent \(\frac{(\tau m)^2/2}{\sigma^2 + M\tau m/3}\) is controlled via \(\min\): \[ \frac{(\tau m)^2}{\sigma^2} \ \ge\ \frac{\varepsilon^2s_1(A)^4m^2/N^2}{m\rho\,s_1(A)^2/N} = \varepsilon^2\,m\cdot\frac{s_1(A)^2}{N\rho}, \qquad \frac{\tau m}{M} = \frac{\varepsilon\,s_1(A)^2m}{2\rho N} = \frac{\varepsilon}{2}\,m\cdot\frac{s_1(A)^2}{N\rho}. \] The key scale identity: the largest eigenvalue dominates the average, \(s_1(A)^2 = \lambda_{\max}(A^TA) \ge \frac1n\mathrm{tr}(A^TA) = \frac{N\rho}{n}\). Hence \(\frac{s_1(A)^2}{N\rho} \ge \frac 1n\), and both exponents are at least \(\frac{\varepsilon^2}{n}m \ge \varepsilon^2 C\log n\) for \(m \ge Cn\log n\) — which exceeds \(4\log(2n)\) once \(C \ge 4\varepsilon^{-2}\cdot\frac{\log(2n)}{\log n} \approx 8\varepsilon^{-2}\) (recall \(\varepsilon = 0.1\), so \(C \ge 10^3\) certainly suffices). Therefore \[ \mathbb{P}\Big\{\Big\|B^TB - \frac mM A^TA\Big\| > \frac{\varepsilon m}{N}\,s_1(A)^2\Big\} \ \le\ 2n\exp\big(-c\,\varepsilon^2 m/n\big) \ \le\ 0.1 \] for \(m \ge Cn\log n\) with \(C\) large enough.

Step 3: transfer to singular values (Weyl). The eigenvalues of \(B^TB\) are \(s_i(B)^2\) and those of \(\frac mN A^TA\) are \(\frac mN s_i(A)^2\). By the Weyl inequality (Lemma 4.1.14), \(|\lambda_i(X) - \lambda_i(Y)| \le \|X - Y\|\) for symmetric \(X, Y\), so with probability \(\ge 0.9\), simultaneously for all \(i \le n\): \[ \Big|s_i(B)^2 - \frac mN s_i(A)^2\Big| \ \le\ \frac{\varepsilon m}{N}\,s_1(A)^2 . \] Multiplying through by \(\frac Nm > 0\): \[ \max_{i=1,\ldots,n}\ \Big|\,\frac Nm\,s_i(B)^2 - s_i(A)^2\,\Big| \ \le\ \varepsilon\,s_1(A)^2 = 0.1\,s_1(A)^2 , \] with probability at least \(0.9\). \(\blacksquare\)

Remark. All \(n\) singular values of \(A\) are thus approximated in relative fashion (relative to the top one) by computing the spectrum of the much smaller \(m\times n\) sketch \(B\) and rescaling by \(N/m\): a matrix version of estimating a population covariance by its sample. The equal-norm assumption is used only in Step 1 (variance); without it the variance acquires the factor \(\max_i\|a_i\|^2\) and the sample size inflates to \(\approx n\log n\cdot\big(\max_i\|a_i\|^2/\text{avg}\big)\).