What is Cauchy-Schwarz? I've seen it mentioned a couple of
times on here, but never asked about it.
Regards,
Olof
This is basically an extension of the
fact that the magnitude of a cosine of a real angle is less than
or equal to 1.
If:
x = (x1 ,x2 )
y = (y1 ,y2 )
Then (x1 y1 + x2 y2
)2 = (x .y )2 = |x
|2 |y |2 cos2 (theta)
< = |x |2 |y |2 =
(x1 2 + x2 2
)(y1 2 + y2 2 )
where theta is the angle between x and y . This
demonstrates the inequality for n = 2 and also makes it clear why
they need to be parallel for equality. You can justify it in a
similar way for N-D though you need to be careful about how you
define angle. Alternatively, you can prove the inequality by
expanding it out and collecting terms and using the fact that
squares are positive.
Here
is a previous thread where C-S was discussed about halfway down
the page.
Kerwin