A=
1 2
4 3
先求出特征值和特征向量
因此P^(-1)AP=diag(-1,5)
即A=Pdiag(-1,5)P^(-1)
A^100=(Pdiag(-1,5)P^(-1))^100
=Pdiag(-1,5)^100P^(-1)
=Pdiag(1,5^100)P^(-1)
把P=
-1 1
1 2
P^(-1)=
=(1/3)*
-2 1
1 1
代入上式,得到
A^100=(1/3)*
-1 5^100
1 2*5^100
*
-2 1
1 1
=(1/3)*
2+5^100 5^100-1
2*5^100-2 2*5^100+1