| < u,v > |
|| u ||
|| v ||
< x,x >
for any vector x.
Since this seems to be the only possible tool,
we need to rewrite the Cauchy-Schwarz inequality
until it looks like the inner product of a vector with itself.
The first thing to do is to square both sides and then
rewrite the lengths in term of the inner product.
| < u,v > |
|| u ||
|| v ||
< u,v >2
|| u ||2
|| v ||2
< u,v >2
< u,u >
< v,v >
0
< u,u >
< v,v >
- < u,v >
< u,v >
0
< v,v >
- c < u,v >,
where c =
< u,v > /
< u,u >.
0
< v - cu , v >
< v - cu , v > = < v - cu , v - cu >,
since the inner product of any vector with itself must be nonnegative. To show this, we only need to check that< v - cu , u > = 0,
since< v - cu , v - cu > = < v - cu , v > - < v - cu , -cu > = < v - cu , v > + c < v - cu , u >.
Expanding < v - cu , u > gives < v,u > - c< u,u >, and this is equal to zero because c =< u,v > / < u,u >.
In summary, we finally have the inequality
0
< v - cu , v - cu >
= < v - cu , v >
= < v,v >
- c < u,v >.
< u,v >2
|| u ||2
|| v ||2.
If u = 0, then the inequality certainly holds, so we can assume that u is nonzero. Then < u,u > is nonzero, and so we can define
c = < u,v > / < u,u >.
It follows from the definition of an inner product that for the vector v - cu we have
0
< v - cu , v - cu >.
< v - cu , v - cu > = < v , v - cu > - c < u , v - cu > = < v , v - cu >
because c = < u,v > / < u,u > and therefore< u , v - cu > = < u,v > - c < u,u > = 0.
Thus we have
0
< v - cu , v >
= < v,v > - c < u,v >,
c < u,v >
< v,v >.
< u,v >2
< u,u >
< v,v >,