The eigenvalues of A are 1 and 6
A basis for the eigenspace corresponding to the eigenvalue 1 is <-1,1>
A basis for the eigenspace corresponding to the eigenvalue 6 is <3,2>
Let P be the 2x2 matrix ⌈-1 3⌉
⌊ 1 2⌋
Then P-1AP = D = diagonal 2x2 matrix with 1 and 6 on the main diagonal
So, A = PDP-1
Now, let D1 = 2x2 diagonal matrix with √1 and√6 on the main diagonal. Note that (D1)2 = D.
Then, (PD1P-1)(PD1P-1) = P(D1)2P-1 = PDP-1 = A
So, PD1P-1 is the square root of A.