## You are here

Hometrigonometric cubic formula

## Primary tabs

# trigonometric cubic formula

Given a cubic polynomial of the form $f(X)=X^{3}+aX^{2}+bX+c=0$, one may reduce $f(x)$ via the substitution $X\rightarrow(x-a/3)$ to obtain $\tilde{f}(x)=f(x-a/3)$ where the reduced polynomial may be represented

$\tilde{f}(x)=x^{3}+qx+r$ | (1) |

The roots to (1) are given by Viéte in the following cases:

Case I The roots of $\tilde{f}(x)$ are real:

Define $t\equiv\sqrt{-4q/3}$ and $\alpha=\arccos(-4r/t^{3})$.
Then the roots of $\tilde{f}(x)$ are

$t\cos(\alpha/3),\quad t\cos(\alpha/3+2\pi/3),\quad t\cos(\alpha/3+4\pi/3)$ |

Case II The roots of $\tilde{f}(x)$ are complex:

Keeping the definition of $t$ from Case I, if $-4q/3\geq 0$, then the real root of $\tilde{f}(x)$ is

$t\cosh(\beta/3)\quad\textrm{where}\quad\cosh(\beta)=(-4r/t^{3})$ |

If $-4q/3<0$, then the real root of $\tilde{f}(x)$ is

$t\sinh(\gamma/3)\quad\textrm{where}\quad\sinh(\gamma)=(-4r/t^{3})$ |

One may then inverse transform the roots of $\tilde{f}(x)$ to obtain the roots of the desired cubic $f(x)$

We note there are no other cases for the possibilities of the roots of a cubic (i.e. there is no instance where one finds one complex and two real roots). This result is intuitively obvious after graphing cubic polynomials and taking into account that imaginary roots may only occur in conjugate pairs.

## Mathematics Subject Classification

12D10*no label found*

- Forums
- Planetary Bugs
- HS/Secondary
- University/Tertiary
- Graduate/Advanced
- Industry/Practice
- Research Topics
- LaTeX help
- Math Comptetitions
- Math History
- Math Humor
- PlanetMath Comments
- PlanetMath System Updates and News
- PlanetMath help
- PlanetMath.ORG
- Strategic Communications Development
- The Math Pub
- Testing messages (ignore)

- Other useful stuff

## Recent Activity

new question: numerical method (implicit) for nonlinear pde by roozbe

new question: Harshad Number by pspss

Sep 14

new problem: Geometry by parag

Aug 24

new question: Scheduling Algorithm by ncovella

new question: Scheduling Algorithm by ncovella