Solve[x^2 + x + 1 == 0, x]
gives the solution:
{{x -> -(-1)^(1/3)}, {x -> (-1)^(2/3)}}
I know these are complex solutions but I'd like to have them in a+bi form. If I do N@Solve...I get the right form but as you can imagine I get numeric approximations.
Any ideas on how to have the solutions be in a+bi form but with exact expressions? I'm pretty sure there's a way to do it by messing with Re[] and Im[] but I'd rather not. Is there a quick way to do this? I am actually surprised the a+bi form isn't the default way to show complex solutions.
ComplexExpand(but withN, which is not equivalent at all). It should also be mentioned in "Background & Context." They useComplexExpandonly once, on a rather esoteric problem. – Michael E2 Mar 19 '21 at 18:49