Proof: Tikhonov regularization for ridge regression
Theorem: Consider ridge regression with measured signal $y \in \mathbb{R}^n$, design matrix $X \in \mathbb{R}^{n \times p}$, penalty matrix $L \in \mathbb{R}^{m \times p}$ and a scalar $\lambda>0$. For the penalized residual sum of squares
\[\label{eq:ridge-tik-objective} Q(\beta) = \| y-X\beta \|_2^2 + \lambda \| L\beta \|_2^2 \quad \text{with} \quad \beta \in \mathbb{R}^p \; ,\]a minimizer always exists. It is unique, exactly when $\ker(X) \cap \ker(L) = \left\lbrace 0_p \right\rbrace$, in which case it equals
\[\label{eq:ridge-tik-solution} \hat{\beta} = (X^\mathrm{T} X + \lambda L^\mathrm{T} L)^{-1} X^\mathrm{T} y \; .\]In particular, ordinary ridge regression, i.e. $L = I_p$, has a unique solution, even if columns of $X$ are linearly dependent and $X^\mathrm{T} X$ is not invertible.
Proof: Write the objective $Q(\beta)$ as $\lvert z-A\beta \rvert_2^2$ with
\[\label{eq:ridge-tik-augmented} A = \begin{bmatrix} X \\ \sqrt{\lambda}\,L \end{bmatrix} \quad \text{and} \quad z = \begin{bmatrix} y \\ 0_m \end{bmatrix} \; .\]The orthogonal projection of $z$ onto the column space of $A$ exists and belongs to that space, so it equals $A\hat{\beta}$ for at least one coefficient vector $\hat{\beta}$. Its residual is orthogonal to every column of $A$. Thus, we have $A^\mathrm{T} (z-A\hat{\beta}) = 0$, or equivalently
\[\label{eq:ridge-tik-normal} (X^\mathrm{T} X + \lambda L^\mathrm{T} L) \hat{\beta} = X^\mathrm{T} y \; .\]For any displacement $h$, the two terms in $(z-A\hat{\beta}) - Ah$ are orthogonal. The Pythagorean identity therefore gives
\[\label{eq:ridge-tik-difference} Q(\hat{\beta}+h) - Q(\hat{\beta}) = \| Ah \|_2^2 = \| Xh \|_2^2 + \lambda \| Lh \|_2^2 \; .\]This proves minimality and identifies all minimizers: They are precisely $\hat{\beta}+h$ with $h \in \ker(X) \cap \ker(L)$. When the intersection is trivial, $h^\mathrm{T} A^\mathrm{T} A h = \lvert Ah \rvert_2^2 > 0$ for every non-zero $h$, so the matrix on the left-hand side of \eqref{eq:ridge-tik-normal} is invertible and left-multiplying with it yields \eqref{eq:ridge-tik-solution}. Choosing $L = I_p$ makes the intersection trivial for every $X$.
- Hansen, Per Christian (2008): "Regularization Tools", Version 4.1, section 2.7.1; URL: https://www2.compute.dtu.dk/~pcha/Regutools/RTv4manual.pdf.
- Hoerl, Arthur E. and Kennard, Robert W. (1970): "Ridge regression: biased estimation for nonorthogonal problems"; in: Technometrics, vol. 12, iss. 1, pp. 55–67; DOI: 10.1080/00401706.1970.10488634.
Metadata: ID: P578 | shortcut: ridge-tikreg | author: Ljx000888 | date: 2026-11-25, 10:06.