Cauchy–Schwarz Inequality
The Cauchy–Schwarz inequality bounds a sum of products by the sums of squares; equality holds exactly when the two lists are proportional. It is used to prove other inequalities, to show that the cosine of the angle between vectors lies in and in optimisation problems.
LaTeX
\left(\sum_{i=1}^{n}a_ib_i\right)^2\le\left(\sum_{i=1}^{n}a_i^2\right)\left(\sum_{i=1}^{n}b_i^2\right)Variables
- real numbers
- number of terms
Example
Check the inequality for and .
- , so the left side is .
- , .
- Right side: .
Answer: , as the inequality requires.