Solving the cubic without complex numbers

When $p>0$, you can apply Cardano's formula. It will give you the only real root of your cubic. And the formula will not have to deal with complex non-real numbers.


Stupid me, I missed the relation

$$\sinh 3t=4\sinh^3t+3\sinh t$$

which works without restrictions on the value of the LHS. It completely solves the case of $p>0$ as

$$\sinh\frac{\text{arsinh}(r)}3^*.$$

Putting all together, one can solve all cases of the cubic by means of the following canonical "trisection" functions below, which solve

$$4y^3\pm 3y=x.$$

The "hyperbolic" ones have expressions in terms of cubic roots, the trigonometric ones relate to the "casus irreductibilis".

enter image description here

Finally, it seems that it all boils down to the normalization of the equation to one of two forms, with or without an inflection, by an affine transformations of the argument, and getting rid of all coefficients.

This might look like a circular method (solving a cubic by solving a cubic), but we now have analytical expressions in terms of familiar transcendental, real functions.

Update:

These functions are directly related to the "Chebyshev cube roots".


$$^*\sinh\dfrac{\text{arsinh x}}3=\dfrac{e^{\log(x+\sqrt{x^2+1})/3}-e^{-\log(x+\sqrt{x^2+1})/3}}2=\frac12\left(\sqrt[3]{x+\sqrt{x^2+1}}-\dfrac1{\sqrt[3]{x+\sqrt{x^2+1}}}\right)$$