Represent the quadratic form by the symmetric matrix
The spectral theorem for real symmetric matrices gives an orthogonal matrix and real eigenvalues such that . In the orthogonal change of coordinates , the equation becomes .
If both eigenvalues are positive, this is an ellipse with semiaxes and . Conversely, a zero eigenvalue makes the set either empty or unbounded along that coordinate, while two negative eigenvalues give the empty set. Opposite signs give an unbounded hyperbola. A negative eigenvalue together with a zero one also gives the empty set. None of those cases is an ellipse. Therefore the exact condition is that be a symmetric positive-definite matrix.
The sum and product of its eigenvalues are its matrix trace and determinant:
Two real numbers are both positive precisely when their sum and product are positive. Thus
An orthogonal transformation preserves area. Using i gives the quadratic-form ellipse area
Eliminate using the plane equation. The orthogonal projection consists exactly of the points satisfying
since each such lifts uniquely to on the intersection. Translating to the center of an ellipse with and gives
The symmetric matrix of this quadratic form is , whose eigenvalues are and . Thus it is a symmetric positive-definite matrix, and the projected curve is an ellipse. The quadratic-form ellipse area, with the right-hand side scaled by , is
For example, the orthogonal change of coordinates , gives semiaxes and , with the same product.
The quadratic form is
The symmetric matrix has eigenvalues , with respective orthogonal eigenvectors . Normalize them to obtain the orthonormal basis
The given change of basis means
Substitution, or orthogonal diagonalization of a real symmetric matrix, gives
Thus the semi-major and semi-minor axes have lengths and . The eccentricity and enclosed area are
The orthogonal change of basis preserves area, so this is also the area in the original Cartesian coordinates.
The real spectral theorem states that a symmetric matrix has an orthonormal basis of real eigenvectors, and hence is a diagonalisable matrix. Here is a proof in this setting.
For , the quadratic form attains a maximum on the unit sphere, by compactness and the extreme value theorem. Choose a unit maximizer and put . For any , the Rayleigh quotient along has a maximum at , so
The last equality uses and . Thus is orthogonal to every , so .
The orthogonal complement is an invariant subspace, because for ,
The restriction of to is again symmetric with respect to the induced inner product. By mathematical induction on dimension, it has an orthonormal basis of eigenvectors; adjoining gives one for . If has those basis vectors as columns, then is a real diagonal matrix and .
Choose the rotated Cartesian coordinates
Their inverse is , . Consequently and , giving the canonical form of a quadric
The orthogonal diagonalization identifies the eigenvalues of the symmetric matrix of the quadratic form.
For , all three coefficients are positive: the surface is an ellipsoid with semiaxes . At it is a sphere.
For , the equation is , an elliptic cylinder parallel to the axis. For , it is , an elliptic cylinder parallel to the axis. The absent coordinate is unrestricted; its disappearance does not turn the surface into an ellipse.
For , the negative coefficient is that of : this is a one-sheet hyperboloid with axis . For , the negative coefficient is that of : it is a one-sheet hyperboloid with axis . This gives the signature transition from an ellipsoid to an elliptic cylinder and a one-sheet hyperboloid, including both transition values.
Write . Restriction to the plane gives
This is an equation of degree at most two in two Cartesian coordinates, the general algebraic form of a conic, with possible degenerate conics and an empty set of real points. No determinant hypothesis is needed for this substitution.
For an arbitrary plane, choose a point and an orthonormal basis of its direction linear subspace. Put and , where . With , the symmetric part of a matrix, the restricted equation is
This proves the plane-section result whenever “conic” allows the appropriate degeneracies. A rigid motion taking the chosen plane to gives the same argument.
The source's assumption does not guarantee a nondegenerate conic. Even with and , the section is a single point, and has no real points. With the nonsingular symmetric matrix giving , the section is the repeated straight line .
There is a further literal omission: the source does not assume is symmetric. For
one has but . Thus the section is the entire plane, rather than a conic. Only controls the quadratic form; invertibility of an arbitrary cannot remove this exception. If the intended hypothesis is that is symmetric and nonsingular, the quadratic restriction to a plane cannot vanish identically: otherwise , so would map a two-dimensional linear subspace injectively into its one-dimensional orthogonal complement, which is impossible. Degenerate and empty sections still remain possible.
Multiply the quadratic form out directly:
Thus , and . Both eigenvalues are positive, so this is a positive-definite quadratic form; its positive unit level set is an ellipse. The next part exhibits its principal axes explicitly.
The partial derivatives are and , so all stationary points are for integers . Their Hessian matrix is . At even multiples of it is a positive-definite matrix, whereas at odd multiples it has one positive and one negative eigenvalue. Consequently
There are no local maxima. Since both and are nonnegative, these are also global minima. In the requested open plotting window, the stationary points are and ; the local minima at lie on excluded edges.
For a level set , solving for the vertical coordinate gives
For these level sets are closed ovals around each local minimum. At the level sets shrink to the local minima. The level set through the saddle points is
where the two signed branches together describe the same set as . They cross at and reach . The crossing slopes at a saddle point are , as also follows from the local quadratic form . For , the upper and lower level sets remain separate and extend across the plotting window without meeting the horizontal axis.
Figure 1.
Contours of the cosine-plus-quadratic function, with its saddle level and stationary points labelled
. Details.
Suppose . The given quadratic form bound then gives
so . Thus the kernel of is trivial. A square matrix with trivial kernel is an invertible matrix, proving the assertion. No symmetry assumption on is needed.
Expanding the quadratic form gives
Matching coefficients of and yields
Nilpotence and eigenvalues. If with , then . Thus forces for every eigenvalue. Conversely, if all complex eigenvalues, counted with algebraic multiplicity, vanish, the monic characteristic polynomial is . The Cayley-Hamilton theorem then gives . Hence
This is the criterion for a nilpotent matrix.
Symmetric case. Here a symmetric matrix is understood to be real. The spectral theorem gives with orthogonal and real diagonal. The previous result makes every diagonal entry zero, so . Alternatively, choose , so . For every real vector ,
It follows that . Repeat until . This uses positivity of the quadratic form . The restriction to real symmetric, or complex Hermitian matrices, matters: a complex matrix satisfying only need not have this positivity.
The parameters and powers. The first two columns of coincide, so for all . The sum of its principal two-by-two determinants, each a minor of a matrix, is
Together with , this gives
For every eigenvalue to vanish both remaining coefficients must be zero. Therefore
Direct multiplication at these values gives
Indeed the first row of multiplied by is , and the second row is its negative.
Geometry of repeated application. For any parameters the image of a linear map lies in the span of and , since . Thus it lies in a fixed plane through the origin, independently of the input. When are independent its normal is ; if they coincide, the image is a line and is still contained in a plane.
For , put and . Then
The columns span this entire plane, so has rank two. The next two steps are
Thus the image of a linear map contracts from a plane to a line and then to the origin under successive applications. The line from is precisely the kernel of .
The spectral theorem gives a real orthonormal eigenbasis for a real symmetric matrix . Distinct eigenspaces are orthogonal; within a repeated eigenspace, choose an orthonormal basis, for example by Gram-Schmidt orthogonalization. Put these eigenvectors in the columns of . Then and
For a change of variables , choose . Since , the quadratic form becomes ; the are precisely the eigenvalues of .
In the numerical case, the off-diagonal entries are half the cross-term coefficients, so
A direct eigenvector calculation gives the unit eigenvectors , , , with eigenvalues two, three and minus six. They are pairwise orthogonal. Therefore the required orthogonal diagonalization is
and the transformed quadratic form is .
Complete the square in the quadratic form:
The real invertible linear transformation
sets , , , giving . The same transformation gives
Its 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.
For any Hermitian matrix , the scalar is real because its complex conjugate equals . Applying this to in part (a) gives
These are the real and imaginary quadratic forms associated with the numerical range of .
Use the inner product on . The distinct real eigenvalues permit a full orthonormal eigenvector expansion; the two child solutions establish that expansion and apply it to the proposed quadratic form.
Use the intended infinite square well interpretation: the kinetic-energy operator on with zero Dirichlet boundary conditions. The variational energy is most safely evaluated through its quadratic form,
The boundary term vanishes because the trial function vanishes at both walls. Its zero extension has derivative jumps there, so the form interpretation avoids assigning an unrestricted full-line second derivative to it.
Set and . Apart from an irrelevant factor , the trial function is . Polynomial integration gives
Hence the polynomial Rayleigh-Ritz trial space for a one-dimensional box has energy
The denominator is strictly positive, since . Differentiation gives
The two stationary parameters are . The smaller is a local maximum; the larger is a local minimum. Since the energy tends to as , the latter is the global minimum:
The upper stationary value is . Exact roots give a slightly tighter bound than substituting the rounded hints.
There are two qualifications to the printed operator and comparison energy. For the box with Dirichlet boundary conditions and width , the actual ground-state energy is
which lies just below the variational result. The coefficient printed as an exact eigenvalue is inconsistent with this box problem. Also, merely declaring the differential expression to be zero outside the interval does not impose hard-wall confinement or specify a self-adjoint domain. Read literally on a space admitting exterior-supported states, it has zero-energy states outside and does not have the claimed positive ground energy. The boxed variational result is the well-defined answer for the intended confined particle; a different full-line operator would need its domain and matching conditions supplied.
The block has characteristic polynomial . A convenient orthonormal eigenbasis for the full real symmetric matrix is
with eigenvalues , , and , respectively. Hence its orthogonal diagonalization is
For repeated eigenvalues, every nonzero combination within the corresponding eigenspace is also an eigenvector; the displayed basis remains valid. Introduce principal axes coordinates
The quadratic form becomes
The principal-axis reduction of a quadric therefore has three regimes.
For , all coefficients are positive: the surface is an ellipsoid centred at the origin, with
For , the term disappears. The surface is an elliptic cylinder, unbounded along , whose cross-section is :
For , there is one negative coefficient, so the surface is a one-sheet hyperboloid:
Its waist at is an ellipse with semiaxes and . At other , both waist radii are multiplied by . There is no intercept on its longitudinal axis. Its asymptotic cone is . If positive eigenvalues coincide, the corresponding choice of principal axes is not unique, reflecting a rotational symmetry of the surface.
Figure 1.
Ellipsoid, elliptic cylinder, and one-sheet hyperboloid in principal coordinates
. Original calculated examples with and . The horizontal longitudinal coordinate is directed along in the original coordinates. Cylinder and hyperboloid plots show finite portions of unbounded surfaces. Details.
By the spectral theorem for real symmetric matrices, choose an orthonormal eigenbasis corresponding to , with . Write and . This orthogonal change of coordinates gives
The plane constraint is therefore . On that plane the quadratic form vanishes exactly when
Consequently the entire set is
The two direction vectors are nonzero and not parallel, since are linearly independent. An invertible orthogonal transformation maps each full line to a full line. Thus the set consists of precisely two infinite lines through the origin.
A real symmetric matrix has a real orthonormal eigenbasis. Put those eigenvectors into an orthogonal matrix , so . With the change of coordinates , or ,
Thus the coefficients are the eigenvalues and the new coordinate directions are the eigenvectors. This orthogonal diagonalization preserves Euclidean lengths and angles while removing cross terms from the quadratic form.
The four spring extensions are , , and . Hooke's law therefore gives potential energy , while the kinetic energy is . Thus
with the matrices in the requested quadratic form
The equilibrium offsets disappear because the expansion is in displacements from static equilibrium.