how to find lambda from this formula?

det (A - lambda * I) = 0
where:
A= a square matrix, ex: [2 5 4;8 6 9;3 4 6]
I= identity matrix

 Accepted Answer

Brian B
Brian B on 3 Jan 2013
e = eig(A) returns a vector of eigenvalues of the matrix A. To get the associated eigenvectors, use [V,D] = eig(A). See the documentation for eig to interpret V and D.

2 Comments

does eig(a) will result to lambda?
There are, in general, multiple solutions (values of lambda) which satisfy the equation det(A-lambda*I)=0. eig(A) returns a vector, each element of which is one solution.
For an n-by-n matrix A, the vector returned by eig(A) will have length n. That is because det(A-lambda*I) is a degree-n polynomial, and hence has n (possibly complex) roots by the fundamental theorem of algebra. Note that some values may be repeated; that indicates the algebraic multiplicity of the root.

Sign in to comment.

More Answers (0)

Categories

Find more on Linear Algebra in Help Center and File Exchange

Asked:

eri
on 3 Jan 2013

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!