CauchySchwarz
Cauchy-Schwarz, formally the Cauchy–Schwarz inequality, is a fundamental result in mathematics that provides an upper bound for the absolute value of the inner product of two vectors by the product of their norms. In any inner product space over the real or complex numbers, for all vectors u and v one has |⟨u,v⟩| ≤ ||u|| ||v||, equivalently ⟨u,v⟩^2 ≤ ⟨u,u⟩⟨v,v⟩. In complex spaces the left-hand side uses the magnitude of the inner product.
Equality occurs precisely when the two vectors are linearly dependent, i.e., one is a scalar multiple of
The inequality has broad formulations and applications. In finite-dimensional vector spaces it bounds dot products; in
Beyond its standard form, there are numerous generalizations to different fields, to function spaces, and to