Distinct squared traction-free eigenfrequencies in a bounded lossless elastic body have eigenfunctions orthogonal in , by the Betti identity for elastodynamic fields. Normalize one field from each eigenspace. This is an orthonormal set in a separable Hilbert space, so it is countable: disjoint balls of radius less than around its unit vectors must contain distinct points of a countable dense set. Positive and negative frequency partners add at most a factor of two. This argument proves countability without requiring a separate compact-resolvent proof.
An orthonormal set in an space defines the integral kernel of the orthogonal projection onto its span by this sum. It satisfies and . Its evaluation matrices are positive semidefinite Gram matrices.
Gram-Schmidt process Created 2026-09-24 Updated 2026-10-14
The Gram-Schmidt process turns a finite ordered family of linearly independent vectors in an inner product space over the real numbers into an orthonormal basis of their linear span. It keeps every successive linear span, so the first new vectors describe exactly the same directions as the first inputs. Its idea is geometric: remove the orthogonal projection onto directions already found, then divide the remaining vector by its norm. This makes a complicated basis easier to use without changing the vector subspace it describes.[ref]
Start with and . At step , use the previously obtained orthonormal set to define
The sum is the orthogonal projection onto a finite-dimensional subspace , and is the orthogonal projection residual. Linear independence ensures : otherwise would already be a linear combination of earlier inputs. If the input family is linearly dependent, use only the retained orthonormal vectors in the sum and omit an input whenever its remainder is the zero vector; do not divide by zero. The retained outputs still form an orthonormal basis of the original linear span, but their number can be smaller than .
For a short verification, orthonormality makes every earlier inner product vanish:
Also is minus a linear combination of earlier vectors, while is plus that same linear combination. These two inclusions, followed by division by a nonzero norm, give
The argument also works in an inner product space over the complex numbers with the existing inner product convention, linear in the first argument: the coefficients remain . With the convention linear in the second argument, write instead.
For a first picture, take and in with the ordinary dot product. Then
Subtracting the diagonal component leaves an orthogonal direction; dividing by its norm makes its length one. If the second input were instead, its orthogonal projection would be the entire input and , revealing linear dependence.
For a full three-dimensional calculation, use the ordinary dot product and the input vectors
The first two steps give
At the third step, the inner products are and . Consequently
The three numerator vectors have pairwise dot products and squared Euclidean norms . Thus the displayed outputs are indeed an orthonormal basis, and the three nonzero remainders also confirm linear independence of the inputs. Keeping the removed coefficients produces the QR decomposition below.
An immediate reward is a reusable orthogonal projection: once an orthonormal basis of a vector subspace is known, any vector has
For the linear span of just the first two inputs in the three-dimensional example, gives . Its orthogonal projection residual is , visibly in the missing orthogonal direction. This is the geometry behind the linear least-squares problem.
The formulas above describe exact arithmetic. With floating-point arithmetic, subtracting an orthogonal projection nearly equal to the input can leave a small remainder; dividing by its small norm can magnify existing roundoff error. The Classical Gram-Schmidt and Modified Gram-Schmidt arrangements agree in exact arithmetic but can give different rounded results. Exact linear dependence and a small computed remainder therefore require different judgments in a numerical implementation.[ref]
Start with finite real linear combinations of , and with arbitrary positive real frequencies, and use the inner product . Product-to-sum identities give existence of these averages and mutual orthogonality of distinct frequencies. The squared norm is . Its Hilbert space completion contains an uncountable orthonormal set, so is not a separable Hilbert space. This construction does not equip all locally square-integrable functions with an inner product: compactly supported nonzero functions have zero mean square, and other functions have divergent or nonexistent averages.
When , the normalized sample principal component has Euclidean norm one. The vectors form an orthonormal set spanning the column space of a full-column-rank centered design matrix.
For real monic orthogonal polynomials with squared weighted norms under a positive weight , the functions form an orthonormal set for the unweighted reference measure. Their finite-rank projection kernel turns the squared weighted Vandermonde determinant into a kernel determinant. Normalization on the full labelled configuration space is .
Orthogonal projection matrix Created 2026-09-24 Updated 2026-10-14
A matrix represents a linear projection when applying it twice has the same effect as applying it once. For an orthogonal projection with the standard Hermitian inner product on , the additional condition is that the conjugate transpose equals the original matrix:
Thus is both idempotent and a Hermitian matrix. Over the real numbers this says . Its image of a linear map is the retained linear subspace, while its kernel of a linear map is the orthogonal complement: vectors in the image are unchanged, and vectors in the kernel become zero.
For a matrix with full column rank, projecting onto its column space gives
The invertibility of follows from linear independence of the columns. If those columns are an orthonormal set, and . These formulas and the conditions in the real case are developed in MIT 18.06SC, Projections onto Subspaces, pp. 1–3.
For the line spanned by ,
In particular, and . The eigenvalues are on the retained direction and on the removed direction. This exposes the meaning of an orthogonal projection as retaining selected components, rather than stretching them.
Symmetry refers to the specified inner product. In the real weighted setting, the formula becomes and satisfies and . For the preceding weighted line example,
It is not symmetric under the ordinary transpose, but it is an orthogonal projection for the weighted Euclidean inner product. The matrix criterion should therefore be used with the standard Hermitian inner product, not silently transferred to a different geometry.
Orthonormal set Created 2026-09-25 Updated 2026-10-14
An orthonormal set consists of vectors that have norm one and are pairwise orthogonal. Its Gram matrix is the identity matrix.
Inside the infinite square well, the time-independent Schrödinger equation is with . For the exponential solutions cannot satisfy both conditions except trivially, and for neither can a linear function. For put . The first boundary condition selects , and the second gives . Thus
on , with outside. Their squared integrals are one, and the sine orthogonality identity gives an orthonormal set. The sine Fourier basis on the interval is complete: odd extension to an interval of length reduces this to completeness of the Fourier series basis. Hence these are a complete set of normalized energy eigenstates.
Choosing the harmless sign of the second energy eigenstate so that and , the specified wave function is . The Born rule therefore gives
with no other possible measured energies. The two energy eigenvalues are and .
After the first measurement gives the ground state, the old state is . Doubling the width puts the walls at , and the new normalized ground state is . The stipulated unchanged state is zero outside the original interval, so the probability amplitude is
Squaring gives
The ground-state overlap after sudden expansion of a square well stays unchanged during subsequent evolution in the fixed new well, because the energy-basis coefficients acquire only phases. The answer is conditional on the already observed old ground state; its earlier probability is not another factor in this conditional question.
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 .
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]