I have the following matrix :
$$ \mathbf A =\begin{bmatrix} 100 & 0 \\ 0 & 1 \\ \end{bmatrix}$$
I have to compute $ \mathbf A^{-1/2}$.
So I need spectral decomposition, $$ \mathbf A = \mathbf P \mathbf \Lambda\mathbf P',$$
$\mathbf P$ be a matrix with normalized eigenvectors and $\mathbf \Lambda$ is a diagonal matrix with diagonal elements be eigenvalues.
Eigenvalues of $ \mathbf A$ is $100$ and $1$.
But I stumbled to calculate eigenvector.
The characteristic equation is :
$$ \begin{bmatrix} 100 & 0 \\ 0 & 1 \\ \end{bmatrix} \begin{bmatrix} x_1 \\ x_2 \\ \end{bmatrix}= 100\begin{bmatrix} x_1 \\ x_2 \\ \end{bmatrix}$$
$$\Rightarrow 100x_1 = 100x_1$$
$$x_2 = 100 x_2$$
How is $x_2 = 100 x_2$ possible ?
And is there a simpler way to calculate any power of a diagonal matrix , for example, $ \mathbf A^{-1/2}$ ?
For diagonal matrices, the normalized eigenvectors are always standard basis vectors, i.e. vectors of all zeros except a single 1 in a particular coordinate, e.g., ${\bf{e}}_1=(1,0)$ and ${\bf{e}}_2=(0,1)$ in your example. For eigenvalue 100, the corresponding eigenvector is $(1,0)$ which means that $x_2=0$ (note that solves $x_2=100x_2$).
The power $k$ of a diagonal matrix $$ D=\left\|\begin{array}{ccc}d_1 &\cdots &0\\ \vdots & &\vdots\\ 0 &\cdots &d_n\end{array}\right\| $$ is found as
$$ D=\left\|\begin{array}{ccc}d^k_1 &\cdots &0\\ \vdots & &\vdots\\ 0 &\cdots &d^k_n\end{array}\right\| $$