Post · 5 min read· pp. 597–599

What is the Polar Decomposition?

A polar decomposition of A∈Cm×nA\in\mathbb{C}^{m \times n} with m≥nm \ge n is a factorization A=UHA = UH, where U∈Cm×nU\in\mathbb{C}^{m \times n} has orthonormal columns and H∈Cn×nH\in\mathbb{C}^{n \times n} is Hermitian positive semidefinite. This decomposition is a generalization of the polar representation z=reiθz = r \mathrm{e}^{\mathrm{i}\theta} of a complex number, where HH corresponds to r≥0r\ge 0 and UU to eiθ\mathrm{e}^{\mathrm{i}\theta}. When AA is real, HH is symmetric positive semidefinite. When m=nm = n, UU is a square unitary matrix (orthogonal for real AA).

We have A∗A=H∗U∗UH=H2A^*A = H^*U^*UH = H^2, so H=(A∗ ⁣A)1/2H = (A^*\!A)^{1/2}, which is the unique positive semidefinite square root of A∗AA^*A. When AA has full rank, HH is nonsingular and U=AH−1U = AH^{-1} is unique, and in this case UU can be expressed as

U=2πA∫0∞(t2I+A∗ ⁣A)−1 dt.U = \displaystyle\frac{2}{\pi} A \displaystyle\int_{0}^{\infty} (t^2I+A^*\!A)^{-1}\, \mathrm{d}t.

An example of a polar decomposition is

A = \left[\begin{array}{@{}rr} 4 & 0\\ -5 & -3\\ 2 & 6 \end{array}\right] = \sqrt{2}\left[\begin{array}{@{}rr} \frac{1}{2} & -\frac{1}{6}\\[3pt] -\frac{1}{2} & -\frac{1}{6}\\[3pt] 0 & \frac{2}{3} \end{array}\right] \cdot \sqrt{2}\left[\begin{array}{@{\,}rr@{}} \frac{9}{2} & \frac{3}{2}\\[3pt] \frac{3}{2} & \frac{9}{2} \end{array}\right] \equiv UH.

For an example with a rank-deficient matrix consider

A=[010001000],A = \begin{bmatrix} 0 & 1 & 0 \\ 0 & 0 & 1 \\ 0 & 0 & 0 \end{bmatrix},

for which A∗A=diag(0,1,1)A^*A = \mathrm{diag}(0,1,1) and so H=diag(0,1,1)H = \mathrm{diag}(0,1,1). The equation A=UHA = UH then implies that

U=[010001θ00],∣θ∣=1,U = \begin{bmatrix} 0 & 1 & 0 \\ 0 & 0 & 1 \\ \theta & 0 & 0 \end{bmatrix}, \quad |\theta| = 1,

so UU is not unique.

The polar factor UU has the important property that it is a closest matrix with orthonormal columns to AA in any unitarily invariant norm. Hence the polar decomposition provides an optimal way to orthogonalize a matrix. This method of orthogonalization is used in various applications, including in quantum chemistry, where it is called Löwdin orthogonalization. Most often, though, orthogonalization is done through QR factorization, trading optimality for a faster computation.

An important application of the polar decomposition is to the orthogonal Procrustes problem1

min⁡{ ∥A−BW∥F:W∈Cn×n,  W∗W=I },\min \bigl\{\, \|A-BW\|_F: W \in \mathbb{C}^{n\times n},\; W^*W = I \,\bigr\},

where A,B∈Cm×nA,B\in\mathbb{C}^{m\times n} and the norm is the Frobenius norm ∥A∥F2=∑i,j∣aij∣2\|A\|_F^2 = \sum_{i,j} |a_{ij}|^2. This problem, which arises in factor analysis and in multidimensional scaling, asks how closely a unitary transformation of BB can reproduce AA. Any solution is a unitary polar factor of B∗ ⁣AB^*\!A, and there is a unique solution if B∗ ⁣AB^*\!A is nonsingular. Another application of the polar decomposition is in 3D graphics transformations. Here, the matrices are 3×33\times 3 and the polar decomposition can be computed by exploiting a relationship with quaternions.

For a square nonsingular matrix AA, the unitary polar factor UU can be computed by a Newton iteration:

Xk+1=12(Xk+Xk−∗),X0=A.X_{k+1} = \displaystyle\frac{1}{2} (X_k + X_k^{-*}), \quad X_0 = A.

The iterates XkX_k converge quadratically to UU. This is just one of many iterations for computing UU and much work has been done on the efficient implementation of these iterations.

If A=PΣQ∗A = P \Sigma Q^* is a singular value decomposition (SVD), where P∈Cm×nP\in\mathbb{C}^{m\times n} has orthonormal columns, Q∈Cn×nQ\in\mathbb{C}^{n\times n} is unitary, and Σ\Sigma is square and diagonal with nonnegative diagonal elements, then

A=PQ∗⋅QΣQ∗≡UH,A = PQ^* \cdot Q \Sigma Q^* \equiv UH,

where UU has orthonormal columns and HH is Hermitian positive semidefinite. So a polar decomposition can be constructed from an SVD. The converse is true: if A=UHA = UH is a polar decomposition and H=QΣQ∗H = Q\Sigma Q^* is a spectral decomposition (QQ unitary, DD diagonal) then A=(UQ)ΣQ∗≡PΣQ∗A = (UQ)\Sigma Q^* \equiv P \Sigma Q^* is an SVD. This latter relation is the basis of a method for computing the SVD that first computes the polar decomposition by a matrix iteration then computes the eigensystem of HH, and which is extremely fast on distributed-memory manycore computers.

The nonuniqueness of the polar decomposition for rank deficient AA, and the lack of a satisfactory definition of a polar decomposition for m<nm < n, are overcome in the canonical polar decomposition, defined for any mm and nn. Here, A=UHA = UH with UU a partial isometry, HH is Hermitian positive semidefinite, and U∗U=HH+U^*U = HH^+. The superscript “++” denotes the Moore–Penrose pseudoinverse and a partial isometry can be characterized as a matrix UU for which U+=U∗U^+ = U^*.

Generalizations of the (canonical) polar decomposition have been investigated in which the properties of UU and HH are defined with respect to a general, possibly indefinite, scalar product.

References

This is a minimal set of references, which contain further useful references within.

This article is part of the “What Is” series, available from https://nhigham.com/category/what-is and in PDF form from the GitHub repository https://github.com/higham/what-is.

Footnotes:

1

Procrustes: an ancient Greek robber who tied his victims to an iron bed, stretching their legs if too short for it, and lopping them if too long.