The log-likelihood in the normal linear model, up to an additive constant, is
Full column rank makes positive-definite, so minimizing the residual sum of squares gives the normal equations . Maximizing over afterward gives the maximum-likelihood estimators
The residual sum of squares is positive almost surely because and , so this maximization has an interior variance solution almost surely. The first estimator is a linear Gaussian statistic with mean and covariance , giving
Let be the orthogonal projection onto the design column space, and let . This is a symmetric idempotent matrix of rank . Choose an orthonormal basis for its range and collect its columns in , so , and . Then
The definition of the chi-squared distribution therefore gives
The maximum-likelihood denominator is ; the unbiased residual-variance estimator uses .
Finally put . It has rank and , because . Part (a) implies that is independent of . Multiplication by a fixed constant preserves independence, so the normal linear model maximum-likelihood sampling distributions satisfy