Potential energy of a Dipole interaction unexplained sign error.

1.1k Views Asked by At

enter image description here

enter image description here

Hello i've attactched a question as well as my attempt at an answer, I get the correct mathematical expression however I have a sign error for both the terms in the bracket. I can't work out what I'm doing wrong to have caused these errors to arise. Help please!