Spectral Decomposition calculating the Eigenvalue I currently have this problem i can't seem to figure out.
A symmetric matrix 
       .. 6 2/5 ..
 S =  [..  ..   ..]
       ..  ..   ..

It has the Eigenvalues  9, 18 and c is not equel to 9 and 18 with
eigenspace: 
               a           
 E9 = Span([   b  ])     
            -2 1/2    ,                     

               2           
 E18 = Span([  1  ])     
               2      ,

               1           
 Ec = Span([  -2  ])     
               0

Now i wonder why is a = 2 and b = 1
How do you proof these values?
and a second question, how do you calculate the Eigenvalue of c with Spectral Decomposition ?
Thank you so much in advantage

The eigenspaces of a symmetric matrix associated with distinct eigenvalues are always orthogonal. Since all the eigenvalues of your matrix are distinct, this means we must have
$$ \left< \begin{pmatrix} a \\ b \\ -2.5 \end{pmatrix}, \begin{pmatrix} 2 \\ 1 \\ 2 \end{pmatrix} \right>  = 2a + b - 5 = 0, \\
\left< \begin{pmatrix} a \\ b \\ -2.5 \end{pmatrix}, \begin{pmatrix} 1 \\ -2 \\ 0 \end{pmatrix} \right> = a - 2b = 0. $$
Hence, $5 = 2a + b - 2(a - 2b) = 5b$ so $b=1$ and then $a = 2$. Since we know the eigenvectors of $S$, we must have
$$ \begin{pmatrix} \frac{4}{\sqrt{45}} & \frac{2}{3} & \frac{1}{\sqrt{5}} \\ \frac{2}{\sqrt{45}} & \frac{1}{3} & -\frac{2}{\sqrt{5}} \\ -\frac{5}{\sqrt{45}} & \frac{2}{3} & 0 \end{pmatrix} \begin{pmatrix} 9 & 0 & 0 \\ 0 & 18 & 0 \\ 0 & 0 & c  \end{pmatrix} 
\begin{pmatrix} \frac{4}{\sqrt{45}} & \frac{2}{\sqrt{45}} & -\frac{5}{\sqrt{45}} \\ \frac{2}{3} & \frac{1}{3} & \frac{2}{3} \\ \frac{1}{\sqrt{5}} & -\frac{2}{\sqrt{5}} & 0 \end{pmatrix} = \begin{pmatrix} * & \frac{32}{5} & * \\ * & * & * \\ * & * & * \end{pmatrix}. $$
Computing the $(1,2)$ entry of the product, we get
$$ \begin{pmatrix} \frac{4}{\sqrt{45}} & \frac{2}{3} & \frac{1}{\sqrt{5}} \end{pmatrix} \begin{pmatrix} \frac{18}{\sqrt{45}} \\ \frac{18}{3} \\ -\frac{2c}{\sqrt{5}} \end{pmatrix} = \frac{72}{45} + \frac{36}{9} - \frac{2c}{5} = \frac{32}{5}. $$
Hence, $c = -2$.
