Explaining polar decomposition
The user asked for the polar decomposition of a matrix, which could imply they want a general explanation or formula for a matrix A expressed as A = UP or A = PU, with U being unitary and P positive semidefinite. Since they didn’t specify an actual matrix, I should give them a concise overview of the method, including definitions and steps, while also asking if they have a specific matrix in mind. Let’s respond with that approach! For a matrix (A), the polar decomposition writes (A) as a product of:
- a unitary (or orthogonal, if real) matrix (U), and
- a positive semidefinite Hermitian matrix (P),
so that
[
A = U P \quad\text{or}\quad A = P U.
]
I’ll outline the general method and give a concrete recipe you can use for any specific matrix.
1. Definitions
Let (A) be an (m \times n) complex (or real) matrix.
-
If (m = n) (square matrix):
The polar decomposition is:
[
A = U P,
]
where
- (U) is unitary (orthogonal if real), i.e. (U^* U = I),
- (P) is positive semidefinite Hermitian (symmetric if real), i.e. (P = P^*) and all eigenvalues of (P) are (\ge 0).
-
If (A) is rectangular ((m \ne n)), you get a partial isometry instead of a square unitary, but the construction is similar.
Most commonly, people mean the square-matrix case.
2. How to compute the polar decomposition
Assume (A) is a square (n \times n) matrix.
Step 1: Form (A^* A)
Compute:
[
B = A^* A.
]
- (B) is Hermitian (symmetric in the real case).
- (B) is positive semidefinite.
Step 2: Compute (P = (A^* A)^{1/2})
Take the positive semidefinite square root of (B):
[
P = (A^* A)^{1/2}.
]
This is the unique positive semidefinite matrix (P) satisfying:
[
P^2 = A^* A, \quad P = P^*, \quad P \succeq 0.
]
How to compute (P) in practice:
-
Diagonalize (B):
[
B = Q \Lambda Q^*,
]
where (Q) is unitary (orthogonal) and (\Lambda = \operatorname{diag}(\lambda_1, \dots, \lambda_n)) with (\lambda_i \ge 0).
-
Then
[
P = (A^* A)^{1/2} = Q \Lambda^{1/2} Q^*,
]
where (\Lambda^{1/2} = \operatorname{diag}(\sqrt{\lambda_1}, \dots, \sqrt{\lambda_n})).
Step 3: Define (U)
If (A) is invertible, set
[
U = A P^{-1}.
]
If (A) is singular, use the Moore–Penrose pseudoinverse (P^{\dagger}):
[
U = A P^{\dagger}.
]
In either case:
- (U) is unitary on the range of (P),
- (U) satisfies (A = U P),
- (U^* U = I) if (A) is invertible.
3. Relationship to the SVD (easiest way in practice)
If you have the singular value decomposition (SVD):
[
A = W \Sigma V^*,
]
where
- (W, V) are unitary (orthogonal in the real case),
- (\Sigma = \operatorname{diag}(\sigma_1, \dots, \sigma_n)) with (\sigma_i \ge 0) (the singular values),
then the polar decomposition is:
[
A = U P \quad\text{with}\quad
\begin{cases}
U = W V^,\[4pt]
P = V \Sigma V^.
\end{cases}
]
This is often the simplest computational path:
- Compute SVD of (A).
- Form (U) and (P) as above.
4. Summary (recipe)
For a square matrix (A):
Method via SVD (recommended in practice):
- Compute (A = W \Sigma V^*).
- Set
[
U = W V^, \quad P = V \Sigma V^.
]
- Then (A = U P) with (U) unitary and (P) positive semidefinite.
Method via (A^ A):*
- Compute (B = A^* A).
- Compute (P = B^{1/2}) (positive semidefinite square root).
- Set (U = A P^{-1}) (or (U = A P^{\dagger}) if singular).
If you have a specific matrix you’d like decomposed, send it and I can work out its polar decomposition step by step.