Let be a twice continuously differentiable local diffeomorphism, and suppose . The chain rule gives the displayed transformation of the Hessian matrix: terms containing second partial derivatives of are multiplied by first partial derivatives of and vanish at the critical point. By Sylvester's law of inertia, the numbers of positive, negative and zero eigenvalues are unchanged. Independently of nondegeneracy, the local diffeomorphism preserves the critical point's status as a local minimum, local maximum or saddle point of a scalar function, because it maps neighbourhoods to neighbourhoods.
Inertia of a bilinear form Created 2026-09-24 Updated 2026-10-03
The inertia of a real symmetric bilinear form is the triple giving the numbers of positive, negative, and zero squares in a diagonalization. Sylvester's law of inertia makes it independent of the chosen basis.
Off-diagonal all-ones quadratic form 2026-10-14
Its symmetric matrix is . The line spanned by has eigenvalue and its orthogonal complement has eigenvalue . Thus for it is nondegenerate with inertia ; for it vanishes. This gives a useful explicit example for Sylvester's law of inertia.
Past exam of the mathematics course of the University of Cambridge 2001 ib Paper 1 17B Solution Created 2026-09-24 Updated 2026-10-14
First work over a field of characteristic different from two. If a nonzero symmetric bilinear form had for every vector, polarization would givea contradiction. Hence choose with . Every decomposes uniquely aswith the second summand orthogonal to . Induct on the orthogonal complement to obtain a diagonal basis. If the restricted form becomes zero, any basis of that remaining space completes the diagonalization. In this basis the rank of a quadratic form is exactly the number of nonzero diagonal coefficients; the remaining basis vectors span its radical of a bilinear form.
Over the reals, rescale the nonzero basis vectors so the diagonal entries are copies of , copies of and zeros. Define the signature of a quadratic form by , so . To prove it is basis independent, note that is the largest dimension of a linear subspace on which the form is positive-definite. The positive coordinate linear subspace attains dimension ; on any other positive linear subspace, projection to those positive coordinates is injective, since its kernel has nonpositive quadratic value. Thus its dimension is at most . The same argument for the negative form characterizes . This proves Sylvester's law of inertia and that the signature is well-defined.
Let and be positive and negative normalized basis vectors, and let be the radical of a bilinear form. The span of and for is a totally isotropic subspace: all mutual bilinear pairings vanish. Its dimension is . Conversely, project any totally isotropic subspace to the nondegenerate positive-plus-negative quotient. The projected linear subspace is still null, and its projections to both the positive and negative coordinate spaces are injective: a vector with one component zero would have strictly signed quadratic value unless it vanished. Its dimension is therefore at most , while the kernel of the quotient map on has dimension at most . HenceThis proves both construction and sharpness of the maximum dimension of a totally isotropic subspace.
For the five-variable example, the symmetric coefficient matrix isIts cyclic structure makes the vectors , , eigenvectors with eigenvalues . Thus the eigenvalues areTheir product is , and three are positive and two negative. ThereforeThe real and imaginary parts of each conjugate pair of eigenvectors give the corresponding real two-dimensional eigenspaces, consistent with the real inertia calculation.
Past exam of the mathematics course of the University of Cambridge 2003 iii Paper 27 2 Solution Created 2026-10-03 Updated 2026-10-14
The Morse lemma states that if is a nondegenerate critical point of a smooth real function on an -dimensional smooth manifold, there are smooth coordinates , centered at , such thatHere is the Morse index, the number of negative directions of the Hessian matrix at . The equality is exact on a neighborhood, not merely a second-order expansion.
To prove it, start with any coordinates putting . Since , integral Taylor theorem givesThe matrix is smooth and symmetric, with . By Sylvester's law of inertia, a constant invertible linear coordinate change makes .
We perform completion of squares with coefficients depending smoothly on the original . The first pivot stays nonzero and keeps its sign on a sufficiently small neighborhood. Algebraically,The remaining coefficient matrix is the Schur complement. At zero it is the remaining signed diagonal matrix, so its first pivot is also nonzero nearby. Continue recursively, shrinking the neighborhood finitely many times. Every pivot is smooth and nonzero, with sign for and thereafter. Absorb into the square by its smooth positive square root. This produces a smooth triangular matrix with nonzero diagonal such thatAll coefficients here are functions of the original ; no circular coordinate substitution is involved. Define . Its derivative at zero is , which is invertible. The inverse function theorem makes a smooth coordinate system and gives the asserted exact quadratic form. The number of negative squares agrees with the Hessian matrix signature and hence with the Morse index. This is the smooth completing-square proof of the Morse lemma.
Past exam of the mathematics course of the University of Cambridge 2004 ib Paper 2 12E Solution Created 2026-09-24 Updated 2026-10-14
Associate to its symmetric bilinear form by the polarization identity,We first construct a diagonal basis by induction on the dimension. A zero quadratic form is already diagonal. Otherwise choose with . Every has the decompositionwhose second term lies in . Also , so and . Apply the induction hypothesis to the restricted quadratic form on . The cross terms with vanish, giving a diagonal basis on . Rescale each vector with diagonal coefficient by , and reorder positive, negative and zero coefficients. This yieldsNo nondegeneracy assumption was used.
For uniqueness, let be the positive coordinate subspace and the span of all negative and zero coordinate vectors. Their dimensions are and . Any subspace on which has positive definiteness intersects only in zero. The dimension formula for a sum of subspaces therefore gives . Conversely itself has dimension and positive restriction. Thus is the largest possible dimension of a positive subspace, an intrinsic description independent of the basis. Applying the same argument to shows that is the largest dimension of a negative subspace. This proves Sylvester's law of inertia, including uniqueness of the zero count .
The extremal subspaces themselves need not be unique. For , the coordinate axes give one positive and one negative line. For any , putThen , , , and the determinant of the change of basis is one. The distinct lines and give another positive/negative decomposition, with the same intrinsic counts .
Past exam of the mathematics course of the University of Cambridge 2006 ib Paper 2 1E Solution Created 2026-09-24 Updated 2026-10-14
Sylvester's law of inertia says that any real quadratic form has coordinates in which it is a sum of positive squares minus negative squares, with unused coordinates, and that the numbers are invariant under every invertible linear change of coordinates. Its rank is ; its signature of a quadratic form is commonly , with also called its signature pair.
The symmetric matrix here is , where and . On the line spanned by , has eigenvalue . If , then , so that the orthogonal complement has eigenvalue with multiplicity . Thus the off-diagonal all-ones quadratic form hasFor the form vanishes, so rank and scalar signature are both zero, with inertia . Including this case is necessary because the distinguished eigenvalue then becomes zero.
Past exam of the mathematics course of the University of Cambridge 2007 ib Paper 1 9G Solution Created 2026-09-24 Updated 2026-10-14
Sylvester's law of inertia states that a real quadratic form can be brought by an invertible real change of coordinates towith remaining zero coordinates, and that the integers are uniquely determined. To prove existence, represent it by a symmetric matrix. The allowed orthogonal diagonalization yields real eigenvalues, and scaling each nonzero eigen-coordinate by the square root of its absolute eigenvalue changes its coefficient to or .
For uniqueness, is the largest dimension of a subspace on which the form is positive definite. The positive coordinate subspace attains . Any subspace of dimension greater than intersects the -dimensional span of the negative and zero coordinates nontrivially, by the dimension formula. A nonzero vector in that intersection has nonpositive quadratic value, contradicting positive definiteness. Similarly, is the maximal dimension of a negative-definite subspace. These descriptions are independent of coordinates, and is then fixed. This proves existence and uniqueness, including degenerate forms.
For the final application, nonsingularity gives . In diagonal coordinates write , with . If projects to zero in the positive coordinates, forces , so projection is injective. The same argument applies to the negative coordinates. Hence and , and their sum is . ThereforeThe inertia signature is , or signature difference if that convention is used. This is the isotropic dimension bound from real inertia.
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.
Past exam of the mathematics course of the University of Cambridge 2013 ib Paper 4 1E Solution Created 2026-09-24 Updated 2026-10-07
A quadratic form on a finite-dimensional real vector space is a function for a symmetric bilinear form . Conversely recovers that bilinear form. Two quadratic forms are congruent if a linear isomorphism satisfies ; in coordinates this is matrix congruence, , with invertible.
Sylvester's law of inertia says that a real quadratic form admits coordinates in whichand the numbers of positive, negative and zero squares, , are independent of the coordinates. Here ; and are the maximal dimensions of subspaces on which the quadratic form is positive definite and negative definite, while is the dimension of its radical of a bilinear form. These numbers are the inertia of a bilinear form. The rank of a quadratic form is , and the signature of a quadratic form, in the signed-difference convention, is .
Completing squares givesThe change of coordinates is invertible, so the inertia is and the signature is . If signature is recorded as an ordered pair instead, that pair is .
Past exam of the mathematics course of the University of Cambridge 2016 iii Paper 313 2 Solution Created 2026-10-03 Updated 2026-10-06
The real vector space of symmetric matrices has dimension . On its invertible part the derivative of the determinant isAt a determinant-one symmetric matrix, this derivative is nonzero: the symmetric direction gives value . The regular level set theorem therefore yieldsThis applies to every signature component, not only positive-definite matrices.
The special linear congruence action on symmetric matrices preserves symmetry because , and preserves determinant because . The identity acts trivially andThese verify a smooth left Lie group action of the special linear group. By Sylvester's law of inertia, it also preserves the numbers of positive and negative eigenvalues.
For , parametrize the symmetric matrices byThus is exactly the two-sheeted hyperboloidThe two sheets consist respectively of positive-definite and negative-definite matrices. Each is preserved by the special linear congruence action on symmetric matrices. They are individually transitive: on the positive sheet with and ; on the negative sheet use . The stabilizer of either or is .
Differentiating the left Lie group action along gives the fundamental vector fieldFor the three matrices in the question, their coordinate components areA sign convention matters here. With the usual Lie bracket of vector fields , the fundamental fields of this left action obey . Indeed, for linear coordinate fields , the bracket has coefficient . To obtain a Lie algebra representation rather than an anti-representation, use the infinitesimal left-action sign conventionAn explicit answer is thereforeThese are tangent to the two-sheeted hyperboloid: applying each to gives zero. For example,They can be written on either sheet using :Here the omitted component is determined by tangency, and derivatives of must be included when computing brackets in these coordinates.
Direct matrix multiplication givesDirect differentiation of the displayed vector fields gives exactlyFor instance, in ambient coordinates, . These are the defining relations of the sl2 Lie algebra. The three fields are linearly independent over constant real coefficients: if vanishes on a sheet, its coefficient forces , and its coefficient then equals , forcing . Thus the representation is faithful. Their pointwise span need only have dimension two, consistent with the dimension of each sheet.
Past exam of the mathematics course of the University of Cambridge 2017 ib Paper 3 10F Solution Created 2026-09-24 Updated 2026-10-05
Associate to the symmetric bilinear form . If is identically zero, every basis is diagonal. Otherwise choose with . Every has the decompositionwhose second term lies in . Thus , with no cross term in . Induction on dimension gives a diagonal basis. Rescaling its nonzero entries reduces the form towith additional zero coordinates. Define the rank of a quadratic form and its signature . Rank is intrinsic, since it is the rank of , equivalently . Also is the greatest dimension of a subspace on which the restriction of is a positive-definite quadratic form: any such subspace intersects the negative-plus-zero coordinate space only at zero, so its dimension is at most , while the positive coordinate space attains . The corresponding negative statement identifies . This proves the basis independence of and , the Sylvester's law of inertia conclusion.
For a totally isotropic subspace on which vanishes, polarization identity also makes vanish on . Quotient by the radical of a bilinear form. In the resulting nondegenerate form, projection of an isotropic subspace to either the positive or negative coordinate space is injective, so its dimension is at most . Consequently . The radical of a bilinear form together with the vectors , , attains this bound. The maximum dimension of a totally isotropic subspace is thereforeThe criterion for membership in a diagonal basis follows similarly: a nonzero vector can belong to a diagonal basis if it has nonzero quadratic value, by the same orthogonal splitting, or if it lies in the radical of a bilinear form, by choosing a radical basis containing it. An isotropic vector in a diagonal basis must be orthogonal to every basis vector, and hence must lie in that radical. For the specified form, its radical is the -axis, giving exactlyThe zero vector never belongs to a basis.
Past exam of the mathematics course of the University of Cambridge 2019 ib Paper 3 10F Solution Created 2026-09-24 Updated 2026-10-03
The symmetric bilinear form associated with a quadratic form is obtained by polarization:To diagonalize it, argue by induction on . If for every , polarization gives , so every basis works. Otherwise choose with . Thenand diagonalize the restriction to inductively. Thus some basis gives a diagonal matrix with positive, negative, and zero entries. By Sylvester's law of inertia, their counts are basis-independent. In the convention relevant here, the signature of a quadratic form is
Suppose lies in the radical of a bilinear form, so for all . Then andHence is a well-defined quadratic form on the quotient vector space . In an adapted diagonal basis, quotienting by merely removes zero diagonal directions, so and , and therefore the signature, are unchanged.
Now let . Its Gram matrix iswhich has determinant . Thus is nondegenerate and has one positive and one negative square: it is a hyperbolic plane (quadratic form) and has signature zero. Nondegeneracy gives the orthogonal direct sumSignature is additive under orthogonal direct sums, so
Past exam of the mathematics course of the University of Cambridge 2021 ib Paper 4 8E c Solution Created 2026-09-24 Updated 2026-09-25
By the real spectral theorem, the real symmetric matrix has an orthonormal basis of eigenvectors. In that basis the associated quadratic form isRescaling the coordinates belonging to nonzero eigenvalues changes every positive coefficient to and every negative coefficient to . Hence the diagonal normal form has one positive square for each positive eigenvalue and one negative square for each negative eigenvalue. By Sylvester's law of inertia, these counts do not depend on the diagonalizing basis, so
The numerical eigenvalues are not invariant under a general change of basis, because the matrix changes by congruence rather than similarity. For example, on a one-dimensional space let . Its matrix in the basis is , whereas in the basis it is . The eigenvalue changes from to , although its sign, and therefore the signature, is unchanged.
Past exam of the mathematics course of the University of Cambridge 2022 ib Paper 2 8F Solution Created 2026-09-23 Updated 2026-09-25
Let satisfy for every vector . If there is nothing to prove. Otherwise choose with . For every and every real number ,so the hypothesis gives . Taking two values of shows that . Sincewe obtain . Thus one of the two linear functionals is zero.
Sylvester's law of inertia says that, in a suitable basis, every real quadratic form isThe rank is , and the signature is ; both are independent of the chosen basis.
If , its polar form has image contained in , so . If , the two functionals must be independent and, after taking their sum and difference, is a difference of two squares. Hence . If , then . In every case,Conversely, this inequality leaves onlyup to a linear change of coordinates. These factor respectively as , , and . Therefore
Past exam of the mathematics course of the University of Cambridge 2025 ib Paper 4 8F Solution Created 2026-09-23 Updated 2026-09-25
The symmetric bilinear form associated with a real quadratic form is obtained by polarization identity:In coordinates , replacing by its symmetric part does not change , and the formula gives ; this proves existence. A symmetric form is positive semidefinite when for every , and positive definite when the inequality is strict for every .
The diagonalization theorem for real quadratic forms says that some basis puts any symmetric form intowith further zero coordinates. Sylvester's law of inertia says that is independent of the diagonalizing basis. To prove this, let be the span of the positive coordinate vectors and let be the span of the negative and zero vectors. If is positive definite for another diagonalization and , thenso the two spaces intersect nontrivially. A vector in the intersection would have both positive and nonpositive square, a contradiction. Thus ; symmetry gives . Applying the same argument to gives , and then .
For the nondegenerate form on , write its inertia as , so . The restriction vanishes identically on : polarization gives for . Projection of to the positive coordinate space is injective, since a vector with zero positive projection cannot be isotropic unless it is zero. Hence ; projection to the negative space likewise gives . Therefore .
The matrix of is . If , it has rank one and inertia , hence signature one; if , its rank and signature are zero. The coefficientwise product has matrix , where , so it has the same rank-one conclusion when and is zero otherwise.
Finally, diagonalization writes every positive semidefinite form as a sum of squares, say and . Bilinearity of coefficientwise multiplication givesa sum of positive semidefinite rank-at-most-one forms. Thus is positive semidefinite.
Past exam of the mathematics course of the year 2 of the natural sciences course of the University of Cambridge 2009 Paper 1 5 Solution Created 2026-10-18 Updated 2026-10-20
The spectral theorem for real symmetric matrices supplies an orthonormal basis of real eigenvectors. Put these in the columns of , so and . In the question's coordinate convention choose and . Since ,Reorder the eigenvalues with positive, negative and zero. For nonzero eigenvalues set , and retain the remaining coordinates as . This is an invertible real transformation , where is the diagonal rescaling; the combined matrix gives . It giveswith the zero coordinates absent. The general allowed range is . The printed restriction is not valid for every real symmetric matrix: a negative-definite or zero form has no positive square. The invariance of these counts is Sylvester's law of inertia.
Complete the square in the quadratic form:The real invertible linear transformationsets , , , giving . The same transformation givesIts signature is . By Sylvester's law of inertia no real invertible change of variables can turn this second form into a sum of three positive squares.
Since is invertible, the quadratic form gradient vanishes exactly at the origin. At every nonzero point of , the scalar derivative is surjective, so the regular level set theorem gives a smooth submanifold of dimension .
If , the nontriviality assumption forces the form to be an indefinite quadratic form: an invertible definite form would have zero set consisting only of the origin. Every nonzero point is regular. To show that the origin really fails to be a manifold point, use Sylvester's law of inertia to reduce to . With positive and negative coordinate vectors , the null vectors and span . Each line in one of these directions lies in the cone.
If a relatively open manifold neighborhood of the origin existed, its tangent space would contain all these line directions, so would have dimension . Such an embedded manifold would be open in , impossible for the zero set of a nonzero quadratic form. ConsequentlyThis gives the smooth locus of a nondegenerate real quadratic level set, including maximality at the singular vertex.
For a real symmetric bilinear form, let and be the dimensions of its positive and negative diagonal subspaces. This pair gives the first two components of the inertia of a bilinear form and is independent of basis by the Sylvester's law of inertia. For a nondegenerate form their sum is the full dimension; otherwise the nullity is an additional invariant. Another convention calls the difference the signature of a quadratic form. The pair convention describes the positive and negative harmonic spaces of the real de Rham intersection form in dimension four.