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

Cauchy-Schwarz via sums of squares

#Cauchy-Schwarz#sums of squares#algebraic proof

Statement

Prove that for all a,b,c,d∈Ra,b,c,d\in\mathbb{R}:
(a2+b2)(c2+d2)≥(ac+bd)2.(a^2+b^2)(c^2+d^2)\ge(ac+bd)^2.

Hint

Expand both sides and use Lagrange's identity: (a2+b2)(c2+d2)−(ac+bd)2=(ad−bc)2(a^2+b^2)(c^2+d^2)-(ac+bd)^2=(ad-bc)^2.

Show solutionHide solution

Solution

Lagrange's identity.
(a2+b2)(c2+d2)−(ac+bd)2=a2c2+a2d2+b2c2+b2d2−a2c2−2abcd−b2d2(a^2+b^2)(c^2+d^2)-(ac+bd)^2=a^2c^2+a^2d^2+b^2c^2+b^2d^2-a^2c^2-2abcd-b^2d^2
=a2d2+b2c2−2abcd=(ad−bc)2.=a^2d^2+b^2c^2-2abcd=(ad-bc)^2.

Inequality. Since (ad−bc)2≥0(ad-bc)^2\ge0, we have
(a2+b2)(c2+d2)≥(ac+bd)2.(a^2+b^2)(c^2+d^2)\ge(ac+bd)^2.

Equality case. ad=bcad=bc, i.e. (a,b)(a,b) and (c,d)(c,d) are proportional.

Generalization. In nn dimensions, Lagrange's identity is
(∑ai2)(∑bi2)−(∑aibi)2=∑i<j(aibj−ajbi)2.\left(\sum a_i^2\right)\left(\sum b_i^2\right)-\left(\sum a_ib_i\right)^2=\sum_{i<j}(a_ib_j-a_jb_i)^2.