Equation for example 2(a): Solving the characteristic polynomial equation to find the eigenvalues