Chapter 1 Exercises
Vershynin, High-Dimensional Probability (2nd ed.) §1.9
How to use this file
- Textbook: Roman Vershynin, High-Dimensional Probability: An Introduction with Applications in Data Science, Second Edition (Cambridge University Press, 2026).
- Range: Chapter 1, §1.9, Exercises 1.1–1.19 (1.3, 1.10, 1.11, 1.13, 1.15, 1.17, 1.18, 1.19 have lettered parts), locked from printed pp. 20–23 / PDF pp. 35–38.
- Pages: Chapter 1 spans printed pp. 8–23 = PDF pp. 23–38; offset PDF = printed + 15.
- Principle: stems are abridged — consult the book for the exact statements and the K-difficulty marks; solutions were worked out independently first, then cross-checked against the book’s Hints for the Exercises (printed pp. 298–299). No substantive disagreement was found; where the book’s route differs cosmetically from ours it is noted inline. Numerical claims were recomputed.
- Companion notes:
ch01-notes.qmd(several items — Jensen, \(L_p\) monotonicity, \(\ell_p\) comparison, duality — are also proved there as 作者解释; the solutions below are self-contained).
Notation follows the book: \(\|\cdot\|_p\) is the \(\ell_p\) norm on \(\mathbb{R}^n\), \(\|\cdot\|_{L_p}\) the \(L_p\) norm of a random variable, \(B_p^n=\{x:\|x\|_p\le1\}\), and \(p,p'\) are always conjugate exponents (\(1/p+1/p'=1\)).
Exercise 1.1 (K)
Consider any subset \(T\subset\mathbb{R}^n\). Check that \(\mathrm{conv}(T)\) is a convex set.
Recall \(\mathrm{conv}(T)=\{\sum_{i=1}^m\lambda_iz_i:\ m\in\mathbb{N},\ z_i\in T,\ \lambda_i\ge0,\ \sum_i\lambda_i=1\}\). Take two of its points,
\[ x=\sum_{i=1}^m\lambda_iz_i,\qquad y=\sum_{j=1}^{m'}\mu_jw_j\qquad(z_i,w_j\in T), \]
and \(\theta\in[0,1]\). Then
\[ \theta x+(1-\theta)y=\sum_{i=1}^m(\theta\lambda_i)\,z_i+\sum_{j=1}^{m'}\big((1-\theta)\mu_j\big)\,w_j . \]
This is a single finite sum of points of \(T\) with nonnegative coefficients summing to \(\theta\cdot1+(1-\theta)\cdot1=1\) — a convex combination of points of \(T\). Hence \(\theta x+(1-\theta)y\in\mathrm{conv}(T)\), proving convexity. \(\blacksquare\)
Remark. The same argument shows \(\mathrm{conv}(T)\) is the smallest convex set containing \(T\): if \(K\supseteq T\) is convex, an induction on the number of points (see Exercise 1.3(a)) shows every convex combination of points of \(T\) lies in \(K\), so \(\mathrm{conv}(T)\subseteq K\).
Exercise 1.2 (K)
Check that the pointwise maximum of a finite number of convex functions is a convex function.
Let \(f_1,\dots,f_m\) be convex functions on a common convex domain \(K\subseteq\mathbb{R}^n\) (this is implicitly required so that the maximum is defined on \(K\)), and let \(f:=\max_{i\le m}f_i\). Fix \(x,y\in K\) and \(\theta\in[0,1]\). For each \(i\), convexity of \(f_i\) and the pointwise bound \(f_i\le f\) give
\[ f_i\big(\theta x+(1-\theta)y\big)\le\theta f_i(x)+(1-\theta)f_i(y)\le\theta f(x)+(1-\theta)f(y). \]
The right-hand side no longer depends on \(i\), so it survives taking the maximum over \(i\):
\[ f\big(\theta x+(1-\theta)y\big)=\max_{i\le m}f_i\big(\theta x+(1-\theta)y\big)\le\theta f(x)+(1-\theta)f(y). \qquad\blacksquare \]
Remark. The same two-line argument works for the pointwise supremum of an arbitrary family of convex functions (on its natural convex domain of finiteness). This is how dual norms and support functions are seen to be convex; cf. the duality formula (1.6).
Exercise 1.3 (KK)
(Jensen inequality.) (a) Let \(K\subset\mathbb{R}^n\) be convex. Prove that \(f:K\to\mathbb{R}\) is convex if and only if \(f\big(\sum_{i=1}^m\lambda_ix_i\big)\le\sum_{i=1}^m\lambda_if(x_i)\) for every \(m\in\mathbb{N}\), \(x_i\in K\), \(\lambda_i\ge0\) with \(\sum_i\lambda_i=1\). (b) Deduce \(f(\mathbb{E}X)\le\mathbb{E}f(X)\) for a random vector \(X\) taking finitely many values and a convex \(f:\mathbb{R}^n\to\mathbb{R}\).
(a) (\(\Leftarrow\)) Take \(m=2\): the stated property is exactly the definition (1.1) of convexity.
(\(\Rightarrow\)) First a preliminary observation: if \(K\) is convex, then every convex combination of points of \(K\) lies in \(K\). Indeed, argue by induction on the number of points: combinations of one point are trivial; given \(\lambda_1,\dots,\lambda_m\ge0\) summing to 1, if some \(\lambda_i=0\) drop that point, and otherwise set \(\Lambda:=\sum_{i<m}\lambda_i\in(0,1)\) and write
\[ \sum_{i=1}^m\lambda_ix_i=\Lambda\cdot\underbrace{\sum_{i<m}\frac{\lambda_i}{\Lambda}x_i}_{\in\ K\ \text{by induction}}+\;(1-\Lambda)\,x_m\in K, \]
using the convexity of \(K\) on the last step. (For \(m=2\) this is the definition of convexity of \(K\).)
Now the main induction on \(m\ge2\) (the case \(m=1\) is equality). Assume the claim holds for \(m-1\) points. Given \(x_1,\dots,x_m\in K\) and \(\lambda_i\ge0\) with \(\sum_i\lambda_i=1\): if \(\lambda_m=1\) then all other weights vanish and the claim reads \(f(x_m)\le f(x_m)\); otherwise \(\Lambda:=\sum_{i<m}\lambda_i=1-\lambda_m\in(0,1)\) and, with \(z:=\sum_{i<m}\frac{\lambda_i}{\Lambda}x_i\in K\) by the observation above,
\[ f\Big(\sum_{i=1}^m\lambda_ix_i\Big)=f\big(\Lambda z+\lambda_mx_m\big)\le\Lambda f(z)+\lambda_mf(x_m) \]
by the two-point convexity (1.1). The induction hypothesis applied to the \(m-1\) points \(x_1,\dots,x_{m-1}\) with weights \(\lambda_i/\Lambda\) (which are nonnegative and sum to 1) gives
\[ f(z)\le\sum_{i<m}\frac{\lambda_i}{\Lambda}f(x_i). \]
Substituting and collecting terms yields \(f\big(\sum_{i=1}^m\lambda_ix_i\big)\le\sum_{i=1}^m\lambda_if(x_i)\). \(\blacksquare\) (This is the book’s hint: at the induction step, split off \(x_m\) and the combination of the rest.)
(b) Let \(z_1,\dots,z_m\) be the values taken by \(X\), with probabilities \(p_i:=\mathbb{P}\{X=z_i\}\); discard any zero probabilities, so \(p_i>0\) and \(\sum_ip_i=1\). Then
\[ \mathbb{E}X=\sum_{i=1}^mp_iz_i,\qquad \mathbb{E}f(X)=\sum_{i=1}^mp_if(z_i). \]
Applying part (a) with \(K=\mathbb{R}^n\) (convex), weights \(\lambda_i=p_i\) and points \(x_i=z_i\):
\[ f(\mathbb{E}X)=f\Big(\sum_{i=1}^mp_iz_i\Big)\le\sum_{i=1}^mp_if(z_i)=\mathbb{E}f(X). \qquad\blacksquare \]
(The general statement for arbitrary \(X\) follows by approximation, as the book remarks.)
Exercise 1.4 (K)
(A maximum principle.) Prove that for any convex function \(f\) and any subset \(T\subset\mathbb{R}^n\), \[\sup_{x\in\mathrm{conv}(T)}f(x)=\sup_{x\in T}f(x).\]
(\(\ge\)) Every \(x\in T\) is the one-point convex combination of itself, so \(T\subseteq\mathrm{conv}(T)\) and the supremum over the larger set wins.
(\(\le\)) Take any \(x\in\mathrm{conv}(T)\) and write it as a convex combination \(x=\sum_{i=1}^m\lambda_ix_i\) with \(x_i\in T\). By the finite Jensen inequality of Exercise 1.3(a),
\[ f(x)=f\Big(\sum_{i=1}^m\lambda_ix_i\Big)\le\sum_{i=1}^m\lambda_if(x_i)\le\sum_{i=1}^m\lambda_i\,\Big(\sup_{y\in T}f(y)\Big)=\sup_{y\in T}f(y). \]
Taking the supremum over \(x\in\mathrm{conv}(T)\) completes the proof. \(\blacksquare\)
Remark. A convex function attains its maximum over a polytope at a vertex; equivalently (multiply by \(-1\)), a concave function attains its minimum at a vertex — the fact used later in the book to reduce optimizations over polytopes to vertex checks. (If \(f\) is unbounded above on \(T\), both sides are \(+\infty\) and the argument still holds verbatim.)
Exercise 1.5 (KK)
(Expressing a cube as a convex hull of its vertices.) Prove \([-1,1]^n=\mathrm{conv}\{-1,1\}^n\) by expressing any point of the cube as a convex combination of the vertices.
(\(\supseteq\)) All vertices \(\varepsilon\in\{-1,1\}^n\) lie in the cube, and the cube is convex (it is the unit ball \(B_\infty^n\) of a norm; directly: if \(\|x\|_\infty,\|y\|_\infty\le1\) then \(\|\theta x+(1-\theta)y\|_\infty\le\theta\|x\|_\infty+(1-\theta)\|y\|_\infty\le1\)). Hence \(\mathrm{conv}\{-1,1\}^n\subseteq[-1,1]^n\).
(\(\subseteq\)) Fix \(x=(x_1,\dots,x_n)\in[-1,1]^n\). For each coordinate split \(x_i\) between the levels \(\pm1\):
\[ \alpha_i:=\frac{1+x_i}{2}\ge0,\qquad \beta_i:=\frac{1-x_i}{2}\ge0,\qquad \alpha_i+\beta_i=1,\qquad \alpha_i-\beta_i=x_i . \]
Now define, for each vertex \(\varepsilon=(\varepsilon_1,\dots,\varepsilon_n)\in\{-1,1\}^n\), the weight
\[ \lambda_\varepsilon:=\prod_{i=1}^n\mu_i(\varepsilon_i),\qquad \mu_i(1):=\alpha_i,\quad \mu_i(-1):=\beta_i . \]
Nonnegativity and total mass: clearly \(\lambda_\varepsilon\ge0\), and multiplying out the product,
\[ \sum_{\varepsilon\in\{-1,1\}^n}\lambda_\varepsilon=\prod_{i=1}^n\big(\alpha_i+\beta_i\big)=1 . \]
The combination reproduces \(x\): in coordinate \(i\),
\[ \sum_{\varepsilon}\lambda_\varepsilon\,\varepsilon_i =\Big[\prod_{j\ne i}\sum_{\varepsilon_j}\mu_j(\varepsilon_j)\Big]\cdot\Big[\sum_{\varepsilon_i}\mu_i(\varepsilon_i)\varepsilon_i\Big] =1\cdot(\alpha_i-\beta_i)=x_i . \]
Hence \(x=\sum_{\varepsilon\in\{-1,1\}^n}\lambda_\varepsilon\,\varepsilon\in\mathrm{conv}\{-1,1\}^n\). \(\blacksquare\)
Sanity checks: for \(x=0\) every \(\lambda_\varepsilon=2^{-n}\) (uniform over all \(2^n\) vertices); for \(x=(1,\dots,1)\) all mass sits on the single vertex \((1,\dots,1)\). The formula uses up to \(2^n\) vertices with an explicit product structure; Caratheodory’s theorem would give \(n+1\), but existence of some explicit representation is all that is asked.
Exercise 1.6 (KK)
(Expressing a cross-polytope as a convex hull of its vertices.) Check that \(B_1^n=\mathrm{conv}(\{\pm e_1,\dots,\pm e_n\})\) and write a formula expressing any \(x\in B_1^n\) as a convex combination of \(\pm e_1,\dots,\pm e_n\).
(\(\supseteq\)) Let \(v=\sum_k\lambda_k\,\sigma_ke_{i_k}\) be a convex combination of points \(\sigma_ke_{i_k}\in\{\pm e_i\}\) (\(\sigma_k\in\{\pm1\}\)). By the triangle inequality for the \(\ell_1\) norm,
\[ \|v\|_1=\Big\|\sum_k\lambda_k\sigma_ke_{i_k}\Big\|_1\le\sum_k\lambda_k\|\sigma_ke_{i_k}\|_1=\sum_k\lambda_k=1, \]
so \(v\in B_1^n\).
(\(\subseteq\)) Fix \(x\in B_1^n\), i.e. \(\|x\|_1\le1\). Decompose each coordinate into positive and negative parts:
\[ x_i^+:=\max(x_i,0)\ge0,\qquad x_i^-:=\max(-x_i,0)\ge0,\qquad x_i^+-x_i^-=x_i,\qquad x_i^++x_i^-=|x_i|. \]
The natural formula \(\sum_i(x_i^+e_i-x_i^-e_i)\) uses total weight \(\|x\|_1\le1\); if the weight is strictly less than 1, place the leftover at the origin by splitting it between \(e_1\) and \(-e_1\) (the origin is the midpoint of that segment). With \(r:=1-\|x\|_1\ge0\):
\[ x=\sum_{i=1}^n\Big(x_i^+\,e_i+x_i^-\,(-e_i)\Big)+\frac r2\,e_1+\frac r2\,(-e_1). \]
All coefficients are nonnegative and sum to \(\sum_i(x_i^++x_i^-)+r=\|x\|_1+(1-\|x\|_1)=1\), and all points used belong to \(\{\pm e_1,\dots,\pm e_n\}\). Hence \(x\in\mathrm{conv}(\{\pm e_1,\dots,\pm e_n\})\). \(\blacksquare\)
(When \(\|x\|_1=1\) the leftover terms vanish, and any coordinate may play the role of coordinate 1. The book calls this the absolute convex hull of the basis.)
Exercise 1.7 (KK)
(Random graphs with random number of vertices.) In Example 1.4.2, let the number of students be \(n\sim\mathrm{Pois}(\lambda)\), each pair becoming friends with probability \(p\) independently. Show that if \(p\ge 2\ln(\lambda)/\lambda\) then there are no friendless students with probability at least \(1-1/\lambda\).
Condition on the (random) number of students. Given \(\{n=m\}\), the friendship graph is \(G(m,p)\), independent of \(n\), so the union-bound computation of Example 1.4.2 applies verbatim: student \(i\) is friendless with probability \((1-p)^{m-1}\), and
\[ \mathbb{P}(\text{some student friendless}\mid n=m)\le m(1-p)^{m-1},\qquad m\ge1, \]
(and the probability is \(0\) for \(m=0\); for \(m=1\) the lone student is friendless with probability \(1=1\cdot(1-p)^0\), consistent with the formula). By the law of total probability,
\[ \mathbb{P}(\text{some student friendless})\le\mathbb{E}\big[n(1-p)^{n-1}\big],\qquad n\sim\mathrm{Pois}(\lambda). \]
Evaluate the series (using \(m/m!=1/(m-1)!\) and then shifting \(j=m-1\)):
\[ \mathbb{E}\big[n(1-p)^{n-1}\big] =\sum_{m=1}^\infty m(1-p)^{m-1}e^{-\lambda}\frac{\lambda^m}{m!} =\lambda e^{-\lambda}\sum_{j=0}^\infty\frac{\big((1-p)\lambda\big)^j}{j!} =\lambda e^{-\lambda}e^{(1-p)\lambda} =\lambda e^{-p\lambda}. \]
So \(\mathbb{P}(\text{some friendless})\le\lambda e^{-p\lambda}\). If \(p\ge2\ln(\lambda)/\lambda\), i.e. \(p\lambda\ge2\ln\lambda\), then
\[ \lambda e^{-p\lambda}\le\lambda e^{-2\ln\lambda}=\lambda\cdot\lambda^{-2}=\frac1\lambda, \]
and therefore \(\mathbb{P}(\text{no friendless student})\ge1-1/\lambda\). \(\blacksquare\)
Remarks. (i) The hidden identity is the Poisson size-biasing formula \(\mathbb{E}[n\,f(n-1)]=\lambda\,\mathbb{E}f(n)\), here with \(f(u)=(1-p)^u\): it turns the union bound into an exact expectation. (ii) The constant is \(2\) rather than the \(4\) of Example 1.4.2 because the Poisson average trades the crude \(n(1-p)^n\le\) bound for the exact \(\lambda e^{-p\lambda}=\lambda^{1-2}\) at the threshold. (For \(\lambda\le1\) the conclusion is trivial since \(1-1/\lambda\le0\).)
Exercise 1.8 (KK)
(Independent sets in random graphs.) For \(n\ge7\) students with each pair becoming friends independently with probability \(1/2\), show that with probability at least \(1-1/n\) there is no independent subset of more than \(2\log_2 n\) students.
Recall a set of vertices is independent if no two of its members are friends. Let
\[ k:=\lfloor 2\log_2 n\rfloor+1, \]
the smallest integer strictly larger than \(2\log_2 n\). Any independent set with more than \(2\log_2 n\) members contains an independent subset of size exactly \(k\), so it suffices to bound \(\mathbb{P}\{\text{exists independent set of size }k\}\).
Two counts. (i) There are \(\binom nk\) candidate subsets \(S\subseteq\{1,\dots,n\}\) with \(|S|=k\). (ii) For a fixed \(S\), the pairs inside \(S\) number \(\binom k2=k(k-1)/2\), and \(S\) is independent iff each of these pairs fails to be an edge; the pairs are independent and each is a non-edge with probability \(1/2\), so
\[ \mathbb{P}\{S\text{ independent}\}=2^{-k(k-1)/2}. \]
Union bound. Using \(\binom nk\le(en/k)^k\) (Exercise 0.6),
\[ \mathbb{P}\{\text{exists independent set of size }k\}\le\binom nk2^{-k(k-1)/2}\le\Big(\frac{en}{k}\Big)^k2^{-k(k-1)/2}. \tag{$\ast$} \]
Bookkeeping (base 2). Write \(a:=\log_2 n\) and \(\delta:=k-2a\in(0,1]\), so \(k>2a\) and \((k-1)/2=a+(\delta-1)/2\). Taking \(\log_2\) of \((\ast)\):
\[ \log_2\mathbb{P}\le k\big(\log_2e+a-\log_2k\big)-\frac{k(k-1)}2 =k\Big(\log_2e+\frac{1-\delta}{2}-\log_2k\Big) \le-k\Big(\log_2k-\log_2e-\frac12\Big). \]
Set \(h(u):=u(\log_2u-\log_2e-\tfrac12)\). Since \(h'(u)=\log_2u-\tfrac12>0\) for \(u\ge2\), \(h\) is increasing on \([6,\infty)\).
Case \(n\ge8\). Then \(a=\log_2n\ge3\), so \(k>2a\ge6\) and
\[ h(k)\ge h(2a)=2a\big(\log_2(2a)-\log_2e-\tfrac12\big) \ge 2a\cdot 0.64\ge a, \]
where the third step uses \(2a\ge6\) (so \(\log_2(2a)\ge\log_26\)) and the numerical value \(\log_26-\log_2e-\tfrac12\approx0.6424>0.5\), making \(2a\cdot0.64\ge a\). Hence \(\log_2\mathbb{P}\le-a\), i.e.
\[ \mathbb{P}\{\text{exists independent set of size }k\}\le2^{-a}=\frac1n . \]
Case \(n=7\). Directly: \(k=6\), \(\binom76=7\), so the bound \((\ast)\) equals \(7\cdot2^{-15}\approx2.1\cdot10^{-4}\le\frac17\).
Combining: with probability at least \(1-1/n\) there is no independent set larger than \(2\log_2n\). \(\blacksquare\)
Remarks. (i) The factorial inside \(\binom nk\le(en/k)^k\) is essential: the crude bound \(n^k2^{-k(k-1)/2}\) is useless here (\(k\,a-k(k-1)/2\approx k/2>0\)), because the events “S is independent” overlap heavily. (ii) The threshold is sharp: the largest independent set in \(G(n,\tfrac12)\) is about \(2\log_2 n\) with high probability (Notes §1.8), so the numerical constant 2 cannot be increased.
Exercise 1.9 (K)
(Dense random graphs have no isolated vertices.) Suppose \(n\) students arrive, each pair becoming friends independently with probability \(p_n>(1+\varepsilon)\ln n/n\) for every \(n\). Prove that there are no friendless students with probability converging to \(1\) as \(n\to\infty\).
Exactly as in Example 1.4.2, the union bound gives
\[ \mathbb{P}\{\text{some student friendless}\}\le n(1-p_n)^{n-1}\le n\,e^{-p_n(n-1)}, \]
using \(1-u\le e^{-u}\). The problem reduces (as the book’s hint says) to showing \(ne^{-p_n(n-1)}\to0\). By the assumption on \(p_n\),
\[ p_n(n-1)>\frac{(1+\varepsilon)\ln n}{n}(n-1)=(1+\varepsilon)\Big(1-\frac1n\Big)\ln n . \]
Choose \(n_0:=\lceil 2(1+\varepsilon)/\varepsilon\rceil\), so that \(1/n\le\varepsilon/(2(1+\varepsilon))\) for \(n\ge n_0\), equivalently \((1+\varepsilon)(1-\frac1n)\ge1+\frac\varepsilon2\). Then, for \(n\ge n_0\),
\[ \mathbb{P}\{\text{some friendless}\}\le n\cdot n^{-(1+\varepsilon/2)}=n^{-\varepsilon/2}\;\longrightarrow\;0\qquad(n\to\infty). \]
Hence \(\mathbb{P}\{\text{no friendless students}\}\ge1-n^{-\varepsilon/2}\to1\). \(\blacksquare\)
Remark. Only the eventual behavior matters, so the hypothesis “for every \(n\)” can be read as “for all large \(n\)”. Together with Exercise 1.10 this pins the isolated-vertex threshold of the Erdős–Rényi model \(G(n,p)\) at \(p\approx\ln n/n\) (Notes §1.8).
Exercise 1.10 (KKKK)
(Sparse random graphs have isolated vertices.) Assume \(p_n<(1-\varepsilon)\ln n/n\) for every \(n\). Prove via the second moment method that there is at least one friendless student with probability converging to \(1\): (a) with \(S_n=X_1+\cdots+X_n\) the number of friendless students, show \(\mu_n=\mathbb{E}S_n\to\infty\); (b) compute \(\mathbb{E}S_n^2\) by expanding and conclude \(\mathrm{Var}(S_n)/\mu_n^2\to0\); (c) finish with the Chebyshev inequality.
(a) Let \(X_i\) be the indicator of the event that student \(i\) is friendless, i.e. that all \(n-1\) pairs \(\{i,j\}\), \(j\ne i\), are non-edges. These events are independent, so
\[ \mathbb{E}X_i=(1-p_n)^{n-1},\qquad \mu_n=\mathbb{E}S_n=n(1-p_n)^{n-1}. \]
Lower bound for \(\mu_n\). Since \(p_n<(1-\varepsilon)\ln n/n\to0\), we have \(p_n\le\tfrac12\) for all large \(n\). For \(0\le u\le\tfrac12\) the series \(-\ln(1-u)=u+\tfrac{u^2}2+\tfrac{u^3}3+\cdots\le u+u^2\) (each tail term \(\tfrac{u^m}{m}\le\tfrac{u^m}2\) for \(m\ge2\), and \(\tfrac12\sum_{m\ge2}u^m=\tfrac{u^2}{2(1-u)}\le u^2\) when \(u\le\tfrac12\)) gives \(\ln(1-u)\ge-u-u^2\). Hence, for large \(n\),
\[ \ln\mu_n=\ln n+(n-1)\ln(1-p_n)\ge\ln n-(n-1)(p_n+p_n^2)\ge\ln n-np_n-np_n^2 . \]
Now \(np_n<(1-\varepsilon)\ln n\) and \(np_n^2=(np_n)\,p_n<\ln n\cdot\frac{\ln n}{n}\to0\), so
\[ \ln\mu_n>\ln n-(1-\varepsilon)\ln n-\frac{\ln^2n}{n}=\varepsilon\ln n-o(1)\;\longrightarrow\;+\infty, \]
i.e. \(\mu_n\ge n^{\varepsilon-o(1)}\to\infty\): the expected number of friendless students diverges.
Why this is not enough (the book’s “(Why?)”). A diverging expectation can be produced by rare catastrophes in which many students are friendless at once. Example: if with probability \(\tfrac12\) the whole graph were empty, then \(S_n=n\) with probability \(\tfrac12\) and \(S_n=0\) otherwise, so \(\mu_n=n/2\to\infty\) while \(\mathbb{P}\{S_n\ge1\}=\tfrac12\not\to1\). The second moment computation rules out such pile-ups.
(b) Expand the square:
\[ \mathbb{E}S_n^2=\sum_{i=1}^n\mathbb{E}X_i+\sum_{i\ne j}\mathbb{E}X_iX_j . \]
The diagonal sum is \(\mu_n\). For \(i\ne j\), the product \(X_iX_j\) is the indicator of the event that both \(i\) and \(j\) are friendless, which forces all pairs in
\[ \big\{(i,k):k\notin\{i,j\}\big\}\;\cup\;\big\{(j,k):k\notin\{i,j\}\big\}\;\cup\;\big\{(i,j)\big\}, \]
i.e. \(2(n-2)+1=2n-3\) specific pairs, to be non-edges. These pair-events are independent, so
\[ \mathbb{E}X_iX_j=(1-p_n)^{2n-3}, \qquad \mathbb{E}S_n^2=\mu_n+n(n-1)(1-p_n)^{2n-3}. \tag{$\dagger$} \]
Divide by \(\mu_n^2=n^2(1-p_n)^{2n-2}\), noting \(\dfrac{n(n-1)(1-p_n)^{2n-3}}{n^2(1-p_n)^{2n-2}}=\dfrac{n-1}{n}\cdot\dfrac1{1-p_n}\):
\[ \frac{\mathbb{E}S_n^2}{\mu_n^2}=\frac1{\mu_n}+\Big(1-\frac1n\Big)\frac1{1-p_n}, \qquad\text{hence}\qquad \frac{\mathrm{Var}(S_n)}{\mu_n^2}=\frac1{\mu_n}+\Big(1-\frac1n\Big)\frac1{1-p_n}-1 =\frac1{\mu_n}+\frac{p_n-1/n}{1-p_n}, \]
where the bracket was simplified via \(\big(1-\tfrac1n\big)-(1-p_n)=p_n-\tfrac1n\). For large \(n\), \(p_n\le\tfrac12\), so the second term is at most \(\dfrac{p_n}{1-p_n}\le 2p_n<\dfrac{2\ln n}{n}\to0\) (and if \(p_n<1/n\) it is negative, which is even better), while \(\dfrac1{\mu_n}\to0\) by part (a). Therefore
\[ \frac{\mathrm{Var}(S_n)}{\mu_n^2}\longrightarrow 0 . \qquad\blacksquare \]
(c) On the event \(\{S_n=0\}\) we have \(|S_n-\mu_n|=\mu_n\), so the Chebyshev inequality yields
\[ \mathbb{P}\{S_n=0\}\le\mathbb{P}\{|S_n-\mu_n|\ge\mu_n\}\le\frac{\mathrm{Var}(S_n)}{\mu_n^2}\longrightarrow 0 . \]
Hence \(\mathbb{P}\{\text{at least one friendless student}\}=1-\mathbb{P}\{S_n=0\}\to1\). \(\blacksquare\)
Remark. This is the prototype of the second moment method: \(\mathrm{Var}(S_n)=o(\mu_n^2)\) forces the integer-valued \(S_n\) to be positive whp, because \(S_n\) concentrates near \(\mu_n\to\infty\). Combined with Exercise 1.9 it locates the isolated-vertex threshold at \(p\approx\ln n/n\).
Exercise 1.11 (KK)
(Monotonicity of the \(L_p\) norm.) (a) Show \(\|X\|_{L_p}\le\|X\|_{L_q}\) for any \(0\le p\le q\le\infty\). (b) Show the inequality cannot be reversed: for any \(0\le p<q\le\infty\) find \(X\) with \(\|X\|_{L_p}<\infty\) and \(\|X\|_{L_q}=\infty\).
(a) (Lyapunov’s inequality.) If \(\|X\|_{L_q}=\infty\) there is nothing to prove, so assume it finite; the case \(X=0\) a.s. is trivial. Let first \(0<p\le q<\infty\) and normalize
\[ Y:=\frac{|X|}{\|X\|_{L_q}},\qquad\text{so that}\qquad \mathbb{E}|Y|^q=1 . \]
The map \(t\mapsto t^{q/p}\) is convex on \([0,\infty)\) because \(q/p\ge1\). Jensen’s inequality applied to the random variable \(|Y|^p\ge0\) gives
\[ \big(\mathbb{E}|Y|^p\big)^{q/p}\le\mathbb{E}\big(|Y|^p\big)^{q/p}=\mathbb{E}|Y|^q=1 \quad\Longrightarrow\quad \mathbb{E}|Y|^p\le 1 . \]
Scaling back (homogeneity of the norm),
\[ \|X\|_{L_p}=\|X\|_{L_q}\,\big(\mathbb{E}|Y|^p\big)^{1/p}\le\|X\|_{L_q}. \]
For \(q=\infty\): \(|X|\le\|X\|_{L_\infty}\) a.s., so \(\|X\|_{L_p}=(\mathbb{E}|X|^p)^{1/p}\le(\|X\|_{L_\infty}^p)^{1/p}=\|X\|_{L_\infty}\).
Endpoint \(p=0\) (convention flag). The statement’s content is \(0<p\le q\); for \(p=0\) one uses the limit convention \(\|X\|_{L_0}:=\lim_{r\downarrow0}\|X\|_{L_r}=\exp(\mathbb{E}\ln|X|)\), and monotonicity extends since \(\ln\) is concave: \(\exp(\mathbb{E}\ln|X|)\le\exp\big(\ln(\mathbb{E}|X|^q)^{1/q}\big)=\|X\|_{L_q}\).
(b) (A heavy-tailed discrete law.) Let \(X\) take the values \(2,4,8,\dots,2^m,\dots\) with
\[ \mathbb{P}\{X=2^m\}=c\,\frac{2^{-mp}}{m^2},\qquad m=1,2,\dots, \qquad c:=\Big(\sum_{m\ge1}\frac{2^{-mp}}{m^2}\Big)^{-1}\in(0,\infty), \]
the series converging for every \(p>0\). Then:
- Finite \(p\)-th moment: \(\displaystyle \mathbb{E}X^p=\sum_{m\ge1}2^{mp}\cdot c\,\frac{2^{-mp}}{m^2}=c\sum_{m\ge1}\frac1{m^2}<\infty\), so \(\|X\|_{L_p}<\infty\). (For \(p=0\) with the limit convention, \(\mathbb{E}\ln X=c\ln2\sum_m\frac{m}{m^2}<\infty\) as well.)
- Infinite \(q\)-th moment: if \(q<\infty\), \(\displaystyle \mathbb{E}X^q=c\sum_{m\ge1}\frac{2^{m(q-p)}}{m^2}=\infty\) since \(2^{m(q-p)}\to\infty\) (\(q>p\)). If \(q=\infty\), then \(\|X\|_{L_\infty}=\infty\) simply because \(X\) is unbounded and each value has positive probability.
Hence \(\|X\|_{L_q}=\infty\) in all cases, as required. \(\blacksquare\)
Remark. The Pareto-type tail \(\mathbb{P}\{X>t\}\sim 1/(t^p\log^2t)\) would work equally well; the point is a tail decaying just faster than \(t^{-p}\).
Exercise 1.12 (K)
(Interpolation between \(L_1\) and \(L_\infty\).) Show that \(\|X\|_{L_p}\le\|X\|_{L_1}^{1/p}\,\|X\|_{L_\infty}^{1-1/p}\) for any \(1<p<\infty\).
If \(\|X\|_{L_\infty}=\infty\) the bound is vacuous, so assume it finite. Pointwise, factor the \(p\)-th power and bound the second factor by the essential supremum (as the book’s hint suggests):
\[ |X|^p=|X|\cdot|X|^{p-1}\le|X|\cdot\|X\|_{L_\infty}^{p-1}\qquad\text{a.s.} \]
Take expectations (both sides integrable since \(\|X\|_{L_1}<\infty\) and \(\|X\|_{L_\infty}<\infty\)):
\[ \mathbb{E}|X|^p\le\|X\|_{L_\infty}^{p-1}\,\mathbb{E}|X|=\|X\|_{L_\infty}^{p-1}\,\|X\|_{L_1}. \]
Taking the \(1/p\)-th power and using \(\tfrac{p-1}{p}=1-\tfrac1p\):
\[ \|X\|_{L_p}\le\|X\|_{L_1}^{1/p}\,\|X\|_{L_\infty}^{1-1/p}. \qquad\blacksquare \]
Remark. This is log-convexity (interpolation) of \(p\mapsto\|X\|_{L_p}\): the bound refines the trivial \(\|X\|_{L_1}\le\|X\|_{L_p}\le\|X\|_{L_\infty}\) (valid for \(p\ge1\)), and is useful when \(X\) is known to be essentially bounded and to have small mean.
Exercise 1.13 (KKK)
(Expectation of a maximum.) Let \(X_1,\dots,X_n\) be nonnegative. (a) Prove \(\max_{i\le n}\mathbb{E}X_i\le\mathbb{E}\max_{i\le n}X_i\le n\cdot\max_{i\le n}\mathbb{E}X_i\). (b) Show both bounds can be exact. (c) Find independent \(X_1,\dots,X_n\) with \(\mathbb{E}\max_iX_i>cn\max_i\mathbb{E}X_i\) for an absolute \(c>0\).
(a) Lower bound. For each fixed \(j\), \(\max_{i\le n}X_i\ge X_j\) pointwise; taking expectations, \(\mathbb{E}\max_iX_i\ge\mathbb{E}X_j\), and maximizing over \(j\) gives the claim. (Equivalent Jensen route, as in the hint: \(\mathbb{E}\max_iX_i=\mathbb{E}\|(X_1,\dots,X_n)\|_{\ell_\infty}\ge\|(\mathbb{E}X_1,\dots,\mathbb{E}X_n)\|_{\ell_\infty}=\max_i\mathbb{E}X_i\) by (1.19) — the norm to use is the \(\ell_\infty\) norm.)
Upper bound. Nonnegativity makes the maximum dominated by the sum, pointwise:
\[ \max_{i\le n}X_i\le\sum_{i=1}^nX_i\quad\Longrightarrow\quad \mathbb{E}\max_{i\le n}X_i\le\sum_{i=1}^n\mathbb{E}X_i\le n\cdot\max_{i\le n}\mathbb{E}X_i . \qquad\blacksquare \]
(b) Lower bound tight. Take \(X_1\equiv1\) and \(X_2=\cdots=X_n\equiv0\). Then \(\max_iX_i\equiv1\) a.s., so \(\mathbb{E}\max_iX_i=1=\max_i\mathbb{E}X_i>0\). (Identical variables \(X_1=\cdots=X_n\) with \(\mathbb{E}X_1>0\) work as well: the max equals each of them.)
Upper bound tight. Partition the sample space into \(n\) disjoint events \(A_1,\dots,A_n\) with \(\mathbb{P}(A_i)=1/n\) (e.g. cut a uniform random variable into \(n\) equal pieces), and set \(Y_i:=\mathbf{1}_{A_i}\). Since the \(A_i\) are disjoint, \(\max_iY_i=\mathbf{1}_{\cup_iA_i}=\sum_iY_i\), so
\[ \mathbb{E}\max_iY_i=\mathbb{P}\Big(\bigcup_iA_i\Big)=1 = n\cdot\frac1n=n\cdot\max_i\mathbb{E}Y_i>0 . \qquad\blacksquare \]
(c) (Independent, nearly-worst case.) Let \(X_1,\dots,X_n\) be independent with the scaled Bernoulli law
\[ X_i=\begin{cases}n,&\text{with probability }1/n,\\[2pt]0,&\text{with probability }1-1/n,\end{cases} \]
i.e. \(X_i=n\,\mathrm{Ber}(1/n)\) — in the hint’s parametrization, Bernoulli variables scaled so that the level equals the reciprocal of the success probability. Then \(\mathbb{E}X_i=n\cdot\frac1n=1\), so \(\max_i\mathbb{E}X_i=1\), and
\[ \mathbb{E}\max_{i\le n}X_i =n\,\mathbb{P}\{\text{at least one }X_i\text{ equals }n\} =n\big(1-(1-1/n)^n\big)\ge n\big(1-e^{-1}\big), \]
using \((1-1/n)^n\le e^{-1}\). Hence
\[ \mathbb{E}\max_iX_i\ge\Big(1-\frac1e\Big)\,n\cdot\max_{i\le n}\mathbb{E}X_i, \]
with absolute constant \(c=1-1/e\approx0.632>0\). \(\blacksquare\)
Remark. So even for iid variables the factor \(n\) in (a) is attained up to a constant: the maximum carries a constant fraction of the sum — the signature of heavy-tailed (rare-spike) behavior, since the bound \(\mathbb{E}\max\le\mathbb{E}\sum\) is tight exactly when one term dominates the sum.
Exercise 1.14 (KK)
Let \(X_1,\dots,X_n\) be nonnegative random variables. Prove that for any \(1\le p<\infty\), \[\Big(\sum_{i=1}^n(\mathbb{E}X_i)^p\Big)^{1/p}\;\le\;\mathbb{E}\Big(\sum_{i=1}^nX_i^p\Big)^{1/p}\;\le\;\Big(\sum_{i=1}^n\mathbb{E}X_i^p\Big)^{1/p} .\]
View \(X:=(X_1,\dots,X_n)\) as a random vector with values in \(\mathbb{R}^n_+\); note \(\mathbb{E}X=(\mathbb{E}X_1,\dots,\mathbb{E}X_n)\) coordinate-wise.
Left inequality (Jensen with the \(\ell_p\) norm). For \(p\ge1\) the \(\ell_p\) norm is a convex function on \(\mathbb{R}^n\), so the Jensen inequality (1.19) for random vectors yields
\[ \Big(\sum_{i=1}^n(\mathbb{E}X_i)^p\Big)^{1/p}=\|\mathbb{E}X\|_{\ell_p}\le\mathbb{E}\|X\|_{\ell_p}=\mathbb{E}\Big(\sum_{i=1}^nX_i^p\Big)^{1/p} . \]
Right inequality (Jensen with \(t\mapsto t^p\)). Apply the Jensen inequality to the convex function \(\varphi(t)=t^p\) on \([0,\infty)\) and the nonnegative random variable \(Z:=\big(\sum_{i=1}^nX_i^p\big)^{1/p}\):
\[ \Big(\mathbb{E}\Big(\sum_{i=1}^nX_i^p\Big)^{1/p}\Big)^{p}=(\mathbb{E}Z)^p\le\mathbb{E}Z^p=\mathbb{E}\sum_{i=1}^nX_i^p=\sum_{i=1}^n\mathbb{E}X_i^p . \]
Taking the \(1/p\)-th power finishes the proof. \(\blacksquare\)
Remarks. (i) If \(\sum_i\mathbb{E}X_i^p=\infty\) the right inequality is vacuous; the left inequality holds in \([0,\infty]\) as it stands. (ii) The left inequality is Minkowski-in-reverse for expectations; the right one bounds an expectation of an \(\ell_p\) norm by the \(\ell_p\) norm of the expectations of powers — a workhorse in Chapter 3 (moment bounds for norms of random vectors).
Exercise 1.15 (K)
(Integrated tail formulas.) (a) For any random variable \(X\): \(\mathbb{E}X=\int_0^\infty\mathbb{P}\{X>t\}\,dt-\int_{-\infty}^0\mathbb{P}\{X<t\}\,dt\). (b) For \(X\ge0\) and increasing differentiable \(f:\mathbb{R}_+\to\mathbb{R}_+\) with \(f(0)=0\): \(\mathbb{E}f(X)=\int_0^\infty\mathbb{P}\{X>t\}f'(t)\,dt\). (c) Deduce \(\mathbb{E}|X|^p=\int_0^\infty\mathbb{P}\{|X|>t\}\,pt^{p-1}\,dt\) for \(p\in(0,\infty)\).
(a) Decompose \(X=X^+-X^-\) with \(X^+=\max(X,0)\), \(X^-=\max(-X,0)\), both nonnegative. Apply Lemma 1.6.1 (the integrated tail formula for nonnegative random variables) to each part. For \(t\ge0\):
\[ \{X^+>t\}=\{X>t\}\qquad\text{and}\qquad\{X^->t\}=\{-X>t\}=\{X<-t\}. \]
(The first identity uses that \(X^+>t\ge0\) forces \(X=X^+>t\), and conversely.) Therefore
\[ \mathbb{E}X^+=\int_0^\infty\mathbb{P}\{X>t\}\,dt,\qquad \mathbb{E}X^-=\int_0^\infty\mathbb{P}\{X<-t\}\,dt . \]
In the second integral substitute \(s=-t\) (\(dt=-ds\); \(t:0\to\infty\) means \(s:0\to-\infty\)):
\[ \int_0^\infty\mathbb{P}\{X<-t\}\,dt=\int_{-\infty}^{0}\mathbb{P}\{X<s\}\,ds . \]
Subtracting, \(\mathbb{E}X=\mathbb{E}X^+-\mathbb{E}X^-\) gives the claimed identity; both sides are finite or infinite simultaneously (each integral is finite exactly when the corresponding \(\mathbb{E}X^\pm\) is). \(\blacksquare\)
(b) Since \(f\) is differentiable on \([0,\infty)\) with \(f(0)=0\), the fundamental theorem of calculus gives, for every \(x\ge0\),
\[ f(x)=\int_0^x f'(t)\,dt=\int_0^\infty f'(t)\,\mathbf{1}_{\{t<x\}}\,dt , \]
(the integrand vanishes for \(t\ge x\)). Also \(f'\ge0\) because \(f\) is increasing, so the integrand \(f'(t)\mathbf{1}_{\{X>t\}}\) is nonnegative and the Tonelli theorem lets us swap expectation and integral:
\[ \mathbb{E}f(X)=\int_0^\infty f'(t)\,\mathbb{E}\mathbf{1}_{\{X>t\}}\,dt=\int_0^\infty\mathbb{P}\{X>t\}\,f'(t)\,dt , \]
with the two sides simultaneously finite or \(+\infty\). \(\blacksquare\) (The book’s alternative route: apply Lemma 1.6.1 to the nonnegative variable \(f(X)\) and change variables \(t=f(s)\), \(dt=f'(s)ds\); the layer-cake argument above avoids invertibility issues where \(f\) is flat.)
(c) Apply part (b) to the nonnegative random variable \(|X|\) and the function \(f(t)=t^p\), which is increasing, differentiable, and satisfies \(f(0)=0\), with \(f'(t)=pt^{p-1}\):
\[ \mathbb{E}|X|^p=\int_0^\infty\mathbb{P}\{|X|>t\}\,p\,t^{p-1}\,dt . \qquad\blacksquare \]
Remark. Part (c) is valid for all \(p>0\) (no convexity needed) and is the moment/tail dictionary used throughout Chapters 2–5.
Exercise 1.16 (KK)
(Paley–Zygmund inequality.) Let \(X\ge0\) have finite variance. Show that for any \(\varepsilon\in[0,1]\), \[\mathbb{P}\{X>\varepsilon\,\mathbb{E}X\}\;\ge\;(1-\varepsilon)^2\,\frac{(\mathbb{E}X)^2}{\mathbb{E}[X^2]} .\]
The promised example (a nonnegative variable typically far below its mean): take \(X=n^2\) with probability \(1/n\) and \(X=0\) otherwise; then \(\mathbb{E}X=n\) but \(\mathbb{P}\{X>\tfrac12\mathbb{E}X\}=1/n\to0\). Such a collapse cannot happen when the second moment is controlled:
Proof. If \(\mathbb{E}X=0\) then \(X=0\) a.s., both sides vanish, and the claim is trivial; so assume \(\mathbb{E}X>0\). Following the hint, consider the “good” event \(A:=\{X>\varepsilon\,\mathbb{E}X\}\) and split the expectation over \(A\) and \(A^c\):
\[ \mathbb{E}X=\mathbb{E}\big[X\mathbf{1}_A\big]+\mathbb{E}\big[X\mathbf{1}_{A^c}\big]. \]
On \(A^c\) we have \(X\le\varepsilon\,\mathbb{E}X\) pointwise, so \(\mathbb{E}[X\mathbf{1}_{A^c}]\le\varepsilon\,\mathbb{E}X\), whence
\[ (1-\varepsilon)\,\mathbb{E}X\;\le\;\mathbb{E}\big[X\mathbf{1}_A\big]. \]
Now apply the Cauchy–Schwarz inequality to \(X\mathbf{1}_A=\,X\cdot\mathbf{1}_A\):
\[ (1-\varepsilon)\,\mathbb{E}X\;\le\;\mathbb{E}\big[X\mathbf{1}_A\big]\;\le\;\big(\mathbb{E}X^2\big)^{1/2}\,\big(\mathbb{P}(A)\big)^{1/2}. \]
Squaring and dividing by \(\mathbb{E}X^2\):
\[ \mathbb{P}\{X>\varepsilon\,\mathbb{E}X\}=\mathbb{P}(A)\;\ge\;(1-\varepsilon)^2\,\frac{(\mathbb{E}X)^2}{\mathbb{E}[X^2]} . \qquad\blacksquare \]
(For \(\varepsilon=1\) this reads \(0\ge0\); the strict inequality in the event is immaterial — \(\ge\) would give the same bound.)
Remark. Paley–Zygmund is the qualitative inverse of Markov’s inequality: writing \(\theta=(\mathbb{E}X)^2/\mathbb{E}X^2\in(0,1]\), \(X\) exceeds any fixed fraction \(\varepsilon<1\) of its mean with probability at least \((1-\varepsilon)^2\theta\). It powers second-moment lower bounds (e.g. Exercise 2.30).
Exercise 1.17 (KKK)
(Comparison of the \(\ell_p\) norms.) Let \(0\le p\le q\le\infty\). (a) Prove \(\|x\|_q\le\|x\|_p\le n^{\frac1p-\frac1q}\|x\|_q\) for any \(x\in\mathbb{R}^n\). (b) Find nonzero \(x,y\in\mathbb{R}^n\) with \(\|x\|_p=\|x\|_q\) and \(\|y\|_p=n^{\frac1p-\frac1q}\|y\|_q\).
(a) Throughout \(0<p\le q\le\infty\) (see the endpoint note below); \(x=0\) is trivial.
Left inequality. For \(q<\infty\), bound each coordinate by the \(\ell_p\) norm (directly, \(\|x\|_p^p=\sum_j|x_j|^p\ge|x_i|^p\)) and rescale:
\[ \|x\|_q^q=\sum_{i=1}^n|x_i|^q=\sum_{i=1}^n|x_i|^p\,|x_i|^{q-p} \le\|x\|_p^{q-p}\sum_{i=1}^n|x_i|^p=\|x\|_p^q . \]
Taking \(q\)-th roots gives \(\|x\|_q\le\|x\|_p\). (The hint phrases this after normalizing \(\|x\|_\infty\le1\), which makes \(|x_i|^q\le|x_i|^p\) — the same computation.) For \(q=\infty\) it is immediate that \(\|x\|_\infty=\max_i|x_i|\le\|x\|_p\).
Right inequality. For \(q<\infty\), apply Hölder’s inequality on \(\{1,\dots,n\}\) with the conjugate exponents \(\frac qp\ge1\) and \(\frac q{q-p}\) to \(|x_i|^p\cdot1\):
\[ \|x\|_p^p=\sum_{i=1}^n|x_i|^p\le\Big(\sum_{i=1}^n\big(|x_i|^p\big)^{q/p}\Big)^{p/q}\cdot\Big(\sum_{i=1}^n1\Big)^{1-p/q} =n^{1-p/q}\,\|x\|_q^p . \]
Taking \(p\)-th roots: \(\|x\|_p\le n^{\frac1p-\frac1q}\|x\|_q\). For \(q=\infty\): \(\|x\|_p^p=\sum|x_i|^p\le n\|x\|_\infty^p\), so \(\|x\|_p\le n^{1/p}\|x\|_\infty\). \(\blacksquare\)
Endpoint \(p=0\) (convention flag). The meaningful statement is \(0<p\le q\). With the limit reading \(\|x\|_0=\lim_{p\downarrow0}\|x\|_p\) both inequalities hold trivially (that limit is \(+\infty\) unless \(x\) has at most one nonzero coordinate). With the usual counting convention \(\|x\|_0=|\mathrm{supp}\,x|=:s\), the correct \(p\to0\) analogue of the pair is \(\|x\|_q\le s^{1/q}\|x\|_\infty\le s^{1/q}\|x\|_q\) — same proofs with \(s\) in place of a full support.
(b) No-dimensional-penalty equality (sparse vector): \(x=e_1\). Both norms equal \(1\): \(\|e_1\|_p=\|e_1\|_q=1\).
Full-penalty equality (flat vector): \(y=(1,1,\dots,1)\). Then \(\|y\|_p=n^{1/p}\) and \(\|y\|_q=n^{1/q}\), so
\[ \|y\|_p=n^{1/p}=n^{\frac1p-\frac1q}\cdot n^{1/q}=n^{\frac1p-\frac1q}\,\|y\|_q . \qquad\blacksquare \]
Remark. Sparse vectors “enjoy” small \(\ell_1\)-type norms, flat vectors suffer the full dimensional factor \(n^{1/p-1/q}\) — both extremes will matter in Chapter 9 (sparse recovery).
Exercise 1.18 (K)
(The \(\ell_\infty\) norm is the limit of the \(\ell_p\) norms.) (a) Prove \(\|x\|_p\to\|x\|_\infty\) as \(p\to\infty\). (b) Show that if \(p\ge\ln n\) then \(\|x\|_\infty\le\|x\|_p\le e\,\|x\|_\infty\).
(a) If \(x=0\) all norms are \(0\). Otherwise let \(M:=\|x\|_\infty>0\) and pick an index \(i_0\) with \(|x_{i_0}|=M\). For every \(p\in(0,\infty)\):
\[ \|x\|_p=\Big(\sum_{i=1}^n|x_i|^p\Big)^{1/p}\ge\big(|x_{i_0}|^p\big)^{1/p}=M \qquad\text{and}\qquad \|x\|_p\le\big(nM^p\big)^{1/p}=n^{1/p}\,M . \]
Since \(n^{1/p}=e^{(\ln n)/p}\to e^0=1\) as \(p\to\infty\), the squeeze theorem yields \(\lim_{p\to\infty}\|x\|_p=M=\|x\|_\infty\). \(\blacksquare\)
(b) Apply Exercise 1.17(a) with \(q=\infty\) (as the hint suggests):
\[ \|x\|_\infty\;\le\;\|x\|_p\;\le\;n^{1/p}\,\|x\|_\infty . \]
If \(p\ge\ln n\), then \(n^{1/p}=e^{(\ln n)/p}\le e^1=e\), so
\[ \|x\|_\infty\le\|x\|_p\le e\,\|x\|_\infty . \qquad\blacksquare \]
Remark. So for logarithmic \(p\) the \(\ell_p\) norm is already a constant-factor proxy for the \(\ell_\infty\) norm — the reason \(p\approx\log n\) marks the crossover in many arguments about maxima vs. sums (e.g. Exercise 3.6).
Exercise 1.19 (KKK)
(Duality of the \(\ell_p\) norms.) Let \(p,p'\in[1,\infty]\) be conjugate exponents. (a) Show that for any vector \(x\) there exists \(y\ne0\) with \(\langle x,y\rangle=\|x\|_p\,\|y\|_{p'}\). (b) Conclude \(\max\{\langle x,y\rangle: y\in B_{p'}^n\}=\|x\|_p\).
(a) If \(x=0\), any \(y\ne0\) gives \(\langle x,y\rangle=0=\|x\|_p\|y\|_{p'}\). Assume \(x\ne0\), so \(\|x\|_p>0\).
Case \(1<p<\infty\). Define
\[ y_i:=\mathrm{sign}(x_i)\,|x_i|^{p-1},\qquad i=1,\dots,n . \]
Then \(y\ne0\) and, using \((p-1)p'=p\) (which follows from \(\tfrac1p+\tfrac1{p'}=1\), i.e. \(p'=\tfrac{p}{p-1}\)):
\[ \langle x,y\rangle=\sum_{i=1}^n|x_i|^p=\|x\|_p^p, \qquad \|y\|_{p'}=\Big(\sum_{i=1}^n|x_i|^{(p-1)p'}\Big)^{1/p'} =\Big(\sum_{i=1}^n|x_i|^p\Big)^{1/p'}=\|x\|_p^{p/p'}=\|x\|_p^{p-1}. \]
Therefore \(\|x\|_p\,\|y\|_{p'}=\|x\|_p\cdot\|x\|_p^{p-1}=\|x\|_p^p=\langle x,y\rangle\): Hölder is an equality for this \(y\).
Case \(p=1\), \(p'=\infty\). Let \(y:=\big(\mathrm{sign}(x_1),\dots,\mathrm{sign}(x_n)\big)\) (any convention at zero coordinates works; the hint takes \(x\ge0\) and \(y=(1,\dots,1)\)). Then \(y\ne0\), \(\|y\|_\infty=1\), and
\[ \langle x,y\rangle=\sum_{i=1}^n|x_i|=\|x\|_1=\|x\|_1\|y\|_\infty . \]
Case \(p=\infty\), \(p'=1\). Pick \(i_0\) with \(|x_{i_0}|=\|x\|_\infty\) and let \(y:=\mathrm{sign}(x_{i_0})\,e_{i_0}\) (the hint’s \((0,\dots,0,1,0,\dots,0)\) placed at a maximizing coordinate). Then \(\|y\|_1=1\) and
\[ \langle x,y\rangle=|x_{i_0}|=\|x\|_\infty=\|x\|_\infty\,\|y\|_1 . \qquad\blacksquare \]
(b) (\(\le\)) For any \(y\in B_{p'}^n\) (i.e. \(\|y\|_{p'}\le1\)), Hölder’s inequality (1.5) gives
\[ \langle x,y\rangle\le|\langle x,y\rangle|\le\|x\|_p\,\|y\|_{p'}\le\|x\|_p . \]
(\(\ge\)) If \(x=0\), then \(\langle x,y\rangle=0=\|x\|_p\) for all \(y\). If \(x\ne0\), take the vector \(y\) from part (a) and normalize it:
\[ y^\ast:=\frac{y}{\|y\|_{p'}}\in B_{p'}^n,\qquad \langle x,y^\ast\rangle=\frac{\langle x,y\rangle}{\|y\|_{p'}}=\frac{\|x\|_p\,\|y\|_{p'}}{\|y\|_{p'}}=\|x\|_p . \]
Hence the maximum of \(\langle x,y\rangle\) over the closed, bounded set \(B_{p'}^n\) is attained (at \(y^\ast\)) and equals \(\|x\|_p\) — the duality formula (1.6). \(\blacksquare\)
Remark. The maximum of \(|\langle x,y\rangle|\) over \(B_{p'}^n\) is the same number (flip the sign of \(y\)); in the language of normed spaces this is the finite-dimensional duality \((\ell_p)^*=\ell_{p'}\). Note how (a) exhibits the extremizer whose existence makes Hölder tight: power-transform \(x\) and align signs.