Eigenvalues of a $4\times4$ matrix I want to find the eigenvalues of the matrix
$$
\left[
\begin{array}{cccc}
0 & 0 & 0 & 0 \\
0 & a & a & 0 \\
0 & a & a & 0 \\
0 & 0 & 0 & b
\end{array}
\right]
$$
Can somebody explain me the theory behind getting the eigenvalues of this $4\times4$ matrix? The way I see it is to take the $4$ $a$'s as a matrix itself and see the big matrix as a diagonal one. The problem is, I can't really justify this strategy.
Here are the eigenvalues from Wolfram Alpha.
Thanks

The eigenvalues of $A$ are the roots of the characteristic polynomial $p(\lambda)=\det (\lambda I -A)$.
In this case, the matrix $\lambda I-A$ is made of three blocks along the diagonal.
Namely $(\lambda)$, $\left(\begin{matrix} \lambda-a & -a \\ -a & \lambda -a \end{matrix}\right)$, and $(\lambda -b)$.
The determinant is therefore equal to the product of the determinants of these three matrices.
So you find:
$$
p(\lambda)=\lambda\cdot \lambda(\lambda-2a)\cdot (\lambda -b).
$$
Now you see that your eigenvalues are $0$ (with multiplicity $2$), $2a$, and $b$.
