Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

So I have a symmetric matrix A = $\begin{bmatrix} 2 & 2 & -4 \\ 2 & -1 & -2 \\ -4 & -2 & 2 \end{bmatrix}$ and I want to orthogonally diagonalise it. I know that there are eigenvalues $-2$ and $7$ (-2 with an algebraic multiplicity of two, and a basis $$\left\{{\pmatrix{1\\0\\2}},{\pmatrix{0\\1\\1}}\right\}$$ I, so far, haven't been able to find:

  • the eigenvector corresponding to 7 (I know from online calculators that it is in fact $\begin{array}{c} 2 \\1\\-2 \end{array}$), but the matrix (A - -7$\lambda$) = $\begin{bmatrix} 2 & 2 & -4 \\ 2 & -1 & -2 \\ -4 & -2 & 2 \end{bmatrix}$ which row reduces down (as calculated online) to $$A = \begin{bmatrix}{} 1 & 0 & 1 \\ 0 & 2 & 1 \\ 0 & 0 & 0 \end{bmatrix}$$ which gives $x = 2y = -z$, which leads to a vector $\begin{array}{c} 1 \\2\\-1 \end{array}$ or similar.
  • how to correctly orthonormalize the vectors (by using Pythagoras geometrically, or by Gram-Schmidt?) and therefore I can't orthogonally diagonalise A.
share|cite|improve this question
    
Your eigenvector for $\lambda = 7$ should be $(2,1,-2)^T$ – Omnomnomnom Aug 13 '15 at 21:50
    
Your vectors for $\lambda = -2$ should be something like $\{(1,0,1),(0,2,1)\}$, and you should apply Gram Schmidt to this basis. – Omnomnomnom Aug 13 '15 at 21:51
    
So, it seems that you have a few computational errors. – Omnomnomnom Aug 13 '15 at 21:52
    
Thanks. Yes, I know what the eigenvector for 7 should be, I just don't know how to get it. For -2, aren't my vectors row-equivalent? Gram-Schmidt produces (1,0,2)^T and (-2/5,1,1/5)^T (I think.) – Joshua Soong Aug 13 '15 at 22:01
    
Your equations $x=2y=-z$ for the eigenvector with eigenvalue $7$ have the general solution $(2y,y,-2y)^\top=y(2,1,-2)^\top$. I don't know where you got "$(1,2,-1)^\top$ or similar". – Andreas Blass Aug 13 '15 at 22:15

If you know there are only eigenvalues $-2$ and $7$, then you can eliminate those with eigenvalue $-2$ and be left with the others. This is done by considering $$ (A+2I) = \left[\begin{array}{ccc} 4 & 2 & -4 \\ 2 & 1 & -2 \\ -4 & -2 & 4\end{array}\right] $$ The columns have to be eigevectors with eigenvalue $7$. There is only one independent column, which is what you expect: $$ \left[\begin{array}{c}2 \\ 1 \\ -2\end{array}\right],\;\;\;\; A \left[\begin{array}{c}2 \\ 1 \\ -2\end{array}\right] = \left[\begin{array}{c}14 \\ 7 \\ -14\end{array}\right] = 7\left[\begin{array}{c}2 \\ 1 \\ -2\end{array}\right] $$

Now consider the case for eigenvalue $-2$: $$ (A-7I) = \left[\begin{array}{ccc} -5 & 2 & -4 \\ 2 & -8 & -2 \\ -4 & -2 & -5\end{array}\right] $$ The column space is two-dimensional; it's obviously not one-dimensional, and you can easily check that the columns are orthogonal to the eigenvector with eigenvalue $7$ given above. So everything checks. If you add the first and the third columns, you find that the following is an eigenvector with eigenvalue $-2$: $$ \left[\begin{array}{c} 1 \\ 0 \\ 1 \end{array}\right], $$ and this one is orthogonal to the middle column. So an orthogonal basis of the eigenspace with eigenvalue $-2$ is $$ \left\{ \left[\begin{array}{c} 1 \\ 0 \\ 1 \end{array},\right] \left[\begin{array}{c} 1 \\ -4 \\ -1 \end{array}\right]\right\} $$ If you normalize the column vectors, then you get the required orthogonal change of basis matrix $U$ such that $U^{-1}AU=D=\left[\begin{array}{ccc}7 & 0 & 0 \\ 0 & -2 & 0 \\ 0 & 0 & -2\end{array}\right]$ is a diagonal matrix. The matrix $U$ is $$ U = \left[\begin{array}{ccc} 2/3 & 1/\sqrt{2} & 1/\sqrt{18} \\ 1/3 & 0 & -4/\sqrt{18} \\ -2/3 & 1/\sqrt{2} & -1/\sqrt{18} \end{array}\right] $$ The matrix $U$ is orthogonal, which means $U^{-1}=U^{T}$.

share|cite|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.