Cauchy-Schwarz inequality


By Olof Sisask (P3033) on Sunday, April 22, 2001 - 06:38 pm :

What is Cauchy-Schwarz? I've seen it mentioned a couple of times on here, but never asked about it.

Regards,
Olof


By Kerwin Hui (Kwkh2) on Sunday, April 22, 2001 - 06:44 pm :
C-S states that
æ
è
å
xj yj ö
ø
2
 
£ æ
è
å
xj2 ö
ø
æ
è
å
yj2 ö
ø
with equality if and only if x and y are parallel, i.e. there exists l and m, not both zero, such that lxi = myi, all i.

Kerwin


By Michael Doré (Michael) on Wednesday, April 25, 2001 - 02:56 pm :

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.


By Kerwin Hui (Kwkh2) on Wednesday, April 25, 2001 - 10:23 pm :

Here is a previous thread where C-S was discussed about halfway down the page.

Kerwin


By Olof Sisask (P3033) on Wednesday, April 25, 2001 - 10:43 pm :

Cheers guys.

Olof