Maths WorkshopMaths problems with full solutions
Exercise 1591Calculus › Multivariable calculus › Optimisation in several variablesL1Added 3 Nov 2026

Cauchy–Schwarz via optimization

#Cauchy-Schwarz#optimization#inequality

Statement

Using Lagrange multipliers, prove that x+y≤2(x2+y2)x+y\le\sqrt{2(x^2+y^2)}.

Hint

Maximize x+yx+y under x2+y2=1x^2+y^2=1; multiply by the radius.

Show solutionHide solution

Solution

Lagrange. 1=2λx1=2\lambda x, 1=2λy1=2\lambda y, so x=yx=y. On the unit circle, x=y=1/2x=y=1/\sqrt2, giving maximum 2\sqrt2.

Scaling. For any (x,y)≠(0,0)(x,y)\neq(0,0) with r=x2+y2r=\sqrt{x^2+y^2}, (x/r,y/r)(x/r,y/r) is on the unit circle, so x+y≤2 rx+y\le\sqrt2\,r.

Conclusion. x+y≤2(x2+y2)x+y\le\sqrt{2(x^2+y^2)}.