A real skew-symmetric matrix is an orthogonal matrix exactly when its square is minus the identity matrix. Indeed, . Such a matrix can exist only in even dimension: taking determinants of would otherwise give . In two dimensions every example is
These are rotation matrices through opposite right angles. Their orthogonal similarity transforms preserve eigenvalues, but do not in general produce a diagonal matrix.
Solve , . Since , differentiation gives . To see why the Lax equation preserves the spectrum, direct differentiation gives
Thus is an orthogonal similarity, so all eigenvalues and all coefficients of its characteristic polynomial are first integrals.
A -dimensional Hamiltonian system is Liouville integrable when it has functionally independent first integrals, including the Hamiltonian, whose pairwise Poisson brackets vanish, on an open dense regular region.
For the three-particle periodic Toda lattice, take . The proposed Hamiltonian has
which are exactly the equations of motion. Differentiating the new variables gives
The transformation is not canonical. For example
rather than canonical coordinate brackets. Moreover , so the map forgets the common translation of all the and is not an invertible coordinate change on the six-dimensional phase space.
Multiplication of the displayed matrices gives diagonal entries and off-diagonal entries in . Therefore they form the required Lax pair. The three characteristic coefficients are
They are independent first integrals, as permitted without proof. Equivalently one may take
Indeed , and . Their mutual Poisson commutation also follows directly: generates the common translation, and because is conserved.
A real square matrix is an orthogonal matrix when . The planar rotation
obeys by the Pythagorean trigonometric identity.
For , the off-diagonal entry of is . Thus
If , equivalently ; if is scalar, every angle works.
Because is an orthogonal similarity, its diagonal entries are the eigenvalues
The matrix has eigenvalues along . Raising its orthogonal diagonalization to the even power gives
For symmetric , apply at stage the same reflection on both sides, choosing it to zero entries below the first subdiagonal in column . Orthogonal similarity preserves symmetry, so the corresponding row entries vanish too and previous zeros remain. After finitely many stages is symmetric tridiagonal. Constructing each reflector uses only arithmetic and one square root.
Starting with , suppose columns have already been reduced to tridiagonal form. Let be the part of column in rows . A Householder reflection on these coordinates can map to . Extend it by the identity on the first coordinates and call the resulting orthogonal matrix .
The update
zeros every entry below row in column . Because it is an orthogonal similarity, it preserves eigenvalues; because the same transformation is applied on both sides, it preserves symmetry and zeros the corresponding row entries without disturbing earlier columns. After such steps,
is symmetric and tridiagonal and has the same eigenvalues as . Every reflector is obtained from finitely many matrix entries using finitely many arithmetic operations and a square root, so this is a finite construction.
A QR decomposition is a factorization with and upper triangular. An orthogonal transformation preserves the Euclidean norm because
For the basic QR algorithm, start with and repeatedly form
In a convergent diagonal form, the diagonal entries give the eigenvalues; practical symmetric-matrix implementations use shifts and deflation to obtain and isolate such convergence. The basic unshifted iteration alone need not converge diagonally for every symmetric input.
At every step, however,
Thus each iterate is orthogonally similar to its predecessor. Similar matrices have the same characteristic polynomial and eigenvalues, including multiplicities, so induction proves that every iterate has exactly the original eigenvalues. Orthogonal similarity also preserves symmetry.
A QR decomposition is , with orthogonal and upper triangular. Orthogonality gives , and therefore , proving invariance of the Euclidean norm.
The unshifted QR algorithm starts with . At step , factor and set . Then
Thus consecutive matrices are related by orthogonal similarity, so they have the same characteristic polynomial and eigenvalues. Induction proves every iterate has the original eigenvalues. Symmetry is also preserved. When the iteration converges to diagonal form, its diagonal entries are the eigenvalues; practical implementations use shifts and deflation to improve convergence.
For real matrices, orthogonal similarity is the special case with an orthogonal matrix. Then a symmetric matrix remains symmetric, because . The expression describes the reverse conversion and has the same property. An orthonormal basis retains the ordinary dot product formula for its coordinate vectors.
An arbitrary change of basis need not preserve entrywise symmetry. In the opening example, is a symmetric matrix but is not. The geometric inner product has not disappeared: in the new coordinates it is represented by the Gram matrix
For with new coordinate vector , the squared Euclidean norm is , agreeing with . The naive coordinate sum would use the wrong inner product.
If , direct multiplication gives
This is self-adjointness expressed in the new inner product, rather than entrywise symmetry relative to the identity matrix. For the example, both products equal . Thus arbitrary matrix similarity preserves the linear operator, while its geometric interpretation requires transforming the Gram matrix as well. Matrix congruence supplies the corresponding rule for a bilinear form and should be distinguished from matrix similarity.