Maths WorkshopMaths problems with full solutions
Exercise 1410Topology › Topology of Mn(ℝ) › Norms and metric structureL3Added 7 Nov 2026

Distance from an invertible matrix to the singular matrices

#distance to singular matrices#singular values#Eckarte-Young#SVD

Statement

Let AA be invertible. Prove that the distance from AA to the set of singular matrices equals 1/∥A−1∥=σmin⁡(A)1/\|A^{-1}\|=\sigma_{\min}(A), both for the operator norm and for the Frobenius norm.

Hint

The lower bound is the stability problem (invertibility of nearby matrices).

For the upper bound, use the singular value decomposition and delete the smallest singular value.

Show solutionHide solution

Solution

Idea. The matrix closest to AA among the singular ones is obtained by "killing" the weakest direction of AA, namely the one with the smallest singular value.

Step 1: σmin⁡=1/∥A−1∥\sigma_{\min}=1/\|A^{-1}\|. If A=PΣQTA=P\Sigma Q^T is an SVD (P,QP,Q orthogonal, Σ=diag⁡(σ1≥⋯≥σn>0)\Sigma=\operatorname{diag}(\sigma_1\ge\dots\ge\sigma_n>0)), then A−1=QΣ−1PTA^{-1}=Q\Sigma^{-1}P^T has operator norm max⁡iσi−1=1/σn\max_i\sigma_i^{-1}=1/\sigma_n by the orthogonal invariance of the norm.

Step 2: lower bound. Let BB be singular. If ∥A−B∥<1/∥A−1∥\|A-B\|<1/\|A^{-1}\|, the stability problem would make BB invertible. Hence ∥A−B∥≥1/∥A−1∥=σn\|A-B\|\ge1/\|A^{-1}\|=\sigma_n. Since ∥X∥F≥∥X∥\|X\|_F\ge\|X\| we also have ∥A−B∥F≥σn\|A-B\|_F\ge\sigma_n.

Step 3: attainment. Write A=∑iσiuiviTA=\sum_i\sigma_iu_iv_i^T with ui,viu_i,v_i the columns of P,QP,Q, and set
B=A−σnunvnT=∑i<nσiuiviT.B=A-\sigma_nu_nv_n^T=\sum_{i<n}\sigma_iu_iv_i^T.
Then BB has rank n−1n-1, so it is singular, and A−B=σnunvnTA-B=\sigma_nu_nv_n^T is rank one with
∥A−B∥=∥A−B∥F=σn ∣un∣∣vn∣=σn.\|A-B\|=\|A-B\|_F=\sigma_n\,|u_n||v_n|=\sigma_n.
(For a rank-one matrix uvTuv^T: ∥uvT∥F2=∑i,jui2vj2=∣u∣2∣v∣2\|uv^T\|_F^2=\sum_{i,j}u_i^2v_j^2=|u|^2|v|^2, and ∣uvTx∣=∣u∣∣vTx∣≤∣u∣∣v∣∣x∣|uv^Tx|=|u||v^Tx|\le|u||v||x| with equality at x=v/∣v∣x=v/|v|, so both norms equal ∣u∣∣v∣|u||v|.)

Conclusion. The distance is exactly σn=1/∥A−1∥\sigma_n=1/\|A^{-1}\| in both norms.

Example. For A=(20012)A=\begin{pmatrix}2&0\\0&\tfrac12\end{pmatrix}, 1/∥A−1∥=121/\|A^{-1}\|=\frac12 and B=diag⁡(2,0)B=\operatorname{diag}(2,0) is the nearest singular matrix. In particular a matrix can have a large norm (∥A∥=2\|A\|=2) and be extremely close to a singular matrix.

Remark. This is a special case of the Eckart-Young theorem: the best rank-rr approximation of AA (in operator or Frobenius norm) is obtained by truncating the SVD. The quantity κ(A)=∥A∥∥A−1∥\kappa(A)=\|A\|\|A^{-1}\| measures, relative to ∥A∥\|A\|, how close AA is to being singular.