proof of Cauchy-Schwarz inequality for real numbers
The version of the Cauchy-Schwartz inequality we want to prove is
where the and are real numbers, with equality holding only in thecase of proportionality, for some real for all .
The proof is by direct calculation:
The above identity implies that the Cauchy-Schwarz inequality holds.Moreover, it is an equality only when
for all and . In other words, equality holds only when for all for some real number .