Cauchy-Schwarz Formula
One of the most important inequalities in mathematics is inarguably the famous Cauchy-Schwarz inequality whose use appears in many important proofs. We will prove this important inequality and prove an analogue of the triangle inequality in higher dimension Euclidean -space.
The Cauchy-Schwarz Inequality
Theorem 1 (The Cauchy-Schwarz Inequality): If then .
- Proof: Let . Then we want to prove that:
- Notice that the sum of squares is always nonnegative, and so for all we have that:
- Let , , and . Then:
- Suppose that . Then reduces to which is true. If , then let . Then:
- Therefore we have that:
Often times the Cauchy-Schwarz inequality is stated by squaring both sides of the inequality above:
The Triangle Inequality
Theorem 2 (The Triangle Inequality): If then Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \| \mathbf{x} + \mathbf{y} \| \leq \| \mathbf{x} \| + \| \mathbf{y} \|} .
- Proof: Let Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \mathbf{x}, \mathbf{y} \in \mathbb{R}^n} . Then:
Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \begin{align} \quad \| \mathbf{x} + \mathbf{y} \| = \| (x_1 + y_1, x_2 + y_2, ..., x_n + y_n) \| = \left ( \sum_{i=1}^{n} (x_i + y_i)^2 \right )^{1/2} \end{align}}
- Square both sides of the equation and apply the Cauchy-Schwarz inequality at Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle (*)} to get:
Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \begin{align} \quad \| \mathbf{x} + \mathbf{y} \|^2 = \sum_{i=1}^{n} (x_i + y_i)^2 \\ \quad \| \mathbf{x} + \mathbf{y} \|^2 = (x_1 + y_1)^2 + (x_2 + y_2)^2 + ... + (x_n + y_n)^2 \\ \quad \| \mathbf{x} + \mathbf{y} \|^2 = (x_1^2 + 2x_1y_1 + y_1^2) + (x_2^2 + 2x_2y_2 + y_2^2) + ... + (x_n^2 + 2x_ny_n + y_n^2) \\ \quad \| \mathbf{x} + \mathbf{y} \|^2 = (x_1^2 + x_2^2 + ... + x_n^2) + 2(x_1y_1 + x_2y_2 + ... + x_ny_n) + (y_1^2 + y_2^2 + ... + y_n^2) \\ \quad \| \mathbf{x} + \mathbf{y} \|^2 = \| \mathbf{x} \|^2 + 2 (\mathbf{x} \cdot \mathbf{y}) + \| \mathbf{y} \|^2 \\ \quad \| \mathbf{x} + \mathbf{y} \|^2 \overset{(*)} \leq \| \mathbf{x} \|^2 + 2 \| \mathbf{x} \| \| \mathbf{y} \| + \| \mathbf{y} \|^2 \\ \quad \| \mathbf{x} + \mathbf{y} \|^2 \leq (\| \mathbf{x} \| + \| \mathbf{y} \|)^2 \end{align}}
- Square rooting both sides of the inequality above yields Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \| \mathbf{x} + \mathbf{y} \| \leq \| \mathbf{x} \| + \| \mathbf{y} \|} as desired. Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \blacksquare}
Licensing
Content obtained and/or adapted from:
- The Cauchy-Schwarz and Triangle Inequalities, mathonline.wikidot.com under a CC BY-SA license