How to solve for matrix V ? A = V*S*V'

  • Context: Undergrad 
  • Thread starter Thread starter cr2504life
  • Start date Start date
  • Tags Tags
    Matrix
Click For Summary

Discussion Overview

The discussion revolves around solving for the matrix V in the equation A = V*S*V', where A and S are known matrices, and S is specified to be a diagonal matrix containing the eigenvalues of A. The context includes aspects of linear algebra, specifically eigenvalue decomposition and properties of symmetric matrices.

Discussion Character

  • Technical explanation
  • Mathematical reasoning
  • Exploratory

Main Points Raised

  • One participant asks how to solve for V given A and S, noting that S is symmetric.
  • Another participant suggests that if A is symmetric, the problem can be reduced to an eigenvalue problem and proposes diagonalizing both A and S.
  • A correction is made regarding the necessity of the eigenvalues of A and S being the same, with a new approach presented involving the eigenvalue decomposition of S.
  • It is noted that L^{1/2} M^{-1/2} may have imaginary values if the eigenvalues of S and A have opposite signs.
  • Several participants confirm that since S is a diagonal matrix containing the eigenvalues of A, V can be constructed from the eigenvectors of A.
  • One participant expresses gratitude for the guidance received and confirms the relationship A = V*S*V' holds true.
  • Another participant confirms the orthogonality of V and shares their MATLAB findings related to the eigenvalue decomposition.

Areas of Agreement / Disagreement

Participants generally agree on the approach to finding V through eigenvalue decomposition, particularly emphasizing the role of S as a diagonal matrix of eigenvalues of A. However, there are nuances regarding the conditions under which the eigenvalues of A and S relate, and some uncertainty remains about the implications of imaginary values in certain cases.

Contextual Notes

Limitations include the assumption that A and S are symmetric and the potential for imaginary values in the calculations, depending on the signs of the eigenvalues. The discussion does not resolve the implications of these conditions fully.

cr2504life
Messages
6
Reaction score
0
How to solve for matrix V ?? A = V*S*V'

I have A, V, and S (all matricies, square and invertable).
A = V*S*V'

where V' is transpose(V)

I know A and S, how do I solve for V ??

S is symmetric incase that helps.

Much appreciated.

J.
 
Last edited:
Physics news on Phys.org


Is A also symmetric? If so, this can be reduced to an eigenvalue problem.

Wait -- duh. Of course A is symmetric, or there would be no solution. So, here's what you do. Diagonalize both A and S:

A = P L P'
S = Q L Q'

L is the diagonal matrix of eigenvalues. The two matrices must have the same eigenvalues, or there is no solution. P and Q are the respective eigenvector matrics, and they are orthogonal. (I assume we're dealing with real matrices.) Now

L = P' A P = Q' S Q
A = P Q' S Q P'
V = P Q'
 


I made a mistake. The eigenvalues of the two matrices need not be the same. (For some reason I was thinking you needed a similarity transformation.) Suppose the eigenvalue decomposition of S is Q M Q' (Q orthogonal, M diagonal). Then:

<br /> \begin{eqnarray*}<br /> S &amp; = &amp; Q M^{1/2} L^{-1/2} L L^{-1/2} M^{1/2} Q^T \\<br /> L &amp; = &amp; L^{1/2} M^{-1/2} Q^T S Q M^{-1/2} L^{1/2} \\<br /> &amp; = &amp; P^T A P \\<br /> A &amp; = &amp; P L^{1/2} M^{-1/2} Q^T S Q M^{-1/2} L^{1/2} P^T\\<br /> V &amp; = &amp; P L^{1/2} M^{-1/2} Q^T \\<br /> \end{eqnarray*}<br />

L^{1/2} M^{-1/2} will have imaginary values if any eigenvalues of S are opposite in sign to those of A.
 


Thanks pmsrw3, I am going to give that a try, I'll post my finings.

and yes, A is symmetric too. Also, S is a diagonal matrix containing the eigenvalues of A.
 


cr2504life said:
and yes, A is symmetric too. Also, S is a diagonal matrix containing the eigenvalues of A.
Ah! You should have mentioned that. You just want to diagonalize a symmetric matrix. This is a standard problem. There are tons of software packages that will do it.
 


So, since S is a diagonal matrix containing the eigenvalues of A, V seems to be a matrix whos corresponding columns are the eigen vectors of A.

A = V*S*V' checks out.

I should have mentioned that S was a diagonal matrix which containes the eigenvalues of A. Ppmsrw3 thanks for your general solution to this problem, I wouldn't have solved this without your help.
 


cr2504life said:
So, since S is a diagonal matrix containing the eigenvalues of A, V seems to be a matrix whos corresponding columns are the eigen vectors of A.

A = V*S*V' checks out.

I should have mentioned that S was a diagonal matrix which containes the eigenvalues of A. Ppmsrw3 thanks for your general solution to this problem, I wouldn't have solved this without your help.
That's right: each column of V is an eigenvector of A, and V is an orthogonal matrix (V V' = V' V = I). (Or, I should say, it can always be chosen to be orthogonal.)
 


pmsrw3 said:
That's right: each column of V is an eigenvector of A, and V is an orthogonal matrix (V V' = V' V = I). (Or, I should say, it can always be chosen to be orthogonal.)

Im trying this out in MATLAB, VV' = V'V = I, yup, confirmed in MATLAB.

and to find V, [V,S] = eig(A);

I really only know this eigenvalue/vector stuff on a superficial level.

Thanks.
 

Similar threads

  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 3 ·
Replies
3
Views
4K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 12 ·
Replies
12
Views
2K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 10 ·
Replies
10
Views
3K