Cauchy's Inequality — Definition, Formula & Examples
Cauchy's Inequality (also called the Cauchy-Schwarz Inequality) states that the absolute value of the inner product of two vectors is at most the product of their magnitudes. In the finite-dimensional case, it says the square of a sum of products is less than or equal to the product of two sums of squares.
For real or complex sequences and , the inequality holds, with equality if and only if one sequence is a scalar multiple of the other.
Key Formula
Where:
- = The k-th element of the first real sequence
- = The k-th element of the second real sequence
- = The number of terms in each sequence
How It Works
To apply Cauchy's Inequality, identify two sequences or vectors and compute three sums: the sum of products , the sum of squares , and the sum of squares . The inequality guarantees that the squared dot product never exceeds the product of the two sums of squares. Equality occurs precisely when for some constant and all . This makes the inequality a powerful tool for bounding expressions and proving that certain maxima or minima exist.
Worked Example
Problem: Verify Cauchy's Inequality for the vectors a = (1, 2, 3) and b = (4, 5, 6).
Compute the dot product: Multiply corresponding entries and sum.
Compute the sums of squares: Find each sum of squares separately.
Check the inequality: Square the dot product and compare it with the product of the sums of squares.
Answer: Since 1024 ≤ 1078, Cauchy's Inequality holds. Equality does not occur because (1, 2, 3) is not a scalar multiple of (4, 5, 6).
Why It Matters
Cauchy's Inequality is a cornerstone in linear algebra, analysis, and probability. It underpins the definition of angle between vectors, the triangle inequality in normed spaces, and the proof that correlation coefficients lie between −1 and 1. You will encounter it repeatedly in courses on real analysis, functional analysis, and quantum mechanics.
Common Mistakes
Mistake: Forgetting to square the left-hand side and comparing the dot product directly to the product of magnitudes.
Correction: The inequality compares to . Equivalently, you can compare to , but both sides must be treated consistently.
