Maths WorkshopMaths problems with full solutions
Exercise 1737Algebra › InequalitiesL1Added 3 Nov 2026

Positivity of a quadratic expression

#positivity#discriminant#inequalities

Statement

Show that for all x,y∈Rx,y\in\mathbb{R},
x2+xy+y2≥0.x^2+xy+y^2\ge0.

Hint

Complete the square: x2+xy+y2=(x+y2)2+34y2x^2+xy+y^2=\left(x+\frac{y}{2}\right)^2+\frac34y^2.

Show solutionHide solution

Solution

Completing the square.
x2+xy+y2=(x+y2)2+34y2.x^2+xy+y^2=\left(x+\frac y2\right)^2+\frac34y^2.

Non-negativity. Both terms are ≥0\ge0. The first is ≥0\ge0; the second is ≥0\ge0.

Vanishing. The expression equals 00 iff x+y/2=0x+y/2=0 and y=0y=0, i.e. (x,y)=(0,0)(x,y)=(0,0).

Conclusion. The quadratic form is positive definite.