Chapter 4 Exercises

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

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 4 (Random Matrices).
  • Range: Exercises 4.1–4.51 (printed pp. 129–139; PDF pp. 144–154, 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 in their conclusions; the handful of places where my method differs from the hint’s method, or where the text layer needs a print-level decision, are flagged where they arise.
  • Companion notes: ch04-notes.qmd.
注记Print-level checks and flags (read once)
  1. Exercise 4.6: as printed, \(A\) is \(m \times n\) but \(A^kx\) is only defined for square matrices; the solution is written for \(m=n\), and the natural rectangular variant (\(((A^{\mathsf T}A)^kx)^{1/2k} \to \|A\|^2\)) is included.
  2. Exercise 4.14: the text layer garbles the eigenvectors (“\(\pm v_i^i\)”); the correct statement proved below is that \((u_i;v_i)\) and \((u_i;-v_i)\) are eigenvectors with eigenvalues \(\pm s_i\).
  3. Exercise 4.22: the printed stem lists the cut norm twice (“\(\|A\|_{\infty\to 1}\), the cut norm, \(\|A\|_{\infty\to 2}\), and the cut norm of \(A\)”); the three distinct quantities are solved.
  4. Exercise 4.31: the printed cardinality bound is \(|N| \le \big(e(2/\varepsilon + 1)\big)^n\) (the text layer garbles the placement of the exponent \(n\) and of \(e\)); the volumetric proof below reproduces exactly this bound.
  5. Exercise 4.44 (a),(b): the printed bounds carry no probability qualifier; per the book’s hints ((2.22) and Exercise 3.13) they are expectation bounds, and are proved as such. High-probability variants are recorded too.
  6. Exercise 4.50: the set \(M_{m,n,r}\) is printed with “rank \(r\)”; the covering bounds are proved for the (compact) set of matrices of rank \(\le r\) and \(\|A\|_F \le 1\), in which the rank-exactly-\(r\) set is dense, so all bounds persist up to absolute constants.
  7. Exercise 4.45: I solve the exercise by a deflation algorithm (subtract the rank-one term estimated by the empirical mean edge density, then take the top eigenvector), which meets the required \(C/(p-q)^2\) guarantee with a short proof. The book’s hint instead suggests the top-two-eigenvector projection; both routes are discussed in the solution.

Locked list:

Exercise Title Parts
4.1 SVD of the inverse —
4.2 Basic properties of the operator norm (a)–(d)
4.3 Operator norm: simple examples (a), (b)
4.4 Operator norm vs. Frobenius norms (a)–(d)
4.5 A bound on the singular values —
4.6 Power method —
4.7 Operator norm vs. the norms of columns (a)–(c)
4.8 Schur bound —
4.9 Walsh matrices —
4.10 Matrices with \(\pm 1\) entries —
4.11 Difference of orthogonal projections —
4.12 Difference vs. products of orthogonal projections (a)–(c)
4.13 Davis–Kahan inequality for spectral projections —
4.14 Hermitian dilation —
4.15 Wedin theorem —
4.16 Angle and distance between vectors —
4.17 Approximate projections (a), (b)
4.18 \(p\to q\) norm (a)–(c)
4.19 \(1\to\infty\) and \(1\to 2\) norms (a), (b)
4.20 \(\infty\to 1\) norm (a)–(c)
4.21 Cut norm —
4.22 SDP relaxations —
4.23 Transitivity of \(\varepsilon\)-nets —
4.24 Packing balls (a), (b)
4.25 External covering numbers —
4.26 Monotonicity of covering numbers (a), (b)
4.27 Volume of the Euclidean ball: a geometric argument (a)–(c)
4.28 Volume of the Euclidean ball: a probabilistic argument —
4.29 Volume of the Euclidean ball: an analytic argument (a)–(c)
4.30 Volume of the \(\ell_p\) ball (a), (b)
4.31 A lattice is an \(\varepsilon\)-net —
4.32 Covering and packing numbers of the Hamming cube —
4.33 A limitation of error-correcting codes —
4.34 An \(\varepsilon\)-net expansion (a), (b)
4.35 Computing the norm on an \(\varepsilon\)-net —
4.36 Maximizing quadratic forms on an \(\varepsilon\)-net —
4.37 Deviation of the norm on an \(\varepsilon\)-net —
4.38 The convex hull of an \(\varepsilon\)-net —
4.39 Random points form an \(\varepsilon\)-net —
4.40 Too many random points are not in convex position —
4.41 Expected operator norm of a random matrix (a), (b)
4.42 Norm of random matrices: a lower bound —
4.43 Upper bounds on subgaussian matrices: relaxing independence (a), (b)
4.44 Some \(p\to q\) norms of random matrices (a)–(c)
4.45 Community detection —
4.46 An alternative proof of the two-sided bound on random matrices —
4.47 Intermediate singular values of random matrices —
4.48 Covariance estimation with a relative error —
4.49 Covariance estimation with high probability —
4.50 Covering numbers of low-rank matrices (a)–(c)
4.51 Spectral clustering of the Gaussian mixture model (a)–(e)

Throughout, \(C, c, C_1, c_1 > 0\) denote absolute constants whose values may change from line to line; \(S^{n-1}\) is the unit Euclidean sphere and \(B_2^n\) the unit Euclidean ball in \(\mathbb{R}^n\); singular values are always arranged in (weakly) decreasing order; and for \(p\in[1,\infty]\) the conjugate exponent is \(p'\) with \(1/p + 1/p' = 1\).

Exercise 4.1 (K) (SVD of the inverse)

注记Stem (abridged)

Let \(A\) be an \(n\times n\) matrix with singular value decomposition \(A=\sum_{i=1}^n s_i u_i v_i^{\mathsf T}\). Show that \(A\) is invertible if and only if all singular values \(s_i\) are nonzero. In this case, check that \(A^{-1} = \sum_{i=1}^n s_i^{-1} v_i u_i^{\mathsf T}\).

提示Solution

If some \(s_i = 0\) then \(Av_i = s_i u_i = 0\) with \(v_i \ne 0\), so \(A\) has a nontrivial kernel and is not invertible.

Conversely, assume all \(s_i \ne 0\) and define \(B := \sum_{i=1}^n s_i^{-1} v_i u_i^{\mathsf T}\). Using the orthonormality of \((u_i)\) and of \((v_i)\),

\[ AB \;=\; \sum_{i,j=1}^n s_i s_j^{-1}\, u_i v_i^{\mathsf T} v_j u_j^{\mathsf T} \;=\; \sum_{i,j=1}^n s_i s_j^{-1}\, \delta_{ij}\, u_i u_j^{\mathsf T} \;=\; \sum_{i=1}^n u_i u_i^{\mathsf T} \;=\; I_n, \]

and the same computation with the roles of the two families swapped gives \(BA = \sum_j v_j v_j^{\mathsf T} = I_n\). Hence \(A\) is invertible with \(A^{-1} = B = \sum_i s_i^{-1} v_i u_i^{\mathsf T}\).

Exercise 4.2 (KK) (Basic properties of the operator norm)

注记Stem (abridged)
  1. Prove that \(\|A\|\) from Definition 4.1.8 is a norm on the space of \(m\times n\) matrices.
  2. Show \(\|A^{\mathsf T}\| = \|A\|\).
  3. Show \(\|AB\| \le \|A\|\cdot\|B\|\) and find an example where the left side is zero but the right side is not.
  4. Prove that the operator norm of any submatrix is bounded by the operator norm of the matrix.
提示Solution

(a). Nonnegativity and definiteness: \(\|A\| \ge 0\) is clear from (4.9). If \(\|A\| = 0\) then \(Ax = 0\) for all \(x\), so \(A = 0\); conversely \(\|0\| = 0\). Homogeneity: \(\|\lambda A\| = \max_{x\ne 0}\|\lambda Ax\|_2/\|x\|_2 = |\lambda|\, \|A\|\). Triangle inequality: for all \(x \ne 0\),

\[ \frac{\|(A+B)x\|_2}{\|x\|_2} \;\le\; \frac{\|Ax\|_2}{\|x\|_2} + \frac{\|Bx\|_2}{\|x\|_2} \;\le\; \|A\| + \|B\|, \]

and maximizing over \(x\) gives \(\|A+B\| \le \|A\| + \|B\|\).

(b). By the last identity in (4.9),

\[ \|A\| = \max_{\|x\|_2 = \|y\|_2 = 1} |y^{\mathsf T} A x|, \qquad \|A^{\mathsf T}\| = \max_{\|x\|_2 = \|y\|_2 = 1} |x^{\mathsf T} A^{\mathsf T} y|. \]

Since \(x^{\mathsf T} A^{\mathsf T} y = y^{\mathsf T} A x\) (it is a scalar), and both maxima run over the same set of pairs \((x,y)\) of unit vectors, the two quantities coincide. (Alternatively: \(s_i(A^{\mathsf T}) = s_i(A)\), and use Lemma 4.1.11.)

(c). For \(x \in \mathbb{R}^p\): \(\|ABx\|_2 \le \|A\| \|Bx\|_2 \le \|A\|\|B\|\|x\|_2\); divide by \(\|x\|_2\) and maximize. Example with \(\|AB\| = 0 < \|A\|\|B\|\): take \(A = \begin{pmatrix} 1 & 0\end{pmatrix}\) (\(1\times 2\)) and \(B = \begin{pmatrix} 0 \\ 1\end{pmatrix}\) (\(2\times 1\)), so \(AB = 0\) while \(\|A\| = \|B\| = 1\).

(d). Let \(B\) be the submatrix of \(A\) in rows \(I\) and columns \(J\). Given \(x \in \mathbb{R}^{|J|}\), extend it by zeros to \(\tilde x \in \mathbb{R}^n\) supported on \(J\); then \(Bx = (A\tilde x)_I\) (the restriction of \(A\tilde x\) to the rows \(I\)). Hence

\[ \|Bx\|_2 = \|(A\tilde x)_I\|_2 \le \|A \tilde x\|_2 \le \|A\|\,\|\tilde x\|_2 = \|A\|\,\|x\|_2, \]

and maximizing over unit \(x\) gives \(\|B\| \le \|A\|\).

Exercise 4.3 (KK) (Operator norm: simple examples)

注记Stem (abridged)
  1. (Rank-one) For \(u \in \mathbb{R}^m\), \(v\in\mathbb{R}^n\), check \(\|uv^{\mathsf T}\| = \|uv^{\mathsf T}\|_F = \|u\|_2\|v\|_2\).
  2. (Diagonal) For diagonal \(A = \mathrm{diag}(a_1,\dots,a_n)\), check \(\|A\| = \max_i |a_i|\).
提示Solution

(a). For any \(x\): \(\|uv^{\mathsf T}x\|_2 = |v^{\mathsf T} x|\,\|u\|_2 \le \|v\|_2\|u\|_2 \|x\|_2\) by Cauchy–Schwarz, so \(\|uv^{\mathsf T}\| \le \|u\|_2\|v\|_2\). Equality: take \(x := v/\|v\|_2\) (if \(v \ne 0\)), for which \(\|uv^{\mathsf T}x\|_2 = \|u\|_2\|v\|_2\); the case \(u=0\) or \(v=0\) is trivial. Frobenius:

\[ \|uv^{\mathsf T}\|_F^2 = \sum_{i=1}^m\sum_{j=1}^n u_i^2 v_j^2 = \Big(\sum_i u_i^2\Big)\Big(\sum_j v_j^2\Big) = \|u\|_2^2 \|v\|_2^2. \qquad\square \]

(b). \(\|Ax\|_2^2 = \sum_i a_i^2 x_i^2 \le \big(\max_i a_i^2\big)\|x\|_2^2\), so \(\|A\| \le \max_i |a_i|\); equality at \(x = e_{i^*}\), where \(i^*\) attains the maximum.

Exercise 4.4 (KK) (Operator norm vs. Frobenius norms)

注记Stem (abridged)
  1. If \(A\) has rank \(r\), prove \(\|A\| \le \|A\|_F \le \sqrt r\,\|A\|\) and show both bounds are achievable.
  2. If \(Z\) is an isotropic random vector in \(\mathbb{R}^n\), show \(\mathbb{E}\|AZ\|_2^2 = \|A\|_F^2\).
  3. If \(B\) is \(k\times m\), prove \(\|BA\|_F \le \|B\|\,\|A\|_F\).
  4. If \(A\) is diagonal, improve (c) to \(\|BA\|_F \le \|B\|_{1\to 2}\,\|A\|_F\), where \(\|B\|_{1\to 2}\) is the maximal Euclidean norm of columns of \(B\).
提示Solution

(a). By Lemma 4.1.11, \(\|A\| = s_1\) and \(\|A\|_F = (\sum_{i\le n}s_i^2)^{1/2}\), where at most \(r\) singular values are nonzero. Then \(s_1^2 \le \sum_i s_i^2\) gives \(\|A\| \le \|A\|_F\), and \(\sum_{i\le r} s_i^2 \le r s_1^2\) gives \(\|A\|_F \le \sqrt r\,\|A\|\).

Achievability: the upper bound holds with equality for \(A = \mathrm{diag}(\underbrace{1,\dots,1}_{r},0,\dots,0)\), whose \(r\) equal nonzero singular values give \(\|A\|_F = \sqrt r = \sqrt r\,\|A\|\). The lower bound \(\|A\| \le \|A\|_F\) is tight (constant \(1\) optimal) for every rank-one \(A = uv^{\mathsf T} \ne 0\), by Exercise 4.3(a); note that a matrix of rank exactly \(r \ge 2\) always has \(\|A\| < \|A\|_F\), so “achievable for any \(r\)” is to be read as sharpness of the constants, which these two examples demonstrate.

(b). Using \(\|AZ\|_2^2 = Z^{\mathsf T} A^{\mathsf T} A Z = \mathrm{tr}(A^{\mathsf T}A ZZ^{\mathsf T})\) and \(\mathbb{E} ZZ^{\mathsf T} = I_n\) (isotropy),

\[ \mathbb{E}\|AZ\|_2^2 = \mathrm{tr}\big(A^{\mathsf T}A\,\mathbb{E}ZZ^{\mathsf T}\big) = \mathrm{tr}(A^{\mathsf T}A) = \|A\|_F^2. \qquad\square \]

(c). Write \(A\) through its columns \(A_{:j}\): the \(j\)-th column of \(BA\) is \(BA_{:j}\), so

\[ \|BA\|_F^2 = \sum_{j=1}^n \|BA_{:j}\|_2^2 \le \sum_{j=1}^n \|B\|^2 \|A_{:j}\|_2^2 = \|B\|^2 \|A\|_F^2. \qquad\square \]

(d). If \(A = \mathrm{diag}(a_1,\dots,a_n)\), the \(j\)-th column of \(BA\) is \(a_j B_{:j}\). Hence

\[ \|BA\|_F^2 = \sum_{j=1}^n a_j^2 \|B_{:j}\|_2^2 \le \Big(\max_{j\le n}\|B_{:j}\|_2^2\Big)\sum_{j=1}^n a_j^2 = \|B\|_{1\to 2}^2\,\|A\|_F^2. \qquad\square \]

Exercise 4.5 (KK) (A bound on the singular values)

注记Stem (abridged)

Prove that the singular values of any matrix \(A\) satisfy \(s_k(A) \le \|A\|_F/\sqrt{k}\) for \(k = 1, 2, \ldots\)

提示Solution

By Lemma 4.1.11 and the ordering \(s_1 \ge s_2 \ge \cdots \ge 0\),

\[ \|A\|_F^2 = \sum_i s_i(A)^2 \;\ge\; \sum_{i=1}^k s_i(A)^2 \;\ge\; k\, s_k(A)^2, \]

since each of the first \(k\) singular values is at least \(s_k\). Dividing by \(k\) and taking square roots gives \(s_k(A) \le \|A\|_F/\sqrt k\). (For \(k=1\) this is \(\|A\|\le\|A\|_F\) again.)

Exercise 4.6 (KKK) (Power method)

注记Stem (abridged)

Consider an \(m\times n\) matrix \(A\) and a random vector \(x\sim N(0, I_n)\). Show that, with probability 1, \(\big(\|A^k x\|_2\big)^{1/k} \to \|A\|\) as \(k\to\infty\).

提示Solution

Print-level remark: \(A^k x\) (apply \(A\) \(k\) times) is defined when \(m=n\); the solution is given for square \(A\). For a rectangular \(m\times n\) matrix the natural analogue, proved by the same argument, is \(\big(\|(A^{\mathsf T}A)^k x\|_2\big)^{1/2k} \to \|A^{\mathsf T}A\| = \|A\|^2\).

So let \(A\) be \(n\times n\) with singular value decomposition \(A = \sum_{i=1}^n s_i u_i v_i^{\mathsf T}\), \(s_1\ge\cdots\ge s_n\ge 0\); since \(A^k = U\Sigma^k V^{\mathsf T}\) in the matrix form (4.4) of the SVD, we have \(A^k = \sum_i s_i^k u_i v_i^{\mathsf T}\). Decompose \(x\) in the basis \((v_i)\):

\[ x = \sum_{i=1}^n a_i v_i, \qquad a_i := \langle x, v_i\rangle. \]

The coefficients \(a_i\) are jointly normal with covariances \(\mathbb{E} a_i a_j = \langle v_i, v_j\rangle = \delta_{ij}\); hence \((a_i)\) are i.i.d. \(N(0,1)\). In particular

\[ \mathbb{P}\{a_1 = 0\} = 0, \]

so with probability 1 the coefficient of the leading direction is nonzero. On this event (which we now fix), and using the orthogonality of \((u_i)\),

\[ \|A^k x\|_2^2 = \sum_{i=1}^n s_i^{2k} a_i^2 = s_1^{2k}\Big(a_1^2 + \sum_{i\ge 2} \big(\tfrac{s_i}{s_1}\big)^{2k} a_i^2\Big) \]

if \(s_1 > 0\) (if \(A = 0\) then \(\|A^kx\|_2^{1/k} = 0 = \|A\|\) for all \(k\) and there is nothing to prove). Since \(0\le s_i/s_1 \le 1\) for \(i \ge 2\) and \(a_i^2 < \infty\), we have \(\sum_{i\ge 2}(s_i/s_1)^{2k}a_i^2 \to 0\) as \(k\to\infty\) (dominated convergence), so the bracket tends to \(a_1^2 \in (0,\infty)\). Therefore

\[ \big(\|A^kx\|_2^2\big)^{1/2k} = s_1 \Big(a_1^2 + o(1)\Big)^{1/2k} \longrightarrow s_1 \cdot 1 = \|A\|, \]

because \(y^{1/2k}\to 1\) for any fixed \(y > 0\). Taking square roots throughout gives \(\|A^kx\|_2^{1/k}\to\|A\|\) with probability 1. (The convergence rate is governed by \(s_2/s_1\), hence the power method is fast when the top singular value is well separated.)

Exercise 4.7 (KKK) (Operator norm vs. the norms of columns)

注记Stem (abridged)

Let \(A\) be \(m\times n\) with columns \(A_1,\dots,A_n\). (a) Show \(\|A\|\ge \max_i \|A_i\|_2\), with equality when the \(A_i\) are orthogonal. (b) If \(\|A\| = \|A_i\|_2\) for some \(i\), show \(A_i\) is orthogonal to all other columns. (c) Same for the rows.

提示Solution

(a). Taking \(x = e_i\) in \(\|A\| = \max_{\|x\|_2=1}\|Ax\|_2\) gives \(\|A\| \ge \|Ae_i\|_2 = \|A_i\|_2\) for each \(i\). If the columns are mutually orthogonal, then for any unit \(x = (x_1,\dots,x_n)\), Parseval gives

\[ \|Ax\|_2^2 = \Big\|\sum_i x_i A_i\Big\|_2^2 = \sum_i x_i^2\|A_i\|_2^2 \le \big(\max_i \|A_i\|_2^2\big)\|x\|_2^2, \]

so \(\|A\| \le \max_i\|A_i\|_2\), with equality.

(b). Suppose \(\langle A_i, A_j\rangle \ne 0\) for some \(j\ne i\) and consider the function

\[ f(t) := \frac{\|A(e_i + te_j)\|_2^2}{\|e_i + te_j\|_2^2} = \frac{\|A_i\|_2^2 + 2t\langle A_i, A_j\rangle + t^2\|A_j\|_2^2}{1+t^2}, \qquad t\in\mathbb{R}, \]

which satisfies \(f(t)\le \|A\| = \|A_i\|_2 = f(0)\) for all \(t\). But \(f'(0) = 2\langle A_i,A_j\rangle \ne 0\), so \(f(t) > f(0)\) for \(t\) of the right sign and small magnitude — a contradiction. Hence \(\langle A_i, A_j\rangle = 0\) for all \(j\ne i\).

(c). The columns of \(A^{\mathsf T}\) are the rows of \(A\), and \(\|A^{\mathsf T}\| = \|A\|\) by Exercise 4.2(b). So (a) and (b) applied to \(A^{\mathsf T}\) give the same two statements for the rows of \(A\).

Exercise 4.8 (KKK) (Schur bound)

注记Stem (abridged)

For an \(m\times n\) matrix \(A\) with rows \(A_{i:}\) and columns \(A_{:j}\), prove \(\|A\| \le \sqrt{\max_i \|A_{i:}\|_1 \cdot \max_j \|A_{:j}\|_1}\).

提示Solution

Write the norm in its dual form (4.9), \(\|A\| = \max_{\|x\|_2=\|y\|_2=1} |y^{\mathsf T}Ax|\), and split each factor \(|A_{ij}|\) between the two factors of a Cauchy–Schwarz inequality:

\[ |y^{\mathsf T}Ax| \le \sum_{i,j}|A_{ij}|\,|x_j|\,|y_i| = \sum_{i,j} \big(|A_{ij}|^{1/2}|x_j|\big)\big(|A_{ij}|^{1/2}|y_i|\big) \le \Big(\sum_{i,j}|A_{ij}|\,x_j^2\Big)^{1/2}\Big(\sum_{i,j}|A_{ij}|\,y_i^2\Big)^{1/2}. \]

Now sum over \(j\) and \(i\) respectively:

\[ \sum_{i,j}|A_{ij}|\,x_j^2 = \sum_j x_j^2\|A_{:j}\|_1 \le \max_j\|A_{:j}\|_1,\qquad \sum_{i,j}|A_{ij}|\,y_i^2 = \sum_i y_i^2\|A_{i:}\|_1 \le \max_i\|A_{i:}\|_1, \]

using \(\|x\|_2 = \|y\|_2 = 1\). Combining, \(\|A\| \le \big(\max_i\|A_{i:}\|_1\cdot\max_j\|A_{:j}\|_1\big)^{1/2}\). \(\blacksquare\)

Remark. Applied to \(\pm1\) matrices this recovers \(\|A\|\le n\) (Exercise 4.10); the bound is also the classical Schur test for boundedness of integral operators.

Exercise 4.9 (KK) (Walsh matrices)

注记Stem (abridged)

Start with \(W_1 := \begin{pmatrix}1 & 1\\ 1 & -1\end{pmatrix}\) and define \(W_{k+1} := \begin{pmatrix} W_k & W_k\\ W_k & -W_k\end{pmatrix}\). Prove that \(\tfrac{1}{\sqrt n} W_k\) is an orthogonal matrix for each \(k\) (where \(W_k\) is \(2^k\times 2^k\), \(n = 2^k\)).

提示Solution

We prove by induction that

\[ W_k W_k^{\mathsf T} = 2^k I_{2^k}. \tag{$*$} \]

Base: \(W_1 W_1^{\mathsf T} = \begin{pmatrix}2&0\\0&2\end{pmatrix} = 2I_2\). Step: if \((*)\) holds for \(k\), then using \(W_k^{\mathsf T}W_k = 2^kI\) as well,

\[ W_{k+1}W_{k+1}^{\mathsf T} = \begin{pmatrix} W_kW_k^{\mathsf T} + W_kW_k^{\mathsf T} & W_kW_k^{\mathsf T} - W_kW_k^{\mathsf T}\\ W_kW_k^{\mathsf T} - W_kW_k^{\mathsf T} & W_kW_k^{\mathsf T} + W_kW_k^{\mathsf T}\end{pmatrix} = \begin{pmatrix} 2^{k+1} I & 0 \\ 0 & 2^{k+1} I\end{pmatrix} = 2^{k+1} I_{2^{k+1}}. \]

Hence, with \(n = 2^k\),

\[ \Big(\tfrac{1}{\sqrt n} W_k\Big)\Big(\tfrac{1}{\sqrt n} W_k\Big)^{\mathsf T} = \tfrac{1}{n} W_kW_k^{\mathsf T} = I_n, \]

which is the defining property of an orthogonal (square) matrix. (Equivalently: \(W_k = W_1^{\otimes k}\) is a Kronecker power, and \(W_1^{\otimes k}(W_1^{\otimes k})^{\mathsf T} = (W_1W_1^{\mathsf T})^{\otimes k} = 2^k I\).)

Exercise 4.10 (KK) (Matrices with \(\pm 1\) entries)

注记Stem (abridged)

Prove that any \(n\times n\) matrix \(A\) with \(\pm1\) entries satisfies \(\sqrt n \le \|A\| \le n\), and both bounds are achievable for infinitely many \(n\).

提示Solution

Lower bound: each column of \(A\) has \(n\) entries of absolute value 1, so \(\|A_{:j}\|_2 = \sqrt n\) for every \(j\). By Exercise 4.7(a), \(\|A\| \ge \max_j \|A_{:j}\|_2 = \sqrt n\) — in fact with probability 1 for any random sign matrix, as noted in Remark 4.4.5.

Upper bound: \(\|A\| \le \|A\|_F = \big(\sum_{i,j} A_{ij}^2\big)^{1/2} = \big(n^2\big)^{1/2} = n\), using that the Frobenius norm dominates the operator norm (Exercise 4.4(a) with rank \(\le n\), or Lemma 4.1.11).

Achievability: the all-ones matrix \(J\) has \(\|J\| = n\) (its columns are all equal to the all-ones vector, and \(J\) maps the all-ones vector to \(n\) times itself), achieving the upper bound for every \(n\). The Walsh matrix \(W_k\) of Exercise 4.9 is a \(\pm1\) matrix of size \(n = 2^k\) with \(\|W_k\| = \sqrt{2^k} = \sqrt n\) (its singular values are all \(\sqrt n\)), achieving the lower bound for the infinitely many sizes \(n = 2^k\).

Exercise 4.11 (KK) (Difference of orthogonal projections)

注记Stem (abridged)

Prove that any two orthogonal projections \(P\) and \(Q\) in \(\mathbb{R}^n\) satisfy \(\|P-Q\|\le 1\).

提示Solution

\(P - Q\) is symmetric, so by the identity (4.10) for symmetric matrices,

\[ \|P-Q\| = \max_{\|x\|_2 = 1} \big|x^{\mathsf T}(P-Q)x\big| = \max_{\|x\|_2=1}\big|\|Px\|_2^2 - \|Qx\|_2^2\big|. \]

(Here \(x^{\mathsf T}Px = \langle Px, x\rangle = \|Px\|_2^2\) since \(P^2 = P = P^{\mathsf T}\), and similarly for \(Q\).) Since \(0 \le \|Px\|_2^2 \le \|x\|_2^2 = 1\) and likewise for \(Q\), both quantities lie in \([0,1]\), so their difference lies in \([-1,1]\). Taking the maximum gives \(\|P-Q\|\le 1\).

(The book’s hint computes instead \(\|Px - x/2\|_2^2 = \frac14\) exactly, for every unit \(x\), and concludes by the triangle inequality \(\|(P-Q)x\|_2 \le \|Px - x/2\|_2 + \|Qx - x/2\|_2 = \frac12+\frac12 = 1\); both arguments are one-liners.)

Exercise 4.12 (KKKK) (Difference vs. products of orthogonal projections)

注记Stem (abridged)

For orthogonal projections \(P, Q\) in \(\mathbb{R}^n\), with \(P^\perp = I_n - P\), \(Q^\perp = I_n - Q\), prove: (a) \(\|P-Q\| = \max(\|P^\perp Q\|, \|PQ^\perp\|)\); (b) if the ranks of \(P\) and \(Q\) differ, then \(\|P-Q\| = 1\); (c) if the ranks are the same, then \(\|P-Q\| = \|P^\perp Q\| = \|PQ^\perp\|\).

提示Solution

A preliminary identity: since \(P = P^2\), \(Q = Q^2\),

\[ PQ^\perp - P^\perp Q = P(I-Q) - (I-P)Q = P - PQ - Q + PQ = P - Q. \tag{4.12.1} \]

Moreover the two terms are orthogonal: \(\langle PQ^\perp x, P^\perp Q x\rangle = \langle Q^\perp x,\, P P^\perp\, Qx\rangle = 0\) because \(PP^\perp = 0\). Hence for every \(x\),

\[ \|(P-Q)x\|_2^2 = \|PQ^\perp x\|_2^2 + \|P^\perp Q x\|_2^2. \tag{4.12.2} \]

(a). “\(\le\)”: by (4.12.2), \(\|(P-Q)x\|_2^2 \le \max(\|PQ^\perp\|^2, \|P^\perp Q\|^2)\big(\|Q^\perp x\|_2^2 + \|Qx\|_2^2\big) = \max(\|PQ^\perp\|,\|P^\perp Q\|)^2 \|x\|_2^2\); maximize over unit \(x\).

“\(\ge\)”: \(P-Q\) is symmetric, so \(\|P-Q\| = |\lambda|\) for some eigenvalue \(\lambda\); let \(x\) be a unit eigenvector, \(Px - Qx = \lambda x\). If \(\lambda = 0\) then \(P = Q\) and all three norms vanish, so assume \(\lambda\ne0\). Apply \(Q^\perp\) to the eigen-equation: since \(Q^\perp Q = 0\), \[ Q^\perp P x = \lambda\, Q^\perp x . \] Case 1: \(Q^\perp x \ne 0\). Then \(\|Q^\perp P x\|_2 = |\lambda|\,\|Q^\perp x\|_2 \le \|Q^\perp P\|\,\|x\|_2\), so \(\|Q^\perp P\| \ge |\lambda|\); and \(\|Q^\perp P\| = \|(Q^\perp P)^{\mathsf T}\| = \|P^{\mathsf T} (Q^\perp)^{\mathsf T}\| = \|PQ^\perp\|\) by Exercise 4.2(b). Case 2: \(Q^\perp x = 0\), i.e. \(Qx = x\). The eigen-equation becomes \(Px = (1+\lambda)x\), so \(P^\perp x = -\lambda x\) and \[ \|P^\perp Qx\|_2 = \|P^\perp x\|_2 = |\lambda| \le \|P^\perp Q\|. \] Either way \(\max(\|P^\perp Q\|, \|PQ^\perp\|) \ge |\lambda| = \|P-Q\|\), completing (a).

(b). Say \(\mathrm{rank}\,P > \mathrm{rank}\,Q\). Since \(\dim(\mathrm{im}\,P) + \dim(\ker Q) = \mathrm{rank}\,P + n - \mathrm{rank}\,Q > n\), the intersection \(\mathrm{im}\,P \cap \ker Q = \mathrm{im}\,P \cap \mathrm{im}\,Q^\perp\) contains a unit vector \(x\). For it, \(Px = x\) and \(Qx = 0\), so \((P-Q)x = x\) and \(\|P-Q\|\ge 1\). Combined with Exercise 4.11, \(\|P-Q\| = 1\). (If \(\mathrm{rank}\,Q > \mathrm{rank}\,P\), swap the roles and use \(\ker P\cap\mathrm{im}\,Q\).) Equivalently: \(\pm1\) is an eigenvalue of \(P-Q\) exactly when \((\mathrm{im}\,P\cap\ker Q)\cup(\ker P\cap\mathrm{im}\,Q)\ne\{0\}\), and a dimension count forces this whenever the ranks differ.

(c). Let \(r := \mathrm{rank}\,P = \mathrm{rank}\,Q\) and choose orthonormal bases: let \(U\in\mathbb{R}^{n\times r}\) and \(V\in\mathbb{R}^{n\times r}\) have as columns orthonormal bases of \(\mathrm{im}\,P\) and \(\mathrm{im}\,Q\), so \(P = UU^{\mathsf T}\), \(Q = VV^{\mathsf T}\), \(P^\perp = I - UU^{\mathsf T}\). Set \(G := U^{\mathsf T}V\) (\(r\times r\)). First, \(\|P^\perp V\| = \|P^\perp VV^{\mathsf T}\|\): indeed “\(\le\)” holds since \(\|V^{\mathsf T}\| = 1\), and “\(\ge\)” since \(P^\perp V = (P^\perp VV^{\mathsf T})V\) with \(\|V\| = 1\). Hence

\[ \|P^\perp Q\|^2 = \|P^\perp V\|^2 = \|(P^\perp V)^{\mathsf T}(P^\perp V)\| = \|V^{\mathsf T}P^\perp V\| = \|I_r - G^{\mathsf T}G\|, \]

and symmetrically \(\|PQ^\perp\| = \|Q^\perp U\|\) (transpose symmetry, Exercise 4.2(b)) with

\[ \|PQ^\perp\|^2 = \|U^{\mathsf T}Q^\perp U\| = \|I_r - GG^{\mathsf T}\|. \]

For a square matrix \(G\), the matrices \(G^{\mathsf T}G\) and \(GG^{\mathsf T}\) have identical spectra, so \(\|I_r - G^{\mathsf T}G\| = \|I_r - GG^{\mathsf T}\|\), giving \(\|P^\perp Q\| = \|PQ^\perp\|\). Part (a) then yields \(\|P-Q\| = \|P^\perp Q\| = \|PQ^\perp\|\).

(The book’s hint instead block-diagonalizes \(P - Q\) in bases adapted to \(\mathrm{im}\,P\) and \(\mathrm{im}\,Q\); the two arguments give the same conclusions. Note (c) may fail without equal ranks: for \(P = I_n\), \(Q\) of rank \(n-1\), we get \(\|P-Q\| = \|PQ^\perp\| = 1\) but \(P^\perp Q = 0\).)

Exercise 4.13 (KK) (Davis–Kahan inequality for spectral projections)

注记Stem (abridged)

Let \(A\), \(B\) be symmetric with spectral decompositions \(A = \sum_i \lambda_i u_iu_i^{\mathsf T}\), \(B = \sum_i\mu_i v_iv_i^{\mathsf T}\), eigenvalues (weakly) decreasing. Prove that the projections \(P_A = \sum_{i\le k}u_iu_i^{\mathsf T}\) and \(P_B = \sum_{i\le k}v_iv_i^{\mathsf T}\) satisfy \(\|P_A - P_B\| \le \dfrac{2\|A-B\|}{\lambda_k - \lambda_{k+1}}\).

提示Solution

Let \(\delta := \lambda_k - \lambda_{k+1} > 0\) and \(\varepsilon := \|A-B\|\); assume \(\varepsilon \le \delta/2\), otherwise the right-hand side is \(\ge 1\) and the claim follows from Exercise 4.11 (both \(P_A, P_B\) are projections, so \(\|P_A-P_B\|\le 1\)). Also assume \(k < n\) (for \(k=n\) there is no \(\lambda_{n+1}\); then \(P_A\) is the projection onto all of \(\mathbb{R}^n\) only if… in fact \(k = n\) forces \(P_A = I_n\) and the denominator is not defined — the statement is void).

Step 1: Weyl. By Lemma 4.1.14, \(|\lambda_i - \mu_i| \le \varepsilon\) for all \(i\). Hence \(\mu_i \ge \lambda_i - \varepsilon \ge \lambda_k - \varepsilon\) for \(i \le k\), and \(\mu_i \le \lambda_i + \varepsilon \le \lambda_{k+1} + \varepsilon \le \lambda_k - \varepsilon\) for \(i \ge k+1\).

Step 2: apply Lemma 4.1.16. Let \(I := [\lambda_k, \infty)\), an interval. By Step 1 and \(\varepsilon\le\delta/2 < \delta\):

  • the eigenvalues of \(A\) in \(I\) are exactly \(\lambda_1,\dots,\lambda_k\) (since \(\lambda_{k+1} = \lambda_k - \delta < \lambda_k\)), so the spectral projection of \(A\) onto \(I\) is \(P\); here I write \(P := P_A\);
  • the eigenvalues of \(B\) outside \(J := (-\infty, \lambda_{k+1} + \varepsilon]\) are exactly \(\mu_1,\dots,\mu_k\), so the spectral projection of \(B\) onto \(J\) is \(I_n - P_B\).

The sets \(I\) and \(J\) are separated by \(\mathrm{dist}(I, J) = \lambda_k - (\lambda_{k+1}+\varepsilon) = \delta - \varepsilon \ge \delta/2 > 0\). Lemma 4.1.16 (with separation parameter \(\delta/2\)) gives

\[ \|(I_n - P_B)\, P_A\| \;\le\; \frac{\|A-B\|}{\delta/2} = \frac{2\varepsilon}{\delta}. \tag{4.13.1} \]

Step 3: from a product to a difference. \(P_A\) and \(P_B\) are projections of the same rank \(k\), so by Exercise 4.12(c),

\[ \|P_A - P_B\| = \|(I_n - P_B)P_A\| \stackrel{(4.13.1)}{\le} \frac{2\|A-B\|}{\lambda_k - \lambda_{k+1}}. \qquad\blacksquare \]

Remark. If the gap \(\lambda_k - \lambda_{k+1}\) is replaced by \(\min_{i\ne k}|\lambda_k - \lambda_i|\) and \(k=1\), this recovers the eigenvector version, Theorem 4.1.15.

Exercise 4.14 (KK) (Hermitian dilation)

注记Stem (abridged)

For an \(m\times n\) matrix \(A\) define the Hermitian dilation \(H = \begin{pmatrix}0 & A\\ A^{\mathsf T} & 0\end{pmatrix}\). Given an SVD \(A = \sum_i s_iu_iv_i^{\mathsf T}\), prove that the only nonzero eigenvalues of \(H\) are \(\pm s_i\), with eigenvectors \(\binom{u_i}{v_i}\) (for \(+s_i\)) and \(\binom{u_i}{-v_i}\) (for \(-s_i\)). [Text layer garbles the eigenvectors; this is the statement proved below.]

提示Solution

\(H\) acts as \(H\binom{x}{y} = \binom{Ay}{A^{\mathsf T}x}\) for \(x\in\mathbb{R}^m\), \(y\in\mathbb{R}^n\). Using the defining relations \(Av_i = s_iu_i\) and \(A^{\mathsf T}u_i = s_iv_i\) of the SVD,

\[ H\binom{u_i}{v_i} = \binom{Av_i}{A^{\mathsf T}u_i} = \binom{s_iu_i}{s_iv_i} = s_i\binom{u_i}{v_i},\qquad H\binom{u_i}{-v_i} = \binom{-Av_i}{A^{\mathsf T}u_i} = -s_i\binom{u_i}{-v_i}. \]

So each \(s_i \ne 0\) appears as an eigenvalue with both signs. (The eigenvectors for \(i \le r\) are orthonormal in \(\mathbb{R}^{m+n}\): \(\langle\binom{u_i}{\pm v_i},\binom{u_j}{\pm v_j}\rangle = \delta_{ij} \pm \delta_{ij}\) by orthonormality of \((u_i)\) and \((v_i)\).)

These are all the nonzero eigenvalues. Compute

\[ H^2 = \begin{pmatrix} AA^{\mathsf T} & 0\\ 0 & A^{\mathsf T}A\end{pmatrix}, \qquad \mathrm{rank}\, H^2 = \mathrm{rank}(AA^{\mathsf T}) + \mathrm{rank}(A^{\mathsf T}A) = 2\,\mathrm{rank}\,A = 2r, \]

where \(r := \mathrm{rank}\,A\). Since \(\ker H = \ker H^2\) (if \(H^2z = 0\) then \(0 = \langle H^2z,z\rangle = \|Hz\|_2^2\)), also \(\mathrm{rank}\,H = 2r\), so \(H\) has exactly \(2r\) nonzero eigenvalues — namely the \(2r\) numbers \(\{\pm s_i : i\le r\}\) already exhibited. In particular \(\|H\| = s_1(A) = \|A\|\), a fact used repeatedly later.

Exercise 4.15 (KK) (Wedin theorem)

注记Stem (abridged)

Let \(A\), \(B\) be \(m\times n\) with SVDs \(A = \sum_i s_iu_iv_i^{\mathsf T}\), \(B = \sum_i t_iw_iz_i^{\mathsf T}\), singular values (weakly) decreasing. Prove that the projections onto the top \(k\) left singular vectors, \(P_A = \sum_{i\le k}u_iu_i^{\mathsf T}\) and \(P_B = \sum_{i\le k}w_iw_i^{\mathsf T}\), satisfy \(\|P_A - P_B\|\le \dfrac{2\|A-B\|}{s_k - s_{k+1}}\). Obtain a similar bound for the top \(k\) right singular vectors, and a version of the Davis–Kahan inequality for the \(k\)-th singular vectors.

提示Solution

Assume \(\delta := s_k - s_{k+1} > 0\) (otherwise the claim is void; note this forces \(k \le r := \mathrm{rank}\,A\) and \(2k < m+n\)).

Left and right projections at once. For \(X\in\{A,B\}\) let \(\mathcal{H}(X) := \begin{pmatrix}0&X\\X^{\mathsf T}&0\end{pmatrix}\) be the Hermitian dilation. By Exercise 4.14 the spectrum of \(\mathcal{H}(A)\) is \(\{s_1,s_1,s_2,s_2,\dots,s_r,s_r,0,\dots,0\}\) with eigenvalues decreasingly ordered, so the top \(2k\) eigenvalues of \(\mathcal{H}(A)\) are \(s_1,s_1,\dots,s_k,s_k\), the gap at position \(2k\) is

\[ \lambda_{2k}(\mathcal{H}(A)) - \lambda_{2k+1}(\mathcal{H}(A)) = s_k - s_{k+1} = \delta, \]

and, summing the eigenbasis from Exercise 4.14,

\[ P_{2k}(\mathcal{H}(A)) = \sum_{i\le k}\Big[\binom{u_i}{v_i}\binom{u_i}{v_i}^{\mathsf T} + \binom{u_i}{-v_i}\binom{u_i}{-v_i}^{\mathsf T}\Big] = \begin{pmatrix} P_A & 0\\ 0 & \tilde P_A\end{pmatrix}, \]

where \(\tilde P_A := \sum_{i\le k}v_iv_i^{\mathsf T}\) is the projection onto the top \(k\) right singular vectors; similarly for \(B\). Moreover

\[ \|\mathcal{H}(A) - \mathcal{H}(B)\| = \|\mathcal{H}(A-B)\| = \|A - B\| \]

by the last remark in Exercise 4.14. Exercise 4.13 applied to the symmetric matrices \(\mathcal{H}(A)\), \(\mathcal{H}(B)\) with \(k\) replaced by \(2k\) therefore gives

\[ \max\big(\|P_A - P_B\|,\ \|\tilde P_A - \tilde P_B\|\big) = \Big\|\begin{pmatrix}P_A - P_B & 0\\ 0 & \tilde P_A - \tilde P_B\end{pmatrix}\Big\| \le \frac{2\|A-B\|}{\delta}, \]

using that a block-diagonal matrix has norm the maximum of the norms of its blocks. This proves the stated bound and its right-singular-vector analogue.

Davis–Kahan for the \(k\)-th singular vector. Assume \(s_{k-1} > s_k > s_{k+1}\) (with the convention \(s_0 := +\infty\), so for \(k=1\) only \(s_1>s_2\) is needed). Let \(\varepsilon := \|A-B\|\) and assume \(\varepsilon \le \frac12\min(s_{k-1}-s_k,\ s_k - s_{k+1})\), otherwise the target bound below is \(\ge 2\) and holds trivially as angles are at most \(1\) in sine. By Weyl’s inequality for singular values (Lemma 4.1.14), \(|s_i - t_i|\le\varepsilon\) for all \(i\), whence

\[ t_{k-1} - t_k \ge (s_{k-1} - \varepsilon) - (s_k+\varepsilon) \ge \tfrac12(s_{k-1}-s_k) > 0,\qquad t_k - t_{k+1} \ge \tfrac12 (s_k - s_{k+1}) > 0, \]

so the projections \(P_{k-1}^B - P_k^B = w_kw_k^{\mathsf T}\) and \(P_{k-1}^A - P_k^A = u_ku_k^{\mathsf T}\) are well-defined rank-one projections onto the \(k\)-th singular vectors (for \(k = 1\), \(P_0 := 0\)). Applying the top-\(k\) result proved above with \(k\) and with \(k-1\),

\[ \|u_ku_k^{\mathsf T} - w_kw_k^{\mathsf T}\| \le \|P_k^A - P_k^B\| + \|P_{k-1}^A - P_{k-1}^B\| \le \frac{2\varepsilon}{s_k - s_{k+1}} + \frac{2\varepsilon}{s_{k-1}-s_k}. \]

Finally, for unit vectors \(u,w\), the nonzero eigenvalues of \(uu^{\mathsf T} - ww^{\mathsf T}\) are \(\pm\sqrt{1-\langle u,w\rangle^2}\) (restrict to the span of \(\{u,w\}\)), i.e.

\[ \|uu^{\mathsf T} - ww^{\mathsf T}\| = \sqrt{1 - \cos^2\angle(u,w)} = \sin\angle(u,w), \]

so

\[ \sin\angle\big(u_k(A),\, u_k(B)\big) \;\le\; 2\|A-B\|\,\Big(\frac{1}{s_{k-1}-s_k} + \frac{1}{s_k - s_{k+1}}\Big), \]

and identically for the right singular vectors \(v_k, z_k\). \(\blacksquare\)

Exercise 4.16 (K) (Angle and distance between vectors)

注记Stem (abridged)

If the angle between unit vectors \(u,v\in\mathbb{R}^n\) (a number in \([0,\pi/2]\)) satisfies \(\sin\angle(u,v)\le\varepsilon\), show that \(\|u - \theta v\|_2 \le \sqrt2\,\varepsilon\) for some \(\theta\in\{-1,1\}\).

提示Solution

Since \(\cos\angle(u,v) = |\langle u, v\rangle|\) for the angle in \([0,\pi/2]\),

\[ \min_{\theta\in\{-1,1\}}\|u - \theta v\|_2^2 = 2 - 2|\langle u,v\rangle| = 2\big(1 - \cos\angle(u,v)\big) = 2\big(1-\sqrt{1 - \sin^2\angle(u,v)}\big). \]

Using \(1 - \sqrt{1-t} \le t\) for \(t\in[0,1]\) (square both sides), with \(t = \sin^2\angle(u,v)\),

\[ \min_{\theta\in\{-1,1\}}\|u-\theta v\|_2^2 \le 2\sin^2\angle(u,v) \le 2\varepsilon^2 . \]

Taking \(\theta\) to attain the minimum (explicitly, \(\theta := -\mathrm{sign}\langle u,v\rangle\)) gives \(\|u-\theta v\|_2\le\sqrt2\,\varepsilon\).

Exercise 4.17 (KKK) (Approximate projections)

注记Stem (abridged)

Let \(A\) be \(m\times n\) with \(m\ge n\), and \(\varepsilon\ge0\). (a) Prove that \(A\) is an isometry if and only if \(AA^{\mathsf T}\) is an orthogonal projection in \(\mathbb{R}^m\) onto a subspace of dimension \(n\). (b) Prove that \(A\) is an \(\varepsilon\)-approximate isometry (the three equivalent properties of Lemma 4.1.17) if and only if \(\|AA^{\mathsf T} - P\|\le\varepsilon\) for some orthogonal projection \(P\) in \(\mathbb{R}^m\) with \(\mathrm{rank}(P) = n\).

提示Solution

Recall \(A\) is an isometry iff \(A^{\mathsf T}A = I_n\), and that the singular values satisfy \(s_i(A)^2 \in\) the spectra of both \(A^{\mathsf T}A\) and \(AA^{\mathsf T}\) (Remark 4.1.4).

(a). (\(\Rightarrow\)) If \(A^{\mathsf T}A = I_n\), then \((AA^{\mathsf T})^2 = A(A^{\mathsf T}A)A^{\mathsf T} = AA^{\mathsf T}\) and \(AA^{\mathsf T}\) is symmetric, so \(AA^{\mathsf T}\) is an orthogonal projection; its rank equals \(\mathrm{tr}(AA^{\mathsf T}) = \|A\|_F^2 = \sum_{i\le n}s_i^2 = n\) since all singular values are \(1\) (property (c) of the preamble to Lemma 4.1.17).

(\(\Leftarrow\)) Let \(AA^{\mathsf T} = P\) be a projection of rank \(n\). The eigenvalues of \(P\) are \(1\) (\(n\) times) and \(0\) (\(m-n\) times), and the eigenvalues of \(AA^{\mathsf T}\) are \(s_1(A)^2,\dots,s_n(A)^2, 0,\dots,0\). Since the two matrices are equal, \(s_i(A)^2 = 1\) for all \(i\le n\). Hence \(A^{\mathsf T}A\) is a symmetric positive-semidefinite matrix all of whose eigenvalues equal \(1\), so by the spectral theorem \(A^{\mathsf T}A = I_n\): \(A\) is an isometry.

(b). (\(\Leftarrow\)) Assume \(\|AA^{\mathsf T} - P\|\le\varepsilon\) with \(\mathrm{rank}\,P = n\). By the Weyl inequality (Lemma 4.1.14) applied to each eigenvalue,

\[ \big|\lambda_i(AA^{\mathsf T}) - \lambda_i(P)\big| \le \|AA^{\mathsf T}-P\| \le \varepsilon . \]

For \(i \le n\) we get \(\lambda_i(AA^{\mathsf T}) \in [1-\varepsilon,\, 1+\varepsilon]\), i.e. \(s_i(A)^2\in[1-\varepsilon,1+\varepsilon]\). This is property (iii) of Lemma 4.1.17, so \(A\) is an \(\varepsilon\)-approximate isometry.

(\(\Rightarrow\)) Assume (iii): \(1-\varepsilon \le s_i(A)^2\le 1+\varepsilon\) for all \(i\le n\). Take a full SVD \(A = U\Sigma V^{\mathsf T}\) with \(U\in\mathbb{R}^{m\times m}\), \(V\in\mathbb{R}^{n\times n}\) orthogonal (Remark 4.1.3), so \(AA^{\mathsf T} = U(\Sigma\Sigma^{\mathsf T})U^{\mathsf T}\), where \(\Sigma\Sigma^{\mathsf T} = \mathrm{diag}(s_1^2,\dots,s_n^2,0,\dots,0)\). Define

\[ P := U\,\mathrm{diag}(\underbrace{1,\dots,1}_{n},\underbrace{0,\dots,0}_{m-n})\,U^{\mathsf T}, \]

an orthogonal projection with \(\mathrm{rank}\,P = n\). Orthogonal invariance of the operator norm (Lemma 4.1.10) gives

\[ \|AA^{\mathsf T} - P\| = \|\Sigma\Sigma^{\mathsf T} - \mathrm{diag}(1,\dots,1,0,\dots,0)\| = \max_{i\le n}|s_i^2 - 1| \le \varepsilon. \qquad\blacksquare \]

Exercise 4.18 (K) (\(p\to q\) norm)

注记Stem (abridged)

Define \(\|A\|_{p\to q} = \max_{x\ne0}\frac{\|Ax\|_q}{\|x\|_p} = \max_{\|x\|_p = \|y\|_{q'}=1}|y^{\mathsf T}Ax|\) (4.31). (a) Extend the equations in (4.9) to the \(p\to q\) norm and justify them. (b) Verify this defines a norm. (c) Prove \(\|A^{\mathsf T}\|_{p\to q} = \|A\|_{q'\to p'}\).

提示Solution

(a). Claim:

\[ \|A\|_{p\to q} \;=\; \max_{x\ne 0}\frac{\|Ax\|_q}{\|x\|_p} \;=\; \max_{\|x\|_p\le 1}\|Ax\|_q \;=\; \max_{\|x\|_p = 1}\|Ax\|_q \;=\; \max_{\|x\|_p=\|y\|_{q'}=1}|y^{\mathsf T}Ax| . \]

Justification. First equality: definition. Second: for \(\|x\|_p\le1\), \(x\ne0\), the vector \(x/\|x\|_p\) has \(\|x/\|x\|_p\|_p = 1\) and \(\|Ax\|_q/\|x\|_p = \|A(x/\|x\|_p)\|_q\) (homogeneity of the norm), so every ratio appearing in the max over \(\{0<\|x\|_p\le1\}\) already appears over \(\{\|x\|_p=1\}\); and \(x=0\) contributes \(0\). Third: the maxima over \(\{\|x\|_p\le1\}\) and \(\{\|x\|_p = 1\}\) coincide because the function \(t\mapsto \|A(tx_0)\|_q = t\|Ax_0\|_q\) is increasing along rays, so the maximum over the ball is attained on its boundary; formally the boundary maximum is at least the interior one by scaling up, and at most by inclusion. Fourth: by the duality formula (1.6) for the \(\ell_q\) norm, \(\|z\|_q = \max_{\|y\|_{q'}=1}\langle y,z\rangle\); the maxima are attained since \(\{x:\|x\|_p\le1\}\) and \(\{y:\|y\|_{q'}\le1\}\) are compact (closed bounded sets in finite dimensions) and the bilinear form is continuous.

(b). Nonnegativity is clear. Definiteness: if \(\|A\|_{p\to q}=0\) then \(Ax = 0\) for all \(x\), so \(A=0\); conversely \(\|0\|_{p\to q}=0\). Homogeneity: \(\|\lambda A\|_{p\to q} = |\lambda|\,\|A\|_{p\to q}\) by homogeneity of \(\|\cdot\|_q\). Triangle inequality: for all \(x\ne0\),

\[ \frac{\|(A+B)x\|_q}{\|x\|_p} \le \frac{\|Ax\|_q}{\|x\|_p} + \frac{\|Bx\|_q}{\|x\|_p} \le \|A\|_{p\to q} + \|B\|_{p\to q}, \]

then maximize. So \(\|\cdot\|_{p\to q}\) is a norm on \(\mathbb{R}^{m\times n}\).

(c). Using twice the dual representation from (a), Exercise 4.2(b) for the transpose of a bilinear form, and \((p')' = p\), \((q')' = q\):

\[ \|A^{\mathsf T}\|_{p\to q} = \max_{\|y\|_p = 1}\max_{\|x\|_{q'}=1}\big|x^{\mathsf T}A^{\mathsf T}y\big| = \max_{\|y\|_p=1}\max_{\|x\|_{q'}=1}\big|y^{\mathsf T}Ax\big| = \max_{\|x\|_{q'}=1}\max_{\|y\|_p=1}\big|y^{\mathsf T}Ax\big| = \|A\|_{q'\to p'} , \]

where the third step swaps the two maxima (both maxima are attained, so the order does not matter). \(\blacksquare\)

Exercise 4.19 (KK) (\(1\to\infty\) and \(1\to 2\) norms)

注记Stem (abridged)
  1. Prove \(\|A\|_{1\to\infty} = \max_{i,j}|A_{ij}|\).
  2. Prove \(\|A\|_{1\to2} = \max_{j\le n}\|A_{:j}\|_2\) (max column norm) and \(\|A\|_{2\to\infty} = \max_{i\le m}\|A_{i:}\|_2\) (max row norm).
提示Solution

(a). For any \(x\), \(\|Ax\|_\infty = \max_i|\sum_j A_{ij}x_j| \le \max_{i,j}|A_{ij}|\sum_j|x_j| = \max_{i,j}|A_{ij}|\,\|x\|_1\). Equality: let \((i^*,j^*)\) attain the max and take \(x := \mathrm{sign}(A_{i^*j^*})\,e_{j^*}\), a unit vector of \(\ell_1\) with \((Ax)_{i^*} = |A_{i^*j^*}|\). Hence \(\|A\|_{1\to\infty} = \max_{i,j}|A_{ij}|\).

(b). Columns: by the triangle inequality in \(\ell_2\),

\[ \|Ax\|_2 = \Big\|\sum_j x_j A_{:j}\Big\|_2 \le \sum_j |x_j|\,\|A_{:j}\|_2 \le \Big(\max_j\|A_{:j}\|_2\Big)\|x\|_1 , \]

and equality holds at \(x = e_{j^*}\) where \(j^*\) attains the maximum. Hence \(\|A\|_{1\to2} = \max_j\|A_{:j}\|_2\).

Rows: \(\|Ax\|_\infty = \max_i |\langle A_{i:},x\rangle| \le \max_i\|A_{i:}\|_2\|x\|_2\) by Cauchy–Schwarz, with equality at \(x := A_{i^*:}/\|A_{i^*:}\|_2\) (nonzero if \(A\ne0\); if \(A=0\) trivial). Hence \(\|A\|_{2\to\infty} = \max_i\|A_{i:}\|_2\). (Alternatively, this is \(\|A^{\mathsf T}\|_{1\to 2}\) by Exercise 4.18(c).)

Exercise 4.20 (KKK) (\(\infty\to 1\) norm)

注记Stem (abridged)
  1. Prove \(\|A\|_{\infty\to1} = \max_{x\in\{-1,1\}^m,\ y\in\{-1,1\}^n}|x^{\mathsf T}Ay|\).
  2. Prove \(\|A\|_{\infty\to1} = \sup_{\|Z\|_\infty\le1,\ \mathrm{rank}(Z)=1}|\langle A,Z\rangle|\) (matrix inner product (4.7)).
  3. Find a symmetric \(A\) with \(\max_{x\in[-1,1]^n}|x^{\mathsf T}Ax| \ne \max_{x\in\{-1,1\}^n}|x^{\mathsf T}Ax|\).
提示Solution

(a). Since the conjugate exponent of \(1\) is \(\infty\), part (a) of Exercise 4.18 gives

\[ \|A\|_{\infty\to1} = \max_{\|x\|_\infty\le1,\ \|y\|_\infty\le 1}|y^{\mathsf T}Ax| . \]

So we must show that the maximum of \(f(x,y) := |y^{\mathsf T}Ax|\) over the cube \([-1,1]^{m+n}\) is attained at a vertex. Fix all coordinates except one, say \(x_j\); then \(f\) is the absolute value of an affine function of \(x_j\), i.e. \(f = |c + dx_j|\), whose maximum over \(x_j\in[-1,1]\) is attained at \(x_j\in\{-1,1\}\). Replacing \(x_j\) by such a vertex value does not decrease \(f\). Iterating this replacement over the \(m+n\) coordinates (finitely many steps, each not decreasing \(f\)) exhibits a vertex \((x,y)\in\{-1,1\}^{m+n}\) with \(f(x,y) = \max_{\text{cube}} f\). Hence the two maxima coincide.

(b). “\(\ge\)”: a rank-one matrix with \(\|Z\|_\infty\le1\) can be written \(Z = xy^{\mathsf T}\) with \(|x_i|\le1\), \(|y_j|\le1\) (take any factorization \(Z = uv^{\mathsf T}\); then \(|u_iv_j| = |Z_{ij}| \le 1\) forces \(|u_i|\le1\) after rescaling… more directly, rescale to \(Z = xy^{\mathsf T}\) with \(\|x\|_\infty = 1\), \(\|y\|_\infty\le1\)). For such \(Z\),

\[ |\langle A, Z\rangle| = \Big|\sum_{i,j}A_{ij}x_iy_j\Big| = |y^{\mathsf T}Ax| \le \|A\|_{\infty\to1} \]

by the cube maximization above (scaling: \(\max_{\|x\|_\infty,\|y\|_\infty\le1}|y^{\mathsf T}Ax| = \max_{\{-1,1\}}\), and \(|\sum A_{ij}x_iy_j| \le \max_{|x_i'|,|y_j'|\le 1}|\sum A_{ij}x_i'y_j'|\), since \((x_iy_j)\) ranges over sign-pattern-consistent subsets; in fact \(\max_{\{-1,1\}}\) equals the cube max by (a), which dominates every \(|y^{\mathsf T}Ax|\) with \(\|x\|_\infty,\|y\|_\infty\le1\)).

“\(\le\)”: vertices \(x\in\{-1,1\}^m\), \(y\in\{-1,1\}^n\) give \(Z := xy^{\mathsf T}\) with \(\|Z\|_\infty = 1\), \(\mathrm{rank}\,Z = 1\), and \(\langle A, xy^{\mathsf T}\rangle = y^{\mathsf T}Ax\). So the supremum over admissible \(Z\) is at least \(\max_{\{-1,1\}}|y^{\mathsf T}Ax| = \|A\|_{\infty\to1}\) by (a).

(c). Take \(A = \begin{pmatrix}1 & 0\\ 0 & -1\end{pmatrix}\), so \(x^{\mathsf T}Ax = x_1^2 - x_2^2\). Over the cube the maximum of \(|x_1^2-x_2^2|\) is \(1\), attained at \(x = (\pm1, 0)\). Over the vertices \(\{-1,1\}^2\) we get \(x_1^2-x_2^2 = 0\) always. So

\[ 1 = \max_{x\in[-1,1]^2}|x^{\mathsf T}Ax| \;\ne\; \max_{x\in\{-1,1\}^2}|x^{\mathsf T}Ax| = 0 . \]

The phenomenon is that \(x\mapsto x^{\mathsf T}Ax\) need not be convex (for indefinite \(A\)), so the maximum over the cube can escape the vertex set — unlike the bilinear form of part (a).

Exercise 4.21 (KKK) (Cut norm)

注记Stem (abridged)

Define \(\|A\|_{\mathrm{cut}} := \max_{I,J}\big|\sum_{i\in I, j\in J}A_{ij}\right|\) over all subsets \(I\subseteq\{1,\dots,m\}\), \(J\subseteq\{1,\dots,n\}\). Prove \(\|A\|_{\mathrm{cut}} \le \|A\|_{\infty\to1} \le 4\|A\|_{\mathrm{cut}}\).

提示Solution

First inequality. Let \(I,J\) be maximizing subsets and set \(x := \mathbb{1}_I\in\{0,1\}^m\), \(y := \mathbb{1}_J\in\{0,1\}^n\). Then

\[ \|A\|_{\mathrm{cut}} = |x^{\mathsf T}Ay| \;\le\; \max_{x',y'\in[-1,1]\ \text{unit cube}} |x'^{\mathsf T}Ay'| \;=\; \max_{x'\in\{-1,1\}^m,\ y'\in\{-1,1\}^n}|x'^{\mathsf T}Ay'| \;=\;\|A\|_{\infty\to1}, \]

where the middle equality is Exercise 4.20(a).

Second inequality. Fix \(x\in\{-1,1\}^m\), \(y\in\{-1,1\}^n\) and decompose according to the values of the signs, as in the hint: using \(\mathbb{1}\{x_i = s\} = \frac{1+sx_i}{2}\) and \(\mathbb{1}\{y_j = t\} = \frac{1+ty_j}{2}\) for \(s,t\in\{-1,1\}\), define the four submatrix sums

\[ S_{st} := \sum_{\substack{i:\,x_i = s\\ j:\, y_j = t}} A_{ij} = \frac14\sum_{i,j}A_{ij}\big(1+sx_i\big)\big(1+ty_j\big),\qquad s,t\in\{-1,1\}. \]

Each \(S_{st}\) is a sum of entries of \(A\) over the submatrix \(I_s\times J_t\) where \(I_s := \{i: x_i = s\}\), \(J_t := \{j: y_j = t\}\), so \(|S_{st}|\le\|A\|_{\mathrm{cut}}\) by definition of the cut norm. Moreover, for each fixed pair \((i,j)\),

\[ \sum_{s,t\in\{-1,1\}} st\;\mathbb 1\{x_i = s\}\,\mathbb 1\{y_j = t\} = x_iy_j \]

(only the term with \(s = x_i\), \(t = y_j\) survives), so summing over \((i,j)\) gives the exact expansion

\[ x^{\mathsf T}Ay = \sum_{s,t\in\{-1,1\}} st\; S_{st}. \]

Therefore, by the triangle inequality over the four sign pairs,

\[ \big|x^{\mathsf T}Ay\big| \;\le\; \sum_{s,t\in\{-1,1\}}|S_{st}| \;\le\; 4\,\|A\|_{\mathrm{cut}} . \]

Maximizing over \(x,y\) and using Exercise 4.20(a) yields \(\|A\|_{\infty\to1}\le 4\|A\|_{\mathrm{cut}}\). \(\blacksquare\)

Remark. Both inequalities are tight up to constants: for the all-ones \(1\times n\) row, \(\|A\|_{\mathrm{cut}} = n = \|A\|_{\infty\to1}\); and for \(2\times2\) blocks of the form \(\left(\begin{smallmatrix}1&1\\1&-1\end{smallmatrix}\right)\) tiled along the diagonal, \(\|A\|_{\infty\to1}\) is a constant factor larger than \(\|A\|_{\mathrm{cut}}\).

Exercise 4.22 (K) (SDP relaxations)

注记Stem (abridged)

Let \(A\) be \(m\times n\). Argue that \(\|A\|_{\infty\to1}\), the cut norm (Exercise 4.21), and \(\|A\|_{\infty\to2}\) can each be approximated up to an absolute constant factor by solving a semidefinite program. [The printed stem lists the cut norm twice; these are the three distinct quantities.]

提示Solution

Throughout “within a constant factor” means: the SDP value lies between the quantity and an absolute-constant multiple of it, so solving the SDP (a convex program, solvable in polynomial time) yields a constant-factor approximation.

The \(\infty\to1\) norm. By Exercise 4.20(a), \[ \|A\|_{\infty\to1} = \max\Big\{\textstyle\sum_{i,j}A_{ij}x_iy_j :\ x\in\{\pm1\}^m,\ y\in\{\pm1\}^n\Big\} \] (a bilinear integer program of the form (3.40) in Exercise 3.52). Its vector relaxation \[ \mathrm{sdp}_1(A) := \max\Big\{\textstyle\sum_{i,j}A_{ij}\langle X_i, Y_j\rangle :\ \|X_i\|_2 = \|Y_j\|_2 = 1\Big\} \] is an SDP: writing \(Z\) for the Gram matrix of all vectors \((X_1,\dots,X_m,Y_1,\dots,Y_n)\), the objective \(\sum A_{ij}Z_{i,m+j}\) is linear in \(Z\) and the constraints are \(Z\succeq0\), \(\mathrm{diag}(Z) = \mathbb{1}\) — a semidefinite program, as in (3.30). Choosing \(X_i = x_ie_1\), \(Y_j = y_je_1\) exhibits every integer solution in the relaxation, so \(\mathrm{sdp}_1(A)\ge \|A\|_{\infty\to1}\); and by the Grothendieck inequality (via Exercise 3.52(b)),

\[ \|A\|_{\infty\to1} \;\le\; \mathrm{sdp}_1(A) \;\le\; K_G\,\|A\|_{\infty\to1}, \]

with the absolute constant \(K_G \le 1.783\). So solving one SDP approximates \(\|A\|_{\infty\to1}\) within the factor \(K_G\).

The cut norm. By Exercise 4.21, \(\tfrac14\|A\|_{\infty\to1}\le\|A\|_{\mathrm{cut}}\le\|A\|_{\infty\to1}\), so the SDP value \(\mathrm{sdp}_1(A)\) approximates \(\|A\|_{\mathrm{cut}}\) within the absolute factor \(4K_G\).

The \(\infty\to2\) norm. Since \(x\mapsto \|Ax\|_2\) is convex, its maximum over the cube \([-1,1]^m\) is attained at a vertex (any point of the cube is a convex combination of vertices \(v_\ell\), and convexity gives \(\|Ax\|_2\le\max_\ell\|Av_\ell\|_2\)). Hence

\[ \|A\|_{\infty\to2}^2 = \max_{x\in\{\pm1\}^m} x^{\mathsf T}(A^{\mathsf T}A)x =: \mathrm{int}(A^{\mathsf T}A), \]

an integer quadratic program with the positive-semidefinite matrix \(M := A^{\mathsf T}A\), of the form (3.28). Its SDP relaxation (3.29)–(3.30),

\[ \mathrm{sdp}_2(A) := \max\big\{\langle M, Z\rangle :\ Z\succeq0,\ Z_{ii} = 1\big\} = \max\Big\{\Big\|\textstyle\sum_i x_i a_i\Big\|_2^2 \text{ over unit vectors } x_i\Big\} \]

(where \(a_i\) are the columns of \(A^{\mathsf T}\), i.e. the transposed rows of \(A\)), satisfies, by Theorem 3.5.7 (the guarantee of relaxation for PSD matrices),

\[ \|A\|_{\infty\to2}^2 \;=\; \mathrm{int}(A^{\mathsf T}A) \;\le\; \mathrm{sdp}_2(A) \;\le\; 2K_G\,\mathrm{int}(A^{\mathsf T}A) = 2K_G\,\|A\|_{\infty\to2}^2 . \]

Taking square roots, \(\mathrm{sdp}_2(A)^{1/2}\) approximates \(\|A\|_{\infty\to2}\) within \(\sqrt{2K_G}\). (If \(\mathrm{int}(A^{\mathsf T}A) = 0\) then \(\|Ax\|_2=0\) for all \(x\in\{\pm1\}^m\); since these \(x\) span \(\mathbb{R}^m\), \(A = 0\) and all quantities vanish.) \(\blacksquare\)

Exercise 4.23 (K) (Transitivity of \(\varepsilon\)-nets)

注记Stem (abridged)

If \(N\) is an \(\varepsilon\)-net of \(M\) and \(M\) is a \(\delta\)-net of \(K\), show that \(N\) is an \((\varepsilon+\delta)\)-net of \(K\).

提示Solution

Note \(N\subseteq M\subseteq K\), so \(N\) is a legitimate candidate subset of \(K\). Let \(x\in K\). Since \(M\) is a \(\delta\)-net of \(K\), there is \(y\in M\) with \(d(x,y)\le\delta\). Since \(N\) is an \(\varepsilon\)-net of \(M\), there is \(z\in N\) with \(d(y,z)\le\varepsilon\). By the triangle inequality,

\[ d(x,z) \le d(x,y) + d(y,z) \le \delta + \varepsilon . \]

As \(x\in K\) was arbitrary, \(N\) is an \((\varepsilon+\delta)\)-net of \(K\).

Exercise 4.24 (KKK) (Packing balls)

注记Stem (abridged)

Remark 4.2.5 notes that an \(\varepsilon\)-separated set \(N\) yields disjoint closed \(\varepsilon/2\)-balls. (a) Show the converse is false in a general metric space, (b) but true in any normed space.

提示Solution

The converse in question is: if the closed \(\varepsilon/2\)-balls centered at points of \(N\) are disjoint, then \(N\) is \(\varepsilon\)-separated (i.e. \(d(x,y)>\varepsilon\) for all distinct \(x,y\in N\)). One direction is always true: if \(d(x,y)\le\varepsilon\) and a common point exists, the balls intersect; the failure mode in general metric spaces is that two points at distance \(\le\varepsilon\) may have no “midpoint” lying in both balls.

(a). Take the two-point space \(T = \{0, 1\}\) with the usual Euclidean metric, and \(\varepsilon := 1\). The closed \(\varepsilon/2\)-balls are \(\bar B(0,\tfrac12) = \{0\}\) and \(\bar B(1,\tfrac12) = \{1\}\), which are disjoint. Yet \(d(0,1) = 1 = \varepsilon\), not \(> \varepsilon\), so \(N = \{0,1\}\) is not \(\varepsilon\)-separated. (Any disconnected/discrete space with a pair at distance exactly \(\varepsilon\) works; this matches the book’s hint.)

(b). Let \((T,\|\cdot\|)\) be a normed space and suppose \(x\ne y\) with \(\|x-y\|\le\varepsilon\). The midpoint \(z := \frac{x+y}{2}\) belongs to \(T\) and satisfies

\[ \|x - z\| = \big\|\tfrac{x-y}{2}\big\| = \tfrac12\|x-y\|\le \tfrac\varepsilon2,\qquad \|y - z\| = \tfrac12\|x-y\|\le\tfrac\varepsilon2, \]

so \(z\) lies in both closed \(\varepsilon/2\)-balls: they intersect. Contrapositively, if the closed \(\varepsilon/2\)-balls centered at \(N\) are disjoint, then no distinct pair has distance \(\le\varepsilon\), i.e. \(N\) is \(\varepsilon\)-separated. \(\blacksquare\)

Exercise 4.25 (KKK) (External covering numbers)

注记Stem (abridged)

The external covering number \(\bar{\mathcal N}(K,d,\varepsilon)\) allows net centers outside \(K\). Prove \(\bar{\mathcal N}(K,d,\varepsilon) \le \mathcal N(K,d,\varepsilon) \le \bar{\mathcal N}(K,d,\varepsilon/2)\).

提示Solution

First inequality. An (internal) \(\varepsilon\)-net has centers in \(K \subseteq T\), so it is a fortiori an external \(\varepsilon\)-net. Hence the external minimum is at most the internal one.

Second inequality. Let \(\{x_1,\dots,x_N\}\subseteq T\) be an external \((\varepsilon/2)\)-net of \(K\) with \(N = \bar{\mathcal N}(K,d,\varepsilon/2)\). Discard every \(x_i\) whose ball \(\bar B(x_i,\varepsilon/2)\) misses \(K\); for each kept \(x_i\), choose a point \(y_i \in \bar B(x_i,\varepsilon/2)\cap K\). Then \(\{y_i\}\subseteq K\), and for any \(x\in K\) there is some (necessarily kept, since \(x\) lies in its ball) \(x_i\) with \(d(x,x_i)\le\varepsilon/2\), whence

\[ d(x,y_i) \le d(x,x_i) + d(x_i,y_i) \le \frac\varepsilon2 + \frac\varepsilon2 = \varepsilon . \]

So \(\{y_i\}\) is an internal \(\varepsilon\)-net of \(K\) of size \(\le N\), proving \(\mathcal N(K,d,\varepsilon)\le\bar{\mathcal N}(K,d,\varepsilon/2)\). (This is the hint’s “re-centering” trick: an \(\varepsilon/2\)-ball centered outside \(K\) but meeting \(K\) is dominated by an \(\varepsilon\)-ball centered at a nearby point of \(K\).) \(\blacksquare\)

Exercise 4.26 (KKK) (Monotonicity of covering numbers)

注记Stem (abridged)

Covering numbers are monotone in \(\varepsilon\) (why?), but not in \(K\). (a) Give an example with \(L\subset K\) but \(\mathcal N(L,d,\varepsilon) > \mathcal N(K,d,\varepsilon)\). (b) Prove the approximate monotonicity \(L\subset K \Rightarrow \mathcal N(L,d,\varepsilon)\le \mathcal N(K,d,\varepsilon/2)\).

提示Solution

Motonicity in \(\varepsilon\): if \(\varepsilon' \ge \varepsilon > 0\), every \(\varepsilon\)-net of \(K\) is also an \(\varepsilon'\)-net (balls only grow), so \(\mathcal N(K,d,\varepsilon')\le\mathcal N(K,d,\varepsilon)\): the covering number is nonincreasing in \(\varepsilon\).

(a). The obstruction is that net centers must lie in the set: removing points of \(K\) can remove useful centers. Take \(T = \mathbb{R}\) with the Euclidean metric, \(\varepsilon := 1\), \[ K := \{0,\,1,\,2\}, \qquad L := \{0, 2\}\subset K . \] Then \(\mathcal N(K,1) = 1\): the single ball centered at \(1\in K\) covers all three points. But \(\mathcal N(L,1) = 2\): the only allowed centers are \(0\) and \(2\), at distance 2, so one ball of radius 1 cannot cover both. Hence \(\mathcal N(L,d,1) = 2 > 1 = \mathcal N(K,d,1)\) although \(L\subset K\).

(b). Let \(\{x_1,\dots,x_N\}\) be a minimal \((\varepsilon/2)\)-net of \(K\), \(N = \mathcal N(K,d,\varepsilon/2)\). Keep exactly those \(x_i\) with \(\bar B(x_i,\varepsilon/2)\cap L\ne\emptyset\), and for each kept one pick \(y_i\) in that intersection; note \(y_i\in L\). Given \(x\in L\subseteq K\), some \(x_i\) (necessarily kept) satisfies \(d(x,x_i)\le\varepsilon/2\), so

\[ d(x,y_i)\le d(x,x_i) + d(x_i,y_i)\le \varepsilon . \]

Thus \(\{y_i\}\subseteq L\) is an \(\varepsilon\)-net of \(L\) of size \(\le N\): \(\mathcal N(L,d,\varepsilon)\le\mathcal N(K,d,\varepsilon/2)\). (Same re-centering trick as Exercise 4.25, as the hint notes.) \(\blacksquare\)

Exercise 4.27 (KK) (Volume of the Euclidean ball: a geometric argument)

注记Stem (abridged)
  1. The canonical simplex \(\Delta_n = \{x\in\mathbb{R}^n : x_i\ge0,\ \sum_i x_i\le1\}\) has volume \(1/n!\).
  2. Deduce \(\mathrm{Vol}(B_1^n) = 2^n/n! \le (2e/n)^n\).
  3. Sandwich \(B_2^n\) between a scaled cube and a scaled \(\ell_1\) ball to conclude \(\big(2/\sqrt n\big)^n \le \mathrm{Vol}(B_2^n)\le\big(2e/\sqrt n\big)^n\) (4.33).
提示Solution

(a). Induction on \(n\). For \(n=1\): \(\Delta_1 = [0,1]\) has length \(1 = 1/1!\). For the step, slice \(\Delta_n\) by the last coordinate: the slice at height \(t\in[0,1]\) is

\[ \{x\in\mathbb{R}^{n-1} : x_i\ge0,\ \sum_{i\le n-1}x_i \le 1-t\} = (1-t)\,\Delta_{n-1}, \]

a scaled copy of \(\Delta_{n-1}\) with \((n-1)\)-dimensional volume \((1-t)^{n-1}\mathrm{Vol}(\Delta_{n-1})\). By Fubini’s theorem,

\[ \mathrm{Vol}(\Delta_n) = \int_0^1 (1-t)^{n-1}\,dt\;\mathrm{Vol}(\Delta_{n-1}) = \frac{1}{n}\,\mathrm{Vol}(\Delta_{n-1}) = \frac{1}{n}\cdot\frac{1}{(n-1)!} = \frac1{n!}. \qquad\square \]

(b). Each \(x\in B_1^n\) has a sign vector \(\sigma := \mathrm{sign}(x)\in\{-1,1\}^n\) and \(|x| := (|x_i|)\in\Delta_n\); conversely every such pair reconstructs \(x = \sigma\odot|x|\). The \(2^n\) resulting orthants intersect only along coordinate hyperplanes (measure zero), so

\[ \mathrm{Vol}(B_1^n) = 2^n\,\mathrm{Vol}(\Delta_n) = \frac{2^n}{n!} \le 2^n\Big(\frac en\Big)^{\!n} = \Big(\frac{2e}{n}\Big)^{\!n}, \]

using the standard bound \(n!\ge(n/e)^n\), which follows from the series expansion \(e^n = \sum_{k\ge0}\frac{n^k}{k!} \ge \frac{n^n}{n!}\).

(c). Lower bound: the cube \(\tfrac1{\sqrt n}[-1,1]^n\) is contained in \(B_2^n\), since every corner has norm \(\sqrt{n\cdot\frac1n}=1\) and the cube is the convex hull of its corners while the ball is convex. Hence

\[ \mathrm{Vol}(B_2^n)\ \ge\ \mathrm{Vol}\big(\tfrac{1}{\sqrt n}[-1,1]^n\big) = \Big(\frac2{\sqrt n}\Big)^{\!n}. \]

Upper bound: by Cauchy–Schwarz (or Hölder), \(\|x\|_1 \le \sqrt n\,\|x\|_2\), so every \(x\in B_2^n\) has \(\|x\|_1\le\sqrt n\), i.e. \(B_2^n\subseteq\sqrt n\,B_1^n\). Therefore, using (b),

\[ \mathrm{Vol}(B_2^n)\ \le\ n^{n/2}\,\mathrm{Vol}(B_1^n)\ \le\ n^{n/2}\,\frac{2^n}{n!}\ \le\ n^{n/2}\Big(\frac{2e}{n}\Big)^{\!n} = \Big(\frac{2e}{\sqrt n}\Big)^{\!n}. \qquad\blacksquare \]

Exercise 4.28 (KK) (Volume of the Euclidean ball: a probabilistic argument)

注记Stem (abridged)

Deduce from the small ball probability (Exercise 3.7) that \(\mathrm{Vol}(B_2^n) \le \big(2\pi e/n\big)^{n/2}\).

提示Solution

Let \(X = (X_1,\dots,X_n)\) be i.i.d. uniform on \([-\frac12,\frac12]\); the coordinates have continuous densities bounded by \(K=1\), so Exercise 3.7(a) applies: for any fixed \(a\in\mathbb{R}^n\) and \(\varepsilon>0\),

\[ \mathbb{P}\big\{\|X-a\|_2\le \varepsilon\sqrt n\big\}\ \le\ \big(\sqrt{2\pi e}\,\varepsilon\big)^n . \]

Apply this with \(a := 0\) and any \(\varepsilon \le \frac{1}{2\sqrt n}\), so that the Euclidean ball \(\varepsilon\sqrt n\,B_2^n\) is contained in the unit cube \([-\frac12,\frac12]^n\) (all coordinates of a vector of norm \(\le\varepsilon\sqrt n\le\frac12\) are \(\le\frac12\)). Since \(X\) is uniform on the cube (of volume 1),

\[ \mathbb{P}\{\|X\|_2\le\varepsilon\sqrt n\} = \mathrm{Vol}\big([-\tfrac12,\tfrac12]^n\cap \varepsilon\sqrt n\,B_2^n\big) = \mathrm{Vol}\big(\varepsilon\sqrt n\,B_2^n\big) = \varepsilon^n n^{n/2}\,\mathrm{Vol}(B_2^n). \]

Combining the two displays and cancelling \(\varepsilon^n\),

\[ \mathrm{Vol}(B_2^n)\ \le\ \frac{(\sqrt{2\pi e})^n}{n^{n/2}} = \Big(\frac{2\pi e}{n}\Big)^{\!n/2}, \]

which is a factor \(\sqrt{\pi e}\approx 2.07\) better than (4.33) in the base of the exponent. \(\blacksquare\)

Exercise 4.29 (KKK) (Volume of the Euclidean ball: an analytic argument)

注记Stem (abridged)
  1. For a norm \(\|\cdot\|\) on \(\mathbb{R}^n\) with unit ball \(B\), and decreasing differentiable \(f:\mathbb{R}_+\to\mathbb{R}_+\) with \(f(+\infty)=0\), check \(\int_{\mathbb{R}^n} f(\|x\|)\,dx = -\mathrm{Vol}(B)\int_0^\infty t^n f'(t)\,dt\).
  2. Deduce with \(f(t)=e^{-t^2/2}\) that \(\mathrm{Vol}(B_2^n) = \pi^{n/2}/\Gamma(n/2+1)\).
  3. Show the radius \(R_n\) of a volume-one Euclidean ball satisfies \(R_n = \sqrt{n/(2\pi e)}\,(1+o(1))\).
提示Solution

(a). Since \(f\) is decreasing, differentiable, with \(\lim_{+\infty}f = 0\), the fundamental theorem of calculus gives, for every \(s\ge0\),

\[ f(s) = -\int_s^\infty f'(t)\,dt = \int_s^\infty\big(-f'(t)\big)\,dt , \]

and \(-f'(t)\ge0\). Apply this with \(s := \|x\|\) and use Tonelli’s theorem to swap the integrals:

\[ \int_{\mathbb{R}^n}f(\|x\|)\,dx = \int_{\mathbb{R}^n}\int_{\|x\|}^\infty\big(-f'(t)\big)\,dt\,dx = \int_0^\infty\big(-f'(t)\big)\,\mathrm{Vol}\{x\in\mathbb{R}^n : \|x\|\le t\}\,dt . \]

(The swap is justified as the integrand \(-f'(t)\mathbb 1\{t\ge\|x\|\}\) is nonnegative.) By homogeneity of the norm, \(\mathrm{Vol}\{x:\|x\|\le t\} = t^n\,\mathrm{Vol}(B)\), which yields the stated identity. This is the volume version of the integrated tail formula, as the hint notes.

(b). Substitute \(f(t) = e^{-t^2/2}\). The left side factors into one-dimensional Gaussian integrals:

\[ \int_{\mathbb{R}^n}e^{-\|x\|_2^2/2}\,dx = \prod_{i=1}^n\int_{-\infty}^\infty e^{-t^2/2}\,dt = (2\pi)^{n/2}. \]

The right side is \(-\mathrm{Vol}(B_2^n)\int_0^\infty t^ne^{-t^2/2}(-t)\,dt = \mathrm{Vol}(B_2^n)\int_0^\infty t^{n+1}e^{-t^2/2}\,dt\). To evaluate the last integral, substitute \(u := t^2/2\), i.e. \(t = \sqrt{2u}\), \(dt = \frac{du}{\sqrt{2u}}\,\):

\[ \int_0^\infty t^{n+1}e^{-t^2/2}\,dt = \int_0^\infty (2u)^{(n+1)/2}e^{-u}\frac{du}{\sqrt{2u}} = 2^{n/2}\int_0^\infty u^{n/2}e^{-u}\,du = 2^{n/2}\,\Gamma\big(\tfrac n2+1\big). \]

Equating both sides, \((2\pi)^{n/2} = \mathrm{Vol}(B_2^n)\,2^{n/2}\Gamma(\frac n2+1)\), so

\[ \mathrm{Vol}(B_2^n) = \frac{\pi^{n/2}}{\Gamma\big(\frac n2+1\big)}. \qquad\square \]

(Checks: \(n=2\) gives \(\pi\); \(n=3\) gives \(\frac{4\pi}3\); and Stirling recovers Exercise 4.28’s bound.)

(c). \(\mathrm{Vol}(R_nB_2^n) = R_n^n\,\mathrm{Vol}(B_2^n) = 1\), so \(R_n = \Gamma(\frac n2+1)^{1/n}\,\pi^{-1/2}\). By Stirling’s formula with error bound, \(\Gamma(x+1) = \sqrt{2\pi x}\,(x/e)^x\,e^{\theta/(12x)}\) for some \(\theta\in(0,1)\), so with \(x = n/2\),

\[ \Gamma\big(\tfrac n2+1\big)^{1/n} = (\pi n)^{1/2n}\,\Big(\frac{n}{2e}\Big)^{1/2}\,e^{\,\theta/(6n^2)} = \Big(\frac{n}{2e}\Big)^{1/2}\,(1+o(1)), \]

because \((\pi n)^{1/2n}\to1\) and \(e^{O(1/n^2)}\to1\). Hence

\[ R_n = \frac{\Gamma(\frac n2+1)^{1/n}}{\sqrt\pi} = \sqrt{\frac{n}{2\pi e}}\,\big(1+o(1)\big),\qquad n\to\infty. \qquad\blacksquare \]

Since \(R_n\to\infty\), a ball of fixed volume must have ever-larger radius: the volume of the unit ball is exponentially small, consistent with (4.33)–Exercise 4.28.

Exercise 4.30 (KKK) (Volume of the \(\ell_p\) ball)

注记Stem (abridged)

Let \(p\in[1,\infty]\) and \(B_p^n := \{x : \|x\|_p\le1\}\). (a) Deduce \(\big(2/n^{1/p}\big)^n \le \mathrm{Vol}(B_p^n)\le\big(2e/n^{1/p}\big)^n\) geometrically. (b) Compute exactly: \(\mathrm{Vol}(B_p^n) = \big(2\Gamma(1/p+1)\big)^n\big/\Gamma(n/p+1)\).

提示Solution

(a). Lower bound: the cube \(n^{-1/p}[-1,1]^n\) lies in \(B_p^n\), since for each of its points, \(\|x\|_p^p = \sum_i|x_i|^p\le n\cdot n^{-1} = 1\) (with the usual reading \(n^{1/p} = n^0 = 1\) for \(p=\infty\), where the claim is an identity). Hence \(\mathrm{Vol}(B_p^n)\ge(2n^{-1/p})^n\).

Upper bound: by Hölder, \(\|x\|_1\le n^{1/p'}\|x\|_p\) where \(\tfrac1p+\tfrac1{p'}=1\), so \(B_p^n\subseteq n^{1/p'}B_1^n\). Using Exercise 4.27(b),

\[ \mathrm{Vol}(B_p^n)\ \le\ n^{n/p'}\,\mathrm{Vol}(B_1^n)\ =\ n^{n/p'}\,\frac{2^n}{n!}\ \le\ n^{n/p'}\Big(\frac{2e}{n}\Big)^{\!n} = \Big(\frac{2e}{n^{1/p}}\Big)^{\!n}, \]

since \(1/p' = 1 - 1/p\). (For \(p = \infty\) this reads \(2^n\le\mathrm{Vol}(B_\infty^n) = 2^n\le(2e)^n\).) This mirrors Exercise 4.27(c) with the cube/\(\ell_1\) sandwich scaled by \(n^{-1/p}\).

(b). Apply the identity of Exercise 4.29(a) with the norm \(\|\cdot\|_p\) (unit ball \(B_p^n\)) and the function \(f(t) := e^{-t^p}\). Left side, by the product structure:

\[ \int_{\mathbb{R}^n}e^{-\|x\|_p^p}\,dx = \prod_{i=1}^n\int_{-\infty}^\infty e^{-|t|^p}\,dt = \Big(2\Gamma\big(1+\tfrac1p\big)\Big)^{\!n}, \]

since \(\int_0^\infty e^{-t^p}dt = \frac1p\Gamma(\frac1p) = \Gamma(1+\frac1p)\) by the substitution \(u = t^p\). Right side: \(-f'(t) = pt^{p-1}e^{-t^p}\), so

\[ -\mathrm{Vol}(B_p^n)\int_0^\infty t^n f'(t)\,dt = \mathrm{Vol}(B_p^n)\cdot p\int_0^\infty t^{n+p-1}e^{-t^p}\,dt , \]

and substituting \(u = t^p\) (so \(t^{p-1}dt = \frac1p u^{\ldots}\): precisely \(t^{n+p-1}dt = \frac1p u^{n/p}\,du\)),

\[ p\int_0^\infty t^{n+p-1}e^{-t^p}\,dt = p\cdot\frac1p\int_0^\infty u^{n/p}e^{-u}\,du = \Gamma\big(\tfrac np+1\big). \]

Equating,

\[ \mathrm{Vol}(B_p^n) = \frac{\big(2\Gamma(1/p+1)\big)^n}{\Gamma\big(n/p+1\big)}. \qquad\blacksquare \]

(Checks: \(p=2\) recovers Exercise 4.29(b) since \(2\Gamma(3/2) = \sqrt\pi\); \(p=1\) gives \(2^n/n!\) as in Exercise 4.27(b); \(p\to\infty\) gives \(2^n/\Gamma(1) = 2^n\).)

Exercise 4.31 (KKK) (A lattice is an \(\varepsilon\)-net)

注记Stem (abridged)

Let \(N\) be the set of points of the scaled integer lattice \(\frac{\varepsilon}{\sqrt n}\mathbb{Z}^n\) that lie inside \(B_2^n\). Check that \(N\) is an \(\varepsilon\)-net of \(B_2^n\) and \(|N|\le\big(e(2/\varepsilon+1)\big)^n\) [formula verified against the PDF, printed p. 136]. Mention how to quickly approximate any vector in the ball by a vector of \(N\).

提示Solution

Write \(h := \varepsilon/\sqrt n\) for the lattice spacing and assume \(0<\varepsilon\le 1\) (for \(\varepsilon\ge1\) the single point \(0\in N\) covers the ball).

\(N\) is an \(\varepsilon\)-net. Let \(x\in B_2^n\). Pull \(x\) slightly inward: \(x_0 := (1-\tfrac\varepsilon2)x\), so that \(\|x-x_0\|_2 = \tfrac\varepsilon2\|x\|_2\le\tfrac\varepsilon2\) and \(\|x_0\|_2\le1-\tfrac\varepsilon2\). Let \(y\) be obtained from \(x_0\) by rounding each coordinate to the nearest multiple of \(h\); then \(|x_{0,i} - y_i|\le h/2\) for each \(i\), so

\[ \|x_0-y\|_2 \le \Big(n\cdot\frac{h^2}{4}\Big)^{1/2} = \frac{\varepsilon}{2},\qquad \|y\|_2 \le \|x_0\|_2 + \frac\varepsilon2 \le 1, \]

so \(y\in N\), and \(\|x-y\|_2\le\|x-x_0\|_2+\|x_0-y\|_2\le\varepsilon\). (The inward pull is what keeps the rounded point inside the ball, i.e. in \(N\).) Quick approximation: exactly this — scale the target by \(1-\varepsilon/2\) and round each coordinate to the nearest lattice point; it takes \(O(n)\) arithmetic operations.

Cardinality. Around each \(y\in N\) place the axis-parallel cube \(Q_y := y + \frac{h}{2}(-1,1)^n\) (half-side \(h/2\)). Distinct lattice points differ by at least \(h\) in some coordinate, so the open cubes \(Q_y\) are pairwise disjoint; they all lie in the slightly inflated ball,

\[ Q_y \subset B_2^n + \tfrac h2(-1,1)^n \subset \big(1 + \tfrac h2\sqrt n\big)B_2^n = \Big(1+\frac\varepsilon2\Big)B_2^n, \]

because a point of \(Q_y\) has norm at most \(\|y\|_2 + \frac h2\sqrt n\le 1+\frac\varepsilon2\). Comparing volumes,

\[ |N|\cdot h^n \;=\; \sum_{y\in N}\mathrm{Vol}(Q_y) \;\le\; \Big(1+\frac\varepsilon2\Big)^{\!n}\mathrm{Vol}(B_2^n) \;\le\; \Big(1+\frac\varepsilon2\Big)^{\!n}\Big(\frac{2e}{\sqrt n}\Big)^{\!n}, \]

using Exercise 4.27(c) for the last step. Since \(h^n = \varepsilon^n n^{-n/2}\),

\[ |N| \;\le\; \Big(1+\frac\varepsilon2\Big)^{\!n}\Big(\frac{2e}{\varepsilon}\Big)^{\!n} = \Big(\frac{2e}{\varepsilon} + e\Big)^{\!n} = \big(e(2/\varepsilon + 1)\big)^{\!n}, \]

which nearly matches Corollary 4.2.11, \(\mathcal N(B_2^n,\varepsilon)\le(2/\varepsilon+1)^n\): the exponent’s dependence on \(\varepsilon\) is identical, and only the absolute constant \(e\) in the base is lost. \(\blacksquare\)

Exercise 4.32 (K) (Covering and packing numbers of the Hamming cube)

注记Stem (abridged)

Prove Proposition 4.2.15: for the Hamming cube \(K=\{0,1\}^n\) with Hamming metric \(d_H\) and any integer \(m\in[0,n]\), \(\dfrac{2^n}{\sum_{k=0}^m\binom nk} \;\le\; \mathcal N(K,d_H,m) \;\le\; \mathcal P(K,d_H,m) \;\le\; \dfrac{2^n}{\sum_{k=0}^{\lfloor m/2\rfloor}\binom nk}\).

提示Solution

Let \(v(n,r) := \sum_{k=0}^r\binom nk\) denote the volume of a closed Hamming ball of radius \(r\); by translation invariance of \(d_H\) (flip the bits where the center has a 1), every ball of radius \(r\) centered at a point of the cube contains exactly \(v(n,r)\) points of the cube.

Lower bound for \(\mathcal N\). An \(m\)-net of \(K\) consists of balls of radius \(m\) covering all \(2^n\) points, each containing at most \(v(n,m)\) points:

\[ 2^n \;\le\; \mathcal N(K,d_H,m)\cdot v(n,m) \quad\Longrightarrow\quad \mathcal N(K,d_H,m) \;\ge\; \frac{2^n}{v(n,m)} . \]

Middle inequality. \(\mathcal N(K,d_H,m)\le\mathcal P(K,d_H,m)\) is Lemma 4.2.8 (a maximal \(m\)-separated subset is an \(m\)-net), valid in any metric space.

Upper bound for \(\mathcal P\). Let \(M\subseteq K\) be \(m\)-separated, i.e. \(d_H(x,y)>m\) for distinct points; since \(d_H\) is integer-valued, \(d_H(x,y)\ge m+1\). The closed balls of radius \(\lfloor m/2\rfloor\) centered at points of \(M\) are pairwise disjoint: if \(z\) belonged to two of them, the triangle inequality would give \(d_H(x,y)\le 2\lfloor m/2\rfloor\le m\), a contradiction. Each such ball contains exactly \(v(n,\lfloor m/2\rfloor)\) points, all inside \(K\), so

\[ |M|\cdot v\big(n,\lfloor m/2\rfloor\big)\;\le\;2^n \quad\Longrightarrow\quad \mathcal P(K,d_H,m) \;\le\; \frac{2^n}{v(n,\lfloor m/2\rfloor)} . \qquad\blacksquare \]

This is the volumetric argument with cardinality replacing volume, exactly as in Proposition 4.2.10 and Remark 4.2.5.

Exercise 4.33 (KKK) (A limitation of error-correcting codes)

注记Stem (abridged)

For any error-correcting code that encodes \(k\)-bit strings into \(n\)-bit strings and can correct \(r\) errors (Definition 4.3.3), prove \(n - k \ \ge\ r\log_2\binom{n}{r}\!\big/\,1 \ge r\log_2\!\big(\tfrac nr\big)\), i.e. \(n-k\ge r\log_2(n/r)\).

提示Solution

Disjointness of the decoding balls. Let \(E:\{0,1\}^k\to\{0,1\}^n\), \(D\) be an encoding/decoding pair correcting \(r\) errors. If two closed Hamming balls of radius \(r\) centered at codewords \(E(x)\ne E(x')\) shared a point \(y\), then \(y\) differs from \(E(x)\) in at most \(r\) bits and from \(E(x')\) in at most \(r\) bits, so Definition 4.3.3 would force \(D(y) = x\) and \(D(y) = x'\) — impossible. Hence the \(2^k\) closed balls \(B_{d_H}(E(x), r)\), \(x\in\{0,1\}^k\), are pairwise disjoint subsets of \(\{0,1\}^n\).

Counting. Each ball contains exactly \(v(n,r) = \sum_{j\le r}\binom nj \ge \binom nr\) points. Disjointness gives

\[ 2^k\,\binom nr \;\le\; 2^n \qquad\Longrightarrow\qquad n-k \;\ge\; \log_2\binom nr . \]

Binomial estimate. For \(1\le r\le n\),

\[ \binom nr = \prod_{j=0}^{r-1}\frac{n-j}{r-j} \;\ge\; \Big(\frac nr\Big)^{\!r}, \]

because each factor satisfies \(\frac{n-j}{r-j}\ge\frac nr\): cross-multiplying, \(r(n-j) \ge n(r-j) \iff rn - rj\ge nr - nj \iff rj \le nj \iff r\le n\). Therefore

\[ n - k \;\ge\; \log_2\binom nr \;\ge\; r\log_2\Big(\frac nr\Big). \qquad\blacksquare \]

This is (a version of) the Hamming bound, showing Theorem 4.3.5 is optimal up to the factor 2 in \(r\) and the additive \(\log_2 e\) inside the logarithm.

Exercise 4.34 (KK) (An \(\varepsilon\)-net expansion)

注记Stem (abridged)
  1. If \(N\) is an \(\varepsilon\)-net of \(S^{n-1}\), show any \(x\in S^{n-1}\) can be written as a convergent series \(x = \sum_{k=0}^\infty \lambda_k x_k\) with \(x_k\in N\) and \(0\le\lambda_k\le\varepsilon^k\).
  2. Use the expansion to give an alternative proof of Lemma 4.4.1.
提示Solution

(a). Construct the expansion iteratively. Set \(r_0 := x\) and note \(\|r_0\|_2 = 1 \le \varepsilon^0\). Suppose residuals \(r_0,\dots,r_j\) and coefficients \(\lambda_0,\dots,\lambda_{j-1}\) have been chosen with

\[ x = \sum_{k<j}\lambda_kx_k + r_j,\qquad \|r_j\|_2\le\varepsilon^j . \]

If \(r_j = 0\) we are done (set all later \(\lambda\)’s to 0). Otherwise let \(x_j\in N\) be within \(\varepsilon\) of the unit vector \(r_j/\|r_j\|_2\) and decompose

\[ r_j = \|r_j\|_2\cdot\frac{r_j}{\|r_j\|_2} = \underbrace{\|r_j\|_2\,x_j}_{\lambda_jx_j} + \underbrace{\|r_j\|_2\Big(\frac{r_j}{\|r_j\|_2} - x_j\Big)}_{r_{j+1}} , \]

so that \(\lambda_j = \|r_j\|_2\le\varepsilon^j\) and \(\|r_{j+1}\|_2 = \|r_j\|_2\cdot\big\|\tfrac{r_j}{\|r_j\|_2}-x_j\big\|_2\le\varepsilon^j\cdot\varepsilon = \varepsilon^{j+1}\). This closes the induction. Since \(\varepsilon\in(0,1)\) (nets are interesting only then), \(\|r_j\|_2\le\varepsilon^j\to0\), so the partial sums converge to \(x\):

\[ x = \sum_{k=0}^\infty\lambda_kx_k,\qquad 0\le\lambda_k\le\varepsilon^k,\qquad \sum_k\lambda_k \le \sum_k\varepsilon^k = \frac{1}{1-\varepsilon}. \qquad\square \]

(b). Lemma 4.4.1 claims \(\sup_{x\in N}\|Ax\|_2\le\|A\|\le\frac1{1-\varepsilon}\sup_{x\in N}\|Ax\|_2\). The lower bound is trivial (\(N\subseteq S^{n-1}\)). For the upper bound, expand an arbitrary \(x\in S^{n-1}\) as in (a) and use the triangle inequality and the scaling bound on the coefficients:

\[ \|Ax\|_2 = \Big\|A\sum_k\lambda_kx_k\Big\|_2 \le \sum_k\lambda_k\|Ax_k\|_2 \le \Big(\sup_{y\in N}\|Ay\|_2\Big)\sum_{k=0}^\infty\varepsilon^k = \frac{1}{1-\varepsilon}\sup_{y\in N}\|Ay\|_2 . \]

Maximizing over \(x\in S^{n-1}\) completes the alternative proof. \(\blacksquare\)

Exercise 4.35 (K) (Computing the norm on an \(\varepsilon\)-net)

注记Stem (abridged)

Let \(x\in\mathbb{R}^n\) and \(N\) be an \(\varepsilon\)-net of \(S^{n-1}\). Show \(\sup_{y\in N}\langle x,y\rangle \;\le\; \|x\|_2 \;\le\; \frac1{1-\varepsilon}\sup_{y\in N}\langle x, y\rangle\).

提示Solution

Lower bound. Every \(y\in N\) is a unit vector, so \(\langle x,y\rangle \le \|x\|_2\|y\|_2 = \|x\|_2\) by Cauchy–Schwarz; take the supremum.

Upper bound. If \(x = 0\) there is nothing to prove, so assume \(x\ne0\) and let \(z := x/\|x\|_2\in S^{n-1}\). Choose \(y_0\in N\) with \(\|z - y_0\|_2\le\varepsilon\). For unit vectors, \(\langle z, y_0\rangle = 1 - \frac12\|z-y_0\|_2^2\ge 1-\varepsilon^2 \ge 1-\varepsilon\) (or more simply \(\langle z,y_0\rangle = 1 - \langle z, z-y_0\rangle\ge1-\varepsilon\) by Cauchy–Schwarz). Then

\[ \sup_{y\in N}\langle x, y\rangle \;\ge\; \langle x, y_0\rangle = \|x\|_2\,\langle z, y_0\rangle \;\ge\; (1-\varepsilon)\,\|x\|_2 , \]

which rearranges to \(\|x\|_2\le\frac{1}{1-\varepsilon}\sup_{y\in N}\langle x,y\rangle\). \(\blacksquare\)

Remark. Note the supremum over \(N\) is automatically nonnegative here (any \(y\) and \(-y\)-ish neighbor straddle 0); the identity shows a net controls the Euclidean norm through linear functionals — the first half of the \(\varepsilon\)-net argument for norms of bilinear forms.

Exercise 4.36 (KKK) (Maximizing quadratic forms on an \(\varepsilon\)-net)

注记Stem (abridged)

Prove Lemma 4.4.2 by modifying the proof of Lemma 4.4.1: for \(\varepsilon\in[0,\tfrac12)\), an \(\varepsilon\)-net \(N\) of \(S^{n-1}\) and an \(\varepsilon\)-net \(M\) of \(S^{m-1}\), \(\sup_{x\in N,y\in M}|\langle Ax,y\rangle| \le \|A\| \le \frac{1}{1-2\varepsilon}\sup_{x\in N,y\in M}|\langle Ax,y\rangle|\); and if \(m=n\), \(A\) symmetric, \(N=M\), one can take \(x=y\).

提示Solution

Throughout we use the basic bound \(|\langle Au,v\rangle|\le\|A\|\|u\|_2\|v\|_2\) from (4.9).

Lower bound. \(N\subseteq S^{n-1}\), \(M\subseteq S^{m-1}\), so the supremum over the nets is at most the supremum over the full spheres, which equals \(\|A\|\) by (4.9).

Upper bound (two nets). By compactness of the spheres and continuity, choose unit \(x,y\) with \(|\langle Ax,y\rangle| = \|A\|\); replacing \(y\) by \(-y\) if necessary, assume \(\langle Ax,y\rangle = \|A\|\ge0\). Pick \(x_0\in N\), \(y_0\in M\) with \(\|x-x_0\|_2\le\varepsilon\), \(\|y-y_0\|_2\le\varepsilon\), and decompose the error into the two approximations, paying \(\varepsilon\) each:

\[ \langle Ax_0,y_0\rangle - \langle Ax,y\rangle = \big\langle A(x_0-x),\,y_0\big\rangle + \big\langle Ax,\, y_0-y\big\rangle, \]

whence

\[ \langle Ax_0,y_0\rangle \;\ge\; \|A\| - \varepsilon\|A\| - \varepsilon\|A\| = (1-2\varepsilon)\,\|A\| . \]

In particular \(\sup_{x_0\in N,\,y_0\in M}|\langle Ax_0,y_0\rangle|\ge(1-2\varepsilon)\|A\|\), i.e. \(\|A\|\le\frac{1}{1-2\varepsilon}\sup_{N\times M}|\langle Ax,y\rangle|\).

Symmetric case. Let \(A\) be symmetric \(n\times n\) and \(N=M\). Replacing \(A\) by \(-A\) if necessary (which changes neither \(\|A\|\) nor the supremum), we may assume \(\max_{\|x\|_2=1}x^{\mathsf T}Ax = \|A\|\); this is legitimate because for symmetric \(A\) the two numbers \(\max x^{\mathsf T}Ax\) and \(\max|x^{\mathsf T}Ax|\) differ only by the sign of the most extreme eigenvalue (4.10). Let \(x\) attain \(x^{\mathsf T}Ax = \|A\|\) and \(x_0\in N\) satisfy \(\|x-x_0\|_2\le\varepsilon\). The exact identity

\[ x_0^{\mathsf T}Ax_0 - x^{\mathsf T}Ax \;=\; (x_0-x)^{\mathsf T}A\,(x_0+x) \]

(expand the right side and use symmetry of \(A\) to cancel the cross terms) yields

\[ x_0^{\mathsf T}Ax_0 \;\ge\; \|A\| - \|x_0-x\|_2\cdot\|A\|\cdot\|x_0+x\|_2 \;\ge\; \|A\| - \varepsilon(2+\varepsilon)\|A\| \;\ge\; (1-2\varepsilon)\,\|A\|, \]

using \(\|x_0+x\|_2\le2\) and \(\varepsilon\le1\). Hence \(\sup_{x_0\in N}|x_0^{\mathsf T}Ax_0|\ge(1-2\varepsilon)\|A\|\) with a single net, as claimed. \(\blacksquare\)

(This is the two-error version of Lemma 4.4.1’s proof, exactly as the hint describes; the factor \(2\varepsilon\) is why Theorem 4.4.3 takes \(\varepsilon=\tfrac14\), making the loss a clean \(2\).)

Exercise 4.37 (KKK) (Deviation of the norm on an \(\varepsilon\)-net)

注记Stem (abridged)

Let \(A\) be \(m\times n\), \(\mu\in\mathbb{R}\), \(\varepsilon\in[0,\tfrac12)\). Show that for any \(\varepsilon\)-net \(N\) of \(S^{n-1}\), \[\sup_{x\in S^{n-1}}\big|\|Ax\|_2-\mu\big| \;\le\; \frac{C}{1-2\varepsilon}\,\sup_{x\in N}\big|\|Ax\|_2-\mu\big| .\]

提示Solution

Following the hint, reduce to a quadratic form. Let \(s_1\ge\cdots\ge s_n\ge0\) be the singular values of \(A\). By the min–max theorem (Corollary 4.1.7) the function \(g(x):=\|Ax\|_2\) ranges over exactly \([s_n,s_1]\) on \(S^{n-1}\), so with

\[ D := \sup_{x\in S^{n-1}}|g(x)-\mu| = \max(a_1, a_2),\qquad a_1 := s_1-\mu,\ a_2 := \mu - s_n, \]

(the maximum of \(|g-\mu|\) over the range \([s_n,s_1]\) is attained at an endpoint) and \(S := \sup_{x\in N}|g(x)-\mu|\), we must show \(D\le\frac{C}{1-2\varepsilon}S\). Consider the symmetric matrix

\[ R := A^{\mathsf T}A - \mu^2 I_n,\qquad \langle Rx,x\rangle = g(x)^2 - \mu^2 \ \text{ on } S^{n-1}. \]

Upper bound for \(\|R\|\) via the net. By Exercise 4.36 (symmetric case, applied to \(R\) or \(-R\), whichever has the positive top extreme),

\[ \|R\| \;\le\; \frac{1}{1-2\varepsilon}\sup_{x\in N}\big|\langle Rx,x\rangle\big| = \frac{1}{1-2\varepsilon}\sup_{x\in N}\big|g(x)-\mu\big|\cdot\big|g(x)+\mu\big| \;\le\; \frac{S\,(s_1+\mu)}{1-2\varepsilon}, \tag{4.37.1} \]

using \(|g(x)+\mu|\le g(x)+\mu\le s_1+\mu\) (valid for \(\mu\ge0\); the case \(\mu<0\) is handled at the end) and \(g(x)\le s_1\) on the sphere.

Lower bound for \(\|R\|\) via the spectrum. The eigenvalues of \(A^{\mathsf T}A\) are \(s_i^2\), so

\[ \|R\| \;\ge\; \max\big(s_1^2-\mu^2,\ \mu^2-s_n^2\big) = \max\big(a_1(s_1+\mu),\ a_2(\mu+s_n)\big). \tag{4.37.2} \]

Case \(\mu\ge0\). Recall \(D = \max(a_1,a_2)\).

Sub-case (i): \(\mu\ge s_1\). Then \(a_1\le0\), so \(D = a_2\) and, by (4.37.2), \(\|R\|\ge a_2(\mu+s_n) = D(\mu+s_n)\ge D\mu\ge\frac D2(s_1+\mu)\). Combining with (4.37.1) and dividing by \(\frac12(s_1+\mu)>0\) gives \(D\le \frac{2S}{1-2\varepsilon}\).

Sub-case (ii): \(\mu<s_1\) and \(D = a_1\). Then (4.37.2) gives \(\|R\|\ge a_1(s_1+\mu) = D(s_1+\mu)\), so (4.37.1) yields directly \(D\le\frac{S}{1-2\varepsilon}\).

Sub-case (iii): \(\mu<s_1\) and \(D = a_2\). From \(a_2\ge a_1\), i.e. \(\mu-s_n\ge s_1-\mu\), we get \(2\mu\ge s_1+s_n\ge s_1\), so \(\mu\ge\frac{s_1}{2}\). Then (4.37.2) gives \(\|R\|\ge a_2(\mu+s_n) = D(\mu+s_n)\ge D\mu\ge\frac{D s_1}{2}\), while \(s_1+\mu\le 2s_1\) in (4.37.1); dividing, \(D\le\frac{4S}{1-2\varepsilon}\).

Case \(\mu<0\). Then \(|g(x)-\mu| = g(x)+|\mu|\) is increasing in \(g\), so \(D = s_1+|\mu|\) and, by Lemma 4.4.1, \(S = \sup_N g + |\mu|\ge(1-\varepsilon)s_1+|\mu|\). Since \((1-\varepsilon)s_1+|\mu|\ge(1-\varepsilon)(s_1+|\mu|)\),

\[ D = s_1+|\mu| \;\le\; \frac{(1-\varepsilon)s_1+|\mu|}{1-\varepsilon} \;\le\; \frac{S}{1-\varepsilon} \;\le\; \frac{S}{1-2\varepsilon}, \]

the last step because \(1-\varepsilon\ge1-2\varepsilon\ge0\).

Combining all cases,

\[ \sup_{x\in S^{n-1}}\big|\|Ax\|_2-\mu\big| \;=\; D \;\le\; \frac{4}{1-2\varepsilon}\,S \;=\; \frac{4}{1-2\varepsilon}\sup_{x\in N}\big|\|Ax\|_2-\mu\big|, \qquad\blacksquare \]

so the claim holds with \(C=4\). This is the two-sided strengthening of Lemma 4.4.1 needed in Exercise 4.46.

Exercise 4.38 (KK) (The convex hull of an \(\varepsilon\)-net)

注记Stem (abridged)

Let \(N\) be an \(\varepsilon\)-net of \(S^{n-1}\), \(\varepsilon\in(0,1)\). Prove \((1-\varepsilon)B_2^n\subseteq\mathrm{conv}(N)\).

提示Solution

We use the strict separation theorem: a point \(z\) lies in the closed convex set \(\mathrm{conv}(N)\) if and only if there is no unit vector \(\theta\) with \(\langle\theta,z\rangle > \max_{v\in\mathrm{conv}(N)}\langle\theta,v\rangle\); and \(\max_{v\in\mathrm{conv}(N)}\langle\theta,v\rangle = \max_{y\in N}\langle\theta,y\rangle\) (a linear functional attains its max over a polytope at a vertex, or simply expand convex combinations).

Let \(x\in(1-\varepsilon)B_2^n\) and suppose, for contradiction, that \(x\notin\mathrm{conv}(N)\). Then there is a unit vector \(\theta\) with

\[ \langle\theta,x\rangle \;>\; h := \max_{y\in N}\langle\theta,y\rangle . \]

Since \(N\) is an \(\varepsilon\)-net of the sphere, pick \(y_0\in N\) with \(\|y_0-\theta\|_2\le\varepsilon\). Then

\[ h \;\ge\; \langle\theta, y_0\rangle = \langle\theta,\theta\rangle + \langle\theta, y_0-\theta\rangle \;\ge\; 1 - \|\theta\|_2\|y_0-\theta\|_2 \;\ge\; 1-\varepsilon , \]

while \(\langle\theta,x\rangle\le\|x\|_2\|\theta\|_2\le 1-\varepsilon\). This contradicts \(\langle\theta,x\rangle > h\ge1-\varepsilon\). Hence no separating \(\theta\) exists and \(x\in\mathrm{conv}(N)\). \(\blacksquare\)

(The hint suggests instead expanding \(\theta\) itself by the \(\varepsilon\)-net expansion of Exercise 4.34 and duality; the separation argument above is a self-contained alternative.)

Exercise 4.39 (KKKK) (Random points form an \(\varepsilon\)-net)

注记Stem (abridged)

Let \(g_1,\dots,g_N\) be independent \(N(0,I_n)\). For any \(R,\varepsilon>0\), show that with probability at least \(1-e^{-cn}\), the set \(\{g_i/\sqrt n : i\le N\}\cap RB_2^n\) forms an \(\varepsilon\)-net of \(RB_2^n\), as long as \(N\ge e^{C(R,\varepsilon)n}\), where \(C(R,\varepsilon)\) may depend only on \(R\) and \(\varepsilon\).

提示Solution

Assume \(0<\varepsilon\le R\) (for \(\varepsilon>R\) an \(\varepsilon\)-net of \(RB_2^n\) is trivial — the single nearest point to 0 works — and for \(R=0\) likewise); set \(r := \frac14\min(\varepsilon, R) \le \varepsilon/4\).

Step 1: reduce to a finite net. By Corollary 4.2.11 there is an \((\varepsilon/2)\)-net \(M\) of \(RB_2^n\) with \(|M|\le (4R/\varepsilon + 1)^n =: e^{C_1(R,\varepsilon)n}\). If every point of \(M\) is within \(\varepsilon/2\) of some point of \(\{g_i/\sqrt n\}\cap RB_2^n\), then every \(x\in RB_2^n\) is within \(\varepsilon\) of such a point (\(x\) is within \(\varepsilon/2\) of some \(y\in M\), which is within \(\varepsilon/2\) of a sample point). So it suffices to cover the points of \(M\).

Step 2: an interior ball around each net point. Fix \(y\in M\), \(\|y\|_2\le R\). Following the hint, define a ball \(B_y := B(c_y, r)\) that contains \(y\) and lies inside \(RB_2^n\): take \(c_y := \big(1 - \frac{r}{\|y\|_2}\big)^+ y\) (and \(c_y := 0\) if \(y=0\)), so that \(\|c_y\|_2 + r\le\|y\|_2\le R\) when \(\|y\|_2\ge r\), and \(\|c_y\|_2\le r\) with \(B_y\ni y\), \(B_y\subseteq B(0, 2r)\subseteq RB_2^n\) when \(\|y\|_2<r\) (using \(2r\le R/2\le R\)). In all cases \(y\in B_y\subset RB_2^n\).

Step 3: small-ball probability. For a single \(g\sim N(0,I_n)\), using that the Gaussian density decreases with the norm, that \(B_y\subseteq B(0,R)\), and that \(B_y\) contains a Euclidean ball of radius \(r\) (namely \(B_y\) itself, of radius \(r\)):

\[ \mathbb{P}\Big\{\frac{g}{\sqrt n}\in B_y\Big\} = \int_{\sqrt n B_y}\frac{e^{-\|t\|_2^2/2}}{(2\pi)^{n/2}}\,dt \;\ge\; (2\pi)^{-n/2}e^{-n(R)^2/2}\,\mathrm{Vol}\big(\sqrt n\,B(c_y,r)\big). \]

Now \(\mathrm{Vol}(\sqrt n B(c_y,r)) = r^n n^{n/2}\mathrm{Vol}(B_2^n) \ge r^n n^{n/2}\big(2/\sqrt n\big)^n = (2r)^n\) by the lower bound of Exercise 4.27(c). Hence

\[ p := \inf_{y\in M}\mathbb{P}\Big\{\frac g{\sqrt n}\in B_y\Big\} \;\ge\; \exp\Big[-n\Big(\tfrac12\ln(2\pi) + \tfrac{R^2}{2} + \ln\tfrac1{2r}\Big)\Big] =: e^{-C_2(R,\varepsilon)n} > 0 . \]

Step 4: independence and union bound. The events \(\{g_i/\sqrt n\in B_y\}\), \(i\le N\), are independent, so

\[ \mathbb{P}\{y \text{ uncovered}\} \le (1-p)^N \le e^{-Np} \le e^{-e^{(C_3-C_2)n}}, \]

provided \(N\ge e^{C_3n}\) with \(C_3 := C(R,\varepsilon) := C_2(R,\varepsilon) + C_1(R,\varepsilon) + 1\). By the union bound over \(M\),

\[ \mathbb{P}\{\exists y\in M \text{ uncovered}\} \;\le\; e^{C_1n}\,e^{-e^{(C_1+1)n}} \;\le\; e^{-cn}, \]

using \(e^{(C_1+1)n}\ge e^{C_1+1}\,n\) for \(n\ge1\), so that \(C_1 n - e^{(C_1+1)n}\le -(e^{C_1+1}-C_1)n\le -c_0n\). On the complement event, every \(y\in M\) has a sample point within \(r\le\varepsilon/4\) inside \(RB_2^n\) (Step 2), hence within \(\varepsilon/2\), and Step 1 completes the proof: \(\{g_i/\sqrt n\}\cap RB_2^n\) is an \(\varepsilon\)-net of \(RB_2^n\) with probability at least \(1-e^{-cn}\). \(\blacksquare\)

Exercise 4.40 (KK) (Too many random points are not in convex position)

注记Stem (abridged)

Show that with probability at least \(1-e^{-cn}\), independent \(g_1,\dots,g_N\sim N(0,I_n)\) are not in convex position if \(N\ge e^{Cn}\).

提示Solution

Following the hint, use Exercise 4.39 with \(R := 10\) and \(\varepsilon := 5\), applied to the \(N-1\) points \(g_2,\dots,g_N\) (still independent, and \(N-1\ge e^{Cn}\) for \(N\ge 2e^{Cn}\), absorbed into constants): with probability at least \(1-e^{-c_1n}\), the set

\[ \mathcal N := \Big\{\frac{g_i}{\sqrt n} : 2\le i\le N\Big\}\cap 10B_2^n \]

is a \(5\)-net of \(10B_2^n\).

Step 1: the convex hull of a net of a ball absorbs a smaller ball. We claim \(\mathrm{conv}(\mathcal N)\supseteq 5B_2^n\). The argument is the ball version of Exercise 4.38: let \(x\in5B_2^n\) and suppose a unit vector \(\theta\) strictly separates \(x\) from \(\mathrm{conv}(\mathcal N)\), i.e. \(\langle\theta,x\rangle > \max_{v\in\mathcal N}\langle\theta,v\rangle\). Choose \(v_0\in\mathcal N\) with \(\|v_0 - 10\theta\|_2\le5\). Then

\[ \max_{v\in\mathcal N}\langle\theta,v\rangle \;\ge\; \langle\theta, v_0\rangle = 10 - \langle\theta,\,10\theta - v_0\rangle \;\ge\; 10 - 5 = 5 \;\ge\; \|x\|_2 \;\ge\; \langle\theta,x\rangle, \]

a contradiction. Hence \(x\in\mathrm{conv}(\mathcal N)\).

Step 2: the first point falls inside. By the concentration of the norm (Theorem 3.1.1, tail form (3.2), with \(K = O(1)\) for Gaussians),

\[ \mathbb{P}\Big\{\|g_1\|_2 > 5\sqrt n\Big\} \le 2\exp\big(-c\,(4\sqrt n)^2\big) \le e^{-c_2 n}. \]

Step 3: conclusion. With probability at least \(1 - e^{-c_1n} - e^{-c_2n}\ge1-e^{-cn}\), both events hold, on which

\[ \frac{g_1}{\sqrt n} \in 5B_2^n \subseteq \mathrm{conv}\Big\{\frac{g_2}{\sqrt n},\dots,\frac{g_N}{\sqrt n}\Big\}, \]

so \(g_1\) lies in the convex hull of the other points: the points are not in convex position. \(\blacksquare\)

(Together with Exercise 3.23, the threshold for convex position of Gaussian points is \(e^{\Theta(n)}\) points.)

Exercise 4.41 (KKK) (Expected operator norm of a random matrix)

注记Stem (abridged)
  1. Deduce from Theorem 4.4.3 that \(\mathbb{E}\|A\|\le CK(\sqrt m+\sqrt n)\).
  2. Deduce from Theorem 4.6.1 that \(\mathbb{E}\big\|\frac1mA^{\mathsf T}A - I_n\big\|\le CK^2\big(\sqrt{n/m}+n/m\big)\) and \(\sqrt m - CK^2\sqrt n\le\mathbb{E}s_n(A)\le\mathbb{E}s_1(A)\le\sqrt m + CK^2\sqrt n\).
提示Solution

Both parts use the integrated tail formula \(\mathbb{E}X = \int_0^\infty\mathbb{P}\{X\ge t\}\,dt\) for \(X\ge0\) (Lemma 1.6.1), as the hint says.

(a). Theorem 4.4.3 gives, for all \(t>0\),

\[ \mathbb{P}\big\{\|A\|\ge CK(\sqrt m + \sqrt n + t)\big\} \le 2e^{-t^2}. \]

Splitting the integral at \(a := CK(\sqrt m+\sqrt n)\) and substituting \(t = (u-a)/(CK)\) in the tail,

\[ \mathbb{E}\|A\| \;\le\; a + \int_0^\infty 2e^{-u^2/(C^2K^2)}\,\frac{du}{CK} \;=\; CK(\sqrt m+\sqrt n) + 2\sqrt\pi \;\le\; C'K(\sqrt m + \sqrt n), \]

where the last step absorbs the absolute constant \(2\sqrt\pi\) (using \(K\ge c>0\), as \(\|A_{ij}\|_{\psi_2}\ge c\,\|A_{ij}\|_{L_2} = c\) for variance-one entries, and \(\sqrt m+\sqrt n\ge\sqrt2\ge1\)).

(b). First display. The proof of Theorem 4.6.1 established the stronger bound (4.27): with \(\delta = C(\sqrt{n/m} + t/\sqrt m)\),

\[ \Big\|\frac1mA^{\mathsf T}A - I_n\Big\| \le K^2\max(\delta,\delta^2) \quad\text{with probability}\quad\ge 1-2e^{-t^2}. \]

Taking expectations and using \(\max(\delta,\delta^2)\le\delta+\delta^2\) and \((\sqrt a+\sqrt b)^2\le2(a+b)\):

\[ \mathbb{E}\Big\|\frac1mA^{\mathsf T}A-I_n\Big\| \;\le\; K^2\,\mathbb{E}\big[\delta+\delta^2\big] \;\le\; CK^2\Big(\sqrt{\tfrac nm} + \frac1{\sqrt m}\Big) + C'K^2\Big(\frac nm + \frac1m\Big) \;\le\; CK^2\Big(\sqrt{\frac nm}+\frac nm\Big), \]

where the last step uses \(n\ge1\) (so \(1/\sqrt m\le\sqrt{n/m}\) and \(1/m\le n/m\)), and \(\mathbb{E}t = \int_0^\infty 2te^{-t^2}\cdot(\cdot)\,dt\)-type computations are absorbed: explicitly, \(\mathbb{E}\,\delta = C(\sqrt{n/m} + \mathbb{E}t/\sqrt m)\) with \(\mathbb{E}t = \int_0^\infty e^{-t^2}dt = \sqrt\pi/2\), and similarly \(\mathbb{E}t^2 = \int_0^\infty 2t^2e^{-t^2}dt = \tfrac12\sqrt\pi\)-sized, all constants being absolute.

Second display. Theorem 4.6.1 (4.26) states

\[ \sqrt m - CK^2(\sqrt n + t)\ \le\ s_n(A)\ \le\ s_1(A)\ \le\ \sqrt m + CK^2(\sqrt n + t) \]

with probability \(\ge1-2e^{-t^2}\). The same integration as in (a) gives

\[ \mathbb{E}s_1(A) \;\le\; \sqrt m + CK^2\sqrt n + CK^2\mathbb{E}t \;\le\; \sqrt m + C'K^2\sqrt n, \]

and, for the lower bound, applying the integrated tail formula to the nonnegative random variable \(\big(\sqrt m - CK^2(\sqrt n+\cdot) - s_n(A)\big)^+\) — or more directly, integrating the tail bound \(\mathbb{P}\{s_n(A)\le\sqrt m - CK^2(\sqrt n+t)\}\le2e^{-t^2}\):

\[ \mathbb{E}s_n(A) \;\ge\; \sqrt m - CK^2\sqrt n - CK^2\,\mathbb{E}t \;\ge\; \sqrt m - C'K^2\sqrt n, \]

again using \(1 = \sqrt{1^2}\le\sqrt n\) to absorb the \(\mathbb{E}t = O(1)\) term. Finally \(\mathbb{E}s_n\le\mathbb{E}s_1\) since \(s_n\le s_1\) pointwise. \(\blacksquare\)

(Formally: for the lower bound one applies Lemma 1.6.1 to the “deficit” variable \(Y := (\sqrt m - s_n(A))^+\), whose tails satisfy \(\mathbb{P}\{Y\ge CK^2(\sqrt n+t)\}\le2e^{-t^2}\), yielding \(\mathbb{E}Y\le CK^2(\sqrt n + C)\) and hence \(\mathbb{E}s_n\ge\sqrt m - \mathbb{E}Y\).)

Exercise 4.42 (KK) (Norm of random matrices: a lower bound)

注记Stem (abridged)

Let \(A\) be \(m\times n\) with independent, subgaussian entries satisfying \(\mathbb{E}A_{ij}^2 = 1\), \(K = \max_{i,j}\|A_{ij}\|_{\psi_2}\). Show that for any \(t>0\), \(\|A\| \ge \frac12\big(\sqrt m + \sqrt n - t\big)\) with probability at least \(1 - 2\exp(-ct^2/K^4)\).

提示Solution

By symmetry we may assume \(m\ge n\) (otherwise replace \(A\) by \(A^{\mathsf T}\): the transposed matrix satisfies the same hypotheses, and \(\|A^{\mathsf T}\| = \|A\|\) by Exercise 4.2(b)).

The first column \(A_{:1}\) is a random vector in \(\mathbb{R}^m\) with independent, subgaussian, unit-variance coordinates, so the concentration of the norm applies in the form (3.2):

\[ \mathbb{P}\big\{\|A_{:1}\|_2 \le \sqrt m - u\big\} \;\le\; 2\exp\big(-cu^2/K^4\big),\qquad u\ge0. \]

Since \(\|A\|\ge\|Ae_1\|_2 = \|A_{:1}\|_2\) (Exercise 4.7(a)), it follows that

\[ \mathbb{P}\Big\{\|A\| \le \tfrac12\big(\sqrt m+\sqrt n - t\big)\Big\} \;\le\; \mathbb{P}\Big\{\|A_{:1}\|_2 \le \tfrac12\sqrt m + \tfrac12\sqrt n - \tfrac t2\Big\}. \]

Now, using \(n\le m\),

\[ \tfrac12\sqrt m + \tfrac12\sqrt n - \tfrac t2 \;\le\; \sqrt m - \tfrac12\big(\sqrt m-\sqrt n\big) - \tfrac t2 \;\le\; \sqrt m - \frac t2 , \]

so with \(u := t/2\),

\[ \mathbb{P}\Big\{\|A\| \le \tfrac12\big(\sqrt m+\sqrt n - t\big)\Big\} \;\le\; \mathbb{P}\big\{\|A_{:1}\|_2\le \sqrt m - \tfrac t2\big\} \;\le\; 2\exp\big(-c't^2/K^4\big). \qquad\blacksquare \]

(The hint mentions using both the first column and the first row; a single extremal column suffices once we assume \(m\ge n\), and dually a single row suffices when \(n\ge m\). Note the exponent features \(K^4\), matching (3.2).)

Exercise 4.43 (KK) (Upper bounds on subgaussian matrices: relaxing independence)

注记Stem (abridged)
  1. Show Theorem 4.4.3 holds with no independence assumptions at all if \(A\) is a subgaussian random vector in \(\mathbb{R}^{m\times n}\) (Definition 3.4.1), with \(K = \|A\|_{\psi_2}\).
  2. Show Theorem 4.4.3 holds if \(A\) has independent, mean-zero, subgaussian rows (or columns) \(A_i\), with \(K = \max_i\|A_i\|_{\psi_2}\).
提示Solution

The point (as the hint states) is that the proof of Theorem 4.4.3 uses only one property of \(A\): that \(\langle Ax,y\rangle\) is subgaussian for fixed unit \(x,y\); independence was needed only to establish this.

(a). Let \(A\) be a subgaussian random vector in \(\mathbb{R}^{m\times n}\) in the sense of Definition 3.4.1, i.e. all one-dimensional marginals are subgaussian and \(\|A\|_{\psi_2} = \sup_{\|B\|_F=1}\|\langle A,B\rangle\|_{\psi_2}\). For fixed \(x\in S^{n-1}\), \(y\in S^{m-1}\) the matrix \(xy^{\mathsf T}\) has \(\|xy^{\mathsf T}\|_F = \|x\|_2\|y\|_2 = 1\) (Exercise 4.3(a)), and \(\langle Ax,y\rangle = \langle A, xy^{\mathsf T}\rangle\). Hence

\[ \big\|\langle Ax,y\rangle\big\|_{\psi_2} \le \|A\|_{\psi_2} =: K , \]

which yields the tail bound (4.22): \(\mathbb{P}\{|\langle Ax,y\rangle|\ge u\}\le2e^{-cu^2/K^2}\). Steps 1 and 3 of the proof of Theorem 4.4.3 (approximation by an \(\varepsilon\)-net via Lemma 4.4.2, and the union bound over the net) use nothing about the joint distribution beyond this tail bound, so they go through verbatim, giving

\[ \mathbb{P}\big\{\|A\|\ge CK(\sqrt m+\sqrt n+t)\big\}\ \le\ 2e^{-t^2}. \qquad\square \]

(b). Now let the rows \(A_i\) of \(A\) be independent, mean-zero subgaussian random vectors in \(\mathbb{R}^n\) with \(\|A_i\|_{\psi_2}\le K\). Fix unit \(x,y\) and write

\[ \langle Ax, y\rangle = \sum_{i=1}^m y_i\,\langle A_i, x\rangle . \]

Each summand is mean-zero subgaussian with \(\|y_i\langle A_i,x\rangle\|_{\psi_2}\le |y_i|\,\|A_i\|_{\psi_2}\le|y_i|K\) (by Definition 3.4.1, \(\|\langle A_i,x\rangle\|_{\psi_2}\le\|A_i\|_{\psi_2}\)), and the summands are independent across \(i\) because the rows are. Proposition 2.7.1 (subgaussian sums) gives

\[ \big\|\langle Ax,y\rangle\big\|_{\psi_2} \;\le\; C\Big(\sum_{i=1}^m y_i^2K^2\Big)^{1/2} = CK\|y\|_2 = CK, \]

which is (4.22) up to constants; the net argument concludes as in Theorem 4.4.3. The statement for independent subgaussian columns follows by transposing (\(\|A^{\mathsf T}\| = \|A\|\), Exercise 4.2(b)). \(\blacksquare\)

Exercise 4.44 (KK) (Some \(p\to q\) norms of random matrices)

注记Stem (abridged)

Let \(A\) be \(m\times n\) with independent, mean-zero, variance-one subgaussian entries; \(K = \max_{i,j}\|A_{ij}\|_{\psi_2}\). (a) Show \(\|A\|_{1\to\infty} \le CK\big(\sqrt{\log m} + \sqrt{\log n}\big)\). (b) Show \(\|A\|_{1\to2} = \|A^{\mathsf T}\|_{2\to\infty} \le \sqrt m + CK^2\sqrt{\log n}\). (c) For \(A\) with i.i.d. standard normal entries, check \(\|A\|_{1\to\infty} \ge c\big(\sqrt{\log m}+\sqrt{\log n}\big)\) and \(\|A\|_{1\to2} \ge c\big(\sqrt m + \sqrt{\log n}\big)\).

提示Solution

Print-level remark. The printed bounds carry no probability qualifier; per the book’s hints they are expectation bounds, proved as such below (high-probability variants follow from the same union bounds and are noted).

(a). By Exercise 4.19(a), \(\|A\|_{1\to\infty} = \max_{i,j}|A_{ij}|\). Apply the maximal inequality (2.22), \(\mathbb{E}\max_{\ell\le N}X_\ell \le CK\sqrt{\log N}\), to the \(2mn\) mean-zero subgaussian variables \(\{\pm A_{ij}\}\):

\[ \mathbb{E}\,\|A\|_{1\to\infty} = \mathbb{E}\max_{i,j}|A_{ij}| \le CK\sqrt{\log(2mn)} \le CK\big(\sqrt{\log m} + \sqrt{\log n} + 1\big) \le C'K\big(\sqrt{\log m}+\sqrt{\log n}\big), \]

absorbing the additive constant with \(K\ge c > 0\) (variance-one subgaussians have \(\psi_2\)-norm bounded below by an absolute constant) and \(\sqrt{\log m}+\sqrt{\log n}\ge c'\) for \(m,n\ge2\) (for \(m=n=1\) the stated bound reads \(0\) and should be augmented by an additive \(CK\); the regime of interest is \(m,n\ge2\)).

(b). By Exercise 4.19(b), \(\|A\|_{1\to2} = \max_{j\le n}\|A_{:j}\|_2\). Each column \(A_{:j}\) is a random vector in \(\mathbb{R}^m\) with independent, mean-zero, variance-one, subgaussian coordinates. Exercise 3.13(a) (the high-dimensional maximal inequality, which does not require independence across the vectors) applied to the \(n\) columns gives exactly

\[ \mathbb{E}\,\|A\|_{1\to2} = \mathbb{E}\max_{j\le n}\|A_{:j}\|_2 \;\le\; \sqrt m + CK^2\sqrt{\log n}. \]

(The identity \(\|A\|_{1\to2} = \|A^{\mathsf T}\|_{2\to\infty}\) is Exercise 4.18(c) + 4.19(b).)

High-probability variants. The same two union-bound arguments give, e.g., \(\mathbb{P}\{\|A\|_{1\to\infty} > CK(\sqrt{\log m}+\sqrt{\log n}+t)\}\le2e^{-t^2}\) and \(\mathbb{P}\{\|A\|_{1\to2} > \sqrt m + CK^2(\sqrt{\log n}+t)\}\le2e^{-t^2}\), via (4.22)-type tails and Theorem 3.1.1.

(c). Now \(A_{ij}\sim N(0,1)\) i.i.d.; we prove the bounds in expectation (they also hold w.h.p.).

Entrywise maximum. For \(t\ge1\), \(\mathbb{P}\{|g|\ge t\}\ge ce^{-t^2}\) (the Mills lower bound: \(\mathbb{P}\{|g|\ge t\}\ge\frac{2\phi(t)}{t+1}\ge ce^{-t^2}\) for \(t\ge1\)). Hence, with \(t := \tfrac12\sqrt{\log(mn)} \ge \tfrac12\sqrt{\log 4}\ge \tfrac12\),

\[ \mathbb{P}\Big\{\max_{i,j}|A_{ij}| \le t\Big\} = \big(1-\mathbb{P}\{|g|\ge t\}\big)^{mn} \le \exp\big(-c\,mn\,e^{-t^2}\big) = \exp\big(-c (mn)^{3/4}\big) \;\le\; \tfrac12 , \]

the last step for \(mn\ge m_0\) (small cases are absorbed by constants). Thus \(\mathbb{E}\max|A_{ij}| \ge \tfrac{t}{2}\cdot\tfrac12 \ge c\sqrt{\log(mn)} = c\big(\log m+\log n\big)^{1/2}\); since \(\sqrt{\log m+\log n}\ \ge\ \max\big(\sqrt{\log m},\sqrt{\log n}\big)\ \ge\ \tfrac12\big(\sqrt{\log m}+\sqrt{\log n}\big)\), this gives \(\mathbb{E}\|A\|_{1\to\infty}\ge c\big(\sqrt{\log m}+\sqrt{\log n}\big)\).

Maximum column norm. We consider two regimes.

Regime 1: \(m \le c_0\log n\). Then the entrywise maximum already suffices: \[ \mathbb{E}\,\|A\|_{1\to2} \;\ge\; \mathbb{E}\,\|A\|_{1\to\infty} \;\ge\; c\sqrt{\log n} \;\ge\; \frac{c}{1+\sqrt{c_0}}\big(\sqrt m + \sqrt{\log n}\big), \] since \(\sqrt m \le \sqrt{c_0\log n}\) in this regime.

Regime 2: \(m \ge c_0\log n\) (with \(c_0\) a sufficiently large absolute constant). Then \[ \mathbb{E}\,\|A\|_{1\to2} \;\ge\; \mathbb{E}\,\|A_{:1}\|_2 \;\ge\; \sqrt m - C_1, \] where the last step follows from the concentration of the norm (Theorem 3.1.1 with \(K=O(1)\), integrated): \(\mathbb{E}\|g\|_2 \ge \sqrt m - C K^2\). For \(m\ge4C_1^2\) this is \(\ge\frac{\sqrt m}{2}\), while \(\sqrt{\log n}\le\sqrt{m/c_0} = \sqrt m/\sqrt{c_0}\), so \[ \mathbb{E}\,\|A\|_{1\to2} \;\ge\; \frac{\sqrt m}{2} \;\ge\; \frac{1}{2\big(1+1/\sqrt{c_0}\big)}\big(\sqrt m + \sqrt{\log n}\big) = c\big(\sqrt m+\sqrt{\log n}\big), \] using \(\sqrt{\log n}\le\sqrt m/\sqrt{c_0}\), i.e. \(\sqrt m+\sqrt{\log n}\le\sqrt m\,(1+1/\sqrt{c_0})\). Small \(m\) in this regime are absorbed by constants. Combining the regimes, \(\mathbb{E}\|A\|_{1\to2}\ge c(\sqrt m + \sqrt{\log n})\), matching (b) up to the absolute constant. \(\blacksquare\)

Exercise 4.45 (KKKK) (Community detection)

注记Stem (abridged)

The guarantee of Theorem 4.5.2 assumes \(\mu = \min(q, p-q)\) is bounded below. Remove the assumption on \(q\): design a version of the spectral clustering algorithm for \(G\sim G(n,p,q)\), \(p>q\), that misclassifies at most \(C/(p-q)^2\) vertices (with high probability).

提示Solution

The obstruction. In §4.5.2 the expected adjacency matrix \(D=\mathbb{E}A\) has \(\lambda_1 = \frac{(p+q)n}{2}\) (eigenvector \(\mathbb 1\)), \(\lambda_2 = \frac{(p-q)n}{2}\) (eigenvector, the community vector, \(u_2\) with \(\pm1\) entries), rest \(0\). Davis–Kahan for \(u_2\) needs the gap \(\min(\lambda_2,\lambda_1-\lambda_2) = \min\big(\frac{(p-q)n}{2}, \frac{qn}{2}\big)\), which degenerates as \(q\to0\): the top two eigenvalues of \(D\) nearly collide, and the second eigenvector of \(A\) mixes with the uninformative direction \(\mathbb 1\).

The algorithm (deflation). Input: the graph \(G\).

  1. Compute the adjacency matrix \(A\) and \(\displaystyle \gamma := \frac1n\sum_{i,j=1}^n A_{ij}\) (the total edge count divided by \(n\)).
  2. Set \(B := A - \frac{\gamma}{n}\,\mathbb 1\mathbb 1^{\mathsf T}\) (remove the estimated rank-one “mean” part).
  3. Compute a unit top eigenvector \(w\) of \(B\).
  4. Assign vertex \(j\) to the first community if \(w_j>0\), else to the second.

Analysis. Let \(\mu := p-q > 0\) and note \(p,q\le1\). Write \(R := A - D\) and \(v := \mathbb 1/\sqrt n\) (so \(v = u_1(D)\) and \(\mathbb 1\mathbb 1^{\mathsf T}/n = vv^{\mathsf T}\)). Then

\[ \mathbb{E}\gamma = \frac1n\sum_{i,j}D_{ij} = \frac{(p+q)n}{2} = \lambda_1(D),\qquad \mathbb{E}B = D - \lambda_1 v v^{\mathsf T} = \lambda_2\, u_2u_2^{\mathsf T}, \]

using that \(D = \lambda_1u_1u_1^{\mathsf T} + \lambda_2u_2u_2^{\mathsf T}\) has rank two (\(u_i\) the unit eigenvectors). Moreover

\[ B - \mathbb{E}B = R - (\gamma-\mathbb{E}\gamma)\,vv^{\mathsf T},\qquad |\gamma - \mathbb{E}\gamma| = |v^{\mathsf T}Rv| \le \|R\|, \qquad\text{hence}\qquad \|B-\mathbb{E}B\| \le 2\|R\|. \]

Noise level. The entries of \(R\) on and above the diagonal are independent, mean-zero (centered Bernoulli), bounded, hence subgaussian with \(\|R_{ij}\|_{\psi_2}\le C\); \(R\) is symmetric. Corollary 4.4.7 (with \(t=\sqrt n\)) gives

\[ \mathbb{P}\big\{\|R\| \ge C_0\sqrt n\big\} \;\le\; 4e^{-n}. \tag{4.45.1} \]

Perturbation. On the event (4.45.1), \(\|B - \mathbb EB\|\le2C_0\sqrt n\). The spectrum of \(\mathbb EB = \lambda_2u_2u_2^{\mathsf T}\) is \(\{\lambda_2, 0,\dots,0\}\) with \(\lambda_2 = \mu n/2\), so the top eigenvalue is separated from the rest by \(\delta = \mu n/2\). The Davis–Kahan inequality (Theorem 4.1.15) yields

\[ \sin\angle\big(u_2, w\big) \;\le\; \frac{2\|B-\mathbb EB\|}{\delta} \;\le\; \frac{8C_0}{\mu\sqrt n} =: s . \]

If \(\mu \le 16C_0/\sqrt n\), then \(\mu^2 \le 256C_0^2/n\), so any absolute constant \(C \ge 256C_0^2\) gives \(C/\mu^2 \ge Cn/(256C_0^2) \ge n\), and the guarantee is trivial (there are only \(n\) vertices to misclassify). Otherwise \(s\le\tfrac12\), and Exercise 4.16 provides \(\theta_0\in\{\pm1\}\) with

\[ \big\|u_2 - \theta_0 w\big\|_2 \;\le\; \sqrt2\, s \;\le\; \frac{12C_0}{\mu\sqrt n}. \]

Counting misclassifications. Let \(U := \sqrt n\,u_2\), the unnormalized community vector with entries \(\pm1\). Then

\[ \big\|U - \theta_0\sqrt n\, w\big\|_2 \;\le\;\frac{12C_0}{\mu}, \qquad\text{so}\qquad \sum_{j=1}^n\big(U_j - \theta_0\sqrt n\,w_j\big)^2 \;\le\; \frac{144C_0^2}{\mu^2}. \]

Whenever the signs of \(U_j\) and \(\theta_0w_j\) disagree we have \(|U_j - \theta_0\sqrt n w_j| = 1 + \sqrt n|w_j| \ge 1\), so the number of disagreements — which is exactly the number of misclassified vertices of the algorithm, up to the global flip \(\theta_0\), which is unidentifiable anyway — is at most

\[ \frac{144C_0^2}{(p-q)^2} . \]

With probability at least \(1-4e^{-n}\), the algorithm misclassifies at most \(C/(p-q)^2\) vertices. \(\blacksquare\)

Remark (the book’s route). The hint suggests instead computing the projections onto the top two eigenvectors of \(A\); the corresponding rank-two spectral projections of \(A\) and \(D\) are close by Exercise 4.13, since the gap at rank two, \(\lambda_2(D) - 0 = (p-q)n/2\), needs no lower bound on \(q\). The row of the projection matrix at vertex \(j\) is then within \(O(\|R\|/\mu n)\)-distance of one of the two ideal points \(\frac1{\sqrt n}(1,\pm1)\), and one finishes by clustering these two-dimensional rows; the same \(\sum_j\|(P_2(A)-P_2(D))e_j\|_2^2 \le 2\|P_2(A)-P_2(D)\|^2\) calculation gives at most \(C\|R\|^2/\mu^2 n \le C/\mu^2\) corrupted vertices. The deflation algorithm above achieves the same guarantee with a single eigenvector and avoids the clustering step.

Exercise 4.46 (KK) (An alternative proof of the two-sided bound on random matrices)

注记Stem (abridged)

Give a simpler proof of Theorem 4.6.1, using Theorem 3.1.1 to obtain a concentration bound for \(\|Ax\|_2\), and Exercise 4.37 to reduce to a union bound over a net.

提示Solution

Let \(A\) be \(m\times n\) with independent, mean-zero, subgaussian, isotropic rows \(A_i\), \(K = \max_i\|A_i\|_{\psi_2}\). We prove the conclusion (4.26) of Theorem 4.6.1:

\[ \sqrt m - CK^2(\sqrt n + t)\ \le\ s_n(A)\ \le\ s_1(A)\ \le\ \sqrt m + CK^2(\sqrt n+t) \quad\text{with probability}\ \ge1-2e^{-t^2}. \]

Step 1: approximation. Let \(N\) be a \(\tfrac14\)-net of \(S^{n-1}\) with \(|N|\le9^n\) (Corollary 4.2.11). By Exercise 4.37 (with \(\varepsilon = \tfrac14\), \(\mu := \sqrt m\); note \(1-2\varepsilon = \tfrac12\)),

\[ \sup_{x\in S^{n-1}}\big|\|Ax\|_2 - \sqrt m\big| \;\le\; 8\,\max_{x\in N}\big|\|Ax\|_2-\sqrt m\big| . \tag{4.46.1} \]

Step 2: concentration on the net. Fix \(x\in N\). The coordinates of the vector \((\langle A_1,x\rangle,\dots,\langle A_m,x\rangle)\) are independent (rows are independent), mean-zero, subgaussian with \(\|\langle A_i,x\rangle\|_{\psi_2}\le\|A_i\|_{\psi_2}\le K\) (Definition 3.4.1), and of unit variance:

\[ \mathbb{E}\,\langle A_i, x\rangle^2 = \langle\mathbb{E}A_iA_i^{\mathsf T}x, x\rangle = \|x\|_2^2 = 1 \]

by isotropy. Theorem 3.1.1 in its tail form (3.2) gives

\[ \mathbb{P}\big\{\big|\|Ax\|_2-\sqrt m\big| \ge CK^2 u\big\} \;\le\; 2e^{-u^2},\qquad u\ge0 . \]

Step 3: union bound. By a union bound over \(N\) and \(|N|\le9^n\),

\[ \mathbb{P}\Big\{\max_{x\in N}\big|\|Ax\|_2-\sqrt m\big| \ge CK^2 u\Big\} \;\le\; 9^n\cdot2e^{-u^2} \;\le\; 2e^{-t^2} \qquad\text{for } u := \sqrt n + t \]

with \(C\) chosen so that \(cu^2\ge n\log9+t^2\) (possible since \(u^2\ge n+t^2\)). Combining with (4.46.1): with probability \(\ge1-2e^{-t^2}\),

\[ \sup_{x\in S^{n-1}}\big|\|Ax\|_2 - \sqrt m\big| \;\le\; CK^2(\sqrt n + t). \tag{4.46.2} \]

Step 4: from norms to singular values. By the min–max characterization (4.14), \(s_1(A) = \max_{x\in S^{n-1}}\|Ax\|_2\) and \(s_n(A) = \min_{x\in S^{n-1}}\|Ax\|_2\). On the event (4.46.2), for every \(x\in S^{n-1}\),

\[ \sqrt m - CK^2(\sqrt n+t)\ \le\ \|Ax\|_2\ \le\ \sqrt m + CK^2(\sqrt n+t), \]

and taking the max and the min over the sphere gives (4.26). \(\blacksquare\)

Remark. This argument yields the two-sided bound (4.26) directly; the slightly sharper form (4.27) for \(\|\frac1mA^{\mathsf T}A - I_n\|\) comes from the Bernstein-based proof in the text. The gain of Exercise 4.37 over Lemma 4.4.1 is that it controls the deviation \(\|Ax\|_2-\sqrt m\) on the whole sphere from its values on a net — exactly what is needed here.

Exercise 4.47 (KK) (Intermediate singular values of random matrices)

注记Stem (abridged)

Deduce from Theorem 4.6.1: for any fixed \(1\le k\le n\) and \(t\ge0\), \(s_k(A) \ge \sqrt m - CK^2(\sqrt k + t)\) with probability at least \(1-2e^{-t^2}\).

提示Solution

Let \(E := \mathrm{span}(e_1,\dots,e_k)\), a coordinate subspace of dimension \(k\), and let \(A_E\) denote the \(m\times k\) matrix formed by the first \(k\) columns of \(A\). For \(x\in E\) we have \(Ax = A_Ex\), so by the min–max theorem (Corollary 4.1.7),

\[ s_k(A) \;=\; \max_{\dim F = k}\ \min_{x\in S(F)}\|Ax\|_2 \;\ge\; \min_{x\in S(E)}\|A_Ex\|_2 \;=\; s_k(A_E), \tag{4.47.1} \]

the smallest singular value of the \(m\times k\) matrix \(A_E\).

The rows of \(A_E\) are the first \(k\) coordinates of the rows \(A_i\): they are independent (rows are), isotropic in \(\mathbb{R}^k\) (\(\mathbb{E}\langle A_i, x\rangle^2 = \|x\|_2^2\) for \(x\in\mathbb{R}^k\subset\mathbb{R}^n\)… formally, for \(x\in\mathbb{R}^k\) extended by zeros, \(\mathbb{E}\langle (A_{i1},\dots,A_{ik}), x\rangle^2 = \mathbb{E}\langle A_i, x\rangle^2 = \|x\|^2\)), and subgaussian with \(\psi_2\)-norms at most \(K\). Theorem 4.6.1 applied to \(A_E\) (with dimension \(k\) in place of \(n\)) gives

\[ s_k(A_E)\ \ge\ \sqrt m - CK^2(\sqrt k + t) \qquad\text{with probability}\ \ge 1-2e^{-t^2}. \]

Combining with (4.47.1) proves the claim. \(\blacksquare\)

(As the hint says: reduce via the min–max theorem to the smallest singular value of an \(m\times k\) random matrix, choosing \(E\) to be a coordinate subspace so that the submatrix inherits independent isotropic subgaussian rows.)

Exercise 4.48 (KK) (Covariance estimation with a relative error)

注记Stem (abridged)

Show that, assuming \(\Sigma\) invertible, \(\mathbb{E}\sup_{v\in\mathbb{R}^n}\Big|\dfrac{v^{\mathsf T}\Sigma_m v}{v^{\mathsf T}\Sigma v} - 1\Big| \;\le\; CK^2\Big(\sqrt{\dfrac nm} + \dfrac nm\Big)\), i.e. a uniform relative approximation of the variances of 1D marginals.

提示Solution

Following the hint, pass to the standard score. Let \(Z_i := \Sigma^{-1/2}X_i\) and let \(A\) be the \(m\times n\) matrix with rows \(Z_i^{\mathsf T}\). As in the proof of Theorem 4.7.1, the \(Z_i\) are independent, isotropic, subgaussian with \(\|Z_i\|_{\psi_2}\le K\) (condition (4.29) transfers under the linear map), and

\[ \Sigma_m - \Sigma = \Sigma^{1/2}\,R_m\,\Sigma^{1/2},\qquad R_m := \frac1mA^{\mathsf T}A - I_n . \]

The quantity of interest is a relative error, so the factors \(\Sigma^{1/2}\) cancel: for \(v\ne0\) set \(w := \Sigma^{1/2}v\,/\,\|\Sigma^{1/2}v\|_2 \in S^{n-1}\) (using invertibility, \(\Sigma^{1/2}v\ne0\)). Then

\[ \frac{v^{\mathsf T}\Sigma_m v}{v^{\mathsf T}\Sigma v} - 1 = \frac{v^{\mathsf T}(\Sigma_m-\Sigma)v}{v^{\mathsf T}\Sigma v} = \frac{v^{\mathsf T}\Sigma^{1/2}R_m\Sigma^{1/2}v}{\|\Sigma^{1/2}v\|_2^2} = \langle R_m w, w\rangle . \]

The ratio is homogeneous of degree zero in \(v\), so \(w\) ranges over all of \(S^{n-1}\) as \(v\) ranges over \(\mathbb{R}^n\setminus\{0\}\), and therefore

\[ \sup_{v\in\mathbb{R}^n}\Big|\frac{v^{\mathsf T}\Sigma_m v}{v^{\mathsf T}\Sigma v}-1\Big| = \sup_{w\in S^{n-1}}\big|\langle R_mw,w\rangle\big| = \|R_m\| , \]

using the identity (4.10) for the symmetric matrix \(R_m\). Finally, by Remark 4.6.2 (the expectation form of Theorem 4.6.1, established in Exercise 4.41(b)),

\[ \mathbb{E}\,\|R_m\| \;\le\; CK^2\Big(\sqrt{\frac nm}+\frac nm\Big), \]

which is the claimed bound. \(\blacksquare\)

(Note the right-hand side carries no factor \(\|\Sigma\|\): relative errors are scale-free, which is exactly why the theorem is sharper than Theorem 4.7.1 for small directions \(v\) with \(v^{\mathsf T}\Sigma v\ll\|\Sigma\|\).)

Exercise 4.49 (K) (Covariance estimation with high probability)

注记Stem (abridged)

Check the high-probability guarantee of Remark 4.7.3: for any \(u\ge0\), \(\|\Sigma_m-\Sigma\| \le CK^2\Big(\sqrt{\dfrac{n+u}{m}} + \dfrac{n+u}{m}\Big)\|\Sigma\|\) with probability at least \(1-2e^{-u}\).

提示Solution

We may assume \(\Sigma\) invertible (as in the proof of Theorem 4.7.1; the general case follows by approximation, Exercise 3.10). With \(Z_i := \Sigma^{-1/2}X_i\), the matrix \(A\) with rows \(Z_i^{\mathsf T}\) (independent isotropic subgaussian, \(\|Z_i\|_{\psi_2}\le K\)), and \(R_m = \frac1mA^{\mathsf T}A - I_n\) as before,

\[ \|\Sigma_m - \Sigma\| = \big\|\Sigma^{1/2}R_m\Sigma^{1/2}\big\| \le \|R_m\|\,\|\Sigma\|. \tag{4.49.1} \]

The proof of Theorem 4.6.1 established the stronger bound (4.27): with \(\delta = C(\sqrt{n/m}+t/\sqrt m)\),

\[ \|R_m\| \le K^2\max(\delta,\delta^2) \qquad\text{with probability}\ \ge 1-2e^{-t^2}. \]

Put \(t^2 := u\) and use \(\max(\delta,\delta^2)\le\delta+\delta^2\) and \((\sqrt a+\sqrt b)^2\le2(a+b)\):

\[ \|R_m\| \;\le\; CK^2\Big(\sqrt{\frac nm} + \sqrt{\frac um}\Big) + CK^2\Big(\frac nm + \frac um + \frac{2\sqrt{nu}}{m}\Big) \;\le\; CK^2\Big(\sqrt{\frac{2(n+u)}{m}} + \frac{2(n+u)}{m}\Big) \;\le\; C'K^2\Big(\sqrt{\frac{n+u}{m}}+\frac{n+u}{m}\Big), \]

where \(\frac{2\sqrt{nu}}{m}\le\frac{n+u}{m}\) by AM–GM. Substituting into (4.49.1) gives the claim with probability \(\ge1-2e^{-u}\). \(\blacksquare\)

Exercise 4.50 (KKK) (Covering numbers of low-rank matrices)

注记Stem (abridged)

Let \(M_{m,n,r} := \{m\times n\ A : \mathrm{rank}(A)\le r,\ \|A\|_F\le1\}\) [printed “rank \(r\)”; see the preamble] and \(\mathcal{O}_{m,r} := \{m\times r\) matrices with orthonormal columns\(\}\). Prove: (a) \(\mathcal N(\mathcal O_{m,r}, \|\cdot\|_{1\to2}, \varepsilon) \le (C/\varepsilon)^{mr}\); (b) \(\mathcal N(M_{m,n,r}, \|\cdot\|_F, \varepsilon)\le(C/\varepsilon)^{(m+n+1)r}\); (c) \(\mathcal N(M_{m,n,r},\|\cdot\|_F,\varepsilon)\ge(c/\varepsilon)^{(m+n)r/2}\).

提示Solution

All bounds are for \(\varepsilon\in(0,1)\) (for \(\varepsilon\ge1\) they are trivial, e.g. the single-point net \(\{0\}\) covers \(M_{m,n,r}\) within \(\varepsilon\ge1\), and \((c/\varepsilon)^{(\cdot)}\le1\) for \(c\le1\)).

(a). A matrix \(U\in\mathcal O_{m,r}\) is determined by its \(r\) columns, each a unit vector in \(\mathbb{R}^m\), and the \(1\to2\) norm is the maximum column norm (Exercise 4.19(b)). Let \(\mathcal N_0\) be an \(\varepsilon\)-net of \(S^{m-1}\) with \(|\mathcal N_0| \le (2/\varepsilon+1)^m\le(3/\varepsilon)^m\) (Corollary 4.2.11). Then

\[ \mathcal M := \big\{(\tilde u_1,\dots,\tilde u_r)\ :\ \tilde u_j\in\mathcal N_0\big\},\qquad |\mathcal M| \le \Big(\frac3\varepsilon\Big)^{mr}, \]

is an \(\varepsilon\)-net of \(\mathcal O_{m,r}\) in the \(1\to2\) norm: given \(U = (u_1,\dots,u_r)\), choose \(\tilde u_j\in\mathcal N_0\) with \(\|u_j-\tilde u_j\|_2\le\varepsilon\); then \(\|U-\tilde U\|_{1\to2} = \max_j\|u_j-\tilde u_j\|_2\le\varepsilon\). (Strictly, Definition 4.2.2 asks for net centers inside \(\mathcal O_{m,r}\); the construction above is an external net. By Exercise 4.25, \(\mathcal N(\mathcal O_{m,r},\|\cdot\|_{1\to2},\varepsilon)\le\bar{\mathcal N}(\mathcal O_{m,r},\|\cdot\|_{1\to2},\varepsilon/2)\), so the displayed external bound with \(\varepsilon/2\) in place of \(\varepsilon\) yields the same internal bound up to the absolute constant, which is absorbed.)

(b). Every \(A\in M_{m,n,r}\) has an SVD \(A = U\Sigma V^{\mathsf T}\) with \(U\in\mathcal O_{m,r}\), \(V\in\mathcal O_{n,r}\), \(\Sigma = \mathrm{diag}(s_1,\dots,s_r)\), \(s_1\ge\cdots\ge s_r\ge0\), \(\|\Sigma\|_F = \|A\|_F\le1\). Choose:

  • a \((\delta)\)-net \(\{U^{(k)}\}\) of \(\mathcal O_{m,r}\) in the \(1\to2\) norm, of size \(\le(C/\delta)^{mr}\) (part (a));
  • a \(\delta\)-net \(\{V^{(k)}\}\) of \(\mathcal O_{n,r}\) in the \(1\to2\) norm, of size \(\le(C/\delta)^{nr}\);
  • a \(\delta\)-net \(\{\Sigma^{(k)}\}\) of the set of diagonal matrices \(\mathrm{diag}(s)\), \(s\ge0\), \(\|s\|_2\le1\), in the Frobenius norm, of size \(\le(C/\delta)^{r}\) (this is a net of the positive part of the unit ball of \(\mathbb{R}^r\)).

Let \(\tilde U, \tilde\Sigma, \tilde V\) be within \(\delta\) of \(U,\Sigma,V\) respectively, and set \(\tilde A := \tilde U\tilde\Sigma\tilde V^{\mathsf T}\). Then, splitting the error into three one-factor-at-a-time steps as the hint suggests,

\[ \|A - \tilde A\|_F \le \|(U-\tilde U)\Sigma V^{\mathsf T}\|_F + \|\tilde U(\Sigma-\tilde\Sigma)V^{\mathsf T}\|_F + \|\tilde U\tilde\Sigma(V-\tilde V)^{\mathsf T}\|_F . \]

First term: the \(j\)-th column of \((U-\tilde U)\Sigma\) is \(s_j(u_j-\tilde u_j)\), so \(\|(U-\tilde U)\Sigma\|_F^2 = \sum_js_j^2\|u_j-\tilde u_j\|_2^2 \le \delta^2\|\Sigma\|_F^2\le\delta^2\); and \(\|\,\cdot\,\Sigma V^{\mathsf T}\|_F = \|\,\cdot\,\Sigma\|_F\) since \(V\) has orthonormal columns. So the first term is \(\le\delta\).

Second term: \(\|\tilde U(\Sigma-\tilde\Sigma)V^{\mathsf T}\|_F = \|\Sigma-\tilde\Sigma\|_F\le\delta\), using \(\|\tilde U X\|_F = \|X\|_F\) and \(\|YV^{\mathsf T}\|_F = \|Y\|_F\) for matrices with orthonormal columns \(\tilde U\), \(V\).

Third term: \(\|\tilde U\tilde\Sigma(V-\tilde V)^{\mathsf T}\|_F = \|\tilde\Sigma(V-\tilde V)^{\mathsf T}\|_F = \|(V-\tilde V)\tilde\Sigma^{\mathsf T}\|_F\) (transpose), and since \(\tilde\Sigma^{\mathsf T} = \tilde\Sigma\) is diagonal, Exercise 4.4(d) applies with \(B := V-\tilde V\) and the diagonal \(A := \tilde\Sigma\):

\[ \|(V-\tilde V)\tilde\Sigma\|_F \;\le\; \|V-\tilde V\|_{1\to2}\,\|\tilde\Sigma\|_F \;\le\; \delta\,(\|\Sigma\|_F+\delta) \le \delta(1+\delta)\le2\delta . \]

Hence \(\|A-\tilde A\|_F\le4\delta\). Moreover \(\|\tilde A\|_F\le\|A\|_F+4\delta\le1+4\delta\), so rescaling \(\tilde A' := \tilde A/\max(1,\|\tilde A\|_F)\in M_{m,n,r}\) satisfies \(\|A-\tilde A'\|_F\le\|A-\tilde A\|_F + (\|\tilde A\|_F-1)^+ \le 8\delta\). Taking \(\delta := \varepsilon/8\), the net \(\{\tilde A'\}\) has size at most

\[ \Big(\frac{C}{\delta}\Big)^{mr}\Big(\frac C\delta\Big)^{nr}\Big(\frac C\delta\Big)^r = \Big(\frac{C}{\varepsilon}\Big)^{(m+n+1)r}. \qquad\square \]

(c). By symmetry (transposition is an isometry for \(\|\cdot\|_F\) and preserves the set), we may assume \(m\ge n\). Consider the subset of matrices supported on the first \(r\) columns,

\[ \mathcal S := \big\{A = (A_0\,|\,0)\ :\ A_0\in\mathbb{R}^{m\times r},\ \|A_0\|_F\le1\big\}\ \subseteq\ M_{m,n,r}, \]

which is isometric to the unit Euclidean ball of \(\mathbb{R}^{mr}\). By the volumetric lower bound (Proposition 4.2.10, or Corollary 4.2.11’s lower bound applied in dimension \(mr\)),

\[ \mathcal N(M_{m,n,r},\|\cdot\|_F,\varepsilon)\ \ge\ \mathcal N(\mathcal S,\|\cdot\|_F,\varepsilon)\ \ge\ \mathcal N(B_2^{mr},\varepsilon)\ \ge\ \Big(\frac1\varepsilon\Big)^{mr}\ \ge\ \Big(\frac1\varepsilon\Big)^{(m+n)r/2}, \]

where the last step uses \(mr\ge\frac{(m+n)r}{2}\), i.e. \(m\ge n\). (Regarding the printed “rank \(r\)”: \(\mathcal S\) consists of matrices of rank \(\le r\); since the rank-exactly-\(r\) set is dense in the rank-\(\le r\) set within \(\{\|\cdot\|_F\le1\}\) — perturb by \(\delta\,\mathrm{diag}(1,\dots,1,0,\dots)\) — the same lower bound holds for it as well, up to adjusting constants via Exercise 4.26-type stability.) \(\blacksquare\)

Exercise 4.51 (KKKK) (Spectral clustering of the Gaussian mixture model)

注记Stem (abridged)

Prove Theorem 4.7.5: for \(X_1,\dots,X_m\) from the Gaussian mixture model \(X = \theta\mu + g\) (\(\theta\) Rademacher, \(g\sim N(0,I_n)\), independent), if \(m\ge Cn\) and \(\|\mu\|_2\ge C\), then with probability \(\ge0.99\) the spectral clustering algorithm (compute \(\Sigma_m = \frac1m\sum_iX_iX_i^{\mathsf T}\), take the top eigenvector \(v\), classify by the sign of \(\langle X_i,v\rangle\)) misclassifies at most \(1\%\) of the points. Follow: (a) compute \(\Sigma\); (b) signs of \(\langle X_i,u\rangle\); (c) \(\Sigma_m\approx\Sigma\); (d) Davis–Kahan for \(v\approx u\); (e) conclude for \(\langle X_i,v\rangle\).

提示Solution

Throughout \(\beta := \|\mu\|_2\) and \(C, c\) are absolute constants whose values may change; we assume at the end \(\beta\ge C_0\) and \(m\ge Cn\) for sufficiently large absolute \(C_0, C\) (as allowed by the theorem). Let \(\theta_i\) denote the label of \(X_i\), i.e. \(X_i = \theta_i\mu + g_i\).

(a) The population covariance and its top eigenvector. Expanding \(XX^{\mathsf T} = (\theta\mu+g)(\theta\mu+g)^{\mathsf T}\) and using \(\mathbb{E}\theta^2 = 1\), \(\mathbb{E}\theta = 0\), \(\mathbb{E}gg^{\mathsf T} = I_n\), and the independence of \(\theta\) and \(g\) (which kills the cross terms),

\[ \Sigma := \mathbb{E}XX^{\mathsf T} = \mu\mu^{\mathsf T} + I_n . \]

Let \(u := \mu/\beta\) (assume \(\mu\ne0\)). Then \(\Sigma u = \mu\langle\mu,u\rangle + u = \beta\mu + u = (\beta^2+1)u\), and every \(w\perp\mu\) satisfies \(\Sigma w = w\). Hence the spectrum is

\[ \lambda_1(\Sigma) = 1+\beta^2 \ \text{with eigenvector}\ u = u_1(\Sigma),\qquad \lambda_2 = \cdots = \lambda_n = 1, \]

so the top eigenvector is collinear with \(\mu\).

(b) The ideal classifier. For a fresh sample, \(\langle X, u\rangle = \theta\beta + \langle g,u\rangle\) with \(\langle g,u\rangle\sim N(0,1)\) independent of \(\theta\). Hence, quantitatively (as the hint suggests),

\[ p_0 := \mathbb{P}\big\{\big|\langle X,u\rangle - \theta\beta\big| \ge \tfrac\beta2\big\} = \mathbb{P}\big\{|N(0,1)|\ge\tfrac\beta2\big\} \le 2e^{-\beta^2/8} \le 10^{-4} \]

for \(\beta\ge C_0\) with \(C_0\) absolute. In particular \(|\langle X,u\rangle|\ge\beta/2\) with sign \(\theta\) on the complement event, so the signs of \(\langle X_i,u\rangle\) classify all but a few points: by Markov’s inequality applied to the count \(\#\{i:\ |\langle X_i,u\rangle-\theta_i\beta|>\beta/2\}\) (expectation \(mp_0\)),

\[ \mathbb{P}\Big\{\#\big\{i : |\langle X_i,u\rangle - \theta_i\beta| > \tfrac\beta2\big\} \ >\ 10^{-3}m\Big\} \;\le\; \frac{p_0}{10^{-3}} \;\le\; 0.1 . \tag{4.51.1} \]

(Refining \(C_0\) makes the right side \(\le10^{-3}\); we keep explicit room for the other error sources below.)

(c) The sample covariance approximates \(\Sigma\). We check the subgaussian marginal condition (4.29) with an absolute \(K\): for \(x\in\mathbb{R}^n\),

\[ \langle X, x\rangle = \theta\langle\mu,x\rangle + \langle g,x\rangle,\qquad \|\langle X,x\rangle\|_{\psi_2} \;\le\; C\big(|\langle\mu,x\rangle| + \|x\|_2\big) \;\le\; C\sqrt2\,\big(\langle\mu,x\rangle^2 + \|x\|_2^2\big)^{1/2} \;=\; K_0\,\big(x^{\mathsf T}\Sigma x\big)^{1/2}, \]

with an absolute \(K_0 := C\sqrt2\): a Rademacher and a standard Gaussian variable are \(O(1)\)-subgaussian, the \(\psi_2\) norm is subadditive up to an absolute constant, and \(x^{\mathsf T}\Sigma x = \langle\mu,x\rangle^2 + \|x\|_2^2 = \|\langle X,x\rangle\|_{L_2}^2\). So (4.29) holds with an absolute \(K\). Exercise 4.49 (Remark 4.7.3) then yields, for any \(u\ge0\),

\[ \|\Sigma_m-\Sigma\| \le CK_0^2\Big(\sqrt{\frac{n+u}{m}} + \frac{n+u}{m}\Big)\|\Sigma\| \qquad\text{with probability}\ \ge1-2e^{-u}. \tag{4.51.2} \]

Choose \(u := \delta_0 m\) with \(\delta_0 := 10^{-4}\) and recall \(\|\Sigma\| = 1+\beta^2\le2\beta^2\) (as \(\beta\ge C_0\ge1\)). Since \(m\ge Cn\) with \(C\) large,

Since \(m\ge Cn\) and \(u = \delta_0m\),

\[ \sqrt{\frac{n+u}{m}}+\frac{n+u}{m} \;\le\; \sqrt{\frac1C + \delta_0} + \frac1C + \delta_0 \;\le\; \frac{\varepsilon_0}{CK_0^2\cdot 2} \]

for a small absolute \(\varepsilon_0>0\) (say \(\varepsilon_0 := 10^{-3}\)), provided the absolute constant \(C\) in \(m\ge Cn\) is large enough. Then (4.51.2) and \(\|\Sigma\|\le2\beta^2\) give

\[ \|\Sigma_m-\Sigma\| \;\le\; \varepsilon_0\,\beta^2 \qquad\text{with probability}\ \ge\,1-2e^{-\delta_0m}\,\ge\,1-10^{-3}, \]

the last step because \(m\ge Cn\ge C\).

(d) Davis–Kahan. The top eigenvalue \(\lambda_1(\Sigma) = 1+\beta^2\) is separated from the rest of the spectrum by \(\delta := \beta^2\). Theorem 4.1.15 applied to \(\Sigma\), \(\Sigma_m\) gives, on the event of (c),

\[ \sin\angle(u, v) \;\le\; \frac{2\|\Sigma_m-\Sigma\|}{\beta^2} \;\le\; 2\varepsilon_0 \ =: \ s_0 \;\le\; \tfrac12 . \tag{4.51.3} \]

By Exercise 4.16 there is \(\theta_0\in\{-1,1\}\) with \(w := \theta_0v - u\) satisfying \(\|w\|_2\le\sqrt2\,s_0\).

(e) The algorithm’s labels. Work on the intersection of the good events of (b) (with the bound in (4.51.1)), (c), and hence (d); by the union bound this intersection has probability \(\ge1-0.1-\dots\) — with \(C_0\) chosen so that (4.51.1) fails with probability \(\le10^{-3}\), the total failure probability is \(\le2\cdot10^{-3}\le0.01\).

For each \(i\),

\[ \theta_0\langle X_i, v\rangle = \langle X_i, u\rangle + \langle X_i, w\rangle . \]

Call index \(i\) clean if \(|\langle X_i,u\rangle|\ge\beta/2\) with sign \(\theta_i\) (i.e. \(|\langle X_i,u\rangle-\theta_i\beta|\le\beta/2\)) and \(|\langle X_i,w\rangle|\le\beta/4\). For clean \(i\), the sum \(\langle X_i,u\rangle + \langle X_i,w\rangle\) has magnitude at least \(\beta/2-\beta/4 = \beta/4 > 0\), and its sign is the sign of the dominant term \(\langle X_i,u\rangle\), which is \(\theta_i\). Since \(\theta_0\langle X_i,v\rangle = \langle X_i,u\rangle+\langle X_i,w\rangle\), the algorithm’s label \(\mathrm{sign}\langle X_i,v\rangle = \theta_0\,\theta_i\) classifies \(i\) correctly up to the global flip \(\theta_0\) (which no algorithm can identify). Hence misclassified indices are contained in the union of

\[ \mathcal B_1 := \big\{i:\ |\langle X_i,u\rangle-\theta_i\beta|>\tfrac\beta2\big\},\qquad \mathcal B_2 := \big\{i:\ |\langle X_i,w\rangle|>\tfrac\beta4\big\}. \]

For \(\mathcal B_2\) we use the hint’s trick of summing squares and expressing the sum through \(\Sigma_m\) and \(w\) — crucially, this is deterministic given the events of (c)–(d):

\[ \sum_{i=1}^m\langle X_i, w\rangle^2 = m\,w^{\mathsf T}\Sigma_m w \le m\,\|\Sigma_m\|\,\|w\|_2^2 \le m\big(\lambda_1(\Sigma)+\|\Sigma_m-\Sigma\|\big)\cdot 2s_0^2 \le m\cdot 3\beta^2\cdot 2s_0^2, \]

using Weyl’s inequality for \(\lambda_1(\Sigma_m)\le1+\beta^2+\varepsilon_0\beta^2\le3\beta^2\). Therefore

\[ \#\mathcal B_2 \;\le\; \frac{m\cdot6\beta^2s_0^2}{\beta^2/16} \;=\; 96\,s_0^2\,m \;\le\; 96\cdot(2\varepsilon_0)^2 m \;\le\; 10^{-3}m \]

with \(\varepsilon_0\) a small enough absolute constant. Together with \(\#\mathcal B_1\le10^{-3}m\) from (b), the algorithm misclassifies at most

\[ \#\mathcal B_1 + \#\mathcal B_2 \;\le\; 2\cdot10^{-3}m \;\le\; \tfrac{1}{100}m \]

points, with probability at least \(1-2\cdot10^{-3}\ge0.99\). \(\blacksquare\)

Remark. The two delicate points handled above are: (i) per-point margins (not just correct signs) are needed for the ideal classifier, since the perturbation term \(\langle X_i,w\rangle\) eats into the margin — this is why (b) is stated with \(|\langle X_i,u\rangle-\theta_i\beta|\le\beta/2\); and (ii) \(v\) depends on all the \(X_i\), so \(\langle X_i,w\rangle\) cannot be treated as an independent Gaussian — the deterministic bound \(\sum_i\langle X_i,w\rangle^2 = m\,w^{\mathsf T}\Sigma_mw\) sidesteps the dependence entirely. It is remarkable that correct classification needs only \(\beta = \|\mu\|_2\ge C\) while the clusters have diameter \(\asymp\sqrt n\): heavily overlapping clusters are still separated by the spectral method.