I'm sorry if this is a very easy question but my brain is fried tonight and I can't think how to do it.
I need to solve $x^3 = 2 - x$.
Obviously by eyeballing the equation you can see that the only real root is $x = 1$. But eyeballing doesn't work for more complicated equations. Is there a way to arrive at this solution algebraically?
EDIT: Yes, I know how to work out the other roots ($x=\frac{-1\pm i\sqrt{7}}{2}$), but that's not what I was asking ;)
The general method has quite a history, and is usually called Cardano's Method. The gist is as follows:
When you have a cubic of the form $ax^3 + bx + c = 0$ (which you do), substitute $u + v = x$ in for $x$ subject to $3uv = -b$. Plugging this in and simplifying, you see that $u^3$ and $v^3$ are the two roots of the equation $z^2 +cz - \frac{b^3}{27} = 0$. Then you may solve for $u$ and $v$ with the quadratic formula and a cubic root.
At the end of the day, you do a lot of work to get a scary-looking expression that has a root in it - dividing out gives you a quadratic, which gives you the other two roots (that's how I usually use it, anyway). More detail can be found in the link above if this brief overview is too unclear.
I highly recommend looking into the history of Cardano's formula, though, as it gives an interesting look at how mathematics has changed. In Cardano's day, for example, mathematicians were in the personal retinues of kings and they would compete - likely the inspiration for Cardano's formula itself.