Past exam of the mathematics course of the University of Cambridge 2005 iii Paper 82 3 c Solution Created 2026-10-03 Updated 2026-10-14
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. ThereforeFor 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.
Past exam of the mathematics course of the University of Cambridge 2012 iii Paper 31 1 iii Solution Created 2026-10-03 Updated 2026-10-14
Choose real monic orthogonal polynomials of degree , , for on , and letExtend each by zero to negative . The resulting functions form an orthonormal set in . Define the orthogonal polynomial projection kernelThe 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 . HenceIf 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 givesIntegrating 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 thereforefor .
Past exam of the mathematics course of the University of Cambridge 2014 iii Paper 5 1 d Solution Created 2026-10-03 Updated 2026-10-06
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 hasConsequently 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 .
Past exam of the mathematics course of the University of Cambridge 2016 iii Paper 323 4 ii Solution Created 2026-10-03 Updated 2026-10-06
The coefficient matrix in the computational basis isFor a bipartite pure state, the partial traces give and . Therefore the requested reduced density matrices areThe columns of are orthogonal. Their norms are and , so normalizing them gives the orthonormal setWith and , a Schmidt decomposition isExpanding this expression reproduces the minus sign in the coefficient. The two reduced density matrices both have eigenvalues and , consistent with these Schmidt coefficients.
Past exam of the mathematics course of the University of Cambridge 2016 iii Paper 323 4 i Solution Created 2026-10-03 Updated 2026-10-06
For any normalized pure state on finite-dimensional Hilbert spaces , the Schmidt decomposition givesThe 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 matricesThus 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.
Past exam of the mathematics course of the University of Cambridge 2019 ii Paper 1 29J d Solution Created 2026-09-24 Updated 2026-09-29
Since and ,ThereforePut . By part (c), the are normalized sample principal components forming an orthonormal set, andThis is the orthogonal projection onto a finite-dimensional subspace spanned by the , so is the unique closest point in that subspace to .
Past exam of the mathematics course of the University of Cambridge 2020 ii Paper 3 15C b ii Solution Created 2026-09-24 Updated 2026-10-03
When , the function is injective, so the states are distinct computational basis states and hence form an orthonormal set. Therefore, for arbitrary signs ,
Past exam of the mathematics course of the University of Cambridge 2021 iii Paper 326 4 3 Solution 2026-09-29
Put . The stated scalar random variable isAs a finite linear combination of independent normal random variables, it is normally distributed. Its mean is zero and its variance is
Past exam of the mathematics course of the University of Cambridge 2024 iii Paper 324 1 b Solution Created 2026-09-25 Updated 2026-10-03
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 givesThus every is simultaneously an eigenvector of every shift, with eigenvalue for .
Use from i. Their inner products with areThus . Its values at are , soBy ii the three polynomials are orthogonal vectors, and normalizing givesThis 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, thenThe 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.
Past exam of the numerical linear algebra course of the University of Oxford 2025 1 a iii Solution 2026-10-25
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 thatThe bounds follow directly from . Define the diagonal matricesThe 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 givesThis 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 coefficientA 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 becauseLikewise, 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.
Past exam of the random matrix theory course of the University of Oxford 2025 2 b ii Solution 2026-10-25
The squared norm of in is , where . Choose positive normalizing constantsThen are an orthonormal set for Lebesgue measure. Expanding the finite sums givesThus this is an orthogonal polynomial projection kernel, explicitlyThe 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 yieldsThus 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 isHere 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]
Modern regression 1: Ridge regression. slides 5 and 7: summed squared-error objective and unpenalized intercept
For an exact example, reuse the constructed pairs from linear regression. Their sample means are and , and the centered cross-products are and . ThusThe 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.
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 solvesFor 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]
High-Dimensional Regression: Ridge. p. 1, equations (1)–(2): uniqueness for positive penalty regardless of design rank
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]
Modern regression 1: Ridge regression. slide 7: center predictors, leave the intercept free and scale predictors to sample variance one
The singular value decomposition explains the shrinkage. If is the compact decomposition using the positive singular values , with columns of , thenThe 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.
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]
Model selection and validation 1: Cross-validation. slides 5–8 and 11–14: tuning for prediction, training error and refitting on each training fold
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]On Over-fitting in Model Selection and Subsequent Selection Bias in Performance Evaluation by Gavin C. Cawley and others. pp. 2079–2080: selection as part of fitting and nested assessment
Sum of mutually orthogonal projectors 2026-10-25
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.

