Exercise 1475Calculus › Multivariable calculus › Optimisation in several variablesOlympiadAdded 2 Nov 2026
Cauchy-Schwarz inequality via optimisation
#Cauchy-Schwarz#optimisation#proof
Statement
Prove the Cauchy-Schwarz inequality:
for all , using an optimisation method.
Hint
For fixed nonzero , maximize under the constraint . The maximum is .
Show solutionHide solution
Solution
Lagrange. Maximize under . The gradients are and . The condition gives
Imposing :
Value. At , . At , . So the maximum is , and the minimum is .
Conclusion. For all with , we have . For arbitrary nonzero , setting gives