Solution - Characteristic polynomial calculator
Step-by-step explanation
1. Parse the matrix
Matrix A = [-2,1;1,-2].
2. Form A - lambda*I
Subtract lambda from each diagonal entry of A.
3. Compute the determinant
det(A - lambda*I) = lambda^2+4*lambda+3.
4. Simplify the characteristic polynomial
p(lambda) = lambda^2+4*lambda+3.
5. Factor if possible
Factored form: (lambda+1)*(lambda+3).
6. Find the roots
The roots of p(lambda) are the eigenvalues: lambda=-3, lambda=-1.
Why learn this
Learn more with Tiger
The characteristic polynomial is the key to eigenvalues, stability analysis, and the Cayley-Hamilton theorem in linear algebra.