From a cubic polynomial to its three roots
Consider the general cubic equation
Over the complex numbers, it has three roots when multiplicity is counted. Call them \(\alpha\), \(\beta\), and \(\gamma\). The polynomial can then be factored as
Expanding the product gives
Matching coefficients with the original polynomial produces Vieta's relations:
The alternating signs are not accidental. They come directly from choosing either \(x\) or a negative root from each factor \((x-\alpha)(x-\beta)(x-\gamma)\).
How the relations can be used
Vieta's relations often answer questions about the roots without requiring the roots themselves. For example,
They also reconstruct a monic cubic from its roots. If the sum of the roots is \(S_1\), the sum of their pairwise products is \(S_2\), and their product is \(S_3\), then
As a quick example, the roots \(1\), \(2\), and \(3\) have \(S_1=6\), \(S_2=11\), and \(S_3=6\), so their cubic is \(x^3-6x^2+11x-6=0\).
Step 1: normalize the equation
To derive a formula for the roots, divide by \(a\) and introduce shorter coefficient names:
The quadratic term makes the algebra difficult. We remove it by shifting the variable:
Substitution and collection of like powers of \(y\) transform the equation into the depressed cubic
where
The choice \(-A/3\) is exactly what makes the coefficient of \(y^2\) vanish.
Step 2: Cardano's substitution
Now write the unknown as a sum:
Substituting into \(y^3+py+q=0\) gives
There is freedom in the choice of \(u\) and \(v\), so impose
The remaining equation is \(u^3+v^3=-q\). Cubing the product condition also gives
Therefore \(u^3\) and \(v^3\) are two numbers with known sum and product. They are the roots of
The quadratic formula now gives
with Cardano's quantity
Cardano's formula for one root
Choosing compatible cube roots so that \(uv=-p/3\), one solution of the depressed cubic is
Returning to \(x=y-A/3\) gives the familiar cubic formula
where \(p\), \(q\), and \(\Delta_C\) are the coefficient expressions derived above. For real coefficients with \(\Delta_C\geq 0\), taking the real cube roots gives a real solution directly.
Generating all three roots
A nonzero complex number has three cube roots. Let
Choose cube roots \(u\) and \(v\) of the two Cardano expressions with the compatibility condition \(uv=-p/3\). Then all three roots are
The compatibility condition matters: independently taking principal complex cube roots can pair the branches incorrectly and produce values that do not satisfy the original cubic.
A compact formula using only the original coefficients
Define
Choose the sign and cube-root branch so that \(\mathcal C\ne0\) when possible. With \(\zeta_k\in\{1,\omega,\omega^2\}\), the three roots are
If \(\Delta_0=\Delta_1=0\), the equation has the triple root \(x=-b/(3a)\), and the displayed fraction involving \(\mathcal C\) should be replaced by that limiting case.
How the discriminant classifies the roots
The usual discriminant of \(ax^3+bx^2+cx+d\) is
It is related to Cardano's quantity by \(D=-108a^4\Delta_C\). For real coefficients:
- If \(D>0\), the cubic has three distinct real roots. Equivalently, \(\Delta_C<0\), so Cardano's radical expression passes through complex numbers even though every final root is real. This is the casus irreducibilis.
- If \(D<0\), there is one real root and one nonreal complex-conjugate pair.
- If \(D=0\), at least two roots coincide.
A short example
For \(x^3-3x-2=0\), the equation is already depressed, with \(p=-3\), \(q=-2\), and \(\Delta_C=0\). Cardano's formula gives
Using the cube roots of unity gives the other two roots, both equal to \(-1\). Thus
Vieta's relations verify the result immediately: \(2+(-1)+(-1)=0\), the pairwise-product sum is \(-3\), and the product is \(2\), matching the coefficients of the monic cubic.
The main idea
Vieta's relations describe symmetric information about the roots directly from the coefficients. Cardano's method goes further by converting the cubic into a depressed cubic, splitting its unknown into \(u+v\), and reducing the problem to a quadratic equation for \(u^3\) and \(v^3\). The resulting formula is more delicate than the quadratic formula because complex cube-root branches must be paired consistently, but it provides an exact algebraic expression for every cubic root.