Chapter 3 Exercises
Vershynin, High-Dimensional Probability (2nd ed.) §3.9
How to use this file
This file gives complete, independent solutions to all exercises of Chapter 3 (Random Vectors in High Dimensions): Exercises 3.1–3.58, printed pp. 88–99 = PDF pp. 103–114. The exercise list, difficulty marks (K), and part structure were locked from the textbook before solving; solutions were written independently and only afterwards cross-checked against the book’s Hints for the Exercises. Chinese-language background for the chapter’s theory is in the companion notes. Throughout, \(C, C_1, c, c_0 > 0\) denote absolute constants whose values may change from line to line, and \(K\)-marks reproduce the book’s difficulty rating.
Reference results used repeatedly. Theorem 3.1.1 (concentration of the norm): \(\| \,\|X\|_2 - \sqrt n\, \|_{\psi_2} \le CK^2\) for \(X\) with independent subgaussian coordinates satisfying \(\mathbb E X_i^2 = 1\), \(K = \max_i \|X_i\|_{\psi_2}\); equivalently the tail bound (3.2). Proposition 2.6.6 (tails, moments, MGF characterizations of the \(\psi_2\) norm), Proposition 2.7.1 (sum of independent subgaussians), Proposition 2.7.6 / (2.22) (maximum of subgaussians, no independence needed).
Exercise 3.1 (KK)
(Thin shell.) Let \(X=(X_1,\dots,X_n)\) have independent subgaussian coordinates with \(\mathbb E X_i^2 = 1\) and \(K = \max_i \|X_i\|_{\psi_2}\). Deduce from Theorem 3.1.1 that \(\operatorname{Var} \|X\|_2 \le CK^4\).
Solution. The variance is the infimum of \(\mathbb E(\|X\|_2 - a)^2\) over all centers \(a\), so for the (non-random) center \(a = \sqrt n\), \[ \operatorname{Var}\|X\|_2 \;\le\; \mathbb E\big( \|X\|_2 - \sqrt n \big)^2 . \] (The same step is Exercise 0.2.) By Theorem 3.1.1, \(Z := \|X\|_2 - \sqrt n\) is a subgaussian random variable (up to centering) with \(\|Z\|_{\psi_2} \le CK^2\). Applying the moment bound of Proposition 2.6.6(ii) with \(p = 2\), \[ \mathbb E\big(\|X\|_2 - \sqrt n\big)^2 = \|Z\|_{L^2}^2 \le \big(C' K^2\big)^2 = C'' K^4 . \qquad \blacksquare \]
Exercise 3.2 (KKK)
(Thin shell, generalized.) Let \(X\) have independent coordinates with \(\mathbb E X_i^2 = 1\) and \(\mathbb E X_i^4 \le K^4\). Show that \(\operatorname{Var}\|X\|_2 \le K^4\) and \(\sqrt n - K^4/\sqrt n \le \mathbb E \|X\|_2 \le \sqrt n\).
Solution. Let \(S := \|X\|_2^2 = \sum_{i=1}^n X_i^2\) and \(D := S - n\), so \(\mathbb E D = 0\). By independence, \[ \operatorname{Var} S \;=\; \sum_{i=1}^n \operatorname{Var}(X_i^2) \;\le\; \sum_{i=1}^n \mathbb E X_i^4 \;\le\; nK^4 . \]
Variance bound. Using the identity \(x - y = (x^2-y^2)/(x+y)\) for \(x = \|X\|_2\), \(y=\sqrt n \ge 0\) (note \(\|X\|_2 + \sqrt n \ge \sqrt n\)), \[ \big|\|X\|_2 - \sqrt n\big| \;=\; \frac{|S - n|}{\|X\|_2 + \sqrt n} \;\le\; \frac{|D|}{\sqrt n} . \] Hence, as in Exercise 3.1, \[ \operatorname{Var}\|X\|_2 \;\le\; \mathbb E\big(\|X\|_2 - \sqrt n\big)^2 \;\le\; \frac{\mathbb E D^2}{n} \;=\; \frac{\operatorname{Var} S}{n} \;\le\; K^4 . \]
Upper bound on the expectation. Since \(s \mapsto \sqrt s\) is concave, Jensen gives \(\mathbb E \|X\|_2 = \mathbb E \sqrt S \le \sqrt{\mathbb E S} = \sqrt n\).
Lower bound on the expectation. We claim the deterministic inequality, valid for all \(s \ge 0\), \[ \sqrt s \;\ge\; \sqrt n + \frac{s-n}{2\sqrt n} - \frac{(s-n)^2}{2n^{3/2}} . \tag{$\ast$} \] Indeed, let \(\phi(s)\) denote the difference of the two sides. Then \(\phi(n) = \phi'(n) = 0\) and \(\phi''(s) = n^{-3/2} - (4s^{3/2})^{-1}\), which is negative on \((0,\, n/2^{2/3})\) and positive afterwards. So \(\phi'\) decreases from \(+\infty\) and then increases back to \(\phi'(n)=0\), vanishing exactly once in \((0,n)\): thus \(\phi\) first increases from \(\phi(0)=0\) and then decreases to \(\phi(n) = 0\), which shows \(\phi \ge 0\) on \([0,n]\); on \([n,\infty)\), \(\phi\) is convex with \(\phi(n)=\phi'(n)=0\), so \(\phi \ge 0\) there as well. Taking expectations in \((\ast)\) at \(s = S\) and using \(\mathbb E D = 0\), \[ \mathbb E \|X\|_2 \;\ge\; \sqrt n - \frac{\mathbb E (S-n)^2}{2n^{3/2}} \;=\; \sqrt n - \frac{\operatorname{Var} S}{2 n^{3/2}} \;\ge\; \sqrt n - \frac{K^4}{2\sqrt n} \;\ge\; \sqrt n - \frac{K^4}{\sqrt n}. \qquad \blacksquare \]
Exercise 3.3 (KKKK)
(Thin shell, reversed.) Let \(X\) have independent coordinates with \(\mathbb E X_i^2 = 1\), \(\operatorname{Var}(X_i^2) > \alpha\) and \(\mathbb E X_i^6 \le \beta\). Prove that if \(n\) is large enough (depending on \(\alpha, \beta\)) then \(\operatorname{Var}\|X\|_2 \ge c_\alpha\) and \(\mathbb E\|X\|_2 \le \sqrt n - c_\alpha/\sqrt n\). Explain why a lower bound on the variance is an essential assumption.
Solution. Let \(S = \|X\|_2^2\), \(D = S - n\), \(W := \|X\|_2 - \sqrt n = D/(\|X\|_2 + \sqrt n)\), and let \(Y_i := X_i^2 - 1\), so \(D = \sum_i Y_i\) is a sum of independent, mean-zero random variables with \[ v := \mathbb E D^2 = \operatorname{Var} S = \sum_{i=1}^n \operatorname{Var}(X_i^2) \ge n\alpha, \] \(\mathbb E Y_i^2 \le \mathbb E X_i^4 \le (\mathbb E X_i^6)^{2/3} \le \beta^{2/3}\) (Lyapunov), and \(\mathbb E|Y_i|^3 \le 4(\mathbb E X_i^6 + 1) \le 4(\beta+1)\). Expanding \((\sum_i |Y_i|)^3\) and using independence and \(\mathbb E Y_i = 0\) (so mixed third moments with an unrepeated index vanish, and the remaining cross terms are controlled by Cauchy–Schwarz), \[ \mathbb E |D|^3 \;\le\; \sum_i \mathbb E|Y_i|^3 + 4\Big(\sum_i \mathbb E Y_i^2\Big)^{3/2} \;\le\; C\big((\beta+1)n + \beta n^{3/2}\big). \tag{1} \]
Step 1: \(\mathbb E W^2 \ge \alpha/8\) for \(n \ge n_0(\alpha,\beta)\). Since \(D = W(\|X\|_2 + \sqrt n)\) and \((\|X\|_2+\sqrt n)^2 \le 2(S+n) = 2(2n + D)\), \[ v = \mathbb E D^2 \le 4n\, \mathbb E W^2 + 2\,\mathbb E |W^2 D| \;\le\; 4n\, \mathbb E W^2 + \frac{2\,\mathbb E|D|^3}{n}, \] where we used \(W^2 = D^2/(\|X\|_2+\sqrt n)^2 \le D^2/n\). Rearranging and inserting (1), \[ \mathbb E W^2 \;\ge\; \frac{v - C\big((\beta+1) + \beta\sqrt n\big)}{4n} \;\ge\; \frac{n\alpha - C(\beta+1+\beta\sqrt n)}{4n} \;\ge\; \frac{\alpha}{8} \] once \(n \ge n_0(\alpha,\beta)\).
Step 2: an exact identity for the expectation gap. From \(W = D/(\|X\|_2 + \sqrt n)\), i.e. \(D = W(W + 2\sqrt n)\), we get, using \(\frac1{W+2\sqrt n} = \frac1{2\sqrt n} - \frac{W}{2\sqrt n\,(W+2\sqrt n)}\), \[ W \;=\; \frac{D}{2\sqrt n} - \frac{W^2}{2\sqrt n} . \] Taking expectations (\(\mathbb E D = 0\)) yields the identity \(\;\sqrt n - \mathbb E\|X\|_2 = -\mathbb E W = \mathbb E W^2/(2\sqrt n)\). Hence \[ \mathbb E \|X\|_2 \;=\; \sqrt n - \frac{\mathbb E W^2}{2\sqrt n} \;\le\; \sqrt n - \frac{\alpha}{16\sqrt n}. \]
Step 3: lower bound on the variance. Since \(\operatorname{Var}\|X\|_2 = \operatorname{Var} W = \mathbb E W^2 - (\mathbb E W)^2\) and \((\mathbb E W)^2 = \big(\mathbb E W^2\big)^2/(4n)\), while \(\mathbb E W^2 \le \mathbb E D^2/n \le \beta^{2/3}\), \[ \operatorname{Var}\|X\|_2 \;\ge\; \mathbb E W^2\Big(1 - \frac{\mathbb E W^2}{4n}\Big) \;\ge\; \frac{\alpha}{8}\cdot\frac34 \;=\; \frac{3\alpha}{32} \] for \(n \ge \beta^{4/3}\). Both conclusions hold with \(c_\alpha = \alpha/64\) (say) once \(n \ge n_0(\alpha,\beta)\).
Why the variance assumption is essential. Take \(X_i = \pm 1\) Rademacher. Then \(\mathbb E X_i^2 = 1\), \(\mathbb E X_i^6 = 1 \le \beta\), but \(\operatorname{Var}(X_i^2) = 0\): here \(\|X\|_2 = \sqrt n\) deterministically, so \(\operatorname{Var}\|X\|_2 = 0\) and \(\mathbb E\|X\|_2 = \sqrt n\) exactly — both conclusions fail. Without forcing the coordinates’ squares to fluctuate, the random vector lives exactly on one sphere. \(\blacksquare\)
Exercise 3.4 (KKK)
(PCA maximizes the explained variance.) Let \(X\) be mean-zero in \(\mathbb R^n\) whose covariance matrix has eigenvalues \(\lambda_1 \ge \cdots \ge \lambda_n\) and eigenvectors \(v_1,\dots,v_n\). (a) For the orthogonal projection \(P_k\) onto \(\operatorname{span}(v_1,\dots,v_k)\), show \(\mathbb E\|P_kX\|_2^2 = \sum_{i=1}^k \operatorname{Var}(\langle X,v_i\rangle) = \sum_{i=1}^k \lambda_i\). (b) Any rank-\(k\) orthogonal projection \(P\) satisfies \(\mathbb E\|PX\|_2^2 \le \mathbb E\|P_kX\|_2^2\).
Solution. (a) Since \(\{v_i\}\) is an orthonormal basis, \(P_kX = \sum_{i \le k}\langle X,v_i\rangle v_i\) and \(\|P_kX\|_2^2 = \sum_{i\le k}\langle X,v_i\rangle^2\). As \(X\) is mean zero, \(\operatorname{Var}(\langle X,v_i\rangle) = \mathbb E\langle X,v_i\rangle^2\). Finally, by (3.6), \(\mathbb E\langle X,v_i\rangle^2 = v_i^\mathsf T \Sigma v_i = \lambda_i\). Summing gives the claim.
- For any orthogonal projection \(P\) (symmetric and idempotent), \(\|PX\|_2^2 = \langle X, PX\rangle\), so by linearity \[ \mathbb E\|PX\|_2^2 = \operatorname{tr}\big(P\,\mathbb E XX^\mathsf T\big) = \operatorname{tr}\Big( P \sum_{j=1}^n \lambda_j v_jv_j^\mathsf T \Big) = \sum_{j=1}^n \lambda_j\, \langle Pv_j, v_j\rangle . \] Set \(\mu_j := \langle Pv_j,v_j\rangle = \|Pv_j\|_2^2 \in [0,1]\) (a projection is a contraction), and \(\sum_{j=1}^n \mu_j = \operatorname{tr}(P \sum_j v_jv_j^\mathsf T) = \operatorname{tr}(P) = k\). Since \(\lambda_1 \ge \lambda_2 \ge \cdots\), the weighted sum \(\sum_j \lambda_j \mu_j\) with \(0\le\mu_j\le1\), \(\sum\mu_j = k\), is maximized by putting all weight on the top \(k\) eigenvalues (rearrangement: if \(\mu_i < 1 > \mu_j\) for some \(i<j\), shifting weight from \(\mu_j\) to \(\mu_i\) does not decrease the sum). Hence \[ \mathbb E\|PX\|_2^2 \;\le\; \sum_{j=1}^k \lambda_j \;=\; \mathbb E\|P_kX\|_2^2 . \]
Interpretation. PCA keeps the \(k\) directions in which the data varies most: the projection of the data onto the top-\(k\) eigenspace captures the largest possible fraction \(s_k/s_n = (\lambda_1 + \cdots + \lambda_k)/(\lambda_1+\cdots+\lambda_n)\) of the total variance \(\mathbb E\|X\|_2^2 = s_n\). \(\blacksquare\)
Exercise 3.5 (KKK)
(Expected \(\ell_p\) norm of a random vector.) For \(X\) with independent subgaussian coordinates and \(K = \max_i\|X_i\|_{\psi_2}\), show \(\mathbb E\|X\|_p \le CK\sqrt p\, n^{1/p}\) for \(p \le \log n\), and \(\mathbb E\|X\|_p \le CK\sqrt{\log n}\) for \(p \ge \log n\) (\(p \in [1,\infty]\)).
Solution. Case \(p < \infty\). Since \(s \mapsto s^{1/p}\) is concave, Jensen gives \[ \mathbb E\|X\|_p = \mathbb E\Big(\sum_{i=1}^n |X_i|^p\Big)^{1/p} \;\le\; \Big(\mathbb E \sum_{i=1}^n |X_i|^p\Big)^{1/p} = \Big(\sum_{i=1}^n \mathbb E|X_i|^p\Big)^{1/p}. \] By the moment growth of subgaussians (Proposition 2.6.6(ii)), \(\mathbb E|X_i|^p = \|X_i\|_{L^p}^p \le (CK\sqrt p)^p\). Hence \(\mathbb E\|X\|_p \le CK\sqrt p \, n^{1/p}\). Note this needs no independence, and no restriction on \(p\); in particular it settles the branch \(p \le \log n\) (for \(n = 1\) the second branch is vacuous and constants absorb \(\log 1 = 0\)).
Case \(p \ge \log n\) (including \(p = \infty\)). Monotonicity of \(\ell_p\) norms gives \(\|X\|_p \le \|X\|_\infty = \max_{i \le n}|X_i|\), and by the maximal inequality (2.21)–(2.22) (valid without any independence), \[ \mathbb E\|X\|_p \;\le\; \mathbb E \max_{i\le n}|X_i| \;\le\; CK\sqrt{\log n}. \qquad \blacksquare \]
Exercise 3.6 (KKKK)
(Expected \(\ell_p\) norm of a Gaussian vector.) For \(X\) with i.i.d. \(N(0,1)\) coordinates, show the bounds of Exercise 3.5 can be reversed: \(\mathbb E\|X\|_p \ge c\sqrt p\, n^{1/p}\) for \(p \le \log n\) and \(\mathbb E\|X\|_p \ge c\sqrt{\log n}\) for \(p \ge \log n\).
Solution. We use the standard lower bound on the maximum of Gaussians: for i.i.d. \(Z_1,\dots,Z_m \sim N(0,1)\) and \(m \ge 2\), \[ \mathbb E \max_{i \le m} |Z_i| \;\ge\; c\sqrt{\log m}. \tag{$\dagger$} \] (Proof: \(\mathbb P\{\max |Z_i| \ge t\} = 1 - (1-p_t)^m \ge 1 - e^{-mp_t}\) with \(p_t = \mathbb P\{|Z| \ge t\} \ge c_0 e^{-t^2}\) for \(t\ge 1\). For \(m \ge 16\) take \(t = \tfrac12\sqrt{\log m} \ge 1\): then \(mp_t \ge c_0 m^{3/4} \ge 2\), so the probability is at least \(1 - e^{-2} \ge 1/2\) and the expectation is at least \(t/2\). For \(2 \le m < 16\), \(\mathbb E\max|Z_i| \ge \mathbb E|Z_1| = \sqrt{2/\pi} \ge c\sqrt{\log 16}\).)
Case \(1 \le p \le \log n\). Let \(m := \lceil e^p \rceil\) and partition \(\{1,\dots,n\}\) into \(N := \lfloor n/m \rfloor\) disjoint blocks \(B\) of size \(m\) each (possible since \(e^p \le n\)), letting \(M_B := \max_{i \in B}|X_i|\). Then, using that \(\sum_{i \in B}|X_i|^p \ge M_B^p\) and that \((\sum_B z_B^p)^{1/p} \ge N^{1/p - 1}\sum_B z_B\) for nonnegative \(z_B\) (monotonicity of \(\ell_p\) norms on \(\mathbb R^N\)), \[ \|X\|_p \;\ge\; \Big(\sum_{B} M_B^p\Big)^{1/p} \;\ge\; N^{1/p-1}\sum_B M_B . \] The blocks are identically distributed, so by linearity of expectation and \((\dagger)\), \[ \mathbb E\|X\|_p \;\ge\; N^{1/p}\, \mathbb E \max_{i \le m}|X_i| \;\ge\; c\sqrt{\log m}\, N^{1/p} \;\ge\; c\sqrt p \,\Big(\frac{n}{2e^p}\Big)^{1/p} \;\ge\; \frac{c}{2e}\,\sqrt p\, n^{1/p}, \] where we used \(\log m \ge p\) and \(N \ge n/(2m)\).
Case \(p \ge \log n\) (including \(p = \infty\)). Monotonicity in \(p\) and the previous case at \(p_0 := \log n\) give \[ \mathbb E\|X\|_p \;\ge\; \mathbb E\|X\|_{p_0} \;\ge\; c\sqrt{\log n}\; n^{1/\log n} \;=\; c\,e\,\sqrt{\log n}, \] using \(n^{1/\log n} = e\) (for \(n \ge 3\); for \(n = 2\) use \(\mathbb E\|X\|_p \ge \mathbb E|X_1| = \sqrt{2/\pi} \ge c\sqrt{\log 2}\)). \(\blacksquare\)
Exercise 3.7 (KK)
(Small ball probability.) \(X\) has independent coordinates with densities bounded by \(K\). (a) For any \(a \in \mathbb R^n\) and \(\varepsilon > 0\), \(\mathbb P\{\|X-a\|_2 \le \varepsilon\sqrt n\} \le (\sqrt{2\pi e}\, K\varepsilon)^n\). (b) Deduce \(\mathbb E\big[1/\|X\|_2\big] \le CK/\sqrt n\) for \(n \ge 2\), and explain why for \(n=1\) the expectation can be infinite.
Solution. (a) Let \(B = B(a, \varepsilon\sqrt n)\) denote the Euclidean ball in question. Since each coordinate density is bounded by \(K\), the joint density satisfies \(f_X(x) = f_1(x_1)\cdots f_n(x_n) \le K^n\) on \(B\). Hence \[ \mathbb P\{X \in B\} \;=\; \int_B f_X(x)\,dx \;\le\; K^n \operatorname{Vol}(B) \;=\; K^n (\varepsilon\sqrt n)^n v_n, \] where \(v_n = \pi^{n/2}/\Gamma(n/2+1)\) is the volume of the unit ball. The standard estimate \(v_n \le (2\pi e/n)^{n/2}\) (from Stirling’s lower bound \(\Gamma(n/2+1) \ge (n/2e)^{n/2}\)) gives \[ \mathbb P\{\|X-a\|_2 \le \varepsilon \sqrt n\} \;\le\; K^n \varepsilon^n n^{n/2}\Big(\frac{2\pi e}{n}\Big)^{n/2} \;=\; \big(\sqrt{2\pi e}\, K \varepsilon\big)^n . \]
- By (a) applied with \(a = 0\) and \(\varepsilon = z/\sqrt n\), \[ \mathbb P\{\|X\|_2 \le z\} \;\le\; \Big(\frac{\sqrt{2\pi e}\,K z}{\sqrt n}\Big)^{\!n} =: \Big(\frac{c_1 K z}{\sqrt n}\Big)^{n} \quad (z > 0). \] Using the layer-cake (integrated tail) formula \(\mathbb E[1/\|X\|_2] = \int_0^\infty \mathbb P\{1/\|X\|_2 > t\}\,dt = \int_0^\infty \mathbb P\{\|X\|_2 < 1/t\}\,dt\) and bounding probabilities by \(1\): \[ \mathbb E\frac{1}{\|X\|_2} \;\le\; t_0 + \int_{t_0}^\infty \Big(\frac{c_1 K}{t\sqrt n}\Big)^{n} dt \;=\; t_0 + \Big(\frac{c_1 K}{\sqrt n}\Big)^{n} \frac{t_0^{\,1-n}}{n-1}, \] where \(t_0 := \sqrt n/(c_1 K)\) is chosen so that the tail bound equals \(1\) at \(t = t_0\). The second term equals \(t_0/(n-1) \le t_0\) for \(n \ge 2\), so \(\mathbb E[1/\|X\|_2] \le 2t_0 = C K/\sqrt n\).
Why \(n \ge 2\) is needed. For \(n = 1\) take \(X \sim \operatorname{Unif}[-1,1]\), whose density is bounded by \(K=1\). Then \(\mathbb E[1/|X|] = \frac12\int_{-1}^{1}\frac{dx}{|x|} = \infty\): in one dimension there is simply too much mass near the origin. \(\blacksquare\)
Exercise 3.8 (KK)
(Expectation of an isotropic random vector.) (a) Any isotropic \(X\) in \(\mathbb R^n\) satisfies \(\|\mathbb E X\|_2 \le 1\). (b) For each \(n\) find isotropic \(X\) with \(\|\mathbb EX\|_2 = 1\).
Solution. (a) Let \(\mu := \mathbb E X\). Then \(\mu\) is a fixed vector and, using isotropy \(\mathbb E XX^\mathsf T = I_n\), \[ \|\mu\|_2^2 = \langle \mu,\mu\rangle = \mathbb E\langle X,\mu\rangle \;\le\; \big(\mathbb E\langle X,\mu\rangle^2\big)^{1/2} = \big(\mu^\mathsf T \,\mathbb E XX^\mathsf T\, \mu\big)^{1/2} = \|\mu\|_2 . \] (We used (3.6).) Since \(\|\mu\|_2 \ge 0\), this forces \(\|\mu\|_2 \le 1\).
- Let \(X \sim \operatorname{Unif}\{\sqrt n\, e_1, \dots, \sqrt n\, e_n\}\) (the coordinate distribution of Example 3.3.12). Then \(\mathbb E XX^\mathsf T = \frac1n\sum_{i=1}^n (\sqrt n e_i)(\sqrt n e_i)^\mathsf T = I_n\), so \(X\) is isotropic, while \(\mathbb E X = \frac{\sqrt n}{n}(1,\dots,1) = \frac{1}{\sqrt n}(1,\dots,1)\) has norm exactly \(1\). So the bound in (a) is optimal in every dimension. \(\blacksquare\)
Exercise 3.9 (KK)
(1D marginals of an isotropic distribution.) For isotropic \(X\) in \(\mathbb R^n\) and \(X_u := \langle X,u\rangle\), check that \(\mathbb E X_u X_v = \langle u,v\rangle\) and \(\|X_u - X_v\|_{L^2} = \|u-v\|_2\).
Solution. By bilinearity of the inner product and isotropy, \[ \mathbb E X_u X_v = \mathbb E\langle X,u\rangle\langle X,v\rangle = \mathbb E\big[u^\mathsf T X X^\mathsf T v\big] = u^\mathsf T (\mathbb E XX^\mathsf T) v = \langle u, v\rangle . \] In particular \(\mathbb E X_u^2 = \|u\|_2^2\), so \[ \|X_u - X_v\|_{L^2}^2 = \mathbb E(X_u - X_v)^2 = \mathbb E X_u^2 - 2\mathbb E X_uX_v + \mathbb E X_v^2 = \|u\|_2^2 - 2\langle u,v\rangle + \|v\|_2^2 = \|u-v\|_2^2 . \] Thus \(u \mapsto X_u\) is an isometric embedding of \((\mathbb R^n, \|\cdot\|_2)\) into \(L^2(\Omega)\). \(\blacksquare\)
Exercise 3.10 (KKK)
(The standard score of a random vector.) (a) If \(Z\) is mean-zero and isotropic, then \(X = \mu + \Sigma^{1/2}Z\) has mean \(\mu\) and covariance \(\Sigma\). (b) Conversely, for any \(X\) with mean \(\mu\) and covariance \(\Sigma\), find mean-zero isotropic \(Z\) with \(X = \mu + \Sigma^{1/2}Z\) almost surely.
Solution. (a) \(\mathbb EX = \mu + \Sigma^{1/2}\mathbb EZ = \mu\), and, centering, \(\operatorname{cov}(X) = \mathbb E\big[\Sigma^{1/2} Z Z^\mathsf T \Sigma^{1/2}\big] = \Sigma^{1/2} I_n \Sigma^{1/2} = \Sigma\).
- Write the spectral decomposition \(\Sigma = \sum_{i=1}^n \lambda_i v_iv_i^\mathsf T\) and reorder so that \(\lambda_i > 0\) for \(i \le r\) and \(\lambda_i = 0\) for \(i > r\). For \(i > r\), \(\mathbb E\langle X - \mu, v_i\rangle^2 = v_i^\mathsf T \Sigma v_i = 0\), so \(\langle X-\mu, v_i\rangle = 0\) almost surely; i.e. \(X - \mu \in \operatorname{span}(v_1,\dots,v_r)\) a.s. Let \(g \sim N(0, I_{n-r})\) be independent of \(X\) and define \[ Z \;:=\; \sum_{i\le r} \lambda_i^{-1/2}\,\langle X-\mu, v_i\rangle\, v_i \;+\; \sum_{i > r} g_i\, v_i . \] Then \(\mathbb EZ = 0\), the cross terms between the two sums vanish in \(\mathbb E ZZ^\mathsf T\) (independence of \(g\) from \(X\)), and \[ \mathbb E ZZ^\mathsf T = \sum_{i \le r} \lambda_i^{-2}\,\mathbb E\langle X-\mu,v_i\rangle^2\, v_iv_i^\mathsf T + \sum_{i>r} v_iv_i^\mathsf T = \sum_{i\le r} v_iv_i^\mathsf T + \sum_{i>r} v_iv_i^\mathsf T = I_n, \] where \(\mathbb E\langle X-\mu,v_i\rangle^2 = v_i^\mathsf T\Sigma v_i = \lambda_i\). Finally, \(\Sigma^{1/2} Z = \sum_{i\le r} \lambda_i^{1/2}\lambda_i^{-1/2}\langle X - \mu,v_i\rangle v_i\) is the orthogonal projection of \(X-\mu\) onto its (a.s.) span, i.e. \(\Sigma^{1/2}Z = X - \mu\) a.s. \(\blacksquare\)
Exercise 3.11 (KKK)
(A randomly permuted vector.) \(X\) is obtained by randomly permuting the coordinates of a fixed \(x \in \mathbb R^n\) with \(\sum_i x_i = 0\), \(\sum_i x_i^2 = 1\). (a) Compute the mean and covariance matrix of \(X\). (b) Explain heuristically why the coordinates of \(X\) are negatively correlated.
Solution. (a) Mean. Each value \(x_k\) lands in position \(i\) with probability \(1/n\), so \(\mathbb E X_i = \frac1n \sum_{k=1}^n x_k = 0\).
Variance. Similarly \(\mathbb E X_i^2 = \frac1n \sum_k x_k^2 = \frac1n\).
Covariance. Fix \(i \ne j\); the (ordered) pair \((\sigma(i), \sigma(j))\) is uniform over all \(n(n-1)\) pairs of distinct indices, so \[ \mathbb E X_iX_j = \frac{1}{n(n-1)} \sum_{k \ne l} x_k x_l = \frac{\big(\sum_k x_k\big)^2 - \sum_k x_k^2}{n(n-1)} = \frac{0 - 1}{n(n-1)} = -\frac{1}{n-1} . \] Hence \(\operatorname{cov}(X)\) has diagonal entries \(1/n\) and off-diagonal entries \(-1/(n-1)\); it is positive semidefinite (it is a genuine covariance matrix), with trace \(1\).
- The permutation preserves the total \(\sum_i X_i = 0\) exactly: the coordinates are sampled without replacement from a fixed list whose sum is zero. So if some coordinates come out large and positive, the remaining ones are forced to be negative to keep the sum zero — there is a fixed budget. Formally, for \(i \ne j\) one can check that the conditional expectation \(\mathbb E[X_j \mid X_i = x_k] = -x_k/(n-1)\) is decreasing in \(x_k\): knowing that one coordinate is above average pushes all others down. This negative association is exactly what the sign of \(\mathbb E X_iX_j = -1/(n-1)\) records. \(\blacksquare\)
Exercise 3.12 (K)
(Distance between independent isotropic random vectors.) For independent, mean-zero, isotropic \(X, Y\) in \(\mathbb R^n\), check that \(\mathbb E\|X - Y\|_2^2 = 2n\).
Solution. Expand the square: \[ \mathbb E\|X-Y\|_2^2 = \mathbb E\|X\|_2^2 + \mathbb E\|Y\|_2^2 - 2\,\mathbb E\langle X,Y\rangle . \] By isotropy (Proposition 3.2.1(ii)), \(\mathbb E\|X\|_2^2 = \operatorname{tr}(I_n) = n\), and similarly for \(Y\). Finally, independence and \(\mathbb EX = \mathbb EY = 0\) give \(\mathbb E\langle X,Y\rangle = \langle \mathbb EX, \mathbb EY\rangle = 0\). Hence the expectation is \(n + n - 0 = 2n\): two independent “typical” high-dimensional random points are about \(\sqrt{2n}\)-far apart, i.e. nearly orthogonal. \(\blacksquare\)
Exercise 3.13 (KK)
(Maximum norm of random vectors.) (a) For random vectors \(X_1,\dots,X_N \in \mathbb R^n\) (not necessarily independent) whose coordinates within each vector are independent, subgaussian, with \(\mathbb E X_{ij}^2 = 1\), prove \(\mathbb E \max_{i\le N}\|X_i\|_2 \le \sqrt n + CK^2\sqrt{\log N}\), \(K = \max_{ij}\|X_{ij}\|_{\psi_2}\). (b) Show the bound is tight for i.i.d. standard normal vectors: \(\mathbb E\max_{i \le N}\|X_i\|_2 \ge c(\sqrt n + \sqrt{\log N})\).
Solution. (a) For each \(i\), Theorem 3.1.1 (applied to the single vector \(X_i\), which has independent subgaussian coordinates) gives \(Z_i := \|X_i\|_2 - \sqrt n\) with \(\|Z_i\|_{\psi_2} \le CK^2\). Then \[ \mathbb E\max_{i\le N}\|X_i\|_2 \;\le\; \sqrt n + \mathbb E\max_{i \le N} Z_i \;\le\; \sqrt n + \mathbb E\max_{i\le N}|Z_i| \;\le\; \sqrt n + CK^2\sqrt{\log N}, \] where the last step is the maximal inequality (2.21)–(2.22) — which, crucially, does not require the \(Z_i\) to be independent, so the vectors \(X_i\) may be arbitrarily dependent.
- First, \(\mathbb E\max_i \|X_i\|_2 \ge \mathbb E\|X_1\|_2 \ge c\sqrt n\). Let \(Q = \|X_1\|_2^2 \sim \chi_n^2\), so \(\mathbb EQ = n\) and \(\mathbb EQ^2 = n(n+2) \le 3n^2\). By the Paley–Zygmund inequality, \[ \mathbb P\{\|X_1\|_2 \ge \tfrac12\sqrt n\} = \mathbb P\{Q \ge \tfrac12 \mathbb EQ\} \ge \frac{(1/2)^2(\mathbb EQ)^2}{\mathbb EQ^2} \ge \frac{1}{12}, \] whence \(\mathbb E\|X_1\|_2 \ge \frac{1}{12}\cdot\frac{\sqrt n}{2} = c\sqrt n\).
Second, \(\mathbb E\max_i\|X_i\|_2 \ge c\sqrt{\log N}\) (for \(N \ge 2\)). Since \(\|X_i\|_2 \ge \langle X_i, e_1\rangle\) for each \(i\) and the maximum of dominating numbers dominates, \[ \mathbb E\max_{i \le N}\|X_i\|_2 \;\ge\; \mathbb E \max_{i\le N} \langle X_i, e_1\rangle = \mathbb E \max_{i\le N} g_i , \] where \(g_i\) are i.i.d. \(N(0,1)\) — the first coordinates of the \(X_i\), which are independent. By Exercise 2.38 / the standard Gaussian maximum bound, \(\mathbb E\max_{i\le N}g_i \ge c\sqrt{\log N}\) (e.g. via \((\dagger)\) from the solution of Exercise 3.6).
Combining, \(\mathbb E\max_{i\le N}\|X_i\|_2 \ge \max(c\sqrt n,\, c\sqrt{\log N}) \ge \tfrac{c}{2}(\sqrt n + \sqrt{\log N})\). \(\blacksquare\)
Exercise 3.14 (K)
(1D marginals of a normal distribution.) Show that \(X \sim N(\mu,\Sigma)\) implies \(\langle X,v\rangle \sim N(\langle\mu,v\rangle,\, v^\mathsf T\Sigma v)\) for any fixed \(v \in \mathbb R^n\).
Solution. By Definition 3.3.4 we may write \(X = \mu + AZ\) where \(Z \sim N(0,I_k)\) and \(\Sigma = AA^\mathsf T\). Then \(\langle X,v\rangle = \langle\mu,v\rangle + \langle Z, A^\mathsf Tv\rangle\), a constant plus a linear functional of a standard normal vector. By Corollary 3.3.2, \(\langle Z, A^\mathsf Tv\rangle \sim N(0, \|A^\mathsf Tv\|_2^2)\), and \(\|A^\mathsf Tv\|_2^2 = v^\mathsf T (AA^\mathsf T) v = v^\mathsf T\Sigma v\). Translating by the constant \(\langle\mu,v\rangle\) gives the claim. \(\blacksquare\)
Exercise 3.15 (KK)
(General normal density.) Prove Proposition 3.3.6: for invertible \(\Sigma\), the density of \(X \sim N(\mu,\Sigma)\) is \(f(x) = (2\pi)^{-n/2}|\Sigma|^{-1/2} \exp\!\big(-\tfrac12(x-\mu)^\mathsf T\Sigma^{-1}(x-\mu)\big)\), via (a) the definition of a density, (b) reduction to \(\mu = 0\) and \(X = \Sigma^{1/2}Z\), (c) a change of variables.
Solution. (a) By definition, the density of a random vector \(X\) is the (unique) measurable function \(f_X\) with \(\mathbb P\{X \in B\} = \int_B f_X(x)\,dx\) for all Borel \(B \subset \mathbb R^n\); so whatever integrand we produce in step (c) that represents these probabilities is the density.
Translating \(B\) by \(\mu\), we may assume \(\mu = 0\). By Proposition 3.3.5 (uniqueness of the normal distribution), \(X\) has the same distribution as \(\Sigma^{1/2}Z\) with \(Z \sim N(0,I_n)\), so we may take \(X = \Sigma^{1/2}Z\).
For a Borel set \(B\), \[ \mathbb P\{X \in B\} = \mathbb P\{\Sigma^{1/2}Z \in B\} = \mathbb P\{Z \in \Sigma^{-1/2}(B)\} = \int_{\Sigma^{-1/2}(B)} f_Z(z)\, dz , \] with \(f_Z(z) = (2\pi)^{-n/2}e^{-\|z\|_2^2/2}\) by (3.11). Change variables \(z = \Sigma^{-1/2}x\), i.e. \(x = \Sigma^{1/2}z\): the map is linear with Jacobian \(|\det \Sigma^{1/2}| = |\Sigma|^{1/2}\) (\(\Sigma^{1/2}\) is symmetric), and \(z\) ranges over \(\Sigma^{-1/2}(B)\) exactly when \(x\) ranges over \(B\). Moreover \(\|z\|_2^2 = z^\mathsf Tz = (x-\mu)^\mathsf T \Sigma^{-1}(x-\mu)\) (with \(\mu=0\) here; restoring the translation at the end shifts \(x \mapsto x - \mu\)). Hence \[ \mathbb P\{X \in B\} = \int_B \frac{1}{(2\pi)^{n/2}|\Sigma|^{1/2}} \exp\!\Big(-\frac12 (x-\mu)^\mathsf T \Sigma^{-1}(x-\mu)\Big)\, dx . \] By part (a), the integrand is the density of \(X\): this is (3.13). \(\blacksquare\)
Exercise 3.16 (KKK)
(A characterization of a joint normal distribution.) (a) \(X\) in \(\mathbb R^n\) is normally distributed iff all one-dimensional marginals \(\langle X,u\rangle\) are normally distributed. (b) Deduce: \(X_1,\dots,X_n\) are jointly normal iff all linear combinations \(\sum_i a_iX_i\) are normally distributed.
Solution. (a) (\(\Leftarrow\)) Suppose every \(\langle X,u\rangle\) is normal. Each has finite moments of all orders, so the mean \(\mu := \mathbb EX\) and covariance matrix \(\Sigma := \operatorname{cov}(X)\) are well defined, and \(\langle X,u\rangle \sim N(\langle\mu,u\rangle, \sigma_u^2)\) with \(\sigma_u^2 = \operatorname{Var}\langle X,u\rangle = u^\mathsf T\Sigma u\). Now let \(Y := \mu + \Sigma^{1/2}Z'\) with \(Z' \sim N(0,I_n)\), so \(Y \sim N(\mu,\Sigma)\). For every \(u \in \mathbb R^n\), Exercise 3.14 gives \(\langle Y,u\rangle \sim N(\langle\mu,u\rangle, u^\mathsf T\Sigma u)\) — the same mean and variance as \(\langle X,u\rangle\). Since two normals with equal mean and variance coincide, all 1D marginals of \(X\) and \(Y\) agree; by the Cramér–Wold device (used in the proof of Proposition 3.3.5), \(X \stackrel{d}{=} Y\). Hence \(X\) is normally distributed.
(\(\Rightarrow\)) If \(X = \mu + AZ\) with \(Z\sim N(0,I_k)\), then \(\langle X,u\rangle = \langle\mu,u\rangle + \langle Z, A^\mathsf Tu\rangle\), which is normal by Corollary 3.3.2 (Exercise 3.14).
- \(X_1,\dots,X_n\) are jointly normal iff the vector \(X = (X_1,\dots,X_n)\) is normally distributed, iff (by part (a)) all \(\langle X,u\rangle\) are normal, iff all linear combinations \(a_1X_1 + \cdots + a_nX_n = \langle X, a\rangle\) are normally distributed. \(\blacksquare\)
Exercise 3.17 (K)
(Normal, uncorrelated, but dependent.) Find normal random variables \(X\) and \(Y\) that are uncorrelated but not independent.
Solution. Let \(X \sim N(0,1)\) and let \(S\) be an independent Rademacher random variable (\(\mathbb P\{S = \pm 1\} = 1/2\)); set \(Y := SX\). Then \(Y \sim N(0,1)\): for any Borel set \(A\), \(\mathbb P\{Y \in A\} = \frac12\mathbb P\{X \in A\} + \frac12\mathbb P\{-X \in A\} = \mathbb P\{X\in A\}\) by symmetry of the standard normal. Both are normal, and \[ \operatorname{cov}(X,Y) = \mathbb E[X\,SX] = \mathbb E S \cdot \mathbb EX^2 = 0 , \] so they are uncorrelated. But they are not independent: \(|X| = |Y|\) almost surely, whereas independence would give \(\mathbb P\{|X| \ge 1,\ |Y| \le \tfrac12\} = \mathbb P\{|X|\ge 1\}\,\mathbb P\{|X|\le\tfrac12\} > 0\), contradicting \(\{|X|\ge 1\} \cap \{|Y| \le \tfrac12\} = \varnothing\) (a.s.).
(Equivalently: \((X,Y)\) is not jointly normal — for jointly normal random variables, uncorrelated would imply independent by Corollary 3.3.7.) \(\blacksquare\)
Exercise 3.18 (KK)
(Ginibre random matrices.) An \(n\times n\) matrix \(G\) with i.i.d. \(N(0,1)\) entries satisfies: for any fixed orthogonal \(U\), both \(UG\) and \(GU\) have the same distribution as \(G\).
Solution. Think of \(G\) as a vector in \(\mathbb R^{n\times n}\) with the Frobenius inner product, so \(G \sim N(0, I_{n^2})\). The map \(T_U\colon G \mapsto UG\) is linear, and it is an orthogonal transformation of \(\mathbb R^{n \times n}\), since \(\|UG\|_F^2 = \sum_{j\le n}\|U g_j\|_2^2 = \sum_{j\le n}\|g_j\|_2^2 = \|G\|_F^2\) (where \(g_j\) are the columns of \(G\); each is mapped by the orthogonal matrix \(U\)). By rotation invariance of the standard normal distribution in dimension \(n^2\) (Proposition 3.3.1), \(UG = T_U(G) \sim N(0, I_{n^2})\), i.e. \(UG\) has i.i.d. \(N(0,1)\) entries — the same distribution as \(G\).
For \(GU\): transpose, \((GU)^\mathsf T = U^\mathsf T G^\mathsf T\). The transpose \(G^\mathsf T\) is again Ginibre (its entries are the same i.i.d. collection), and by what we just proved \(U^\mathsf T G^\mathsf T \stackrel{d}{=} G^\mathsf T\) (note \(U^\mathsf T\) is orthogonal). Hence \((GU)^\mathsf T \stackrel{d}{=} G^\mathsf T\), i.e. \(GU \stackrel{d}{=} G\). \(\blacksquare\)
Exercise 3.19 (KK)
(GOE random matrices.) A GOE matrix \(A\) is symmetric with \(N(0,2)\) diagonal and \(N(0,1)\) off-diagonal entries, independent on and above the diagonal. (a) Check \(A \stackrel{d}{=} (G + G^\mathsf T)/\sqrt2\) for a Ginibre matrix \(G\). (b) Prove the GOE distribution is invariant under orthogonal conjugation: \(UAU^\mathsf T \stackrel{d}{=} A\).
Solution. (a) Let \(H := (G+G^\mathsf T)/\sqrt2\), which is symmetric. Its diagonal entries are \(H_{ii} = \sqrt2\, g_{ii} \sim N(0,2)\); for \(i < j\), \(H_{ij} = (g_{ij}+g_{ji})/\sqrt2 \sim N(0, \tfrac{1}{2}+\tfrac12) = N(0,1)\) (a linear combination of independent Gaussians), and \(H_{ji} = H_{ij}\). The entries of \(H\) on and above the diagonal depend on the pairwise disjoint families \(\{g_{ii}\}\) and \(\{g_{ij},g_{ji}\}_{i<j}\) of independent Gaussian variables, hence are independent. So \(H\) satisfies exactly the defining properties of a GOE matrix; this also explains the \(\sqrt2\) scaling: the diagonal “sees” one Gaussian twice.
- Using (a) and then Exercise 3.18 (applied twice: \(UG \stackrel d= G\) and \((UG)U^\mathsf T \stackrel d= UGU^\mathsf T \stackrel{d}{=} GU \stackrel{d}{=} G\) — or directly: conjugation \(G \mapsto UGU^\mathsf T\) is a linear orthogonal map on \(\mathbb R^{n\times n}\)), \[ UAU^\mathsf T \;\stackrel{d}{=}\; \frac{UGU^\mathsf T + UG^\mathsf TU^\mathsf T}{\sqrt2} = \frac{H' + H'^\mathsf T}{\sqrt2}, \qquad H' := UGU^\mathsf T . \] By Exercise 3.18, \(H' \stackrel{d}{=} G\) (first multiply \(G\) by \(U\) on the left, then the result by \(U^\mathsf T\) on the right). Hence \(UAU^\mathsf T \stackrel{d}{=} (G+G^\mathsf T)/\sqrt2 \stackrel{d}{=} A\), as claimed. \(\blacksquare\)
Exercise 3.20 (KK)
(A Gaussian random matrix makes orthogonal vectors independent.) \(G\) is \(m\times n\) with i.i.d. \(N(0,1)\) entries; \(u,v \in \mathbb R^n\) are fixed unit orthogonal vectors. Prove that \(Gu\) and \(Gv\) are independent \(N(0,I_m)\) random vectors.
Solution. Let \(g_1,\dots,g_m\) denote the rows of \(G\); these are i.i.d. \(N(0,I_n)\) vectors, and \(Gu = (\langle g_i,u\rangle)_{i=1}^m\), \(Gv = (\langle g_i,v\rangle)_{i=1}^m\).
Fix \(i\). The pair \(\big(\langle g_i,u\rangle, \langle g_i,v\rangle\big)\) is a linear image of the Gaussian vector \(g_i\), hence jointly normal, with \[ \operatorname{Var}\langle g_i,u\rangle = \|u\|_2^2 = 1,\quad \operatorname{Var}\langle g_i,v\rangle = 1,\quad \operatorname{cov} = \mathbb E\langle g_i,u\rangle\langle g_i,v\rangle = \langle u,v\rangle = 0 . \] So the pair is \(N(0, I_2)\), i.e. independent standard normals. The pairs are independent across \(i\) (they are functions of the independent \(g_i\)), so the full collection \(\{\langle g_i,u\rangle, \langle g_i,v\rangle\}_{i\le m}\) is a family of \(2m\) i.i.d. \(N(0,1)\) variables. Hence the stacked vector \((Gu, Gv) \in \mathbb R^{2m}\) is \(N(0,I_{2m})\), whose density factorizes; therefore \(Gu \sim N(0,I_m)\) and \(Gv \sim N(0,I_m)\) are independent. \(\blacksquare\)
Exercise 3.21 (K)
Let \(X\) and \(Y\) be independent \(N(0,I_n)\) random vectors. Prove that \((X+Y)/\sqrt2\) and \((X-Y)/\sqrt2\) are independent \(N(0,I_n)\) random vectors.
Solution. Stack \(W := (X, Y) \in \mathbb R^{2n}\), so \(W \sim N(0, I_{2n})\) (its density is the product of the two standard normal densities). Consider the block matrix \[ A := \frac{1}{\sqrt2}\begin{pmatrix} I_n & I_n \\ I_n & -I_n\end{pmatrix}, \qquad AW = \Big(\frac{X+Y}{\sqrt2},\ \frac{X-Y}{\sqrt2}\Big). \] \(A\) is orthogonal: \(AA^\mathsf T = \frac12\begin{pmatrix} 2I_n & 0 \\ 0 & 2I_n \end{pmatrix} = I_{2n}\). By rotation invariance (Proposition 3.3.1 in dimension \(2n\)), \(AW \sim N(0, I_{2n})\). A standard normal vector in \(\mathbb R^{2n}\) has a product density, so its two \(n\)-dimensional blocks are independent, each \(N(0,I_n)\). (One can equally well compute that the cross-covariance \(\mathbb E\langle \tfrac{X+Y}{\sqrt2}, \tfrac{X-Y}{\sqrt2}\rangle = \tfrac12(\mathbb E\|X\|^2 - \mathbb E\|Y\|^2) = 0\) and conclude by joint normality.) \(\blacksquare\)
Exercise 3.22 (K)
(Length and direction of a normal random vector.) Prove that \(\|g\|_2\) and \(g/\|g\|_2\) are independent for \(g \sim N(0,I_n)\).
Solution. The density of \(g\) is \(f(z) = (2\pi)^{-n/2}e^{-\|z\|_2^2/2}\), a function of the radius alone. Use the polar-coordinate change of variables \(z = r\theta\) with \(r > 0\), \(\theta \in S^{n-1}\), whose Jacobian is \(r^{n-1}\): for any nonnegative measurable \(\varphi\) on \(\mathbb R^n \setminus \{0\}\), \[ \mathbb E\, \varphi(g) = \int_0^\infty\!\!\int_{S^{n-1}} \varphi(r\theta)\, (2\pi)^{-n/2} e^{-r^2/2}\, r^{n-1}\, d\sigma(\theta)\, dr , \] where \(d\sigma\) is the area measure on the sphere. Take \(\varphi(z) = \psi(\|z\|_2)\,\chi(z/\|z\|_2)\): the double integral factorizes as \[ \Big[\int_0^\infty \psi(r)\, r^{n-1} e^{-r^2/2}\,dr\Big]\cdot \Big[(2\pi)^{-n/2}\int_{S^{n-1}}\chi(\theta)\,d\sigma(\theta)\Big]. \] Since expectations of products of arbitrary functions of the two factors thus split into products of expectations, the radius \(\|g\|_2\) and the direction \(g/\|g\|_2\) are independent. (The same computation shows the direction is uniform on \(S^{n-1}\) — this is (3.15) — and that \(\|g\|_2^2 \sim \chi_n^2\).) \(\blacksquare\)
Exercise 3.23 (KKK)
(Many random points are in convex position.) Let \(N \le e^{cn}\). Following the steps, prove that with probability at least \(1 - e^{-c'n}\), independent \(g_1,\dots,g_N \sim N(0,I_n)\) are in convex position (no point lies in the convex hull of the others). (a) With high probability \(g_1\) is linearly separated from the rest: there is \(x\) with \(\langle g_1,x\rangle > \max_{j\ge2}\langle g_j,x\rangle\). (b) Deduce \(g_1 \notin \operatorname{conv}(g_2,\dots,g_N)\). (c) Conclude by the union bound.
Solution. (a) Take the separator to point radially at \(g_1\): \(x := g_1\), so that \(\langle g_1, x\rangle = \|g_1\|_2^2\), while for \(j\ge2\) \(\langle g_j, x\rangle = \|g_1\|_2\,\gamma_j\) where \(\gamma_j := \langle g_j,\, x/\|g_1\|_2\rangle\). Consider the events \[ A := \Big\{\|g_1\|_2 \ge \tfrac12\sqrt n\Big\}, \qquad B := \Big\{\max_{2\le j\le N}\gamma_j \le \tfrac18\sqrt n\Big\}. \] By the concentration of the norm (3.2), \(\mathbb P\{A^c\} \le 2e^{-c_0n}\). For \(B\), condition on \(g_1\): then \(x/\|g_1\|_2\) is a fixed unit vector and the \(\gamma_j\) are i.i.d. \(N(0,1)\) (independent of \(g_1\)). Hence, by the Gaussian tail bound and the union bound, for every value of \(g_1\), \[ \mathbb P\{B^c \mid g_1\} \;\le\; N\cdot 2e^{-n/128} \;\le\; 2\exp\big(cn - \tfrac n{128}\big) \;\le\; 2e^{-n/256}, \] where we used \(N\le e^{cn}\) and chose the absolute constant \(c \le 1/256\). Therefore \(\mathbb P\{A\cap B\} \ge 1 - 2e^{-c_0n} - 2e^{-n/256} \ge 1 - e^{-c'n}\).
On \(A\cap B\), the separation holds: for every \(j\ge2\), \[ \langle g_j, x\rangle = \|g_1\|_2\,\gamma_j \;\le\; \|g_1\|_2\cdot\frac{\sqrt n}{8} \;\le\; \|g_1\|_2\cdot\frac{\|g_1\|_2}{4} \;<\; \|g_1\|_2^2 = \langle g_1,x\rangle, \] using \(\|g_1\|_2 \ge \tfrac12\sqrt n\) on \(A\). (The restriction \(N \le e^{cn}\) with \(c\) small is essential: the maximum of \(e^{cn}\) Gaussians is \(O(\sqrt{cn})\), safely below the typical radius \(\sqrt n\) of \(g_1\).)
Suppose \(g_1 = \sum_{j=2}^N \lambda_j g_j\) with \(\lambda_j \ge 0\), \(\sum_j\lambda_j = 1\). Taking inner products with \(x\) and using linearity, \[ \langle g_1,x\rangle = \sum_{j\ge2}\lambda_j\langle g_j,x\rangle \le \max_{j\ge2}\langle g_j,x\rangle, \] contradicting the strict separation of (a). (Geometrically: the hyperplane \(\{y : \langle y,x\rangle = \langle g_1,x\rangle\}\) strictly separates \(g_1\) from all other points, so in particular from their convex hull.)
The random vectors are exchangeable, so the result of (a)–(b) holds for each distinguished point \(g_i\) with the same probability \(\ge 1 - e^{-c'n}\). By the union bound, \[ \mathbb P\big\{\exists i:\ g_i \in \operatorname{conv}(\{g_j: j\ne i\})\big\} \;\le\; N e^{-c'n} \;\le\; e^{cn - c'n} \;\le\; e^{-c''n}, \] provided the constant \(c\) governing \(N \le e^{cn}\) was chosen with \(c < c'\). With probability at least \(1 - e^{-c''n}\), no point lies in the hull of the others: the points are in convex position. \(\blacksquare\)
Exercise 3.24 (KK)
(Polar decomposition of the uniform distribution on a ball.) For \(X \sim \operatorname{Unif}(B(0,1) \subset \mathbb R^n)\), decompose \(X = rZ\) where \(Z \sim \operatorname{Unif}(S^{n-1})\), \(r \in [0,1]\) has density \(nr^{n-1}\), and \(r, Z\) are independent.
Solution. The density of \(X\) is \(1/v_n\) on the unit ball (\(v_n\) = volume of the unit ball). In polar coordinates \(x = r\theta\), \(dx = r^{n-1}dr\,d\sigma(\theta)\), so for measurable \(A \subset (0,1]\) and \(B \subset S^{n-1}\), \[ \mathbb P\{r \in A,\ Z \in B\} = \frac{1}{v_n}\int_A r^{n-1}dr\int_B d\sigma(\theta) = \Big(\int_A n\,r^{n-1}dr\Big)\cdot\Big(\frac{\sigma(B)}{n\,v_n}\Big). \] (For general measurable sets, integrate over the slices \(r \in A\), \(\theta\in B\) — the map \(x \mapsto (\|x\|_2,\, x/\|x\|_2)\) transfers the uniform measure to this product structure.)
This expression is a product of a function of \(A\) and a function of \(B\); hence \(r\) and \(Z\) are independent. Reading off the marginals: \(r\) has density \(nr^{n-1}\) on \([0,1]\) (integrating \(\sigma(B)\) over the whole sphere, since \(n v_n = |S^{n-1}|\), the area of the sphere — the identity \(v_n = \frac1n|S^{n-1}|\) follows by applying polar coordinates to the unit ball), and \(Z\) is uniform on \(S^{n-1}\). \(\blacksquare\)
Exercise 3.25 (K)
(A ball is isotropic.) Let \(Y\) be uniform on the Euclidean ball in \(\mathbb R^n\) with center \(0\) and radius \(\sqrt{n+2}\). Check that \(Y\) is isotropic.
Solution. Write \(Y = \rho\, r Z\) where \(\rho = \sqrt{n+2}\) and \(rZ\) is the polar decomposition of Exercise 3.24, with \(r\) independent of \(Z \sim \operatorname{Unif}(S^{n-1})\). By Proposition 3.3.8 (adapted to the unit sphere), \(\mathbb E ZZ^\mathsf T = I_n/n\). Using independence, \[ \mathbb E YY^\mathsf T = \rho^2\, \mathbb E[r^2]\,\mathbb E[ZZ^\mathsf T] = (n+2)\cdot\frac{n}{n+2}\cdot\frac{I_n}{n} = I_n , \] where \(\mathbb E r^2 = \int_0^1 r^2\,n r^{n-1}\,dr = \frac{n}{n+2}\). So \(Y\) is isotropic. \(\blacksquare\)
Exercise 3.26 (KKK)
(Delocalization of a random vector on the sphere.) For \(X \sim \operatorname{Unif}(S^{n-1})\), show that \(\mathbb E\|X\|_\infty \asymp \sqrt{\log n / n}\).
Solution. By (3.15) we may write \(X = g/\|g\|_2\) with \(g\sim N(0,I_n)\), so that \(\|X\|_\infty = \|g\|_\infty/\|g\|_2\).
Upper bound. By Cauchy–Schwarz, \[ \mathbb E\frac{\|g\|_\infty}{\|g\|_2} \;\le\; \big(\mathbb E\|g\|_\infty^2\big)^{1/2}\,\big(\mathbb E\|g\|_2^{-2}\big)^{1/2}. \] First, \(\mathbb E\max_{i\le n} g_i^2 \le C\log n\): the variables \(g_i^2\) are subexponential with \(\|g_i^2\|_{\psi_1} = \|g_i\|_{\psi_2}^2 \le C\) (Lemma 2.8.5), so \(\mathbb E\max_i g_i^2 \le C\max_i\|g_i^2\|_{\psi_1}\log(2n) \le C\log n\) by (2.21)–(2.22). Second, \(\|g\|_2^2 \sim \chi_n^2\), and a direct integration with the chi-squared density gives \(\mathbb E\big[\|g\|_2^{-2}\big] = \mathbb E\big[(\chi_n^2)^{-1}\big] = 1/(n-2)\) for \(n\ge3\). Hence \(\mathbb E\|X\|_\infty \le \sqrt{C\log n/(n-2)} \le C'\sqrt{\log n/n}\) for \(n \ge 3\); for \(n = 2\), \(\mathbb E\|X\|_\infty \le \mathbb E\max_i|X_i| \le 1 \le C\sqrt{\log 2/2}\) with a suitable absolute \(C\).
Lower bound. Consider the events \(A := \{\|g\|_\infty \ge \tfrac12\sqrt{\log n}\}\) and \(B := \{\|g\|_2 \le 2\sqrt n\}\), and assume \(n \ge 16\) (so the threshold in \(A\) is \(\ge 1\)). For \(A\): with \(p := \mathbb P\{|N(0,1)| \ge \tfrac12\sqrt{\log n}\} \ge c_0 e^{-\log n/4} = c_0 n^{-1/4}\) (a one-sided Gaussian tail bound valid for thresholds \(\ge1\)), \[ \mathbb P\{A^c\} = (1-p)^n \le e^{-np} \le e^{-c_0 n^{3/4}} . \] For \(B\): by the concentration of the norm (3.2), \(\mathbb P\{B^c\} \le 2e^{-c n}\). Hence for all \(n \ge n_0\) we have \(\mathbb P\{A\cap B\} \ge 1/2\), and on this event \[ \|X\|_\infty = \frac{\|g\|_\infty}{\|g\|_2} \;\ge\; \frac{\frac12\sqrt{\log n}}{2\sqrt n} = \frac14\sqrt{\frac{\log n}{n}} . \] Hence \(\mathbb E\|X\|_\infty \ge \frac14\sqrt{\log n/n}\cdot\frac12 \ge c\sqrt{\log n/n}\) (and for the finitely many smaller \(n\) adjust constants, e.g. \(\mathbb E\|X\|_\infty \ge \mathbb E|X_1| \ge c/\sqrt n \ge c'\sqrt{\log n/n}\)). \(\blacksquare\)
Exercise 3.27 (KKK)
(1D marginals of the sphere.) \(X, Y\) are uniform on the Euclidean unit sphere and unit ball in \(\mathbb R^n\). (a) The density of any 1D marginal of \(Y\) is proportional to \((1-x^2)^{(n-1)/2}\), \(x\in[-1,1]\). (b) The density of any 1D marginal of \(X\) is proportional to \((1-x^2)^{(n-3)/2}\).
Solution. By rotation invariance we compute the first coordinate throughout.
The ball (slicing). The density of \(Y_1\) at \(s\in(-1,1)\) is the volume of the infinitesimal slab \(\{y : y_1\in[s,s+ds]\}\cap B(0,1)\) divided by \(v_n\). The cross-section of the unit ball at height \(s\) is a ball in \(\mathbb R^{n-1}\) of radius \(\sqrt{1-s^2}\), of volume \(v_{n-1}(1-s^2)^{(n-1)/2}\). Hence \[ f_{Y_1}(s)\;=\;\frac{v_{n-1}}{v_n}\,(1-s^2)^{(n-1)/2},\qquad s\in(-1,1), \] which is the claimed density (up to the normalizing constant).
The sphere (surface element). On the upper hemisphere the sphere is the graph \(x_1 = h(x') := \sqrt{1-\|x'\|_2^2}\) over \(x'\in B^{n-1}(0,1)\), with surface element \(d\sigma = \sqrt{1+\|\nabla h(x')\|_2^2}\,dx' = \frac{dx'}{\sqrt{1-\|x'\|_2^2}}\) (since \(\|\nabla h\| = \|x'\|/\sqrt{1-\|x'\|^2}\) and \(1 + \frac{\|x'\|^2}{1-\|x'\|^2} = \frac{1}{1-\|x'\|^2}\)). Switch \(x'\) to polar coordinates \(x' = \rho\theta\), \(\theta\in S^{n-2}\), \(dx' = \rho^{n-2}d\rho\,d\sigma_{n-2}(\theta)\). The band \(\{x\in S^{n-1}: x_1 \in [s, s+ds]\}\) (upper hemisphere, \(s>0\)) corresponds to \(\rho = \sqrt{1-x_1^2} \in [\sqrt{1-(s+ds)^2},\ \sqrt{1-s^2}]\), an interval of width \(\tfrac{s}{\sqrt{1-s^2}}ds\). Evaluating the integrand \(\rho^{n-2}/\sqrt{1-\rho^2} = (1-s^2)^{(n-2)/2}/s\) at \(\rho = \sqrt{1-s^2}\) (where \(x_1 = s\)) and multiplying by the width, the factors of \(s\) cancel and the band area equals \[ \sigma_{n-2}\cdot\frac{(1-s^2)^{(n-2)/2}}{s}\cdot\frac{s}{\sqrt{1-s^2}}\,ds = \sigma_{n-2}\,(1-s^2)^{(n-3)/2}\,ds . \] Adding the mirror band from the lower hemisphere and normalizing by \(|S^{n-1}|\), \[ f_{X_1}(s) \;=\; \frac{2\,\sigma_{n-2}}{|S^{n-1}|}\,(1-s^2)^{(n-3)/2},\qquad s\in(-1,1), \] proportional to \((1-x^2)^{(n-3)/2}\) as claimed. (The constant equals \(\Gamma(n/2)/(\sqrt\pi\,\Gamma((n-1)/2))\); in particular for \(n=3\) the exponent is \(0\) and the marginal is uniform on \([-1,1]\).) \(\blacksquare\)
Exercise 3.28 (KKK)
(Large cube probability.) (a) The metric projection \(\pi_a\) onto the cube \([-a,a]^n\) acts by soft thresholding: \(y_i = x_i\) if \(|x_i|\le a\), and \(y_i = a\,\mathrm{sign}(x_i)\) otherwise. (b) There exist absolute constants \(n_0, a\) such that for all \(n > n_0\), a random \(g\sim N(0,I_n)\) satisfies, with probability at least \(0.99\), \(\operatorname{dist}\big(g, [-a,a]^n\big) < 0.01\|g\|_2\) and \(g \notin [-100a, 100a]^n\).
Solution. (a) Minimizing \(\|y-x\|_2^2 = \sum_i (y_i - x_i)^2\) over \(y\) in the cube is the same as minimizing each term separately over \(y_i \in [-a,a]\) (the constraint set is a product). For a single coordinate, \(t\mapsto(t - x_i)^2\) on \([-a,a]\) is minimized at the clipped value \(y_i = \min(\max(x_i,-a),a)\), i.e. exactly the soft-threshold rule stated. (The minimizer is unique since the objective is strictly convex.)
- By (a), \[ \operatorname{dist}\big(g, [-a,a]^n\big)^2 = \sum_{i=1}^n (|g_i| - a)_+^2 . \] Each summand is an i.i.d. copy of \((|Z|-a)_+^2\) for \(Z\sim N(0,1)\), with mean \[ m(a) := \mathbb E(|Z|-a)_+^2 = 2\int_a^\infty (t-a)^2 \varphi(t)\,dt = 2\big[(1+a^2)\,\overline\Phi(a) - a\,\varphi(a)\big] \;\xrightarrow[a\to\infty]{}\; 0 \] (integration by parts; \(\varphi\) = standard normal density, \(\overline\Phi\) = tail). Choose \(a\) so large that \(m(a) \le \frac{1}{8}\cdot 10^{-4}\) — possible since \(m(a)\to0\); explicitly \(m(5)<10^{-6}\) suffices. Then \(\mathbb E\,\operatorname{dist}^2 = n\,m(a)\), and Markov’s inequality gives \[ \mathbb P\Big\{\operatorname{dist}\big(g,[-a,a]^n\big)^2 \ge \tfrac{10^{-4}}{4} n\Big\} \;\le\; \frac{n\,m(a)}{10^{-4}n/4} \;\le\; \frac12\cdot10^{-2} . \] Moreover, by the concentration of the norm (3.2), \(\mathbb P\{\|g\|_2^2 < n/2\} \le 2e^{-c n} \le \tfrac12\cdot 10^{-2}\) for \(n \ge n_0\). On the complement of these two bad events, \(\operatorname{dist} < \tfrac{10^{-2}}{2}\sqrt n \le 0.01\,\|g\|_2\), proving the first claim.
For the second claim, \(g\notin[-100a,100a]^n\) means \(\max_i |g_i| > 100a\), and \[ \mathbb P\{g \in [-100a,100a]^n\} = \big(1 - 2\overline\Phi(100a)\big)^n \le \exp\big(-2n\,\overline\Phi(100a)\big) \le \tfrac12\cdot 10^{-2} \] for all \(n \ge n_0\), since \(\overline\Phi(100a) > 0\). (With \(a = 5\) this needs an astronomically large but finite \(n_0\); the problem only asks for existence of absolute constants.) The union bound concludes: with probability at least \(1 - 0.015 \ge 0.99\), both stated events hold.
So a Gaussian point is nearly on a constant-size cube, yet is essentially never inside even a hundred-times-enlarged one. \(\blacksquare\)
Exercise 3.29 (K)
(Frames and orthogonal matrices.) Vectors \(u_1,\dots,u_N \in \mathbb R^n\) form a Parseval frame iff the \(n\times N\) matrix \(U\) with columns \(u_i\) has orthonormal rows.
Solution. By Proposition 3.3.11(iii), \(\{u_i\}\) is a Parseval frame iff \(\sum_{i=1}^N u_i u_i^\mathsf T = I_n\). Now \(\sum_i u_i u_i^\mathsf T = U U^\mathsf T\), and the \((k,l)\)-entry of \(UU^\mathsf T\) is the inner product of the \(k\)-th and \(l\)-th rows of \(U\). Hence \(UU^\mathsf T = I_n\) states precisely that the \(n\) rows of \(U\) are orthonormal. \(\blacksquare\)
Exercise 3.30 (KK)
(The Mercedes-Benz frame.) \(N\) equispaced points on the circle of radius \(\sqrt{2/N}\) (with \(N\ge3\)) form a Parseval frame in \(\mathbb R^2\).
Solution. Write the points as \(u_j = \sqrt{2/N}\,(\cos 2\pi j/N,\ \sin 2\pi j/N)\), \(j = 1,\dots,N\). By Exercise 3.29 (or Proposition 3.3.11(iii)) we check \(\sum_j u_j u_j^\mathsf T = I_2\). We compute the entries: \[ \sum_{j=1}^N (u_j)_1^2 = \frac2N\sum_j \cos^2\frac{2\pi j}{N} = \frac2N\sum_j \frac{1 + \cos(4\pi j/N)}{2} = 1 + \frac1N\operatorname{Re}\sum_{j=1}^N \omega^j, \] where \(\omega = e^{4\pi i/N}\). Since \(N \ge 3\), \(\omega \ne 1\), so the geometric sum vanishes and the entry equals \(1\). Similarly \(\sum_j (u_j)_2^2 = 1\) using \(\sin^2 = (1-\cos)/2\), and \[ \sum_j (u_j)_1 (u_j)_2 = \frac2N \sum_j \cos\frac{2\pi j}N \sin\frac{2\pi j}N = \frac1N \sum_j \sin\frac{4\pi j}N = \frac1N \operatorname{Im}\sum_j \omega^j = 0 . \] Hence \(\sum_j u_j u_j^\mathsf T = I_2\): a Parseval frame. (For \(N=3\) this is the Mercedes-Benz frame of Example 3.3.13; \(N \geq 3\) is needed — for \(N = 1, 2\) equispaced points give a rank-one family, not a frame in \(\mathbb R^2\).) \(\blacksquare\)
Exercise 3.31 (K)
(Turning any isotropic distribution into a frame.) For isotropic \(X\) taking values \(x_1,\dots,x_N\) with probabilities \(p_1,\dots,p_N\), the vectors \(\sqrt{p_1}\,x_1,\dots, \sqrt{p_N}\,x_N\) form a Parseval frame in \(\mathbb R^n\).
Solution. Isotropy reads \(\mathbb E XX^\mathsf T = \sum_{i=1}^N p_i\, x_i x_i^\mathsf T = I_n\). But \(p_i x_i x_i^\mathsf T = (\sqrt{p_i}x_i)(\sqrt{p_i}x_i)^\mathsf T\), so \[ \sum_{i=1}^N (\sqrt{p_i}\,x_i)(\sqrt{p_i}\,x_i)^\mathsf T = I_n , \] which is the decomposition-of-identity characterization of a Parseval frame (Proposition 3.3.11(iii)). Hence \(\{\sqrt{p_i}x_i\}_{i\le N}\) is a Parseval frame. (This is a weighted version of the equivalence (iii)\(\Leftrightarrow\)(iv) in Proposition 3.3.11.) \(\blacksquare\)
Exercise 3.32 (K)
(Subgaussian norm of 1D marginals.) For a subgaussian random vector \(X\) in \(\mathbb R^n\), check that \(\|\langle X,v\rangle\|_{\psi_2} \le \|X\|_{\psi_2}\|v\|_2\) for all \(v\in\mathbb R^n\).
Solution. The claim is trivial for \(v = 0\), so assume \(v\ne0\) and set \(w := v/\|v\|_2 \in S^{n-1}\). Using homogeneity of the \(\psi_2\) norm in the deterministic factor and then Definition 3.4.1 (the norm of \(X\) is the supremum over unit directions), \[ \big\|\langle X,v\rangle\big\|_{\psi_2} = \big\|\|v\|_2\,\langle X,w\rangle\big\|_{\psi_2} = \|v\|_2\,\big\|\langle X,w\rangle\big\|_{\psi_2} \;\le\; \|v\|_2\,\|X\|_{\psi_2}. \qquad \blacksquare \]
Exercise 3.33 (KK)
(Subgaussian rotation invariance.) For any orthogonal \(U\) and subgaussian \(X\in\mathbb R^n\), \(UX\) is subgaussian and \(\|UX\|_{\psi_2} = \|X\|_{\psi_2}\).
Solution. For any \(v \in \mathbb R^n\), \(\langle UX, v\rangle = \langle X, U^\mathsf T v\rangle\). Since \(U^\mathsf T\) is orthogonal, it maps the unit sphere bijectively onto itself. Therefore, using Definition 3.4.1, \[ \|UX\|_{\psi_2} = \sup_{v\in S^{n-1}} \big\|\langle UX,v\rangle\big\|_{\psi_2} = \sup_{v\in S^{n-1}} \big\|\langle X, U^\mathsf Tv\rangle\big\|_{\psi_2} = \sup_{w\in S^{n-1}} \big\|\langle X,w\rangle\big\|_{\psi_2} = \|X\|_{\psi_2} , \] an exact identity. In particular \(UX\) is subgaussian whenever \(X\) is. \(\blacksquare\)
Exercise 3.34 (KK)
(Subgaussian quadratic forms.) \(A\) is \(m\times n\) with independent, mean-zero, subgaussian rows \(A_i\). For fixed \(u\in\mathbb R^m\), \(v\in\mathbb R^n\), show \(u^\mathsf T\!Av\) is mean-zero subgaussian with \(\|u^\mathsf T\!Av\|_{\psi_2} \le C\|u\|_2\|v\|_2\max_i\|A_i\|_{\psi_2}\); explain why the same holds under the analogous assumption on the columns.
Solution. Consider the random vector \(Av \in \mathbb R^m\). Its coordinates \(\langle A_i, v\rangle\) are independent (rows are), mean zero (\(\mathbb E\langle A_i,v\rangle = \langle \mathbb EA_i, v\rangle = 0\)), and subgaussian with \(\|\langle A_i,v\rangle\|_{\psi_2} \le \|A_i\|_{\psi_2}\|v\|_2\) by Exercise 3.32. By Lemma 3.4.2 (distributions with independent subgaussian coordinates), \[ \|Av\|_{\psi_2} \;\le\; C\,\max_i \|\langle A_i,v\rangle\|_{\psi_2} \;\le\; C\,\|v\|_2\max_i\|A_i\|_{\psi_2}. \] Finally \(u^\mathsf TAv = \langle Av, u\rangle\), so applying Exercise 3.32 once more (to the vector \(Av\)), \[ \|u^\mathsf T\!Av\|_{\psi_2} \le \|u\|_2\,\|Av\|_{\psi_2} \le C\,\|u\|_2\|v\|_2\max_{i\le m}\|A_i\|_{\psi_2}, \] and \(u^\mathsf TAv\) is centered by linearity.
Columns instead of rows. Simply transpose: \(u^\mathsf TAv = v^\mathsf T(A^\mathsf T)u\), and the rows of \(A^\mathsf T\) are the columns of \(A\); if these are independent, mean-zero, subgaussian, the same argument gives \(\|u^\mathsf T\!Av\|_{\psi_2} \le C\|v\|_2\|u\|_2\max_j\|A^j\|_{\psi_2}\). \(\blacksquare\)
Exercise 3.35 (KK)
(Subgaussian norm of a sum of vectors.) For independent, zero-mean, subgaussian \(X_1,\dots,X_N\) in \(\mathbb R^n\): \(\;\big\|\sum_{i=1}^N X_i\big\|_{\psi_2} \le C\big(\sum_{i=1}^N \|X_i\|_{\psi_2}^2\big)^{1/2}\).
Solution. For a unit vector \(v\), \(\big\langle\sum_i X_i, v\big\rangle = \sum_i \langle X_i, v\rangle\) is a sum of independent, mean-zero, subgaussian random variables with \(\|\langle X_i,v\rangle\|_{\psi_2} \le \|X_i\|_{\psi_2}\) (Exercise 3.32). Proposition 2.7.1 gives \[ \Big\|\big\langle \textstyle\sum_i X_i,\ v\big\rangle\Big\|_{\psi_2} \;\le\; C\Big(\sum_i \|\langle X_i,v\rangle\|_{\psi_2}^2\Big)^{1/2} \;\le\; C\Big(\sum_i\|X_i\|_{\psi_2}^2\Big)^{1/2}. \] The right-hand side does not depend on \(v\); taking the supremum over \(v\in S^{n-1}\) (Definition 3.4.1) yields the claim. (The sum is mean-zero and subgaussian, in particular.) \(\blacksquare\)
Exercise 3.36 (KK)
(Vectors with subgaussian coordinates.) (a) If \(X = (X_1,\dots,X_n)\) has subgaussian coordinates (not necessarily independent), then \(X\) is subgaussian and \(\max_i\|X_i\|_{\psi_2} \le \|X\|_{\psi_2} \le \sqrt n \max_i \|X_i\|_{\psi_2}\) (up to an absolute constant factor). (b) Show both bounds are optimal in all dimensions.
Solution. (a) Lower bound. Taking \(v = e_i\) (a unit vector) in Definition 3.4.1 gives \(\|X_i\|_{\psi_2} = \|\langle X, e_i\rangle\|_{\psi_2} \le \|X\|_{\psi_2}\) for every \(i\).
Upper bound. Fix \(v\in S^{n-1}\). Minkowski’s inequality in \(L_p\) applied for each \(p \ge 1\) gives \((\mathbb E|\sum_i v_iX_i|^p)^{1/p} \le \sum_i |v_i|(\mathbb E|X_i|^p)^{1/p}\) — no independence is used anywhere. Dividing by \(\sqrt p\) and taking the supremum over \(p\) (the supremum of a sum is at most the sum of suprema), and using \(|v_i| \le \|v\|_\infty \le 1\), \[ \big\|\langle X,v\rangle\big\|_{\psi_2} \;\le\; \sum_i |v_i|\,\|X_i\|_{\psi_2} \;\le\; \Big(\sum_i v_i^2\Big)^{1/2}\Big(\sum_i \|X_i\|_{\psi_2}^2\Big)^{1/2} \;=\;\Big(\sum_i\|X_i\|_{\psi_2}^2\Big)^{1/2} \;\le\; \sqrt n \max_i\|X_i\|_{\psi_2}, \] where Cauchy–Schwarz and \(\|v\|_2=1\) were used. (As in Lemma 3.4.2, the only loss compared to the independent case is that Proposition 2.7.1’s Pythagorean behavior is replaced by the triangle inequality — hence the extra \(\sqrt n\).) We thus obtain \(\|X\|_{\psi_2} \le \sqrt n \max_i \|X_i\|_{\psi_2}\) with constant \(1\) under the moment definition of \(\|\cdot\|_{\psi_2}\), and with some absolute \(C\) under any of the equivalent definitions (Proposition 2.6.6).
- Lower bound optimal. Let \(X = (g, 0,\dots,0)\) with \(g\sim N(0,1)\): all coordinates are subgaussian, only one is nonzero, and \(\|X\|_{\psi_2} = \|\langle X, e_1\rangle\|_{\psi_2} = \|g\|_{\psi_2} = \max_i\|X_i\|_{\psi_2}\). So no dimension factor can be inserted on the left.
Upper bound optimal. Let \(X = g\,(1,1,\dots,1)\) with \(g\sim N(0,1)\): the coordinates are (subgaussian, fully dependent) copies of \(g\). For a unit \(v\), \(\langle X,v\rangle = g\sum_i v_i\), so \[ \|X\|_{\psi_2} = \|g\|_{\psi_2}\max_{\|v\|_2=1}\Big|\sum_i v_i\Big| = \sqrt n\,\|g\|_{\psi_2} = \sqrt n\,\max_i\|X_i\|_{\psi_2} \] (the max of \(\sum_iv_i\) over the sphere is attained at \(v = (1,\dots,1)/\sqrt n\)). Equality holds, so \(\sqrt n\) cannot be improved, in every dimension. \(\blacksquare\)
Exercise 3.37 (KK)
(The norm of subgaussian vectors need not concentrate.) Give an example of an isotropic subgaussian random vector \(X\) with \(K = \|X\|_{\psi_2} = O(1)\) for which the conclusion of Theorem 3.1.1 fails, i.e. \(\|X\|_2\) does not concentrate around \(\sqrt n\) on a constant scale.
Solution. Let \(\theta \sim \operatorname{Unif}(S^{n-1})\), let \(\varepsilon\) be an independent Rademacher variable, and set \[ X := \sqrt{\,n + 2\,\varepsilon\, n^{3/4}\,}\;\theta . \] Isotropic. Since \(\|\theta\|_2 = 1\) and \(\theta\) is independent of \(\varepsilon\), \[ \mathbb E XX^\mathsf T = \mathbb E\big[n + 2\varepsilon n^{3/4}\big]\,\mathbb E[\theta\theta^\mathsf T] = n\cdot\frac{I_n}{n} = I_n , \] using \(\mathbb E\varepsilon = 0\) and Proposition 3.3.8.
Subgaussian with constant norm. For a unit \(v\) and \(n \ge 16\) (so that \(n + 2n^{3/4} \le 2n\)), conditioning on \(\varepsilon\) and applying Theorem 3.4.5 to \(\langle\theta,v\rangle\), \[ \mathbb P\{|\langle X,v\rangle| \ge t\} = \tfrac12\sum_{\pm}\mathbb P\Big\{|\langle\theta,v\rangle| \ge \frac{t}{\sqrt{n\pm 2n^{3/4}}}\Big\} \;\le\; 4\exp\Big(-\frac{t^2 (n-1)}{2\,(n + 2n^{3/4})}\Big) \;\le\; 4\,e^{-t^2/8}, \] and the tail is \(0\) for \(t > \sqrt{n+2n^{3/4}}\) anyway, so \(\|\langle X,v\rangle\|_{\psi_2} \le C\) uniformly in \(v\) and \(n\) (the finitely many dimensions \(n<16\) are absorbed into the constant); thus \(\|X\|_{\psi_2} \le C\).
No concentration. The norm equals \(\|X\|_2 = \sqrt{n+2\varepsilon n^{3/4}} \in \{\sqrt{n-2n^{3/4}},\ \sqrt{n+2n^{3/4}}\}\), each with probability \(1/2\). By a Taylor expansion (or rationalizing), \[ \sqrt{n \pm 2n^{3/4}} - \sqrt n = \frac{\pm 2n^{3/4}}{\sqrt{n\pm 2n^{3/4}} + \sqrt n}, \] which is \(\pm n^{1/4}\,(1 + o(1))\) — note that \(n^{3/4}\) (rather than \(\sqrt n\)) is exactly what is needed for the norm to move by more than a constant. Hence with probability \(1/2\), \[ \big|\|X\|_2 - \sqrt n\big| \;\ge\; \tfrac12\,n^{1/4} \;\gg\; CK^2 , \] i.e. the deviation is polynomially large in \(n\) although \(K = O(1)\): Theorem 3.1.1’s conclusion fails. (Theorem 3.1.1 is not contradicted — the coordinates of this \(X\) are far from independent.) \(\blacksquare\)
Exercise 3.38 (KK)
(A normal random vector is subgaussian.) Show that \(X\sim N(0,\Sigma)\) satisfies \(\|X\|_{\psi_2} = \sqrt{8/3}\;\|\Sigma\|^{1/2}\), where \(\|\Sigma\|\) is the largest eigenvalue of \(\Sigma\) (given Exercise 2.24(c): \(\|N(0,\sigma^2)\|_{\psi_2} = \sqrt{8/3}\,\sigma\)).
Solution. By Definition 3.4.1 and Exercise 3.14, for a unit vector \(v\), \[ \big\|\langle X,v\rangle\big\|_{\psi_2} = \big\|N\big(0,\, v^\mathsf T\Sigma v\big)\big\|_{\psi_2} = \sqrt{\tfrac83}\;\big(v^\mathsf T\Sigma v\big)^{1/2} , \] using Exercise 2.24(c) for the second equality. Taking the supremum over \(v\in S^{n-1}\) and using the variational characterization of the largest eigenvalue of a symmetric matrix (Proposition 3.2.2 with \(k=1\)), \[ \|X\|_{\psi_2} = \sqrt{\tfrac83}\; \max_{v\in S^{n-1}}\big(v^\mathsf T\Sigma v\big)^{1/2} = \sqrt{\tfrac83}\;\lambda_1^{1/2} = \sqrt{\tfrac83}\,\|\Sigma\|^{1/2}. \qquad \blacksquare \]
Exercise 3.39 (K)
(The Euclidean norm of a subgaussian random vector.) (a) For subgaussian \(X_1,\dots,X_n\) (not necessarily independent), \(\big\|(\sum_i X_i^2)^{1/2}\big\|_{\psi_2} \le \big(\sum_i\|X_i\|_{\psi_2}^2\big)^{1/2}\). (b) For a subgaussian vector \(X\) in \(\mathbb R^n\), \(\|X\|_2\) is subgaussian and \(\big\|\|X\|_2\big\|_{\psi_2} \le \sqrt n\,\|X\|_{\psi_2}\); explain why \(\sqrt n\) is the best scaling in general.
Solution. (a) Let \(S^2 := \sum_i\|X_i\|_{\psi_2}^2\) and write \(w_i := \|X_i\|_{\psi_2}^2/S^2\) (so \(\sum_i w_i = 1\)). By Lemma 2.8.5, \(\|X_i^2\|_{\psi_1} = \|X_i\|_{\psi_2}^2\), and by Proposition 2.6.6(iii), \(\mathbb E\exp\big(X_i^2/\|X_i\|_{\psi_2}^2\big) \le 2\). Using Jensen’s inequality (convexity of the exponential, weights \(w_i\)) — no independence required, \[ \mathbb E\exp\Big(\frac{\sum_i X_i^2}{S^2}\Big) = \mathbb E\exp\Big(\sum_i w_i\,\frac{X_i^2}{\|X_i\|_{\psi_2}^2}\Big) \le \sum_i w_i\,\mathbb E\exp\Big(\frac{X_i^2}{\|X_i\|_{\psi_2}^2}\Big) \le \sum_i w_i\cdot 2 = 2 . \] By the MGF characterization of the \(\psi_2\) norm (Proposition 2.6.6(iii), the converse direction), this means precisely \(\big\|(\sum_i X_i^2)^{1/2}\big\|_{\psi_2} \le S\) (up to absolute constants, matching whatever equivalent definition is used).
- Apply (a) to the coordinates of \(X\): each \(X_i = \langle X, e_i\rangle\) with \(e_i\) a unit vector, so \(\|X_i\|_{\psi_2}\le\|X\|_{\psi_2}\) by Definition 3.4.1, and \(\|X\|_2 = (\sum_iX_i^2)^{1/2}\). Hence \(\|X\|_2\) is subgaussian with \[ \big\|\|X\|_2\big\|_{\psi_2} \;\le\; \Big(\sum_{i=1}^n\|X\|_{\psi_2}^2\Big)^{1/2} = \sqrt n\,\|X\|_{\psi_2} . \]
\(\sqrt n\) is optimal. Take \(X\sim N(0,I_n)\), so \(\|X\|_{\psi_2} = \sqrt{8/3} = O(1)\) by Exercise 3.38 (with \(\Sigma = I_n\)). Also \(\mathbb E\|X\|_2^2 = n\) and \(\mathbb E\|X\|_2^4 = \mathbb E\big(\sum_i g_i^2\big)^2 \le n\sum_i \mathbb Eg_i^4 = 3n^2\) (Cauchy–Schwarz, \(\mathbb Eg^4 = 3\)), so Paley–Zygmund (as in Exercise 3.13(b)) gives \(\mathbb P\{\|X\|_2 \ge \tfrac12\sqrt n\} \ge c\) and therefore \(\mathbb E\|X\|_2 \ge c\sqrt n\). By Proposition 2.6.6(ii) the \(\psi_2\) norm dominates a constant multiple of the mean, so \(\big\|\|X\|_2\big\|_{\psi_2} \ge c'\sqrt n \ge c''\sqrt n\,\|X\|_{\psi_2}\): the factor \(\sqrt n\) cannot be improved in general. (See Proposition 6.2.1 for what a stronger hypothesis buys.) \(\blacksquare\)
Exercise 3.40 (KKKK)
(Random vectors are almost orthogonal — sometimes.) (a) \(X\) has independent, zero-mean, unit-variance coordinates with subgaussian norms \(\le K\); \(\theta = X/\|X\|_2\) (and \(\theta = 0\) if \(X=0\)); \(\eta\) is an independent copy of \(\theta\). Prove \(|\langle\theta,\eta\rangle| \le C(K)/\sqrt n\) with probability at least \(0.99\). (b) Show the independence of coordinates is crucial: find i.i.d. isotropic \(X,Y\) with \(\|X\|_{\psi_2} = O(1)\) and \(\mathbb P\{X=Y\} \ge 0.99\).
Solution. (a) Let \(Y\) denote the independent copy of \(X\) underlying \(\eta\). Then \(\langle\theta,\eta\rangle = \langle X,Y\rangle/(\|X\|_2\|Y\|_2)\), so it suffices to control the three factors separately with high probability.
Numerator. Condition on \(Y\) and use isotropy of \(X\) (independent coordinates with mean \(0\) and variance \(1\), Example 3.3.15): \(\mathbb E\langle X,Y\rangle^2 = \|Y\|_2^2\), hence unconditionally \(\mathbb E\langle X,Y\rangle^2 = \mathbb E\|Y\|_2^2 = n\), and by Markov’s inequality \[ \mathbb P\big\{|\langle X,Y\rangle| \ge 20\sqrt n\big\} \;\le\; \frac{1}{400} = 0.0025 . \]
Denominators. By Theorem 3.1.1 in the form (3.2), \(\mathbb P\{\|X\|_2 < \tfrac12\sqrt n\} \le 2e^{-cn}\), and likewise for \(Y\).
Combining (and using \(4e^{-cn} \le 0.0025\) for \(n \ge n_0\), while for the finitely many smaller \(n\) the constant \(C(K)\) absorbs everything), with probability at least \(1 - 0.0025 - 0.0025 \ge 0.99\), \[ |\langle\theta,\eta\rangle| \;\le\; \frac{20\sqrt n}{\frac12\sqrt n\cdot\frac12\sqrt n} = \frac{80}{\sqrt n} \;\le\; \frac{C(K)}{\sqrt n}, \] where in fact \(80\) is already independent of \(K\). (On the null event \(X = 0\) we have \(\theta = 0\) and the bound is trivial.)
- An atom plus an isotropic remainder. Let \(p := 0.995\), let \(\varepsilon\) be a Bernoulli(\(p\)) variable, let \(g' \sim N(0, I_{n-1})\) be independent of \(\varepsilon\), and set \[ X := \begin{cases} \dfrac{e_1}{\sqrt p} & \text{if } \varepsilon = 1 \quad(\text{probability } p),\\[4pt] \big(0,\; g'/\sqrt{1-p}\,\big) & \text{if } \varepsilon = 0 \quad(\text{probability } 1-p). \end{cases} \] Isotropic. $EXX^T = p
- (1-p) ( 2,,n) = I_n$.
Subgaussian with constant norm. For a unit vector \(v = (v_1, v_\perp)\) (any sign of \(v_1\)), \[ \langle X, v\rangle = \begin{cases} v_1/\sqrt p & \text{w.p. } p,\\[2pt] \langle g', v_\perp\rangle/\sqrt{1-p} \sim N\big(0,\,\|v_\perp\|_2^2/(1-p)\big) & \text{w.p. } 1-p . \end{cases} \] The first value is bounded by \(1/\sqrt p \le 1.003 \le 2\); the second is centered normal with standard deviation \(\le (1-p)^{-1/2} \le 15\). Hence, stochastically, \(|\langle X,v\rangle| \le 2 + 15\,|N(0,1)|\), so for all \(t \ge 0\) \[ \mathbb P\{|\langle X,v\rangle| \ge t\} \;\le\; \mathbb P\{2 + 15|g| \ge t\} \;\le\; 2\exp\Big(-\frac{(t-2)_+^2}{450}\Big) \;\le\; 2e^{-ct^2}: \] \(X\) is subgaussian with \(\|X\|_{\psi_2} \le C\) absolute.
Coupling. If \(X\) and \(Y\) are independent copies, then \(\mathbb P\{X = Y\} \ge \mathbb P\{\varepsilon = \varepsilon' = 1\} = p^2 = 0.990025 \ge 0.99\) (the normal parts collide with probability zero). On the event \(X = Y = e_1/\sqrt p\) we have \(\theta = \eta\) and \(|\langle\theta,\eta\rangle| = 1\), which for large \(n\) exceeds any \(C/\sqrt n\) — so (a) fails completely here. The point: without independence of the coordinates (within each vector), an isotropic distribution can hide a large atom, and two independent samples collide with high probability. \(\blacksquare\)
Exercise 3.41 (KK)
(Exponentially many almost orthogonal vectors!) For any \(N \le e^{cn}\), find points \(X_1,\dots,X_N \in S^{n-1}\) with \(\langle X_i,X_j\rangle \le 0.01\) for all \(i\ne j\). (a) Independent \(X,Y\sim\operatorname{Unif}(S^{n-1})\) satisfy \(|\langle X,Y\rangle|\le 0.01\) with probability at least \(1 - 4e^{-c_0n}\). (b) Conclude by a union bound over pairs.
Solution. (a) Condition on \(Y\) and rotate: by the rotation invariance of the uniform distribution on the sphere, given \(Y\) the random variable \(\langle X,Y\rangle\) has the same distribution as \(\langle X, e_1\rangle = X_1\). By Theorem 3.4.5 (applied with \(v = e_1\) and doubled for the two tails), \[ \mathbb P\big\{|\langle X,Y\rangle| > 0.01\big\} \le 4\exp\Big(-\frac{0.01^2\,n}{2}\Big) = 4e^{-c_0 n}, \qquad c_0 = 5\cdot10^{-5} . \]
- Let \(X_1,\dots,X_N\) be independent uniform on \(S^{n-1}\). By the union bound over all pairs and part (a), \[ \mathbb P\big\{\exists\, i\ne j:\ \langle X_i,X_j\rangle > 0.01\big\} \;\le\; \binom N2\, 4e^{-c_0n} \;\le\; 2N^2 e^{-c_0 n} \;\le\; 2e^{2cn - c_0 n} \;<\; 1 \] provided \(c < c_0/2\) and \(n \ge n_0\). Hence with positive probability all pairwise inner products are \(\le 0.01\) (in fact \(|\langle X_i,X_j\rangle| \le 0.01\), which is stronger), so such a configuration exists — exponentially many almost-orthogonal unit vectors, even though at most \(n\) of them can be exactly orthogonal. \(\blacksquare\)
Exercise 3.42 (K)
(The uniform distribution on a ball is subgaussian.) For \(Y\) uniform in the Euclidean unit ball, argue that \(Y\) satisfies the conclusion of Theorem 3.4.5.
Solution. By the polar decomposition of Exercise 3.24, \(Y = rZ\) with \(Z\sim\operatorname{Unif}(S^{n-1})\) and \(r\in[0,1]\). For any unit \(v\) and \(t\ge0\), \[ \{|\langle Y,v\rangle| \ge t\} = \{r\,|\langle Z,v\rangle| \ge t\} \;\subseteq\; \{|\langle Z,v\rangle| \ge t\}, \] since \(0\le r\le 1\). By Theorem 3.4.5, \(\mathbb P\{|\langle Y,v\rangle|\ge t\} \le 2\mathbb P\{\langle Z,v\rangle\ge t\}\) (doubling for symmetry) \(\le 4\exp(-t^2n/2)\), which is the conclusion of Theorem 3.4.5 up to absolute constants. In particular \(\|Y\|_{\psi_2} \le C/\sqrt n\), like the spherical distribution — the ball inherits the subgaussian marginals of its boundary. \(\blacksquare\)
Exercise 3.43 (KK)
(Subgaussian norm of the coordinate distribution.) For \(X\sim\operatorname{Unif}\{e_1,\dots,e_n\}\) with \(n \ge 2\), prove \(\|X\|_{\psi_2} \asymp 1/\sqrt{\log n}\).
Solution. Lower bound. Take \(v = e_1\): then \(\langle X, e_1\rangle = \mathbf 1_{\{J = 1\}}\) where \(J\) is uniform on \(\{1,\dots,n\}\). This Bernoulli\((1/n)\) variable equals \(1\) with probability \(1/n\), so any \(L\) with \(\mathbb P\{|\langle X,e_1\rangle| \ge t\} \le 2e^{-t^2/L^2}\) for all \(t\) must satisfy, at \(t \uparrow 1\), \(\frac1n \le 2e^{-1/L^2}\), i.e. \(L \ge \big(\log(2n)\big)^{-1/2}\) up to constants: \(\|X\|_{\psi_2} \ge c/\sqrt{\log n}\).
Upper bound. Fix a unit \(v\); then \(\langle X,v\rangle = v_J\) and, for \(0 < t \le 1\), \[ \mathbb P\{|v_J| \ge t\} = \frac{1}{n}\,\#\{i : |v_i|\ge t\} \;\le\; \min\Big(1,\ \frac{1}{nt^2}\Big), \] using \(\#\{i: |v_i|\ge t\}\cdot t^2 \le \sum_i v_i^2 = 1\) and \(\le n\); the tail vanishes for \(t>1\). We verify that, for an absolute \(c \le \tfrac14\) (say), the function \(t\mapsto 2\exp\big(-ct^2\log(2n)\big)\) dominates \(\min(1,(nt^2)^{-1})\) on \([0,1]\):
- For \(t \le 1/\sqrt n\): \(2\exp\big(-ct^2\log 2n\big) \ge 2\exp\big(-\tfrac{c\log 2n}{n}\big) \ge 2\exp\big(-\tfrac{c\log 4}{2}\big) \ge 2\cdot 2^{-1/2} \ge 1\), which bounds the left side.
- For \(1/\sqrt n \le t \le 1\): the left side is \((nt^2)^{-1}\), and we check \((nt^2)^{-1}\le 2e^{-ct^2\log 2n}\), i.e. \(\psi(u) := \log(nu) - cu\log 2n \ge -\log 2\) for \(u = t^2 \in [1/n, 1]\). As a function of \(u\), \(\psi\) is concave, so it attains its minimum at an endpoint. At \(u = 1/n\): \(\psi = -\tfrac{c\log 2n}{n} \ge -\tfrac{c\log 4}{2} \ge -\log 2\). At \(u = 1\): \(\psi = \log n - c\log 2n \ge \tfrac12\log 2n - c\log 2n \ge 0\) for \(c \le \tfrac12\) (using \(n\ge2\)). ✓
Hence \(\|v_J\|_{\psi_2} \le \big(c\log(2n)\big)^{-1/2} \le C/\sqrt{\log n}\) uniformly in \(v\), and taking the supremum over \(v\in S^{n-1}\) gives \(\|X\|_{\psi_2}\le C/\sqrt{\log n}\).
Combining, \(\|X\|_{\psi_2}\asymp 1/\sqrt{\log n}\). (Scaling \(X\) by \(\sqrt n\) recovers \(\|\sqrt n X\|_{\psi_2} \asymp \sqrt{n/\log n}\), Example 3.4.7.) \(\blacksquare\)
Exercise 3.44 (KKK)
(The \(\ell_1\) ball is poorly subgaussian.) \(K = \{x\in\mathbb R^n : \|x\|_1 \le r\}\) and \(X\sim\operatorname{Unif}(K)\). (a) Compute the density of \(X_1\). (b) Show \(X\) is isotropic for some \(r \asymp n\). (c) For this \(r\), show \(\|X\|_{\psi_2} > c\sqrt n\).
Solution. (a) The \((n-1)\)-dimensional volume of the \(\ell_1\) ball of radius \(\rho\) in \(\mathbb R^{n-1}\) equals \(2^{n-1}\rho^{n-1}/(n-1)!\) (the \(\ell_1\) ball is the union of \(2^{n-1}\) orthogonal simplices of volume \(\rho^{n-1}/(n-1)!\)). The cross-section of \(K\) at \(X_1 = s\) is the \(\ell_1\) ball of radius \(r - |s|\) in \(\mathbb R^{n-1}\). Since \(\operatorname{Vol}(K) = 2^nr^n/n!\), the density of \(X_1\) is \[ f(s) \;=\; \frac{2^{n-1}(r-|s|)^{n-1}/(n-1)!}{2^n r^n/n!} \;=\; \frac{n}{2r^n}\,(r-|s|)^{n-1}, \qquad s\in[-r,r], \] and \(0\) elsewhere. Note the two tails: \(\mathbb P\{X_1 \ge t\} = \frac12\big(1 - t/r\big)^n\) for \(0\le t\le r\).
By symmetry (flip \(x_1\mapsto-x_1\)), \(\mathbb EX_1X_j = 0\) for \(j\ne1\), and all coordinates are exchangeable, so \(\mathbb EXX^\mathsf T = \sigma^2 I_n\) with \(\sigma^2 = \mathbb EX_1^2\). Compute with the Beta integral \(\int_0^r s^2(r-s)^{n-1}ds = r^{n+2}\,B(3,n) = \frac{2\,r^{n+2}}{n(n+1)(n+2)}\): \[ \mathbb EX_1^2 = \frac{n}{r^n}\int_0^r s^2(r-s)^{n-1}ds = \frac{2r^2}{(n+1)(n+2)} . \] Setting this equal to \(1\) gives \(r = \sqrt{(n+1)(n+2)/2} \asymp n\), and then \(X\) is isotropic.
With this \(r\), consider the marginal \(X_1\) and the point \(t = r/2\). From (a), \[ \mathbb P\{X_1 \ge r/2\} = \frac12\Big(\frac12\Big)^{\!n} = 2^{-(n+1)} . \] Let \(L := \|X_1\|_{\psi_2}\). By the MGF definition of the \(\psi_2\) norm and Markov’s inequality (Proposition 2.6.6(iii) and then the tail form, with absolute constants), \[ 2^{-(n+1)} \;\le\; \mathbb P\{X_1 \ge r/2\} \;\le\; 2\exp\Big(-\frac{c\,r^2}{4L^2}\Big), \] so \(c\,r^2/(4L^2) \le (n+1)\log 2 + \log 2\), i.e. \[ L^2 \;\ge\; \frac{c\,r^2}{4\,(n+2)\log 2} \;=\; \frac{c}{4\log 2}\cdot\frac{(n+1)(n+2)/2}{(n+2)} \;\ge\; c'\,n . \] Since \(\|X\|_{\psi_2} \ge \|\langle X,e_1\rangle\|_{\psi_2} = \|X_1\|_{\psi_2} = L\), we conclude \(\|X\|_{\psi_2} > c\sqrt n\). (Intuition: although the bulk of \(X_1\) is Laplace-like and light tailed, the marginal reaches out to \(r\asymp n\); accommodating the mass \(2^{-n}\) at distance \(\asymp n\) forces a Gaussian tail with width \(\sqrt n\).) \(\blacksquare\)
Exercise 3.45 (K)
(Probability mass function of a subgaussian random vector.) For a subgaussian \(X\) in \(\mathbb R^n\) with \(K = \|X\|_{\psi_2}\), prove \(\mathbb P\{X = x\} \le 2\exp\big(-\|x\|_2^2/K^2\big)\) for any \(x\in\mathbb R^n\).
Solution. If \(x = 0\) the claim reads \(\mathbb P\{X=0\}\le 2\), which is trivial, so assume \(x\ne0\) and set \(v := x/\|x\|_2 \in S^{n-1}\). On the event \(\{X = x\}\) we have \(\langle X,v\rangle = \|x\|_2\), so \[ \mathbb P\{X=x\} \;\le\; \mathbb P\{\langle X,v\rangle \ge \|x\|_2\} . \] By Definition 3.4.1, \(\|\langle X,v\rangle\|_{\psi_2} \le K\), so by Proposition 2.6.6(iii) \(\mathbb E\exp\big(\langle X,v\rangle^2/K^2\big) \le 2\) (the MGF is decreasing in the scale factor). Markov’s inequality applied to the nonnegative variable \(\exp\big(\langle X,v\rangle^2/K^2\big)\) at level \(\exp(\|x\|_2^2/K^2)\) gives \[ \mathbb P\{\langle X,v\rangle \ge \|x\|_2\} \;\le\; \mathbb P\Big\{e^{\langle X,v\rangle^2/K^2} \ge e^{\|x\|_2^2/K^2}\Big\} \;\le\; 2\,e^{-\|x\|_2^2/K^2}, \] which is the claimed bound. \(\blacksquare\)
Exercise 3.46 (KKK)
(Isotropic subgaussian distributions have high entropy.) The entropy of a discrete \(X\) taking values \(x_i\) with probabilities \(p_i\) is \(H(X) = -\sum_i p_i\ln p_i\). (a) If \(X\) takes \(N\) values, \(H(X)\le\ln N\). (b) For discrete, isotropic, subgaussian \(X\) in \(\mathbb R^n\): \(H(X) \ge n/K^2 - \ln 2\), \(K = \|X\|_{\psi_2}\). (c) Conclude that such \(X\) takes at least \(\tfrac12\exp(K^{-2}n)\) different values.
Solution. (a) Since \(\ln\) is concave, Jensen’s inequality with weights \(p_i\) gives \[ H(X) = \sum_i p_i \ln\frac1{p_i} \;\le\; \ln\Big(\sum_i p_i\cdot\frac1{p_i}\Big) = \ln\big(\#\{i : p_i > 0\}\big) \;\le\; \ln N . \]
The trick is to take the expectation of the pointwise bound of Exercise 3.45. Writing \(p(x)\) for the probability mass at the (countably many) values of \(X\), \[ H(X) = \mathbb E\ln\frac{1}{p(X)} \;\ge\; \mathbb E\ln\frac{1}{2\,e^{-\|X\|_2^2/K^2}} = \frac{\mathbb E\|X\|_2^2}{K^2} - \ln 2 = \frac{n}{K^2} - \ln 2 , \] where we used \(\ln(1/p(X)) \ge \ln\big(e^{\|X\|_2^2/K^2}/2\big)\) pointwise by Exercise 3.45, and \(\mathbb E\|X\|_2^2 = \operatorname{tr}(\mathbb EXX^\mathsf T) = n\) by isotropy (Proposition 3.2.1(ii)).
Let \(N\) be the number of values \(X\) takes. Combining (a) and (b), \[ \ln N \;\ge\; H(X) \;\ge\; \frac{n}{K^2} - \ln 2, \qquad\text{hence}\qquad N \;\ge\; \exp\Big(\frac{n}{K^2}\Big)\cdot e^{-\ln 2} = \frac12\,e^{n/K^2} . \] An isotropic distribution with constant subgaussian norm must therefore be spread over exponentially many points — this rules out frames and other sparse constructions as constant-subgaussian isotropic distributions (Example 3.4.8). \(\blacksquare\)
Exercise 3.47 (KK)
(Rewriting the assumption of the Grothendieck inequality.) For an \(m\times n\) matrix \(A\), prove the equivalence of: (a) \(x^\mathsf T\!Ay \le 1\) for all \(x\in\{-1,1\}^n\), \(y\in\{-1,1\}^m\); (b) the same for \(x\in[-1,1]^n\), \(y\in[-1,1]^m\); (c) \(x^\mathsf T\!Ay\le\|x\|_\infty\|y\|_\infty\) for all real \(x,y\); (d) any of these with \(|x^\mathsf T\!Ay|\) in place of \(x^\mathsf T\!Ay\).
Solution. (a) \(\Rightarrow\) (b): The function \(f(x,y) = x^\mathsf T\!Ay\) is multi-affine: linear in each coordinate separately (with the others held fixed). Hence, fixing all coordinates but \(x_i\), the maximum over \(x_i \in [-1,1]\) is attained at \(x_i \in\{-1,1\}\); iterating over the \(n+m\) coordinates shows \(\sup_{[-1,1]^n\times[-1,1]^m} f = \max_{\{-1,1\}^n\times\{-1,1\}^m} f \le 1\). (This is the elementary fact that a convex function on a polytope attains its maximum at a vertex, Exercise 1.4, applied coordinate by coordinate.)
\(\Rightarrow\) (c): Let \(x\ne0 \ne y\). Then \(x/\|x\|_\infty \in [-1,1]^n\) and \(y/\|y\|_\infty\in[-1,1]^m\), so by (b), \[ x^\mathsf T\!Ay = \|x\|_\infty\|y\|_\infty\,\Big(\frac{x}{\|x\|_\infty}\Big)^{\mathsf T}\!A \Big(\frac{y}{\|y\|_\infty}\Big) \;\le\; \|x\|_\infty\|y\|_\infty . \] (The cases \(x = 0\) or \(y = 0\) give \(0 \le \|x\|_\infty\|y\|_\infty\).)
\(\Rightarrow\) (a): For \(\pm1\) vectors, \(\|x\|_\infty = \|y\|_\infty = 1\), so (c) reads \(x^\mathsf T\!Ay \le 1\).
(d): Note that (a) is equivalent to (a\('\)) (its version with \(|{\cdot}|\)): replacing \(x\) by \(-x\) flips the sign of \(x^\mathsf T\!Ay\) and keeps \(x\) in \(\{-1,1\}^n\), so the assumption \(x^\mathsf T\!Ay \le 1\) for all sign vectors automatically holds for \(-x\) too, giving \(|x^\mathsf T\!Ay| \le 1\), and conversely. Exactly the same sign-flip argument shows (b) \(\Leftrightarrow\) (b\('\)) over the boxes and (c) \(\Leftrightarrow\) (c\('\)) over all reals. Hence all seven statements are equivalent. \(\blacksquare\)
Exercise 3.48 (K)
(Tightening the probabilistic proof of the Grothendieck inequality.) In the proof of Theorem 3.5.1, skip the rough bound in (3.25) and optimize \(R\) numerically at the end. Conclude \(K \le 14.1\).
Solution. We redo Step 4 of the proof, keeping exact \(L^2\) norms. Let \(\varphi\) denote the standard normal density and \(\overline\Phi\) its tail. For \(g\sim N(0,1)\), integration by parts gives \[ m^2(R) := \big\|g\,\mathbf 1_{\{|g|>R\}}\big\|_{L^2}^2 = 2\int_R^\infty t^2\varphi(t)\,dt = 2\big[R\,\varphi(R) + \overline\Phi(R)\big] , \] and therefore also \(\big\|g\,\mathbf 1_{\{|g|\le R\}}\big\|_{L^2}^2 = 1 - m^2(R)\).
With the truncation \(U_i = U_i^- + U_i^+\) (and similarly \(V_j\)) from Step 3, treat the four pieces of (3.24) as inner products in the Hilbert space \(L^2\) and apply the minimality of \(K = K(A)\) in the homogeneous form (3.23) — exactly as in Step 4 of the book’s proof, but without discarding \(1 - m^2(R)\): \[ S^- \le R^2,\qquad S^\pm,\ S^\mp \;\le\; K\, m(R)\,\big(1 - m^2(R)\big)^{1/2},\qquad S^+ \le K\, m^2(R). \] (For \(S^-\) we used the pointwise bound with the assumption (3.22) for random variables bounded by \(R\); for the others, \(\|U_i^+\|_{L^2} = m(R)\) and \(\|V_j^-\|_{L_2}^2 = 1 - m^2(R)\).) Summing, \[ K \;\le\; R^2 + 2K\,m\sqrt{1-m^2} + K\,m^2, \qquad\text{i.e.}\qquad K \;\le\; \frac{R^2}{1 - 2m\sqrt{1-m^2} - m^2} =: g(R), \quad m = m(R). \]
Now optimize numerically. Using \(\varphi(R) = (2\pi)^{-1/2}e^{-R^2/2}\) and \(\overline\Phi(R) \le \varphi(R)/R\):
| \(R\) | \(\varphi(R)\) | \(\overline\Phi(R)\) | \(m^2(R)\) | \(m(R)\) | \(g(R)\) |
|---|---|---|---|---|---|
| \(3.0\) | \(4.43\times10^{-3}\) | \(1.35\times10^{-3}\) | \(2.93\times10^{-2}\) | \(0.171\) | \(14.2\) |
| \(3.1\) | \(3.27\times10^{-3}\) | \(9.68\times10^{-4}\) | \(2.22\times10^{-2}\) | \(0.149\) | \(14.1\) |
| \(3.15\) | \(2.79\times10^{-3}\) | \(8.16\times10^{-4}\) | \(1.92\times10^{-2}\) | \(0.139\) | \(14.1\) |
| \(3.2\) | \(2.38\times10^{-3}\) | \(6.87\times10^{-4}\) | \(1.66\times10^{-2}\) | \(0.129\) | \(14.1\) |
| \(3.3\) | \(1.72\times10^{-3}\) | \(4.83\times10^{-4}\) | \(1.23\times10^{-2}\) | \(0.111\) | \(14.3\) |
The minimum of \(g\) is attained near \(R \approx 3.15\), where the denominator equals \(1 - 2(0.139)(0.990) - 0.0192 = 0.706\) and \[ g(3.15) \;=\; \frac{9.92}{0.706} \;\approx\; 14.05 \;<\; 14.1 . \] So the Grothendieck inequality holds with \(K \le 14.1\). (For comparison, the book’s rough bound (3.25) on \(\|U_i^+\|_{L^2}^2\), followed by the Step 4 bookkeeping \(K \le R^2 + 6K/R\), gives \(K \le R^3/(R-6)\), minimized at \(R = 9\) with \(K \le 243\) — and the choice \(R = 12\) made in the text gives \(K \le 288\). The entire gain comes from using the exact truncated second moment \(m^2(R)\) and the exact value \(1 - m^2(R)\) of \(\|V_j^-\|_{L^2}^2\).) \(\blacksquare\)
Exercise 3.49 (KKK)
(Quadratic Grothendieck for positive-semidefinite matrices.) (a) Polarization identity: for symmetric \(A\) and any \(x,y\), \(x^\mathsf T\!Ay = \bar x^\mathsf T\!A\bar x - \bar y^\mathsf T\!A\bar y\) where \(\bar x = (x+y)/2\), \(\bar y = (x-y)/2\). (b) Let \(A\) be symmetric positive-semidefinite with \(\sum_{ij}a_{ij}x_ix_j \le 1\) for all \(x\in\{-1,1\}^n\). Then for any Hilbert space \(\mathcal H\), \(\big|\sum_{ij}a_{ij}\langle u_i,v_j\rangle\big| \le 2K\) for all unit vectors \(u_i, v_j\). (c) Show (b) may fail without positive-semidefiniteness.
Solution. (a) Since \(A\) is symmetric, expanding the two quadratic forms gives \[ \bar x^\mathsf T\!A\bar x - \bar y^\mathsf T\!A\bar y = \frac{(x+y)^\mathsf T\!A(x+y) - (x-y)^\mathsf T\!A(x-y)}{4} = \frac{4\,x^\mathsf T\!Ay}{4} = x^\mathsf T\!Ay , \] because the pure terms \(x^\mathsf T\!Ax\) and \(y^\mathsf T\!Ay\) cancel and the mixed terms add up. (For \(A = I_n\) this is the parallelogram law \(\|x\|^2 + \|y\|^2 = 2\|\bar x\|^2 + 2\|\bar y\|^2\).)
- Let \(q(z) := z^\mathsf T\!Az\). Step 1: \(0 \le q(z) \le 1\) on the cube \([-1,1]^n\). The upper bound holds because \(q\) is convex (\(A \succeq 0\)), so \(q\) attains its maximum on the cube at a vertex (Exercise 1.4 / the maximal principle), where \(q \le 1\) by assumption. The lower bound is positive-semidefiniteness itself.
Step 2: \(|x^\mathsf T\!Ay| \le 1\) for all sign vectors. For \(x, y\in\{-1,1\}^n\), the vectors \(\bar x = (x+y)/2\) and \(\bar y = (x-y)/2\) have coordinates in \(\{-1,0,1\} \subset [-1,1]\), so by the polarization identity (a) and Step 1, \[ x^\mathsf T\!Ay = q(\bar x) - q(\bar y) \in [-1,\,1] . \]
Step 3: Grothendieck. The assumption of Theorem 3.5.1 (in the equivalent \(|\cdot|\) form of Exercise 3.47(d)) thus holds with constant \(1\). Applying the Grothendieck inequality in its homogeneous form (3.23) to the unit vectors \(u_i, v_j \in \mathcal H\), \[ \Big|\sum_{ij}a_{ij}\langle u_i,v_j\rangle\Big| \;\le\; K . \] This is even stronger than the required \(2K\). (The factor \(2\) in the book’s statement is a slightly looser bookkeeping of the two quadratic-form bounds in Step 2.)
- Counterexample without psd. Take \(A = -J\), the all-ones matrix with a minus sign (\(n\ge2\)). It is symmetric but not psd. The assumption holds — in fact \(q(x) = x^\mathsf T(-J)x = -\big(\sum_i x_i\big)^2 \le 0 \le 1\) for all sign vectors (and all real \(x\)). But choosing any unit vectors with \(u_i = u\), \(v_j = -u\) gives \[ \sum_{ij}a_{ij}\langle u_i,v_j\rangle = -\sum_{ij}\langle u,-u\rangle = n^2, \] which exceeds \(2K\) for \(n\ge2\). So positive-semidefiniteness is essential. \(\blacksquare\)
Exercise 3.50 (KK)
(Quadratic Grothendieck for diagonal-free matrices.) (a) A separately convex function \(f\colon[-1,1]^n\to\mathbb R\) (convex in each variable) attains its maximum at an extreme point of the cube. (b) Let \(A = (a_{ij})\) be diagonal-free with \(\big|\sum_{ij}a_{ij}x_ix_j\big|\le1\) for all \(x\in\{-1,1\}^n\). Then for any Hilbert space \(\mathcal H\), \(\big|\sum_{ij}a_{ij}\langle u_i,v_j\rangle\big|\le 2K\) for all unit vectors.
Solution. (a) Fix all coordinates except \(x_i\); as a function of \(x_i\) alone, \(f\) is convex on \([-1,1]\), hence bounded by the larger of its two endpoint values. So \(f(x) \le \max\{f(x_1,\dots,-1,\dots),\,f(x_1,\dots,+1,\dots)\}\); iterating over \(i = 1,\dots,n\) shows \(f(x) \le \max_{\varepsilon\in\{-1,1\}^n} f(\varepsilon)\) for every \(x\in[-1,1]^n\). As the right-hand side is attained at extreme points of the cube, this proves the claim. (A separately convex function need not be convex: \(f(x_1,x_2) = x_1x_2\) is linear in each variable but has the indefinite Hessian \(\left(\begin{smallmatrix}0&1\\1&0\end{smallmatrix}\right)\).)
- We assume in addition that \(A\) is symmetric. Let \(q(z) := z^\mathsf T\!Az = \sum_{ij}a_{ij}z_iz_j\). Since \(A\) is diagonal-free, \(q\) is affine (hence both convex and concave) in each coordinate separately: no \(z_i^2\) term appears. Therefore both \(q\) and \(-q\) are separately convex, and by (a) both attain their maxima over \([-1,1]^n\) at vertices, whence \[ \big|q(z)\big| \;\le\; \max_{\varepsilon\in\{-1,1\}^n}\big|q(\varepsilon)\big| \;\le\; 1 \qquad\text{for all } z\in[-1,1]^n . \tag{$\ast$} \] Now fix \(x,y\in\{-1,1\}^n\) and use the polarization identity of Exercise 3.49(a) (valid since \(A\) is symmetric): \(x^\mathsf T\!Ay = q\big(\tfrac{x+y}{2}\big) - q\big(\tfrac{x-y}{2}\big)\), and both arguments have coordinates in \(\{-1,0,1\}\subset[-1,1]^n\). By \((\ast)\), \[ \big|x^\mathsf T\!Ay\big| \;\le\; \big|q(\bar x)\big| + \big|q(\bar y)\big| \;\le\; 2 \qquad\text{for all } x,y\in\{-1,1\}^n . \] Applying the Grothendieck inequality in the homogeneous form (3.23) with constant 2 then yields \(\big|\sum_{ij}a_{ij}\langle u_i,v_j\rangle\big| \le 2K\) for all unit vectors \(u_i, v_j\in\mathcal H\).
A flag on the statement. Without symmetry of \(A\) the claim is false: the quadratic form only sees the symmetric part \(\tfrac12(A + A^\mathsf T)\), while the conclusion involves \(A\) itself. For example \(A = \left(\begin{smallmatrix}0 & M\\ -M & 0\end{smallmatrix}\right)\) is diagonal-free with \(x^\mathsf T\!Ax = 0\) for every \(x\), yet with \(u_1 = v_2 = e\), \(u_2 = e\), \(v_1 = -e\) (any unit \(e\)), \(\sum_{ij}a_{ij}\langle u_i,v_j\rangle = M(1) - M(-1) = 2M\), unbounded in \(M\). The intended reading (consistent with Remark 3.5.3 and with the polarization identity used in the hint) is that \(A\) is symmetric and diagonal-free.
\(\blacksquare\)
Exercise 3.51 (K)
(Gram matrices.) (a) The Gram matrix \((\langle v_i,v_j\rangle)\) of any vectors is symmetric positive-semidefinite. (b) Conversely, any symmetric positive-semidefinite matrix is a Gram matrix.
Solution. (a) Symmetry is clear from the symmetry of the inner product. For \(x = (x_i)\in\mathbb R^n\), \[ x^\mathsf T G x = \sum_{i,j}x_ix_j\langle v_i,v_j\rangle = \Big\langle \sum_i x_iv_i,\ \sum_j x_jv_j\Big\rangle = \Big\|\sum_i x_iv_i\Big\|^2 \;\ge\; 0 . \]
- Let \(A\) be symmetric psd with spectral decomposition \(A = \sum_{k=1}^n \lambda_k q_kq_k^\mathsf T\), \(\lambda_k\ge0\). Define \(v_j := \sum_k\sqrt{\lambda_k}\,(q_k)_j\, q_k\), i.e. the \(j\)-th column of the matrix \(Q\Lambda^{1/2}\) (equivalently, \(v_j = A^{1/2}e_j\)). Then \[ \langle v_i, v_j\rangle = \big(A^{1/2}e_i\big)^\mathsf T\big(A^{1/2}e_j\big) = e_i^\mathsf T A e_j = a_{ij}, \] using that \(A^{1/2}\) is symmetric. So \(A\) is the Gram matrix of \(v_1,\dots,v_n\in\mathbb R^n\). \(\blacksquare\)
Exercise 3.52 (KK)
(SDP relaxation of a bilinear integer program.) Consider maximizing \(\sum_{i,j}A_{ij}x_iy_j\) over \(x_i, y_j = \pm1\), and its relaxation (3.41): maximize \(\sum_{i,j}A_{ij}\langle X_i,Y_j\rangle\) over unit vectors \(X_i, Y_j\) in \(\mathbb R^k\). (a) Express (3.41) as a semidefinite program. (b) Show the relaxation approximates the integer problem within an absolute constant factor.
Solution. (Say \(A\) is \(m\times n\), so \(i\le m\), \(j\le n\).)
Let \(Z\) be the \((m+n)\times(m+n)\) Gram matrix of the unit vectors: \[ Z = \begin{pmatrix} P & Q \\ Q^\mathsf T & R\end{pmatrix},\qquad P = (\langle X_i,X_{i'}\rangle),\quad Q = (\langle X_i,Y_j\rangle),\quad R = (\langle Y_j,Y_{j'}\rangle). \] Being a Gram matrix, \(Z\succe 0\) with unit diagonal (Exercise 3.51); conversely, every psd matrix with unit diagonal is a Gram matrix of unit vectors (Exercise 3.51(b)). Introducing the symmetric block matrix \(B := \frac12\left(\begin{smallmatrix} 0 & A\\ A^\mathsf T & 0\end{smallmatrix}\right)\) (the Hermitian dilation of \(A\)), the objective matches the matrix inner product: expanding \(\langle B,Z\rangle = \operatorname{tr}(BZ)\) by blocks (the \(P\)- and \(R\)-blocks pair with the zero blocks of \(B\)), \[ \langle B, Z\rangle = \tfrac12\big(\operatorname{tr}(AQ^\mathsf T) + \operatorname{tr}(A^\mathsf T Q)\big) = \operatorname{tr}(AQ^\mathsf T) = \sum_{i\le m,\ j\le n} A_{ij}\,Q_{ji} = \sum_{i,j} A_{ij}\langle X_i, Y_j\rangle . \] Hence (3.41) is equivalent to the SDP \[ \text{maximize } \langle B, Z\rangle \quad\text{subject to}\quad Z\succeq0,\ Z_{ii} = 1\ \text{for all } i, \] compare Proposition 3.5.6 — and one may take \(k = m+n\).
Let \(\mathrm{int}(A)\) and \(\mathrm{sdp}(A)\) denote the two maxima. Choosing \(X_i = x_ie\), \(Y_j = y_je\) for a fixed unit vector \(e\) realizes every integer solution, so \(\mathrm{int}(A) \le \mathrm{sdp}(A)\). For the reverse inequality, note first that \(\mathrm{int}(A) = \max_{x,y}\big|\sum A_{ij}x_iy_j\big|\): flipping \(x\mapsto-x\) changes the sign, so the maximum over sign vectors is nonnegative and equals the maximum of the absolute values (it is \(0\) iff \(A = 0\), in which case everything is trivial). Apply the Grothendieck inequality (Theorem 3.5.1, homogeneous form (3.22)–(3.23)) to the scaled matrix \(\bar A := A/\mathrm{int}(A)\), whose bilinear forms on sign vectors are bounded by \(1\) in absolute value: for the optimal unit vectors \(X_i, Y_j\) of (3.41), \[ \mathrm{sdp}(A) = \sum_{ij}A_{ij}\langle X_i,Y_j\rangle \;\le\; K\,\mathrm{int}(A) . \] Hence \(\mathrm{int}(A)\le\mathrm{sdp}(A)\le K\,\mathrm{int}(A)\) with \(K\le1.783\): a constant-factor approximation, computable in polynomial time via the SDP. \(\blacksquare\)
Exercise 3.53 (KK)
(Grothendieck identity.) For \(g\sim N(0,I_n)\) and unit vectors \(u,v\): \(\;\mathbb E\,\mathrm{sign}\langle g,u\rangle\,\mathrm{sign}\langle g,v\rangle = \frac2\pi\arcsin\langle u,v\rangle\).
Solution. By rotation invariance we may assume \(u = e_1\) and \(v = \cos\theta\, e_1 + \sin\theta\,e_2\), where \(\theta = \arccos\langle u,v\rangle\in[0,\pi]\). Only the first two coordinates of \(g\) matter, and \((g_1,g_2)\stackrel{d}{=} r(\cos\Phi,\sin\Phi)\) with \(r \ge 0\) independent of \(\Phi\sim\operatorname{Unif}[0,2\pi)\) (Exercise 3.22). Since signs ignore \(r\), \[ \mathbb E\,\mathrm{sign}(g_1)\,\mathrm{sign}(g_1\cos\theta + g_2\sin\theta) = \frac1{2\pi}\int_0^{2\pi}\mathrm{sign}(\cos\varphi)\,\mathrm{sign}\big(\cos(\varphi-\theta)\big)\,d\varphi . \] Now \(\cos\varphi > 0\) on the arc \(A = (-\tfrac\pi2,\tfrac\pi2)\) of length \(\pi\), and \(\cos(\varphi-\theta) > 0\) on the arc \(B = (\theta - \tfrac\pi2, \theta+\tfrac\pi2)\), also of length \(\pi\). The two signs agree on \(A\cap B\) and on \(A^c\cap B^c\) and disagree elsewhere; both intersections have length \(\pi - \theta\) (two arcs of length \(\pi\) whose midpoints are shifted by \(\theta\)). Hence the average equals \[ \frac{2(\pi-\theta) - 2\theta}{2\pi} = 1 - \frac{2\theta}{\pi} = \frac2\pi\Big(\frac\pi2 - \theta\Big) = \frac2\pi\arcsin(\cos\theta) = \frac2\pi\arcsin\langle u,v\rangle , \] using \(\arcsin(\cos\theta) = \tfrac\pi2 - \theta\) for \(\theta\in[0,\pi]\). \(\blacksquare\)
Exercise 3.54 (KKK)
(Approximating a maxcut: deterministic outcome, random runtime.) For any \(\varepsilon > 0\), give a \((0.878-\varepsilon)\)-approximation algorithm for the maximum cut that always finds a valid cut but may have random running time; bound the expected runtime.
Solution. Algorithm. Solve the semidefinite program (3.33) once, obtaining vectors \(X_1,\dots,X_n\) with value \(\mathrm{sdp}(G)\). Then repeat the randomized rounding (3.34) — draw \(g\sim N(0,I_n)\), set \(x_i := \mathrm{sign}\langle X_i,g\rangle\) — and after each rounding compute \(\mathrm{cut}(G,x)\); stop the first time \(\mathrm{cut}(G,x) \ge (0.878-\varepsilon)\,\mathrm{sdp}(G)\), and output that cut.
The output is always a valid cut, and by construction its value is at least \((0.878-\varepsilon)\,\mathrm{sdp}(G) \ge (0.878-\varepsilon)\,\mathrm{maxcut}(G)\), since \(\mathrm{sdp}(G)\ge\mathrm{maxcut}(G)\).
Success probability of one trial. Theorem 3.6.4 gives \(\mathbb E\,\mathrm{cut}(G,x) \ge 0.878\,\mathrm{sdp}(G)\). Since always \(\mathrm{cut}(G,x) \le \mathrm{sdp}(G)\) (every \(\pm1\) labeling is a feasible point of (3.33)), the nonnegative random variable \(Y := \mathrm{sdp}(G) - \mathrm{cut}(G,x)\) has \(\mathbb EY \le 0.122\,\mathrm{sdp}(G)\). By Markov’s inequality (equivalently Paley–Zygmund on \(\mathrm{cut}(G,x)\), Exercise 1.16), \[ \mathbb P\big\{\mathrm{cut}(G,x) < (0.878-\varepsilon)\,\mathrm{sdp}(G)\big\} = \mathbb P\{Y > \varepsilon\,\mathrm{sdp}(G)\} \;\le\; \frac{0.122}{\varepsilon} =: 1 - p . \] This is nontrivial for \(0 < \varepsilon < 0.122\), with success probability \(p \ge 1 - 0.122/\varepsilon\).
Expected runtime. The number of trials until the first success is geometric with mean \(1/p\), independent roundings being i.i.d. copies. Each trial costs \(O(n\cdot k + n^2)\) arithmetic operations (compute the \(n\) inner products \(\langle X_i,g\rangle\) in the ambient dimension \(k\le n\) of the SDP solution, then evaluate the cut), plus the one-time cost of solving the SDP. Hence the expected total time is \[ T_{\mathrm{SDP}} \;+\; O\big(n^2 + nk\big)\cdot\frac{1}{p} \;\le\; T_{\mathrm{SDP}} + O\big((n^2+nk)\big)\cdot\frac{\varepsilon}{\varepsilon - 0.122}, \] e.g. with \(\varepsilon = 0.061\) the expected number of trials is at most \(2\). \(\blacksquare\)
Exercise 3.55 (K)
(Kernel trick for real analytic functions.) Prove Lemma 3.7.7 using the Hilbert space \(\ell_2\) of square-summable sequences: for \(f(x) = \sum_{k=0}^\infty a_kx^k\) with infinite radius of convergence, define \(\Phi,\Psi\colon\mathbb R^n\to\ell_2\) making the lemma work.
Solution. Define \[ \Phi(u) := \big(\,\sigma_0\sqrt{|a_0|},\ \sqrt{|a_1|}\,u^{\otimes 1},\ \sqrt{|a_2|}\,u^{\otimes 2},\ \sqrt{|a_3|}\,u^{\otimes 3},\ \dots\big), \qquad \Psi(v) := \big(\,\sqrt{|a_0|},\ \sigma_1\sqrt{|a_1|}\,v^{\otimes 1},\ \sigma_2\sqrt{|a_2|}\,v^{\otimes 2},\ \dots\big), \] where \(\sigma_k := \mathrm{sign}(a_k)\) and the \(k\)-th block lives in \(\mathbb R^{n^k}\), viewed as a square-summable sequence (concatenate the entries of the tensors).
Well-definedness. For any fixed \(u\), \(\|\Phi(u)\|_2^2 = \sum_{k\ge0}|a_k|\,\|u\|_2^{2k} < \infty\), because the power series converges absolutely at every real point — in particular at \(\|u\|_2^2\) (radius of convergence \(\infty\)). So \(\Phi(u),\Psi(v)\in\ell_2\); for unit vectors the norms are \(\sum_k|a_k|\), finite since it is the value of the absolutely convergent series at \(x=1\).
The kernel identity. Since finitely-supported sequences are dense and inner products are continuous, using Lemma 3.7.4 (\(\langle u^{\otimes k}, v^{\otimes k}\rangle = \langle u,v\rangle^k\)), \[ \langle\Phi(u),\Psi(v)\rangle = \sum_{k=0}^\infty \sigma_k\,|a_k|\,\langle u,v\rangle^k = \sum_{k=0}^\infty a_k\,\langle u,v\rangle^k = f\big(\langle u,v\rangle\big), \] the series converging absolutely since \(|\langle u,v\rangle|\le\|u\|\|v\|\) and \(\sum_k|a_k|\,\|u\|^k\|v\|^k < \infty\). Moreover, for a unit \(u\), \(\|\Phi(u)\|_2^2 = \|\Psi(u)\|_2^2 = \sum_{k\ge0}|a_k|\), as Lemma 3.7.7 claims (the sum of the absolute coefficients). \(\blacksquare\)
Exercise 3.56 (KKK)
(Linearizing the Grothendieck identity.) For \(g\sim N(0,I_n)\) and fixed unit vectors \(u,v\): (a) \(\mathbb E\,\langle g,u\rangle\,\mathrm{sign}\langle g,v\rangle = \sqrt{2/\pi}\,\langle u,v\rangle\). (b) \(\mathbb E\,\mathrm{sign}\langle g,u\rangle\,\mathrm{sign}\langle g,v\rangle = \frac2\pi\langle u,v\rangle + \mathbb E[Z_uZ_v]\), where \(Z_w := \sqrt{2/\pi}\,\langle g,w\rangle - \mathrm{sign}\langle g,w\rangle\).
Solution. (a) By rotation invariance we may assume \(v = e_1\) and \(u = (u_1, u_2, 0,\dots,0)\). Then \(\langle g,v\rangle = g_1\) and \(\langle g,u\rangle = u_1g_1 + u_2g_2\) with \(g_1,g_2\) independent \(N(0,1)\). Using \(\mathbb E[g_1\,\mathrm{sign}(g_1)] = \mathbb E|g_1| = \sqrt{2/\pi}\) (a one-dimensional computation) and \(\mathbb E[g_2\,\mathrm{sign}(g_1)] = \mathbb E g_2\cdot\mathbb E\,\mathrm{sign}(g_1) = 0\) (independence, \(\mathbb E g_2 = 0\)), \[ \mathbb E\,\langle g,u\rangle\,\mathrm{sign}\langle g,v\rangle = u_1\,\mathbb E\big[g_1\mathrm{sign}(g_1)\big] + u_2\,\mathbb E\big[g_2\big]\cdot 0 = \sqrt{\tfrac2\pi}\,u_1 = \sqrt{\tfrac2\pi}\,\langle u,v\rangle . \]
- Expand the product using the definition of \(Z_u, Z_v\): \[ \mathbb E[Z_uZ_v] = \mathbb E[\mathrm{ss}] - \sqrt{\tfrac2\pi}\Big(\mathbb E[\langle g,u\rangle\,\mathrm{sign}\langle g,v\rangle] + \mathbb E[\langle g,v\rangle\,\mathrm{sign}\langle g,u\rangle]\Big) + \tfrac2\pi\,\mathbb E[\langle g,u\rangle\langle g,v\rangle], \] where \(\mathrm{ss} := \mathrm{sign}\langle g,u\rangle\,\mathrm{sign}\langle g,v\rangle\). By part
- the two middle terms equal \(\sqrt{2/\pi}\cdot 2\sqrt{2/\pi}\,\langle u,v\rangle = \tfrac4\pi\langle u,v\rangle\), and by Exercise 3.9 (applied to the isotropic Gaussian vector \(g\)), \(\mathbb E[\langle g,u\rangle\langle g,v\rangle] = \langle u,v\rangle\). Hence \[ \mathbb E[Z_uZ_v] = \mathbb E[\mathrm{ss}] - \tfrac4\pi\langle u,v\rangle + \tfrac2\pi\langle u,v\rangle = \mathbb E[\mathrm{ss}] - \tfrac2\pi\langle u,v\rangle, \] which is the claimed identity upon rearranging. (In words: \(\mathrm{sign}\langle g,w\rangle\) equals \(\sqrt{2/\pi}\langle g,w\rangle\) up to the mean-zero correction \(-Z_w\), and the linear part reproduces exactly \((2/\pi)\langle u,v\rangle\) of the arcsin of Lemma 3.6.5.) \(\blacksquare\)
Exercise 3.57 (KK)
(A sharper positive-semidefinite Grothendieck.) Let \(A=(a_{ij})\) be symmetric positive-semidefinite with \(\sum_{ij}a_{ij}x_ix_j\le1\) for all \(x_i\in\{-1,1\}\). Use Exercise 3.56 to show that \(\sum_{ij}a_{ij}\langle u_i,u_j\rangle \le \pi/2\) for unit vectors \(u_i\) in any Hilbert space \(\mathcal H\).
Solution. (Rietz’s argument.) Without loss of generality \(\mathcal H = \mathbb R^N\) for some \(N\) (restrict to the span of the \(u_i\)). Let \(g\sim N(0,I_N)\) and set \[ x_i := \mathrm{sign}\langle g, u_i\rangle \in \{-1,1\}, \qquad Z_i := \sqrt{\tfrac2\pi}\,\langle g,u_i\rangle - \mathrm{sign}\langle g,u_i\rangle . \] By assumption, \(\sum_{ij}a_{ij}x_ix_j \le 1\) pointwise (the \(x_i\) are signs!), so taking expectations and inserting Exercise 3.56(b) for each pair \((u_i, u_j)\), \[ 1 \;\ge\; \mathbb E\sum_{ij}a_{ij}x_ix_j \;=\; \frac2\pi\sum_{ij}a_{ij}\langle u_i,u_j\rangle \;+\; \mathbb E\sum_{ij}a_{ij}Z_iZ_j . \] The crucial point: since \(A\) is positive-semidefinite, the quadratic form with the real numbers \(Z_i(\omega)\) is nonnegative for every sample point \(\omega\): \[ \sum_{ij}a_{ij}Z_i(\omega)Z_j(\omega) \;\ge\; 0 \qquad\text{a.s.}, \qquad\text{hence}\qquad \mathbb E\sum_{ij}a_{ij}Z_iZ_j \;\ge\; 0 . \] Therefore \(\tfrac2\pi\sum_{ij}a_{ij}\langle u_i,u_j\rangle \le 1\), i.e. \(\sum_{ij}a_{ij}\langle u_i,u_j\rangle \le \pi/2 \approx 1.571\) — better than the constant \(K\le1.783\) of the general Grothendieck inequality, with a much simpler proof. \(\blacksquare\)
Exercise 3.58 (KK)
(SDP relaxation using the Grothendieck inequality.) For symmetric positive-semidefinite \(A\), let \(\mathrm{int}(A)\) and \(\mathrm{sdp}(A)\) be the maxima in (3.28) and (3.29). (a) Show \(\mathrm{int}(A) \le \mathrm{sdp}(A) \le \tfrac\pi2\,\mathrm{int}(A)\). (b) Design a randomized algorithm turning a solution \((X_i)\) of (3.29) into labels \(x_i=\pm1\) approximately solving (3.28) in expectation.
Solution. (a) First inequality. Feasibility: for any \(x\in\{-1,1\}^n\), the vectors \(X_i := x_i e\) (a fixed unit vector \(e\)) are feasible in (3.29) with the same objective value; hence \(\mathrm{int}(A)\le\mathrm{sdp}(A)\).
Second inequality. Note first that \(\mathrm{int}(A)\ge0\): taking all \(x_i=1\) gives \(\sum_{ij}a_{ij} = \mathbf 1^\mathsf T\!A\mathbf 1 \ge 0\) since \(A\succeq0\). If \(\mathrm{int}(A) = 0\) then \(A = 0\) (a psd matrix with \(\mathbf 1^\mathsf TA\mathbf 1 = 0\) forces \(A^{1/2}\mathbf 1 = 0\); replacing \(x\) by other sign patterns shows all entries vanish) and the claim is trivial. Otherwise apply Exercise 3.57 to the scaled matrix \(\bar A := A/\mathrm{int}(A)\), which satisfies the hypothesis \(\sum\bar a_{ij}x_ix_j \le 1\) on sign vectors by definition of \(\mathrm{int}\). For optimal unit vectors \((X_i)\) of (3.29), \[ \mathrm{sdp}(A) = \sum_{ij}a_{ij}\langle X_i,X_j\rangle \;\le\; \frac\pi2\,\mathrm{int}(A) . \] (Only the one-sided assumption is needed since we bound the maximum; note also the objective in (3.29) is nonnegative at the optimum, being at least \(\mathrm{int}(A)\ge0\).)
- Randomized rounding (3.34). Given the SDP solution \(X_1,\dots,X_n\) (unit vectors in \(\mathbb R^k\)), draw \(g\sim N(0,I_k)\) and set \(x_i := \mathrm{sign}\langle X_i, g\rangle\). By the Grothendieck identity (Lemma 3.6.5) — or directly by Exercise 3.56(b) — \[ \mathbb E[x_ix_j] = \mathbb E\,\mathrm{sign}\langle X_i,g\rangle\,\mathrm{sign}\langle X_j,g\rangle = \frac2\pi\langle X_i,X_j\rangle + \mathbb E[Z_iZ_j], \qquad Z_i := \sqrt{\tfrac2\pi}\langle g,X_i\rangle - \mathrm{sign}\langle g,X_i\rangle . \] Exactly as in Exercise 3.57, \(A\succeq0\) implies \(\sum_{ij}a_{ij}Z_iZ_j \ge 0\) almost surely, so by linearity of expectation, \[ \mathbb E\sum_{ij}a_{ij}x_ix_j \;\ge\; \frac2\pi\sum_{ij}a_{ij}\langle X_i,X_j\rangle \;=\; \frac2\pi\,\mathrm{sdp}(A) \;\ge\; \frac2\pi\,\mathrm{int}(A) \approx 0.637\,\mathrm{int}(A). \] Thus the rounded labels achieve at least a \(2/\pi\)-fraction of the optimum in expectation — strictly better than the \(1/(2K)\ge1/3.57\) guarantee that Theorem 3.5.7 gives for general symmetric \(A\). \(\blacksquare\)
Cross-check against the book’s Hints
All 58 solutions above were written independently before consulting the book’s Hints for the Exercises (pp. 298 ff.). A subsequent comparison found full agreement on substance; a few remarks:
- 3.2, 3.3: the hints suggest the identity \(x - y = (x^2-y^2)/(x+y)\) and a cubic Taylor approximation of \(\sqrt z\) around \(1\); our solutions use the same identity plus an exact second-order inequality (Exercise 3.2) and an exact identity for the expectation gap (Exercise 3.3), which avoids tracking Taylor remainders.
- 3.6: the hint’s block-partition argument (blocks of size \(e^p\), replace block sums by block maxima, lower-bound expected maxima of Gaussians) is the one we adopted.
- 3.7(a): the hint outlines a Markov/Chernoff argument (yielding the constant \(e\sqrt\pi\)); the direct volume computation used here yields the sharper displayed constant \(\sqrt{2\pi e}\).
- 3.23(a): the hint’s radial separator \(x = g_1/\|g_1\|_2\) is used here.
- 3.49(b): our argument gives the constant \(K\) rather than the stated \(2K\) (positive semidefiniteness makes one of the two quadratic-form bounds free); recorded as a small improvement, not a disagreement.
- 3.50(b): solved for symmetric diagonal-free \(A\); without symmetry the statement is false (skew counterexample given), and this is flagged in a warning callout — the book’s Remark 3.5.3 appears to intend the symmetric reading.
- 3.43/3.45/3.46: the constants \(\asymp 1/\sqrt{\log n}\), \(2\exp(-\|x\|_2^2/K^2)\), \(n/K^2 - \ln 2\), \(\tfrac12 e^{n/K^2}\) were verified against the printed page (PDF p. 111) before finalizing the proofs.