SO(3) group Created 2026-10-05 Updated 2026-10-07
The SO(3) group consists of real three-by-three orthogonal matrices with determinant one. It acts by rotation in three dimensions. Its group manifold is , since the Adjoint double cover from SU(2) to SO(3) identifies antipodal points of the three-sphere.
SO(7) group 2026-10-25
The compact group of real seven-by-seven orthogonal matrices with determinant one. Its Lie algebra has B3 root system. Its simply connected double cover is the Spin group ; the eight-dimensional spin representation belongs to that cover and does not descend to SO(7).
Spectral theorem for real symmetric matrices Created 2026-09-29 Updated 2026-10-14
Every real symmetric matrix has an orthonormal basis of real eigenvectors. Equivalently, it admits an orthogonal diagonalization with real diagonal and an orthogonal matrix.
This is the finite-dimensional real-symmetric case of the spectral theorem.
Stable construction of a Givens rotation 2026-10-14
For finite real numbers , a Givens rotation that annihilates is defined mathematically byHere
hypot means an evaluation of the Euclidean norm of designed to avoid unnecessary range failures in floating-point arithmetic. The zero case selects the identity matrix, avoiding division by zero. If , then ; if , then . Thus the retained component is nonnegative, including when . In exact arithmetic, and .Computing the square root of
a*a + b*b directly can fail even when the final norm is representable. In binary64 floating-point arithmetic, makes the squares overflow, whereas is finite. With the squares round to zero, although is representable. A range-safe hypot avoids these intermediate failures.The simple divisions still need care when is a subnormal number: rounding can cause large relative errors. For the smallest positive binary64 subnormal number , taking rounds to ; dividing by that rounded value gives , which is not an orthogonal matrix. For nonzero finite inputs, compute the coefficients before rescaling the norm:At least one scaled component has absolute value one, and . This construction keeps the coefficients meaningful even when rounding is severe. It cannot make an unrepresentably large finite, preserve an arbitrarily tiny against underflow, or repair inputs already rounded to zero. The row updates themselves can also overflow if their exact results exceed the available range.
LAPACK's
DLARTG uses scaling for numerical stability but a different sign convention: for it chooses and ; for it returns . Its block still has the lower-left minus sign. Do not combine its returned coefficients with an assumed nonnegative .[ref]DLARTG (LAPACK 3.12.1) by Edward Anderson. DLARTG, LAPACK 3.12.1, Purpose: block, signed R, scaling and zero-input cases; implementation lines 137–159
If real matrices satisfy and , then is a contraction and is an orthogonal matrix for . Hence for every . The bound is independent of commutativity and gives unconditional stability for a centered convection-diffusion semidiscretization with homogeneous Dirichlet boundary conditions. It does not itself bound the mesh-dependent commutators that enter a time-error estimate.
For a real skew-symmetric matrix , its Cayley transform of a real skew-symmetric matrix with the opposite sign convention has inverse . Since is an orthogonal matrix, symmetry means , or . This forces . Skew-symmetry means , or , which is equivalent to . In that case . Such examples exist in even dimension by taking two-dimensional right-angle rotation matrices in diagonal blocks; in odd real dimension the determinant equation rules them out.
Symmetric part of an orthogonal matrix 2026-10-18
For a real orthogonal matrix , . If for a nonzero complex eigenvector, then . Therefore the same eigenvector has eigenvalue for the symmetric part of a matrix . Orthogonality implies , so writing gives . The complete complex orthonormal eigenbasis of an orthogonal matrix shows that all the eigenvalues of its symmetric part lie in .
A real orthogonal matrix of size three with has an eigenvector of eigenvalue . Its orthogonal complement is invariant, and the restriction there is an orientation-preserving plane rotation. Thus is a rotation about the axis composed with a reflection across the plane perpendicular to . Writing the plane angle as , . A pure plane reflection is the case ; if , it cannot be a pure plane reflection.