Maths WorkshopMaths problems with full solutions
Exercise 1935Algebra › InequalitiesOlympiadAdded 4 Nov 2026

A polynomial with all roots real and Vieta

#Vieta#discriminant#real roots#Newton inequality

Statement

Let x3+px2+qx+rx^3+px^2+qx+r have three real roots a,b,ca,b,c. Prove that p2≥3qp^2\ge3q, with equality iff a=b=ca=b=c.

Hint

Express pp and qq with Vieta's formulas, then relate p2−3qp^2-3q to a sum of squares of differences.

Show solutionHide solution

Solution

Vieta. p=−(a+b+c)p=-(a+b+c) and q=ab+bc+caq=ab+bc+ca. Hence
p2−3q=(a+b+c)2−3(ab+bc+ca)=a2+b2+c2−ab−bc−ca.p^2-3q=(a+b+c)^2-3(ab+bc+ca)=a^2+b^2+c^2-ab-bc-ca.

Sum of squares.
a2+b2+c2−ab−bc−ca=12[(a−b)2+(b−c)2+(c−a)2]≥0.a^2+b^2+c^2-ab-bc-ca=\frac12\left[(a-b)^2+(b-c)^2+(c-a)^2\right]\ge0.

Equality. It requires a=ba=b, b=cb=c, c=ac=a, i.e. a=b=ca=b=c.

Remark. Geometrically, p2≥3qp^2\ge3q says that the derivative 3x2+2px+q3x^2+2px+q has a real root: this is Rolle's theorem applied between the real roots of the cubic. The condition p2−3q≥0p^2-3q\ge0 is exactly the non-negativity of the discriminant of the derivative.

Lesson. A relation between coefficients of a polynomial with real roots usually comes from a sum of squares of differences of the roots, via Vieta's formulas.