First factor out the radical. The way to do this is to use matrix diagnolization. Find the eigenvectors and form a matrix out of them. So you want to write where is a diagnol matrix. Then it means but is easy to compute because it is a diagnol matrix.