I am trying to solve $$ x^3+7x^2+15x+15=0 $$. The real solution was not an issue. However, the complex solutions driving me mad.
I was able to express the real solution as $$ x=(1/3) \left (-7+\sqrt[3]{-73+9\sqrt{65}}+\sqrt[3]{-73-9\sqrt{65}} \right ). $$ I managed to manipulate the cube roots as $$ \sqrt[3]{-73+9\sqrt{65}}=\frac{\sqrt[3]{73-9\sqrt{65}}+i\sqrt{3}\sqrt[3]{73-9\sqrt{65}}}{2} $$ and $$\sqrt[3]{-73-9\sqrt{65}}=\frac{\sqrt[3]{73+9\sqrt{65}}+i\sqrt{3}\sqrt[3]{73+9\sqrt{65}}}{2}. $$
Substituting these complex values for the cube roots in my original expression for $x$ yields the correct real part, but the incorrect imaginary part. I do know that if I simply move the $ \sqrt{3} $ from the numerator to the denominator, then it does yield the correct imaginary part. I am at a complete loss as to how this shift occurs. Any help would be greatly appreciated!