Is an orthogonal diagonalization of a real symmetric matrix unique?

For the discussion of math. Duh.

Moderators: gmalivuk, Moderators General, Prelates

Posts: 527
Joined: Tue Apr 24, 2012 1:10 am UTC

Is an orthogonal diagonalization of a real symmetric matrix unique?

Postby >-) » Mon Jul 24, 2017 12:27 am UTC

If we have a real symmetric matrix M which is diagonalized into QLQ^T where Q is orthogonal and L is diagonal (this is possible by spectral theorem), then is Q and L necessarily unique? Is there another orthogonal diagonalization using some Q' != Q or L' != L?

I ask this because it seems many explanations of how to perform PCA with SVD rely on this as an unstated fact. I can't tell if this is because i'm misreading or because I forgot some important theorem from my linear algebra class

Here's my attempt at proof:

suppose it is possible:
M = Q'L'Q'^T
= (QQ^T) Q'L'Q'^T (QQ^T)
= Q (Q^T Q'L'Q'^T Q) Q^T

now it suffices to prove L != (Q^T Q'L'Q'^T Q) . I have the fact that L' and L is diagonal, so if i can show that Q^T Q'L'Q'^T Q is not diagonal, then I would be done, but i'm not sure how to

User avatar
Posts: 392
Joined: Thu Sep 23, 2010 3:30 am UTC

Re: Is an orthogonal diagonalization of a real symmetric matrix unique?

Postby cyanyoshi » Mon Jul 24, 2017 2:00 am UTC

No, orthogonal diagonalization is not unique (kind of). The set of eigenvalues is unique, and the multiplicity of each eigenvalue is well-defined, but these kinds of matrix decompositions are usually unique only up to permutation, and sometimes not even that. You could equivalently have the diagonal elements of L be increasing or decreasing, and all this changes is the order of the columns of Q.

Another problem is if M has repeated eigenvalues. Say that there is some eigenvalue λ with orthogonal eigenvectors v1 and v2. Then any nontrivial linear combination of v1 and v2 is also an eigenvector of M. For example you can "decompose" the zero matrix as 0 = Q0QT for any suitably-sized matrix Q. You can also write the identity matrix as QQT for any orthogonal matrix Q. This is the main reason that a lot of results involving matrix decompositions can run into trouble when eigenvalues are repeated.

Edit: I should also point out that since the Q matrix is constructed from the eigenvectors of M, you can multiply any column by -1 and still get a valid (and technically different) decomposition.

Return to “Mathematics”

Who is online

Users browsing this forum: No registered users and 11 guests