Beyond quadratics, JEE Main and JEE Advanced regularly test polynomial equations of higher degree, especially cubics and quartics. For a polynomial equation anxn+an−1xn−1+…+a1x+a0=0 with real coefficients and an=0, Vieta's formulas give the sum of the roots, the sum of their products in pairs and their product straight from the coefficients. This page covers that general relation, cubic and quartic equations, the factor theorem, intermediate-value results for real roots and the shape of the cubic curve, with eight solved examples, including the classical result on cubics with b2<2ac.
On this page1Degree n equations2Vieta's formulas3Important results4Shape of the cubic5Solved examples and practice
Key Formulas - Quick Reference
For anxn+an−1xn−1+…+a0=0 with roots α1,α2,…,αn:
★ Must learnSum of roots: ∑αi=−anan−1
Sum of products in pairs: ∑i<jαiαj=anan−2
General elementary symmetric sum: ∑αi1αi2⋯αir=(−1)ranan−r
★ Must learnProduct of all roots: α1α2⋯αn=(−1)nana0
★ Must learnCubic ax3+bx2+cx+d=0 with roots α,β,γ: α+β+γ=−b/a; αβ+βγ+γα=c/a; αβγ=−d/a
★ Must learnQuartic ax4+bx3+cx2+dx+e=0 with roots α,β,γ,δ: ∑α=−b/a; ∑αβ=c/a; ∑αβγ=−d/a; αβγδ=e/a
Number of complex (non-real) roots is always even when coefficients are real
★ Must learnIf degree is odd and the coefficients are real, at least one real root exists
1. Polynomial Equation of Degree n
Consider the polynomial equation
anxn+an−1xn−1+an−2xn−2
+…+a1x+a0=0(an=0)
where a0,a1,…,an are real. By the Fundamental Theorem of Algebra, this equation
has exactly n roots (real or complex), counted with multiplicity. If α1,α2,…,αn
are the roots, we can factorise as
anxn+an−1xn−1+…+a0
=an(x−α1)(x−α2)⋯(x−αn)
Expanding the right side and comparing coefficients of like powers of x gives Vieta's formulas.
For n=3, with roots α,β,γ:
a(x−α)(x−β)(x−γ)
=ax3−a(α+β+γ)x2
+a(αβ+βγ+γα)x−aαβγ
Matching with ax3+bx2+cx+d gives b=−a(α+β+γ), c=a(αβ+βγ+γα) and d=−aαβγ: the cubic formulas of Section 2.
Key idea
Every Vieta formula comes from one identity: write the polynomial as an(x−α1)⋯(x−αn) and compare coefficients.
2. Vieta's Formulas: Relation between Roots and Coefficients
Sum of roots:α1+α2+…+αn=−anan−1
Sum of products taken two at a time:∑i<jαiαj=anan−2
General r-th elementary symmetric sum:∑αi1αi2⋯αir=(−1)ranan−r
Product of all roots:α1α2⋯αn=(−1)nana0
Exam Trick
The signs alternate, starting with minus: −anan−1, +anan−2, −anan−3, and so on. A missing power has coefficient 0: for 2x3−5x2+7=0 the sum of the roots is 25, the sum of products in pairs is 0 and the product is −27.
Special Case: Cubic Equation
For ax3+bx2+cx+d=0 with roots α,β,γ:
α+β+γ=−ab
αβ+βγ+γα=ac
αβγ=−ad
Figure 1: Vieta's formulas on a real cubic: x3−2x2−5x+6=(x+2)(x−1)(x−3) meets the x-axis at −2, 1 and 3. With a=1, b=−2, c=−5, d=6: the sum of the roots is −ab=2, the sum of products in pairs is ac=−5 and the product is −ad=−6.
Special Case: Quartic (Biquadratic) Equation
For ax4+bx3+cx2+dx+e=0 with roots α,β,γ,δ:
α+β+γ+δ=−ab
αβ+αγ+αδ+βγ+βδ+γδ=ac
αβγ+αβδ+αγδ+βγδ=−ad
αβγδ=ae
Cubic (odd degree)Product of the roots: αβγ=−ad. The sign flips, since (−1)3=−1.
Quartic (even degree)Product of the roots: αβγδ=+ae. No sign change, since (−1)4=1.
Quick Recall: tap to checkFor x3−7x+6=0, give the sum, the sum of products in pairs and the product of the roots.
0, −7 and −6 (the roots are 1, 2 and −3).
Product of the roots of 2x4−3x3+x−8=0?
ae=2−8=−4.
If α,β,γ are the roots of x3−2x2+3x−4=0, find α1+β1+γ1.
αβγαβ+βγ+γα=43.
Exam Trick
Roots in AP: take them as m−t,m,m+t. The sum gives 3m=−ab, so the middle root comes first; check f(m)=0, then use the product for t. Roots in GP: take rm,m,mr; the product gives m3=−ad (Solved Example 5, Practice 3 and 4).
3. Some Important Results
A polynomial equation of degree n has exactly n roots (real or complex), counted with multiplicity.
If all coefficients are real, then complex (non-real) roots occur in conjugate pairs. Hence the number of complex roots is always even.
If the degree is odd, the number of real roots is also odd; in particular, at least one real root exists.
Factor Theorem:α is a root of f(x)=0 iff (x−α) is a factor of f(x).
Intermediate value result: If f(x)=0 is a polynomial equation and f(p),f(q) have opposite signs, then f(x)=0 has at least one real root in (p,q) (in fact, an odd number of them, counted with multiplicity).
If α is a repeated root of f(x)=0 with multiplicity r, then f(α)=f′(α)=f′′(α)=…=f(r−1)(α)=0 and f(r)(α)=0.
Figure 2: A cubic with real coefficients always meets the x-axis. Top: x3−3x+1 has three real roots. Bottom: (x−1)(x2+1)=x3−x2+x−1 crosses once; its other roots i and −i are a conjugate pair and do not show on the graph.
Key idea
A cubic with real coefficients always crosses the x-axis; its other two roots are both real or a conjugate pair.
Figure 3: Sign test on f(x)=x3−3x+1 (shaded: the interval from p to q). Top: f(−2) and f(2) have opposite signs, and three roots (an odd number) lie between. Bottom: f(−1) and f(2) have the same sign, and two roots (an even number) lie between.
Exam Trick
Hunting for a first root: with integer coefficients and leading coefficient 1, any integer root divides the constant term. For x3−6x2+11x−6 try ±1,±2,±3,±6: f(1)=0, so (x−1) is a factor (factor theorem), and dividing leaves x2−5x+6=(x−2)(x−3).
Figure 4: Multiplicity on the graph. Top: (x+1)(x−2)2=x3−3x2+4 crosses the axis at the simple root −1 and touches it at the double root 2, where f(2)=f′(2)=0 and f′′(2)=6=0. Bottom: (x−1)3 has a triple root at 1: f, f′ and f′′ vanish there and f′′′=6.
Simple rootf(α)=0 and f′(α)=0: the graph crosses the axis, as at x=−1 in Figure 4.
Double rootf(α)=f′(α)=0 and f′′(α)=0: the graph touches the axis and turns back, as at x=2 in Figure 4.
Quick Recall: tap to checkOne root of a cubic with real coefficients is 2+3i. Name another.
2−3i: non-real roots come in conjugate pairs, so the third root is real.
Is (x−2) a factor of x3−3x2+4?
Yes: f(2)=8−12+4=0. In fact x3−3x2+4=(x+1)(x−2)2 (Figure 4).
Does x5+x−1=0 have a root between 0 and 1?
Yes: f(0)=−1<0 and f(1)=1>0.
4. Shape of the Cubic Curve
Consider f(x)=ax3+bx2+cx+d with a>0. Key features of its graph:
As x→∞, f(x)→∞; as x→−∞, f(x)→−∞ (since the x3 term dominates).
Because f is continuous and takes both large positive and large negative values, it crosses the x-axis at least once. So every cubic has at least one real root.
The derivative f′(x)=3ax2+2bx+c may have two, one, or zero real roots.
If f′(x)=0 has two distinct real roots p>q, then f(q) is a local maximum and f(p) is a local minimum.
If f′(x)=0 has a repeated root r, then (r,f(r)) is a point of inflection with horizontal tangent.
If f′(x)=0 has no real roots, the cubic is monotonic (no local extrema).
f′′(x)=6ax+2b vanishes at x=−b/(3a); every cubic has a point of inflection there.
Figure 5: Three shapes of the cubic f(x)=ax3+bx2+cx+d (with a>0) determined by the discriminant of f′(x)=3ax2+2bx+c. Drawn for x3−3x, x3 and x3+x; the local maximum is green and the local minimum red.Figure 6: The roots of x3−3x+k=0 are where the line y=−k meets y=x3−3x. The turning values are 2 and −2: a line strictly between them meets the curve three times, a line through a turning point gives a double root, as x3−3x−2=(x+1)2(x−2) shows, and a line beyond them meets it once. The centre (0,0) is midway between the maximum and the minimum.
JEE Advanced
How many real roots? Let f′(x)=0 have roots q<p (this needs b2>3ac). Then f(x)=0 has three distinct real roots if f(q)⋅f(p)<0, a double root and a simple root if f(q)⋅f(p)=0, and one real root if f(q)⋅f(p)>0. If b2≤3ac, f is monotonic and has one real root (a triple root when b2=3ac and f(−3ab)=0, as for x3).
Example: x3−3x+k=0. Here f′(x)=3x2−3, so q=−1 and p=1, with f(−1)=k+2 and f(1)=k−2. Three distinct real roots exactly when (k+2)(k−2)<0, that is −2<k<2 (Figure 6, with the line y=−k).
Key idea
The inflection point x=−3ab is the centre of every cubic: it is the average of the three roots (real or not), and when the cubic has two turning points it lies midway between them.
Quick Recall: tap to checkHow many real roots has x3+2x+5=0?
One: b2−3ac=0−6<0, so f is increasing.
Where is the inflection point of y=x3−6x2+9x?
At x=−3ab=2, the point (2,2): midway between the maximum (1,4) and the minimum (3,0).
Does x3−3x−2=0 have a repeated root?
Yes: x=−1 is a turning point and f(−1)=0; x3−3x−2=(x+1)2(x−2).
Figure 7: Flowchart for the number of real roots of a real cubic, counted as distinct points. When b2=3ac the one real root is a triple root if f(−3ab)=0, as for x3.Figure 8: Mind map of polynomial equations: Vieta's formulas, cubics and quartics, real roots, locating roots, repeated roots and the cubic graph.
5. Solved Examples
Solved Example 1
If b2<2ac, prove that ax3+bx2+cx+d=0 has exactly one real root.
Solution 1 (using Vieta's):
Let α,β,γ be the roots. By Vieta's formulas:
α+β+γ=−ab
αβ+βγ+γα=ac
Then
α2+β2+γ2
=(α+β+γ)2−2(αβ+βγ+γα)
=a2b2−a2c=a2b2−2ac
Since b2<2ac, we get α2+β2+γ2<0, which is impossible if all three roots are real. So at least one root is non-real. But complex roots of a real-coefficient polynomial come in conjugate pairs, so exactly two roots are non-real and exactly one is real.
Solution 2 (using calculus):
Suppose f(x)=ax3+bx2+cx+d has three real roots. Then between any two consecutive roots, f′(x)=3ax2+2bx+c has a zero (Rolle's theorem), so f′(x)=0 has two real roots.
Discriminant of f′: (2b)2−4⋅3a⋅c=4b2−12ac=4(b2−3ac).
Given b2<2ac<3ac (here ac>0 automatically, because 2ac>b2≥0), so the discriminant is negative, contradiction. Hence not all roots are real.
Solved Example 2
If α,β,γ are the roots of x3−3x+1=0, find the value of α3+β3+γ3.
Solution:
By Vieta's for x3+0⋅x2−3x+1=0: α+β+γ=0, αβ+βγ+γα=−3, αβγ=−1.
Use the identity α3+β3+γ3−3αβγ=(α+β+γ)(α2+β2+γ2−αβ−βγ−γα).
Since α+β+γ=0, the right side is 0, giving
α3+β3+γ3=3αβγ=3(−1)=−3
Solved Example 3
Can two roots of the cubic x3−6x2+11x−6=0 be equal? Test it by assuming the roots are α,α,β.
Solution:
Suppose the roots are α,α,β. By Vieta's:
2α+β=6,α2+2αβ=11,α2β=6
From the first: β=6−2α. Substitute into the second:
α2+2α(6−2α)=11
⟹−3α2+12α−11=0
⟹3α2−12α+11=0
Discriminant =144−132=12>0, but roots are irrational: α=2±31. Checking against the third equation reveals no consistent triple, so the cubic actually does not have a repeated root. Direct factorisation confirms: x3−6x2+11x−6=(x−1)(x−2)(x−3), roots 1,2,3 - all distinct.
Key takeaway: when Vieta's gives no consistent solution to the "two equal roots" ansatz, the polynomial has all distinct roots.
Figure 9: Solved Example 3. The two candidates α=2±31 from the 'two equal roots' equations are exactly the turning points, where f′(α)=3α2−12α+11=0. The curve is not on the axis there (f=±0.385), so no root repeats: the roots 1, 2, 3 are distinct.
Solved Example 4
If α,β,γ,δ are the roots of x4−4x3+6x2−4x+1=0, find α+β+γ+δ and αβγδ.
Solution:
Direct application of Vieta's for a quartic ax4+bx3+cx2+dx+e=0:
α+β+γ+δ=−ab=−1−4=4
αβγδ=ae=11=1
Observation: The polynomial is (x−1)4, so all four roots equal 1: sum =4, product =1. Vieta's gives the answer without knowing the factorisation.
Solved Example 5
Solve x3−12x2+39x−28=0, given that its roots are in AP.
Solution:
Take the roots as m−t, m, m+t. Sum: 3m=12, so m=4; indeed f(4)=64−192+156−28=0.
Product: (4−t)⋅4⋅(4+t)=28, so 16−t2=7 and t=±3.
Roots: 1,4,7. Check the pairs: 1⋅4+4⋅7+7⋅1=39=ac.
Figure 10: Solved Example 5. The roots 1, 4, 7 are equally spaced, and the middle one is 312=4, the centre of the cubic: the maximum at 4−3 and the minimum at 4+3 (values ±63) sit symmetrically about it.
Solved Example 6
If α,β,γ are the roots of x3−3x+1=0, the equation with roots α+1, β+1, γ+1 is (A) y3−3y2+3=0 (B) y3+3y2−1=0 (C) y3−3y2+1=0 (D) y3−3y+3=0
Solution:
If y=x+1, then x=y−1. Substitute into the old equation:
(y−1)3−3(y−1)+1=0
y3−3y2+3y−1−3y+3+1=0
y3−3y2+3=0
Check with Vieta: the new sum of roots is 3, the old sum 0 plus 3×1. Answer: (A). Option (B) comes from substituting x=y+1, the wrong way round; (C) is the equation for the reciprocals α1,β1,γ1.
Solved Example 7
The equation 2x3−9x2+12x+k=0 has three distinct real roots exactly when (A) −5<k<−4 (B) 4<k<5 (C) k<−5 (D) −5≤k≤−4
Solution:
f′(x)=6x2−18x+12=6(x−1)(x−2), so the turning points are q=1 and p=2.
f(1)=2−9+12+k=k+5 and f(2)=16−36+24+k=k+4.
Three distinct real roots need f(1)⋅f(2)=(k+5)(k+4)<0, so −5<k<−4. At k=−5 or k=−4 a root repeats, so (D) is too wide. Answer: (A).
Solved Example 8
Find the real number a for which x3+ax+2=0 has a repeated root, and find the roots.
Solution:
A repeated root α satisfies f(α)=0 and f′(α)=0:
α3+aα+2=0,3α2+a=0
The repeated root is real: a repeated non-real root would bring its conjugate, also repeated, which is too many roots for a cubic. From the second equation a=−3α2; then α3−3α3+2=0, so α3=1 and α=1. So a=−3.
The roots: x3−3x+2=(x−1)2(x+2), so 1,1,−2. The Vieta route of Solved Example 3 agrees: roots α,α,β with 2α+β=0 and α2β=−2 give α3=1.
Practice Questions
If α,β,γ are the roots of x3−2x2+3x−4=0, find α2+β2+γ2.Answer: 22−2⋅3=−2 (so the roots are not all real)
Find the product of the roots of 3x4−2x3+x2−7=0.Answer: −37
Solve x3−9x2+23x−15=0, given that its roots are in AP.Answer: 1, 3, 5
Solve x3−14x2+56x−64=0, given that its roots are in GP.Answer: 2, 4, 8
For which k does x3−12x+k=0 have three distinct real roots?Answer: −16<k<16
Find the equation whose roots are the reciprocals of the roots of 2x3+3x2−x+5=0.Answer: 5y3−y2+3y+2=0
Show that x5−5x+1=0 has a root between 0 and 1.Answer: f(0)=1>0 and f(1)=−3<0
Common Mistakes to Avoid
Watch out
Forgetting the alternating sign pattern in Vieta's. The r-th elementary symmetric sum has factor (−1)r; do not drop the sign.
Assuming a cubic with real coefficients can have exactly two real roots. Non-real roots come in conjugate pairs, so a real-coefficient cubic has either 1 or 3 real roots - never 2, counting a repeated root as many times as it repeats: (x+1)(x−2)2=0 has the two distinct roots −1 and 2, and 2 counts twice.
Applying Vieta's formulas without first normalising to monic form is fine, but forgetting to divide the appropriate coefficient by an is a common error. Always keep the leading coefficient explicit.
Confusing ∑α2 with (∑α)2. The correct identity is ∑α2=(∑α)2−2∑i<jαiαj.
Assuming a repeated root of f(x)=0 satisfies only f(α)=0. If the multiplicity is r, then all derivatives up to order r−1 vanish at α.
Believing every polynomial equation of degree n has n distinct roots. It has n roots counted with multiplicity; some may coincide.
Reading the next written coefficient as b when a power is missing: in x3−3x+1=0 the coefficient of x2 is 0, so the sum of the roots is 0, not 3 (Solved Example 2).
Substituting the wrong way for shifted roots: for roots α+1, put x=y−1 into the old equation, not x=y+1 (Solved Example 6).
Frequently Asked Questions
What are Vieta's formulas for a polynomial of degree n?
For anxn+…+a0=0 with roots α1,…,αn: the sum of roots equals −an−1/an, the sum of products taken two at a time equals an−2/an, and in general the r-th elementary symmetric sum equals (−1)ran−r/an. The product of all roots is (−1)na0/an.
How many real roots does a cubic equation have?
A cubic with real coefficients has either exactly one real root (with two complex conjugate roots) or three real roots (counting multiplicities). It can never have exactly two real roots, because non-real roots must come in conjugate pairs.
What is the factor theorem?
The factor theorem states that x=α is a root of the polynomial equation f(x)=0 if and only if (x−α) is a factor of f(x). This lets you factor a polynomial once you know one of its roots.
How do you find α2+β2+γ2 when you know Vieta's sums for a cubic?
Use the identity α2+β2+γ2=(α+β+γ)2−2(αβ+βγ+γα). Substitute the values from Vieta's formulas: −b/a for the sum and c/a for the sum of pairwise products.
When does a polynomial equation have a repeated root?
α is a repeated root of f(x)=0 with multiplicity r if and only if f(α)=f′(α)=…=f(r−1)(α)=0 but f(r)(α)=0. To check for a double root, solve the system f(α)=0 and f′(α)=0 simultaneously.
What is the intermediate value result for real roots?
If f(x) is a polynomial and f(p) and f(q) have opposite signs, then f(x)=0 has at least one real root in (p,q) - in fact an odd number of them, counted with multiplicity. If f(p) and f(q) have the same sign, the equation has either no roots or an even number of roots in (p,q).
Why do complex roots of a real polynomial come in conjugate pairs?
If f(x) has real coefficients and f(z)=0 for some complex z, then taking complex conjugates gives f(z)=f(zˉ)=0, since conjugating the coefficients (which are real) leaves them unchanged. So zˉ is also a root.
How is the graph of a cubic function shaped?
The cubic f(x)=ax3+bx2+cx+d (with a>0) rises from −∞ to +∞. Its exact shape depends on f′(x)=3ax2+2bx+c: if the discriminant of f′ is positive, f has a local max and min; if zero, a horizontal inflection point; if negative, f is strictly increasing. Every cubic has a point of inflection at x=−b/(3a).
Does every polynomial equation of odd degree have a real root?
Yes. Since complex roots of a real-coefficient polynomial come in conjugate pairs, the number of complex roots is always even. If the total number of roots is odd (i.e. the degree is odd), then the number of real roots is also odd, and in particular at least one.