Maths WorkshopMaths problems with full solutions
Exercise 2006Topology › Topology of Mn(ℝ) › Applications and the case n = 2M1Added 6 Nov 2026

Ky Fan's maximum principle

#Ky Fan#eigenvalues#orthogonal projections#convexity

Statement

Let S∈SymnS\in\mathrm{Sym}_n have eigenvalues λ1≥⋯≥λn\lambda_1\ge\dots\ge\lambda_n. Show that
λ1+⋯+λk=max⁡{tr⁡(SP): P an orthogonal projection of rank k},\lambda_1+\dots+\lambda_k=\max\{\operatorname{tr}(SP):\ P\text{ an orthogonal projection of rank }k\},
and deduce that S↦λ1(S)+⋯+λk(S)S\mapsto\lambda_1(S)+\dots+\lambda_k(S) is convex.

Hint

Diagonalise S=QΛQTS=Q\Lambda Q^T and conjugate PP by QQ: the diagonal entries of the new projection lie in [0,1][0,1] and sum to kk.

Show solutionHide solution

Solution

Idea. Reduce to a diagonal SS. Then tr⁡(ΛP′)=∑λipii′\operatorname{tr}(\Lambda P')=\sum\lambda_ip'_{ii} is a weighted sum with weights in [0,1][0,1] adding up to kk, which is maximal when the weights sit on the kk largest λi\lambda_i.

Step 1: reduction. Let S=QΛQTS=Q\Lambda Q^T and PP an orthogonal projection of rank kk (i.e. P=PT=P2P=P^T=P^2, tr⁡P=k\operatorname{tr}P=k). Put P′=QTPQP'=Q^TPQ; it is again an orthogonal projection of rank kk and
tr⁡(SP)=tr⁡(QΛQTP)=tr⁡(ΛQTPQ)=tr⁡(ΛP′)=∑iλipii′.\operatorname{tr}(SP)=\operatorname{tr}(Q\Lambda Q^TP)=\operatorname{tr}(\Lambda Q^TPQ)=\operatorname{tr}(\Lambda P')=\sum_i\lambda_ip'_{ii}.

Step 2: the weights. Let pi=pii′p_i=p'_{ii}. Then pi=eiTP′ei=eiTP′TP′ei=∣P′ei∣2∈[0,1]p_i=e_i^TP'e_i=e_i^TP'^TP'e_i=|P'e_i|^2\in[0,1] (because P′P' is a projection, ∣P′v∣≤∣v∣|P'v|\le|v|), and ∑ipi=tr⁡P′=k\sum_ip_i=\operatorname{tr}P'=k.

Step 3: the bound. Write
∑iλipi−kλk=∑i(λi−λk)pi.\sum_i\lambda_ip_i-k\lambda_k=\sum_i(\lambda_i-\lambda_k)p_i.
For i≤ki\le k, λi−λk≥0\lambda_i-\lambda_k\ge0 and pi≤1p_i\le1, so those terms are at most λi−λk\lambda_i-\lambda_k. For i>ki>k, λi−λk≤0\lambda_i-\lambda_k\le0 and pi≥0p_i\ge0, so those terms are ≤0\le0. Therefore
∑iλipi−kλk≤∑i≤k(λi−λk)=∑i≤kλi−kλk,\sum_i\lambda_ip_i-k\lambda_k\le\sum_{i\le k}(\lambda_i-\lambda_k)=\sum_{i\le k}\lambda_i-k\lambda_k,
that is tr⁡(SP)≤λ1+⋯+λk\operatorname{tr}(SP)\le\lambda_1+\dots+\lambda_k.

Step 4: attained. Let P0P_0 be the orthogonal projection onto the span of the first kk columns of QQ (the top kk eigenvectors). Then tr⁡(SP0)=λ1+⋯+λk\operatorname{tr}(SP_0)=\lambda_1+\dots+\lambda_k. So the maximum exists (also because the set of such projections is compact) and equals the sum.

Step 5: convexity. For each fixed PP, S↦tr⁡(SP)S\mapsto\operatorname{tr}(SP) is linear. The function S↦λ1+⋯+λkS\mapsto\lambda_1+\dots+\lambda_k is the maximum of these linear functions, hence convex.

Remark. For k=1k=1 this is the Rayleigh formula for λmax⁡\lambda_{\max} (previous problem). For k=nk=n it is the trace, which is linear.

Lesson. Variational formulas as maxima of linear functions give convexity for free.