0

How can I solve this third-degree polynomial? I want to solve it for $y$.

$x=y^3+y-9$

I can simplify it to $x+9=y(y^2+1)$ but I don't get any further.

L. G.
  • 87
  • 4

1 Answers1

4

That's a job for Cardano's formula. First, however, we have to ensure the function is invertible: if $f(y)=y^3+y-9$, then $f'(y)=3y^2+1$ and, as this is everywhere positive, we're done.

Next rewrite to $y^3+y-9-x=0$, to get $$ y=\sqrt[3]{\frac{x+9}{2}+\sqrt{\frac{1}{27}+\frac{(x+9)^2}{4}}}+ \sqrt[3]{\frac{x+9}{2}-\sqrt{\frac{1}{27}+\frac{(x+9)^2}{4}}} $$

egreg
  • 244,946
  • And there is only one solution as the derivative is $3y^2+1$ ie positive.... – dmtri Dec 15 '18 at 12:13
  • @dmtri Yes: the discriminant (what's under the square root) is positive, so there's no choice in order to obtain the unique real root. – egreg Dec 15 '18 at 12:30