Cubic polynomial
A cubic polynomial is a polynomial of the form . A cubic polynomial is a polynomial of degree 3. A univariate cubic polynomial has the form . An equation involving a cubic polynomial is called a cubic equation. A closed-form solution known as the cubic formula exists for the solutions of an arbitrary cubic equation.
Solving a cubic
If the leading coefficient of the cubic is not 1, then divide both sides by the leading coefficient so it is 1. You get an equation of the form
Now, we will make a change in variables to get rid of the term. If we do the substitution , this does the trick. Our new equation is of the form
We do another substitution , and our new equation is of the form
We can now turn this into a quadratic in terms of , solve for , and then solve for and finally .
Because cubic polynomials have an odd degree, their end behaviors go in opposite directions, and therefore all cubic polynomials must have at least one real root.