Since A has eigenvalues λ1 = -1 and λ2 = 1, and eigenvectors v1 = [1, 1] and v2 = [1, -1], we can diagonalize A as follows:
A = PDP^(-1), where P = [v1, v2] = [1, 1; 1, -1], D = [λ1, 0; 0, λ2] = [-1, 0; 0, 1], and P^(-1) = 1/2 [1, 1; -1, 1].
Now, we can find
Show more…