Choose field to be at frequency , and field to be at . Zero body forces and zero boundary tractions make all source and surface terms vanish. Therefore
For distinct squared frequencies this proves weighted orthogonality,
Assume positive mass density bounded above and below and finite-energy fields in the ordinary bounded domain. The weighted space is a separable Hilbert space. Select one unit eigenfunction for each distinct squared frequency. They form an orthonormal set. Let be a countable dense subset of ; assign to each eigenfunction a point within distance . Two orthogonal unit eigenfunctions have distance , so the same cannot be assigned to both. This gives an injection into a countable set.
Hence there are at most countably many squared eigenfrequencies, and at most twice that many signed frequencies. Multiplicity at one frequency does not change the argument. A zero frequency associated with rigid translations or rotations is included. This proves the countability of elastic eigenfrequencies directly; proving discreteness or finite multiplicity would require additional spectral regularity arguments.
Choose real monic orthogonal polynomials of degree , , for on , and let
Extend each by zero to negative . The resulting functions form an orthonormal set in . Define the orthogonal polynomial projection kernel
The formula on the right is for nonnegative arguments; the kernel is zero when either argument is negative. With , the kernel evaluation matrix is . By the determinant multiplication identity and the preceding monic basis change,
Thus initially .
Use the symmetric labelled joint probability density on the full orthant. Expanding the two copies of into permutations and integrating all variables, orthonormality makes a term vanish unless the two permutations agree. Each of the surviving terms integrates to . Hence
If the eigenvalues are instead listed in increasing order on a single ordered chamber, that chamber's density is times this symmetric density. We keep the full-orthant convention throughout.
An explicit choice is in terms of the Generalized Laguerre polynomials. To verify the normalization independently, their Rodrigues' formula gives
Integrating by parts times proves orthogonality to every lower-degree polynomial. The boundary terms vanish at zero and infinity for . Taking the other factor to be and using gives , where is the Gamma function. The Laguerre projection kernel is therefore
for .
The printed assertion about all locally square-integrable functions is false. The proposed average is not even finite for every such function: for ,
It also fails positive definiteness. The nonzero function has
Consequently this formula cannot define an inner product, much less a Hilbert space, on .
A precise version of the intended nonseparability argument uses the mean-square completion of trigonometric polynomials. Start with the real vector space of finite linear combinations of , , and , with arbitrary . Product-to-sum identities show that all the proposed cross averages exist. Distinct frequencies are orthogonal, each sine and cosine has squared norm one, and the constant function has squared norm two. Thus, after collecting equal frequencies,
This is positive definite on . Its Hilbert space completion contains the uncountable orthonormal set . The distance between two distinct members is . Their open balls of radius are pairwise disjoint, and a dense subset must meet each one. A countable dense subset is therefore impossible: this corrected completed space is nonseparable. Completion is an essential additional construction; it does not validate the printed claim about all of .
The coefficient matrix in the computational basis is
For a bipartite pure state, the partial traces give and . Therefore the requested reduced density matrices are
The columns of are orthogonal. Their norms are and , so normalizing them gives the orthonormal set
With and , a Schmidt decomposition is
Expanding this expression reproduces the minus sign in the coefficient. The two reduced density matrices both have eigenvalues and , consistent with these Schmidt coefficients.
For any normalized pure state on finite-dimensional Hilbert spaces , the Schmidt decomposition gives
The and form orthonormal sets in their respective spaces. The positive numbers are the Schmidt coefficients, and is the Schmidt rank. Taking a partial trace gives the reduced density matrices
Thus the nonzero eigenvalues of the two reduced density matrices agree.
One construction is a singular value decomposition of the coefficient matrix in . If , the columns of give , the complex conjugates of the columns of give , and the singular values give . This also explains why the Schmidt coefficients are real and nonnegative.
Since and ,
Therefore
Put . By part (c), the are normalized sample principal components forming an orthonormal set, and
This is the orthogonal projection onto a finite-dimensional subspace spanned by the , so is the unique closest point in that subspace to .
When , the function is injective, so the states are distinct computational basis states and hence form an orthonormal set. Therefore, for arbitrary signs ,
Put . The stated scalar random variable is
As a finite linear combination of independent normal random variables, it is normally distributed. Its mean is zero and its variance is
Finally, orthonormality of the gives
Since ,
A shift-invariant basis is a common eigenbasis of all cyclic shift operators . For the displayed Fourier states, orthonormality follows from the root-of-unity filter:
There are vectors in this orthonormal set in the -dimensional Hilbert space, so they form a basis. Reindexing the finite sum gives
Thus every is simultaneously an eigenvector of every shift, with eigenvalue for .
Use from i. Their inner products with are
Thus . Its values at are , so
By ii the three polynomials are orthogonal vectors, and normalizing gives
This orthonormal set is a basis of the three-dimensional vector space . It is the result of the Gram-Schmidt process applied to .
If is an orthogonal transformation and is an orthonormal basis, then
The images form an orthonormal set, hence are linearly independent and form an orthonormal basis in dimension three.
Conversely, suppose the images of one chosen orthonormal basis form an orthonormal basis. Write and . By linearity of and bilinearity,
Thus mapping one orthonormal basis to an orthonormal basis is equivalent to preserving every inner product. In the converse, a single chosen orthonormal basis suffices.
Put . It is a symmetric matrix and a positive semidefinite matrix, while is also a positive semidefinite matrix. By the spectral theorem, choose an orthogonal matrix such that
The bounds follow directly from . Define the diagonal matrices
The columns of are mutually orthogonal, since . For each , set . These columns are orthonormal. At a zero , one has ; choose by completing the already prescribed columns to an orthonormal set of columns in . Such a completion exists because . This gives , including the zero columns.
Likewise, the Gram matrix of is . Normalize its nonzero columns and complete at its zero columns in , using . The resulting has orthonormal columns and . Combining the identities gives
This is a form of the cosine-sine decomposition. Completing the zero columns is essential: neither block was assumed to have full column rank.
Orthogonality means zero inner product, not merely that two objects look different. For complex vectors, ; for functions a common choice is with positive weight . An orthonormal set has .
For an orthogonal set, the component of along has coefficient
A complete orthonormal set gives in the appropriate norm and Parseval's identity . Without completeness there can be a nonzero residual orthogonal to the entire chosen set. Orthogonal nonzero vectors are linearly independent, but independence alone does not imply orthogonality.
Fourier coefficients are projections because
Likewise, for a self-adjoint operator, gives , so distinct eigenvalues have orthogonal eigenvectors. Degeneracy does not itself force a chosen pair to be orthogonal, but an orthonormal basis can be selected within each eigenspace. The differential version uses the correct Sturm-Liouville weight and boundary conditions.
For mechanical normal modes with unequal masses the relevant inner product is . This makes the modes in D14 orthogonal even when an ordinary unweighted dot product does not. Expanding in such coordinates diagonalizes the kinetic and potential quadratic forms, explaining why modal motions evolve independently and their energies add.
The squared norm of in is , where . Choose positive normalizing constants
Then are an orthonormal set for Lebesgue measure. Expanding the finite sums gives
Thus this is an orthogonal polynomial projection kernel, explicitly
The positive constants above are forced by the reproducing identity: before normalization, its convolution multiplies each independent term by . Each multiplier must equal one. Changing the sign of a real leaves the kernel unchanged.
For a sum of mutually orthogonal projectors, orthonormality gives for and one for . Therefore equals zero for different indices and for equal indices. Expanding the finite sum yields
Thus every stated partial sum is a projector. Its image of a linear map is the span of the first orthonormal set of vectors; arbitrary sums of idempotent matrices would not have this conclusion.
Ridge regression Created 2026-09-24 Updated 2026-10-14
Ridge regression fits a linear regression model while penalizing the size of its slope regression coefficients. For a fixed design matrix containing the slope predictors, observed responses , and an unpenalized regression intercept , the objective is
Here is the all-ones vector, and is the squared Euclidean norm of the slopes alone. The first term is the residual sum of squares; the second implements regularization. No random-error assumption is needed to define this fit. The convention is a summed squared-error loss: writing the objective as gives the same fit when .[ref]
For an exact example, reuse the constructed pairs from linear regression. Their sample means are and , and the centered cross-products are and . Thus
The ordinary least squares line has slope and residual sum of squares . At , ridge regression has slope , regression intercept , and residual sum of squares ; at these become , , and . Every line passes through : the penalty reduces the slope while retaining the response sample mean.
Figure 1.
Exact synthetic ridge fits flatten around the sample mean as training RSS increases
. Details.
The computational benefit is visible after predictor centering. Write for the design matrix with each column's sample mean subtracted, and . The unpenalized intercept in ridge regression gives , and the closed-form ridge regression estimator solves
For any nonzero vector and , . This positive-definite matrix is therefore invertible even when lacks full column rank, including repeated columns or . The unique penalized slopes resolve the ambiguity of rank-deficient ordinary least squares; they do not supply evidence about slope directions absent from the data. This makes ridge regression useful for multicollinearity.[ref]
Predictor centering and scaling serve different purposes. Centering handles the free regression intercept. Scaling determines what counts as a large slope: replacing by changes its coefficient to for the same predictions, changing its contribution to an unweighted penalty. A common convention forms standard scores using each nonconstant predictor's sample standard deviation , then penalizes slopes in those coordinates. Since , this is the weighted penalty in the original units. Constant columns have and must be removed before this scaling. Scaling is a modelling choice; equal penalties in original units and in standardized units define different fits.[ref]
The singular value decomposition explains the shrinkage. If is the compact decomposition using the positive singular values , with columns of , then
The principal-component shrinkage by ridge regression factors are between and : directions with small singular values are damped most. As , the fitted values approach ; the vanishing-penalty ridge limit recovers the ordinary least squares fitted vector as , even if the slope estimates at zero penalty are nonunique. The covariance and bias of a ridge regression estimator describes the resulting bias-variance tradeoff. A penalty can reduce variance of an estimator while introducing bias of an estimator; the unbounded directional risk of fixed ridge shrinkage rules out a uniform improvement for a fixed positive penalty over all possible signals.[ref]
For a second exact construction, choose a centered orthonormal set of three vectors,
and set and . The squared singular values are and . At , the fitted coordinates along are , retaining and of their ordinary least squares values . At they become , retaining and . The unfittable component contributes to every residual sum of squares, giving total values , , and at penalties . These are constructed fits, not measured prediction results.
Figure 2.
Exact synthetic ridge shrinkage retains the strong singular direction longer than the weak one
. Details.
The penalty is a hyperparameter, so fitting slopes at a fixed value and selecting that value are separate tasks. Use a validation set or K-fold cross-validation to compare candidate penalties by held-out squared-error loss. In each split, compute predictor sample means and scales from that split's training data, apply the same transformation to its validation set, and refit the slopes; using held-out information in preprocessing introduces data leakage. Minimum training residual sum of squares cannot select useful shrinkage: ordinary least squares already attains the smallest possible value.[ref] After model selection, refit on all training data with the selected penalty. A separate test set or nested cross-validation assesses the entire selection procedure; a low selected validation score alone is no performance guarantee.[ref]
If idempotent matrices satisfy whenever , then . Thus the sum is idempotent. For a real orthonormal set , the matrices meet this condition. Their sum is the orthogonal projector onto their span; the symmetric matrix property follows by transposing the sum. Arbitrary sums of idempotent matrices need not be idempotent.