Isometry Checker
Determine whether a square transformation matrix preserves Euclidean distances, lengths, and angles by testing the fundamental orthogonal condition QᵀQ = I and column orthonormality.
In an isometry, transformed basis vectors Qe₁ and Qe₂ remain strictly on the unit circle (norm = 1) and remain mutually perpendicular (dot product = 0).
How to Determine if a Matrix Is an Isometry
A linear transformation matrix Q is an isometry if and only if it preserves Euclidean distances: ||Qu - Qv|| = ||u - v|| for all vectors u and v. In linear algebra, this requires Q to be an orthogonal matrix, satisfying QᵀQ = I (the transpose equals the inverse). Equivalently, the column vectors of Q must form an orthonormal set (each column has unit length 1, and distinct columns have dot product 0), with determinant det(Q) = ±1.
Mathematical Foundations of Euclidean Isometries
The word isometry derives from the Greek roots isos (“equal”) and metron (“measure”). In differential geometry, metric topology, and linear algebra, an isometry is any mathematical mapping between metric spaces that leaves the distance between every pair of points completely unaltered.
Consider Euclidean space ℝⁿ endowed with the standard Euclidean metric induced by the L₂ norm:
A fundamental result in functional analysis—the Mazur–Ulam theorem—proves that every surjective isometry of a normed real vector space is necessarily an affine transformation: f(v) = Qv + b, where b is a constant translation vector and Q is a linear transformation. When an isometry fixes the origin (f(0) = 0, meaning b = 0), it is purely linear. Consequently, auditing whether a linear transformation is an isometry reduces to determining whether its matrix representation Q is an orthogonal matrix. For related vector and matrix operations, explore our Dot Product Calculator and Matrix Multiplication Calculator.
The Algebraic Condition: Orthogonal Matrices & QᵀQ = I
How do we verify whether an n × n real matrix Q preserves distances? The algebraic test hinges on inner products and transpose multiplication.
The squared Euclidean norm of a transformed vector Qv can be expressed using the matrix transpose operator:
For length preservation to hold for every possible vector v ∈ ℝⁿ (meaning ||Qv||² = ||v||² = vᵀ I v), the matrix product Qᵀ Q must equal the identity matrix I:
This single matrix equation encapsulates three simultaneous properties:
- Trivial Inversion: The inverse matrix is obtained by transposing rows and columns (Q⁻¹ = Qᵀ). Inverting an isometry requires zero division or determinant arithmetic.
- Row & Column Equivalence: If QᵀQ = I, then automatically QQᵀ = I as well, meaning row vectors of Q are also orthonormal.
- Energy Conservation: In signal processing and quantum mechanics (unitary operators), isometric transformations conserve total energy and probability.
Orthonormal Bases & Inner Product Invariance
A matrix is orthogonal if and only if its column vectors q₁, q₂, ..., q_n form an orthonormal basis of ℝⁿ. Writing Q = [q₁ | q₂ | ... | q_n]:
When i = j, q_i • q_i = ||q_i||² = 1. Each column vector must be a unit vector located precisely on the unit hypersphere. Check your vectors using our Unit Vector Calculator.
When i ≠ j, q_i • q_j = 0. Every pair of columns must form an exact 90-degree right angle, ensuring no shear distortion.
Because inner products are preserved (〈Qu, Qv〉 = 〈u, v〉), the angle θ between any two vectors is invariant under isometry:
Determinant Classification: Proper Rotations vs Reflections
Applying the multiplicative property of determinants to the isometry equation Q^T Q = I reveals the fundamental topological bifurcation of rigid motions:
Belongs to the Special Orthogonal Group SO(n). Represents a pure rigid rotation. Proper isometries preserve orientation: a right-handed coordinate basis remains right-handed, and clockwise turns remain clockwise.
Belongs to O(n) \setminus SO(n). Represents a reflection across a hyperplane, or a rotoreflection (rotation combined with reflection). Improper isometries reverse orientation: a right-handed basis is converted into a left-handed mirror image.
For determinant verification steps, consult our dedicated Matrix Determinant Calculator.
Step-by-Step Worked Audit Examples in 2D and 3D
Explore four step-by-step algebraic audits determining whether candidate transformation matrices qualify as Euclidean isometries.
Problem: Determine if Q = [[0, -1], [1, 0]] is an isometry and classify its motion.
Problem: Verify the orthonormality of the 45-degree rotation matrix.
Problem: Audit the 3D permutation matrix P = [[0, 1, 0], [1, 0, 0], [0, 0, 1]] that swaps the x and y axes.
Problem: Test if the horizontal shear matrix S = [[1, 1.5], [0, 1]] is an isometry.
Applications in Computer Graphics, Physics, and Robotics
Isometries are essential whenever physical systems or geometric models require strict conservation of scale and form:
3D Computer Graphics & Shading Normals
When 3D mesh objects are rotated, graphics rendering pipelines multiply vertex coordinates by an orthogonal matrix Q. Because Q is an isometry, vertex normal vectors can be transformed by Q directly without expensive inverse transpose recalculations (Q⁻¹)ᵀ = Q.
Rigid Body Mechanics in Game Engines
Physics simulation engines (PhysX, Havok, Bullet) model solid un-deformable objects using the Special Euclidean group SE(3). Separating movement into isometric rotation and translation prevents artificial volume inflation during collision resolution.
Robotic Coordinate Frames & Kinematics
Robotic arms track position using Denavit-Hartenberg transformation matrices. Each arm link transformation incorporates an orthogonal rotation sub-matrix that preserves link lengths regardless of the robot's physical configuration.
Quantum Mechanics & Unitary Evolution
In quantum computing, state vectors evolve under unitary matrices (U† U = I), which are the complex analogs of orthogonal isometries. This ensures that the total probability of all quantum states remains exactly 1 throughout computation.
Numerical Tolerances, Shearing Pitfalls & Error Analysis
Auditing isometries in practical computing requires awareness of numerical subtleties:
In computer calculations, cos(45°) = √2 / 2 ≈ 0.70710678. Due to IEEE-754 finite precision, computing Qᵀ Q yields diagonal entries like 0.9999999999999999 and off-diagonals like 1.11 × 10⁻¹⁶. Strict equality (Qᵀ Q == I) will fail unless evaluated using an epsilon tolerance (||Qᵀ Q - I|| < ε).
A matrix can have a determinant of exactly +1 without being an isometry. Pure shear transformations ([[1, k], [0, 1]]) and volume-preserving stretches ([[2, 0], [0, 0.5]]) have \det = 1, but distort lengths. Isometry requires Q^T Q = I.
In real-time 3D flight simulators and physics loops, multiplying rotation matrices repeatedly over thousands of frames causes numerical rounding drift, leading to gradual object distortion. Engineers must periodically re-orthogonalize the matrix using the Gram-Schmidt process.
Lead Developer & Founder of Basic Math Tools. Specializes in browser-native computational algorithms and applied mathematics.
Mathematics & curriculum specialists. Audited against standard algebraic and arithmetic principles.