http://en.wikipedia.org/wiki/Cauchy%E2%80%93Schwarz_inequality
The Cauchy–Schwarz inequality states that for all vectors x and y of an inner product space it is true that
where is the inner product. Equivalently, by taking the square root of both sides, and referring to the norms of the vectors, the inequality is written as
Notable special cases
In Euclidean space Rn with the standard inner product, the Cauchy–Schwarz inequality is