proof of Cauchy-Schwarz inequality
If and are linearly dependent, we write . So we get:
So we have equality if and are linearly dependent. In the other case we look at the quadratic function
This function is positive for every real , if and are linearly independent. Thus it has no real zeroes, which means that
is always negative. So we have:
which is the Cauchy-Schwarz inequality if and are linearly independent.