Canonical form of a quadric Created 2026-10-25 Updated 2026-10-31
The equation of a quadric surface after orthogonal diagonalization of its symmetric matrix and appropriate translation. The spectral theorem for real symmetric matrices removes mixed quadratic terms, and completing squares removes linear terms in directions with nonzero eigenvalues. Linear terms in zero-eigenvalue directions can remain and generate elliptic paraboloids or hyperbolic paraboloids. The signs, zero coefficients and constant distinguish ordinary surfaces, degenerate conics in plane sections, and empty real loci.
Conic type discriminant Created 2026-10-18 Updated 2026-10-25
For a second-degree equation , the number is the discriminant of a binary quadratic form associated with its quadratic part. For a nonempty, nondegenerate real conic section, a negative value gives an ellipse, zero a parabola, and a positive value a hyperbola. It is invariant under a rotation of orthonormal coordinates.[ref]
10.4 Rotation of Axes. Precalculus 2e, §10.4, Identifying Conics without Rotating Axes and Using the Discriminant to Identify a Conic
A short explanation uses the symmetric matrixAn orthogonal matrix changes this matrix to , whose determinant equals . The spectral theorem for real symmetric matrices then removes the mixed term. Equal-sign, opposite-sign and one-zero eigenvalues give the three types after the remaining linear terms and offsets are considered.
The qualification matters. The equations , and describe a point, a repeated straight line, and two crossing straight lines, respectively. Their quadratic discriminants have the signs expected of ellipse, parabola and hyperbola types, but all three are degenerate conics. Also, has an empty set of real solutions despite its negative quadratic discriminant.
Diffusion on a graph 2026-10-14
The continuous-time diffusion model on a finite undirected graph uses the Graph Laplacian in the ordinary differential equationAcross each edge, the higher value sends an amount proportional to the difference to the lower value. The two contributions cancel in the sum over vertices, giving conservation of mass:If the entries represent masses, start with nonnegative entries; signed entries can instead describe deviations from a common level. For the three-vertex path graph, the initial vector is an eigenvector with eigenvalue one, so the exact solution isMore generally, an eigenvector with eigenvalue decays by . The spectral theorem for real symmetric matrices supplies an orthonormal basis of these eigenvectors, and the kernel of a graph Laplacian identifies the surviving terms. On a nonempty connected graph,The limiting value is the original arithmetic mean. On a disconnected graph, each connected component of a graph converges to its own original arithmetic mean. The same matrix therefore measures neighbour disagreement, detects disconnected regions and governs relaxation toward agreement.
For a real positive-definite matrix in finite dimension, write by the spectral theorem for real symmetric matrices. In the coordinates in an orthonormal basis , the positive level set becomesThis is an ellipsoid, with semi-major and semi-minor axes in two dimensions forming an ellipse; each semi-axis has length and direction given by the corresponding eigenvector. In the opening example, the shorter semi-axis is along , while the longer is along . A stiffer direction, meaning a larger eigenvalue, reaches the same energy at a smaller displacement. The ratio of longest to shortest semi-axis is , the square root of the spectral condition number of a positive-definite matrix.[ref]
Convex Optimization by Stephen Boyd and Lieven Vandenberghe. §2.2.2, p. 30, equation (2.3): ellipsoids and semi-axis lengths; the book uses the inverse quadratic coefficient matrix
Strict positivity matters because givesHence a fixed positive level set cannot extend arbitrarily far. The Cholesky decomposition gives another view: , so the ellipsoid is the inverse image of a sphere under an invertible linear map. A singular positive semidefinite matrix has a nonzero kernel; adding a kernel vector preserves its quadratic form, so any nonempty positive level set is unbounded. These statements concern finite dimension; the positive definite symmetric operator entry explains why strict positivity alone need not give a uniform lower bound on an infinite-dimensional Hilbert space.
Fantope Created 2026-10-05 Updated 2026-10-06
For an integer , the fantope is the convex hull of rank- orthogonal projection matrices in . Equivalently, it consists of real symmetric matrices with eigenvalues in and matrix trace . To prove the equivalence, apply the spectral theorem for real symmetric matrices and express the eigenvalue vector as a convex combination of the zero-one extreme points of the capped simplex. The sum of the largest eigenvalues is its support function.
Fixed-step gradient descent on a positive-definite quadratic Created 2026-10-18 Updated 2026-10-25
Consider the original two-dimensional exampleThe Hessian matrix is , a symmetric matrix and positive-definite matrix. Its eigenvectors are the coordinate directions, its eigenvalues are and , and its Euclidean norm condition number is . The unique global minimum is , so the error equals . The linear map , with the identity matrix, givesFor , the two coordinate error multipliers are and . Consequently , , and the second coordinate changes sign at every step while both shrink. The Euclidean norm of the error contracts by each step. The objective gap, which we call the quadratic energy, contracts by its square:The level sets of are ellipses. Oscillation across their narrow direction is compatible with strictly decreasing energy.
Original gradient descent iterates on : step size contracts both directions, whereas expands the second
. Details. For , the coordinate error multipliers become and , giving . The first coordinate still tends to zero, but the second alternates and grows. Direct substitution givesThus a larger positive step size can turn a strictly convex function into a divergent iteration. Energy and error are different quantities: coordinate errors carry signed multipliers, while each coordinate's contribution to energy carries the squared multiplier.
For the general quadratic form with linear termthe error obeys the same linear map . The spectral theorem for real symmetric matrices supplies an orthonormal basis of eigenvectors with positive eigenvalues . Writing gives the exact solution and energy identityTherefore convergence from every initial vector is equivalent toAt , a nonzero error component along a largest-eigenvalue eigenvector flips sign without shrinking. Above that threshold it grows. A particular start can still converge if it has zero components in every unstable direction; the interval is the condition for all starts. If , then and . These bounds follow by summing the squared components in the orthonormal basis.
For a real matrix , let . It is positive semidefinite, and the spectral theorem for real symmetric matrices gives . If , rescaling any longer vector to unit length decreases its image norm, so minimizers lie on the unit sphere. Lagrange multipliers applied to with give . Thus the minimizers are exactly the unit vectors in the least eigenspace.
Nearest points to the origin on a positive-definite ellipsoid Created 2026-10-14 Updated 2026-10-25
For a positive-definite symmetric matrix , the ellipsoid has nearest points to the origin exactly at , where ranges over unit vectors in the largest-eigenvalue eigenspace. Indeed, the spectral theorem for real symmetric matrices gives , with equality precisely in that eigenspace. A simple largest eigenvalue gives two opposite nearest points; multiplicity gives a scaled -sphere of nearest points.
The restriction of a positive definite form to each is positive definite. By the spectral theorem for real symmetric matrices, choose an orthogonal matrix such that .
Each , since a basis vector is nonzero. Taking determinants in part (i) givesbecause an orthogonal matrix has determinant . ConsequentlyThese determinants are the leading principal minors in Sylvester's criterion.
Work for an arbitrary realization of the sequence, and set . In the Loewner order,By the spectral theorem for real symmetric matrices, every eigenvalue of is at least . The matrix inverse therefore has eigenvalues at most , andFor , put . Since and , we have . The matrix determinant lemma now givesTaking logarithms and using a telescoping sum,This elliptical potential bound holds for every realization and every , without a probabilistic exceptional event. The condition is what ensures .
Past exam of the groups and representations course of the University of Oxford 2025 2 b Solution 2026-10-25
The unbroken group is the stabilizer subgroup of the vacuum expectation value. For a nonzero vector vacuum expectation value, an orthogonal transformation puts . A special orthogonal transformation fixing it has the block form with . ConsequentlyThe zero vacuum expectation value leaves the entire special orthogonal group unbroken.
For a real symmetric tensor write its vacuum expectation value as a real symmetric matrix . The transformation is . The spectral theorem for real symmetric matrices gives an orthonormal basis in whichBecause is equivalent to , an unbroken transformation preserves each eigenspace. The complete unbroken group is thereforeIts identity component is . This symmetric tensor vacuum stabilizer shows why the representation alone does not determine a unique breaking pattern:
- If , all of survives, even when .
- If all eigenvalues are distinct, , consisting of diagonal sign changes with total sign ; no continuous symmetry survives.
- If the two eigenvalue multiplicities are and , then , with identity component .
Past exam of the mathematics course of the University of Cambridge 2003 iii Paper 42 3 ii Solution Created 2026-10-03 Updated 2026-10-14
The command centres the log measurements and performs principal component analysis of their covariance matrix. With
cor=F, it does not first standardize the variables to variance one. For a unit principal component loading vector , the score has sample variance . By the spectral theorem for real symmetric matrices, expand in an orthonormal eigenbasis; that variance is a weighted average of the eigenvalues. Its maximum is the largest eigenvalue, reached at the corresponding eigenvector. Repeating subject to orthogonality to previous directions gives the other principal components.The software uses the divisor- sample covariance matrix for its component standard deviations, whereas
var used divisor . Diagonalizing the displayed matrix gives approximatelyTaking square roots of the latter gives , agreeing with the output to the rounding of the displayed sample covariance matrix. The normalization changes these numerical standard deviations but leaves the eigenvectors and proportions of explained variance of a principal component unchanged.The first principal component explains about of the total log-variable variance, the second another , and the last about . Keeping two preserves about . An original scree plot displays the sharp drop after the first component:
Consequently the centered cloud is very elongated along one direction: a one-dimensional approximation represents almost all of its squared variation. From the displayed covariance matrix, a unit first eigenvector, with its arbitrary sign chosen positive, is approximatelyIts principal component score is therefore . All coefficients have the same sign, so this direction describes overall tree size, with log volume dominating the unstandardized variation. The summary alone supplies proportions, not the loading directions; the displayed sample covariance matrix supplies the latter. This is a geometric approximation, not evidence of an exact deterministic relation or independent original variables.
One further use is principal component analysis on a correlation matrix, obtained with
cor=T, which equalizes marginal variances and answers a different scaling-sensitive question. Another is principal component regression: fit a response to selected principal component scores rather than highly correlated original predictors, choosing the number using prediction assessment. The fitted transformation also projects new measurements into the same low-dimensional coordinates, provided the training centering and scaling are retained. Past exam of the mathematics course of the University of Cambridge 2003 iii Paper 70 1 a Solution Created 2026-10-03 Updated 2026-10-14
For a real matrix with positive determinant, the polar decomposition of an invertible real matrix gives unique factorizationswhere and are the right stretch tensor and left stretch tensor, respectively. Positivity here means positive definiteness, not merely nonnegative entries.
To prove existence, is symmetric and for every nonzero , because is invertible. The spectral theorem for real symmetric matrices supplies an orthogonal matrix and positive eigenvalues such that . Define using the principal square root of a positive semidefinite matrix construction:Then , so is orthogonal. Also ; an orthogonal matrix has determinant plus or minus one, hence . Set . It is symmetric positive definite, , and .
For uniqueness, any second factorization with the same properties gives . Since commutes with its square, it preserves every eigenspace of . On a -eigenspace its own positive eigenvalues must square to , so it equals times the identity there. Thus , then , and finally is fixed too. This proves both uniqueness and the polar decomposition in continuum mechanics, with the same proper rotation in its left and right forms.
Past exam of the mathematics course of the University of Cambridge 2004 iii Paper 19 1 a Solution Created 2026-10-03 Updated 2026-10-14
Use the curvature sign convention implicit in part (c): the Jacobi field equation is , so the operator in a positively curved normal direction has positive eigenvalue. With the alternative convention used for the catalog's Jacobi curvature operator, the paper's tensor is , and its operator is . This fixes the sign throughout Q1.
Let . Pair interchange for the Riemann curvature tensor givesThus is self-adjoint with respect to the Riemannian metric. The curvature sign does not affect this conclusion. The spectral theorem for real symmetric matrices therefore supplies the real orthonormal eigenbasis used in part (b). Also , so the tangent direction is a zero-eigenvalue direction.
Past exam of the mathematics course of the University of Cambridge 2004 iii Paper 69 2 b Solution Created 2026-10-03 Updated 2026-10-14
Put . The update isUnder , all three weights are nonnegative and sum to one. With the imposed zero Dirichlet boundary conditions, this is a convex combination including any boundary values. Thus the monotone half-grid diffusion update givesDifferences of two computed solutions obey the same estimate, proving numerical stability in the discrete maximum norm, uniformly in .
There is also an L2 norm proof. The diffusion matrix is symmetric and satisfiesSince , every eigenvalue lies in . Hence the eigenvalues of lie in under the same step restriction, and the spectral theorem for real symmetric matrices gives an L2 norm contraction. These stability estimates are valid for the printed recurrence, although they cannot repair its inconsistency with the printed advection equation.
Past exam of the mathematics course of the University of Cambridge 2004 iii Paper 72 3 d Solution Created 2026-10-03 Updated 2026-10-14
At a fixed material point, freeze the incremental elastic moduli at their local values and fix a unit propagation direction . For an arbitrary nonzero polarization , the rank-one matrix annihilates the added quadratic minor null Lagrangian, sinceThe assumed positivity therefore givesThus the acoustic tensor is positive-definite; this is strong ellipticity in elasticity. Major symmetry also makes it a real symmetric matrix. By the spectral theorem for real symmetric matrices, it has three real positive eigenvalues and an orthonormal basis of real polarizations . ThereforeEach polarization gives a real plane wave profile through the equation of part (a), in either sign of the propagation speed. Repeated eigenvalues still admit three independent polarizations; the claim is not that the three speeds must be distinct. For an inhomogeneous base deformation these are local, frozen-coefficient wave modes, rather than exact plane waves throughout the entire body.
Past exam of the mathematics course of the University of Cambridge 2005 ia Paper 3 1D Solution Created 2026-09-24 Updated 2026-10-14
By the spectral theorem for real symmetric matrices, choose an orthonormal eigenbasis with . If , thenThus every point of the ellipsoid has distance at least from the origin. Equality holds precisely whenBoth coefficients are strictly positive, so . The surface equation then gives . ThereforeExactly two points attain the minimum. The strict ordering makes the largest-eigenvalue eigenspace one-dimensional; this is the equality case in nearest points to the origin on a positive-definite ellipsoid.
Past exam of the mathematics course of the University of Cambridge 2005 iii Paper 78 1 Solution Created 2026-10-03 Updated 2026-10-14
For the polar decomposition of an invertible real matrix, start with . For nonzero , , since makes invertible. The spectral theorem for real symmetric matrices gives an orthonormal basis with and . DefineThen is a positive-definite symmetric matrix, , andbecause . Thus is an orthogonal matrix with positive determinant. Set ; it too is a positive-definite symmetric matrix, and . Moreover . This provesThe positive square root is unique: any positive symmetric square root of commutes with , preserves its eigenspaces and has the positive scalar square root on each of them. Hence , then and , are unique. These are the right stretch tensor, rotation and left stretch tensor of the polar decomposition in continuum mechanics.
A standard spectral strain measure isTake , and , with strictly increasing; the customary stronger condition gives a regular one-to-one parameterization of all positive principal stretches. The zero condition makes a rigid rotation strain free, monotonicity distinguishes extension from contraction and prevents nonunit stretch from being strain free, and the derivative normalization gives the ordinary infinitesimal strain. Indeed, for ,Under a superposed spatial rotation , and hence remain unchanged, giving material frame indifference. Choosing satisfies all these conditions and gives the Biot strain tensor
The meaning of work-conjugate stress and strain here is that a symmetric material tensor satisfiesfor every admissible rate, with both powers measured per reference volume. To keep the nominal-stress index convention explicit, write , so and the power is . Differentiating gives , where is skew. Conservation of angular momentum gives symmetry of , or equivalently of . ThereforeThe first term vanishes because a symmetric tensor has zero contraction with a skew tensor. Since , the symmetric Biot stress isIf the nominal stress is instead stored spatial-index first as , the same answer is . The symmetrization is essential: need not itself be symmetric.
Past exam of the mathematics course of the University of Cambridge 2006 iii Paper 46 3 a Solution Created 2026-10-03 Updated 2026-10-14
Principal component analysis replaces the original coordinates by orthogonal linear combinations, ordered so that the first few retain as much variance as possible. It gives a lower-dimensional summary for visualization or compression and reveals the main directions of variation. A direction of large variance need not be the direction most useful for classification.
Write . For a unit vector , the centered score has varianceMaximizing this Rayleigh quotient with a Lagrange multiplier givesThus a maximizing direction must be an eigenvector of the covariance matrix. To identify the maximum, use the spectral theorem for real symmetric matrices to choose an orthonormal basis of eigenvectors , with eigenvalues . Writing givesEquality is attained at . Consequently the first population principal component isFor each subsequent principal component, maximize the same variance over unit coefficient vectors orthogonal to all the previously chosen ones. Restricting the expansion above to the remaining eigenvectors gives , then , and so on. ThusThe principal components are uncorrelated; they need not be independent unless additional distributional assumptions, such as joint Gaussianity, hold. Their total variance is . Signs of eigenvectors are arbitrary, and a repeated eigenvalue permits any orthonormal basis in its eigenspace. In sample principal component calculations, replace by the sample mean and by the sample covariance matrix.
Past exam of the mathematics course of the University of Cambridge 2009 ib Paper 4 10G Solution Created 2026-09-24 Updated 2026-10-14
Two real symmetric bilinear forms are congruent if an invertible linear map takes one to the other; in matrices, for some invertible . The spectral theorem for real symmetric matrices gives an orthogonal eigenbasis. Rescaling each basis vector with nonzero eigenvalue then reduces any such form toSylvester's law of inertia asserts that is independent of the congruence reduction. To prove it, is the greatest dimension of a subspace on which the form is positive definite: the positive coordinate subspace attains it, whereas any subspace of dimension greater than meets the nonpositive coordinate subspace of dimension and therefore cannot be positive definite. Applying the same argument to the negative of the form determines . Then is determined too.
The rank of a quadratic form is , and its signature of a quadratic form is under the signed-difference convention. They determine and hence the congruence class. Counting all pairs with givesFor , exactly two classes have every level set bounded: the positive-definite and negative-definite classes. Their nonempty nonzero levels are ellipsoids, and their zero level is the origin. A degenerate form has an entire null line in its zero level. An indefinite nondegenerate form also has a nonzero isotropic vector, for example the sum of one positive and one negative normalized basis vector, whose scalar multiples make the zero level unbounded.
For the displayed three-dimensional form,Its leading principal minors are , all positive. Sylvester's criterion makes it positive definite, so the surface is a bounded ellipsoid. Directly, its quadratic expression iswhich also proves positivity and boundedness of the unit level.


