Matrix congruence Created 2026-10-06 Updated 2026-10-07
Two symmetric matrices are congruent when for an invertible matrix . This is the transformation of a quadratic form under an invertible linear change of coordinates. It differs from matrix similarity, which uses . Completing the square diagonalizes a real quadratic form by matrix congruence.
Minimal polynomial of an invertible matrix 2026-09-29
A square matrix is invertible exactly when its minimal polynomial has nonzero constant term. If , then , and invertibility would contradict the minimality of . Conversely, if with , then .
Nondegenerate stationary point of a phase Created 2026-09-24 Updated 2026-10-05
A stationary point of a smooth phase is nondegenerate when its Hessian matrix at is an invertible matrix. In one dimension, this condition is .
Past exam of the mathematics course of the University of Cambridge 2007 ia Paper 1 2B i Solution Created 2026-09-24 Updated 2026-09-24
Past exam of the mathematics course of the University of Cambridge 2009 ia Paper 1 2B a Solution Created 2026-09-24 Updated 2026-09-24
Past exam of the mathematics course of the University of Cambridge 2009 ib Paper 2 10G Solution Created 2026-09-24 Updated 2026-09-24
Past exam of the mathematics course of the University of Cambridge 2010 ia Paper 1 1A Solution Created 2026-09-24 Updated 2026-09-24
Past exam of the mathematics course of the University of Cambridge 2010 ia Paper 1 7B iv Solution Created 2026-09-24 Updated 2026-09-24
Past exam of the mathematics course of the University of Cambridge 2015 iii Paper 32 1 Solution Created 2026-10-03 Updated 2026-10-06
With the centred data, no intercept is needed. Use the Lasso normalizationWrite and . The KKT conditions areIndeed, the subdifferential of the L1 norm consists of vectors with at nonzero coordinates and at zero coordinates. The subgradient optimality condition is . convexity makes these conditions sufficient as well as necessary. These are the Karush-Kuhn-Tucker conditions for the Lasso.
Here is a correlation-parameter version of least angle regression. Put , a Gram matrix, and initialize , , .
- Compute . For , keep . If , stop: all regression residual correlations already vanish. Otherwise add the uniquely maximizing variable to obtain .
- At step , put , , , and . These active signs have entries in . Solve , set , and follow the segment
- For each inactive variable set . Along the segment its correlation is , where . Its candidate hitting distances areDiscard undefined or nonpositive candidates. Choose the smallest remaining distance below , if one exists, and otherwise choose . Set . If , add the unique variable achieving the hit to form and repeat; if , stop.
The two hitting formulas come from . This is LAR hitting time. Active variables are not dropped if a coefficient crosses zero: that is the distinction between this algorithm and the modified Lasso path algorithm.
The active Gram matrix is an invertible matrix under the assumed unique positive hits. Inductively, a candidate column in the span of the current active columns would have equal to a fixed linear combination of their correlations, hence proportional to on the whole segment. Its ratio could not first reach one at a positive interior knot. Thus every uniquely entering column adds a new independent direction. This also allows more predictors than observations; the algorithm stops before a dependent direction needs to be added at zero correlation.
We now prove the requested invariant. At the first positive knot the newly active correlation has magnitude . At a later knot the old active correlations have that knot's magnitude by induction, and the entering correlation has the same magnitude by the hitting rule. Throughout the next segment,The first-hitting rule also ensures for every inactive . If no positive hit remains, this inequality continues to zero, where all correlations vanish. Consequently, on every printed closed segment,This is the LAR active correlation invariant.
If active nonzero coefficients have the same signs as their residual correlations, the active equalities are precisely the nonzero-coordinate Lasso KKT conditions. An active coefficient which is zero also satisfies the zero-coordinate KKT conditions, because its correlation is within . Inactive coefficients are zero and satisfy those same inequalities by construction. Thus every point of the least angle regression path is a Lasso minimizer for . Under the stated uniqueness assumption,This proves the desired implication, in fact under the weaker sign compatibility of LAR and Lasso condition requiring agreement only at nonzero coefficients.
There is an endpoint convention in the printed sufficient condition. With the standard , a newly entering coefficient is zero at a positive knot although its correlation is ; the displayed sign equality therefore cannot literally hold there. At the final zero knot the correlation signs are zero as well. Interpret sign compatibility on positive open segments, or in the nonzero-coefficient/subgradient sense just proved. The KKT conditions already handle zero coefficients at knots, and no equality of solution paths at is needed for the requested conclusion.
Past exam of the mathematics course of the University of Cambridge 2016 ib Paper 2 10F a Solution Created 2026-09-24 Updated 2026-10-06
Group the matrix entries by columns. Each column of is times the corresponding column of . In the column-ordered basis of matrix units, the linear map consequently has a block diagonal matrix with copies of . The determinant of a block diagonal matrix is the product of its block determinants, givingThis argument does not require to be an invertible matrix.
Past exam of the mathematics course of the University of Cambridge 2016 ib Paper 2 12G c Solution Created 2026-09-24 Updated 2026-10-06
The function is a polynomial in the matrix entries, hence continuous. Consequently is the inverse image of the open set and is an open set.
If and , then implies . This forces . The square matrix is therefore injective, hence an invertible matrix, soThe argument works with any of the induced operator norms in part (b).
Past exam of the mathematics course of the University of Cambridge 2017 ia Paper 2 7C Solution Created 2026-09-24 Updated 2026-10-05
Assume the usual continuous-coefficient setting for a second-order linear differential equation. The Wronskian has derivativewhich proves the Abel identity. If , the two initial-value columns are linearly dependent, so some nonzero gives and . The uniqueness theorem for ordinary differential equations makes that linear combination identically zero. If , the initial-value matrix is an invertible matrix, givingThis establishes the alternative and supplies any prescribed initial data.
For the Airy ordinary differential equation, substitute a power series . Coefficient comparison gives andChoose and . The Airy power-series fundamental pair isEmpty products mean one. Their first terms are and . The ratio test gives convergence for every finite , so termwise differentiation verifies the equation. Their Wronskian is one at zero, and hence everywhere because . Thus every solution is .
Past exam of the mathematics course of the University of Cambridge 2017 ib Paper 4 8C Solution Created 2026-09-24 Updated 2026-10-05
The successive differences of the constant entries give a simple LDL decomposition:For example, entry of is the sum of the first entries of , directly verifying every entry of . Because is an invertible matrix, is strictly positive for every nonzero vector exactly when every diagonal entry of is positive. ConsequentlyAt it is a positive semidefinite matrix and singular; for its quadratic form takes both positive and negative values.
Past exam of the mathematics course of the University of Cambridge 2019 ia Paper 2 2C Solution Created 2026-09-24 Updated 2026-09-29
Substituting the proposed form into the linear system of ordinary differential equations givesIf is not an eigenvalue of , the matrix is invertible, soprovides the required particular solution.
In the stated two-dimensional case,and therefore . The eigenvalues of are , with corresponding eigenvectors and . Adding the general solution of the homogeneous system yields