Section 8.4 Application: Find
It is very well known that
One can define
It is a fact that
Solution:
-
Find the characteristic polynomial
The eigenvalues of isxxxxxxxxxx
A = matrix(2,2,[2, -12, 1, -5])
f = A.characteristic_polynomial()
show(f)
f.factor()
-
Find the corresponding eigenvectors. Thus we find a diagonal matrix
and an invertible matrix such thatxxxxxxxxxx
A.eigenvectors_right()
D, P = A.eigenmatrix_right()
-
Therefore,
xxxxxxxxxx
B = matrix(RR,2,2,[e^(-1),0,0,e^(-2)])
C = P*B*P.inverse()
pretty_print(C)
P, P.inverse()
(4/e-3/(e^(2))).n()
Solution.
Since is diagonalizable, there exists an invertible matrix and a diagonal matrix such that It is easy to see that
That is,
xxxxxxxxxx
xxxxxxxxxx
xxxxxxxxxx