For further maths A level i was taught how to diag. a symmetric matrix. however the method of finding P as columns of the normalised eigenvectors only works if there are distinct eigenvals.

However, if there are repeated what do u do?

I've heard of the Gram Schmidt method but is there a simple method out there?

How do i do the GS method if there's no other way