For the following matrix A, find a unitary matrix U such that U*AU is diagonal:
A =
1 2 2 2
2 1 2 2
2 2 1 2
2 2 2 1
I found the eigenvalues to be -1,-1,-1,7
and the eigenvectors to be (v1)=(-1,1,0,0),(v2)=(-1,0,1,0),(v3)=(-1,0,0,1),(v4)=(1,1,1,1)
Normalize these vectors...