Advanced

Polar Decomposition Calculator — 2×2 Matrix A = QS

Enter a non-singular 2×2 matrix A to compute its polar decomposition A = QS: an orthogonal factor Q (a pure rotation or reflection) and a symmetric positive semidefinite factor S (a pure stretch). Results include both factor matrices, singular values, and the rotation angle.
Top-left entry
Top-right entry
Bottom-left entry
Bottom-right entry
Rotation angle of Q
-18.43°

Angle of the orthogonal (rotation/reflection) factor Q

Q
[[0.9487, 0.3162], [-0.3162, 0.9487]]
S
[[1.8974, 0.6325], [0.6325, 1.2649]]
Singular values
σ₁=2.2882, σ₂=0.874
det(Q)
1 (rotation)
Orthogonal factor Q — the rotation/reflection part of A
Results are estimates for general information only and are not professional advice — always verify important results independently before relying on them. Read the full disclaimer.
Quick answer

How does this calculator work?

For a 2×2 matrix A, polar decomposition A = QS gives orthogonal Q (rotation/reflection) and symmetric PSD S (stretch). Compute S = (AᵀA + σ₁σ₂·I)/(σ₁+σ₂) where σ₁,σ₂ are singular values, then Q = A·S⁻¹. Enter any non-singular 2×2 matrix to get both factors instantly.

Formula
A = QS • S = (AᵀA)^(1/2) • Q = A·S⁻¹ • σᵢ = eigenvalues of AᵀA raised to 1/2
How this is calculated

The polar decomposition A = QS of a real 2×2 matrix A uniquely factorises A into an orthogonal matrix Q (det = +1 for a rotation, det = −1 for a reflection) and a symmetric positive semidefinite matrix S that captures the stretching/scaling action. It exists for any non-singular matrix.

The algorithm proceeds in four steps. First, compute M = AᵀA, which is symmetric positive semidefinite. Second, find the eigenvalues λ₁ ≥ λ₂ ≥ 0 of M; their square roots σ₁, σ₂ are the singular values of A. Third, compute S = (M + σ₁σ₂·I) / (σ₁+σ₂) — this is the exact closed-form square root of a 2×2 symmetric PSD matrix, derived from the Cayley-Hamilton theorem. Finally, Q = A·S⁻¹.

The decomposition is closely related to SVD: if A = UΣVᵀ, then Q = UVᵀ and S = VΣVᵀ. Singular values σ₁ ≥ σ₂ > 0 are the principal stretch ratios of A — how much it scales space along its two principal directions. The decomposition requires det(A) ≠ 0; singular matrices do not have a unique polar decomposition.

Frequently asked questions

It separates the rotational part of a linear map from its stretching part — essential in continuum mechanics (decomposing deformation gradient into rotation and stretch tensors), computer graphics (extracting rotation from a transformation matrix), and numerical linear algebra (computing matrix square roots).

SVD writes A = UΣVᵀ with two different orthogonal matrices and a diagonal Σ. Polar decomposition writes A = QS = (UVᵀ)(VΣVᵀ) with one orthogonal factor and one symmetric factor. SVD shows the full stretch-rotate-stretch picture; polar decomposition merges the two rotations into one.

Negative det(A) means A includes a reflection. The orthogonal factor Q will have det(Q) = −1 (an improper rotation / reflection), and the rotation angle shown is the angle of the reflective rotation. The symmetric factor S is still positive semidefinite regardless.

Also known as

polar decomposition calculator
matrix polar decomposition
rotation stretch matrix factorization
orthogonal symmetric matrix split
singular value matrix decomposition 2x2
matrix square root calculator
linear algebra polar form matrix

APA

TG we-Calculate Editorial Team. (2026). Polar Decomposition Calculator — 2×2 Matrix A = QS [Online calculator]. TG we-Calculate. https://we-calculate.com/calculator/polar-decomposition-calculator

Chicago

TG we-Calculate Editorial Team. "Polar Decomposition Calculator — 2×2 Matrix A = QS." TG we-Calculate. 2026. https://we-calculate.com/calculator/polar-decomposition-calculator.

IEEE

TG we-Calculate Editorial Team, "Polar Decomposition Calculator — 2×2 Matrix A = QS," TG we-Calculate, 2026. [Online]. Available: https://we-calculate.com/calculator/polar-decomposition-calculator

BibTeX

@misc{wecalculate_polar_decomposition_calculator, title = {Polar Decomposition Calculator — 2×2 Matrix A = QS}, author = {{TG we-Calculate Editorial Team}}, howpublished = {\url{https://we-calculate.com/calculator/polar-decomposition-calculator}}, year = {2026}, note = {TG we-Calculate} }

Did this calculator help you?