trA=3 and detA=2, so χA(X)=X2−3X+2=(X−1)(X−2). The eigenvalues are 1 and 2.
- For λ=1: (A−I)v=0 gives −x+y=0, so v1=(1,1).
- For λ=2: (A−2I)v=0 gives −2x+y=0, so v2=(1,2).
Let P=(1112), D=diag(1,2). Then detP=1 and P−1=(2−1−11), and A=PDP−1. Hence
An=PDnP−1=(112n2n+1)(2−1−11)=(2−2n2−2n+12n−12n+1−1).
Check: n=0 gives the identity and n=1 gives A.