Course contentsShow
← Mathematics
Lesson 2204 of 3,12146. Linear Algebra — Inner Products and OrthogonalityFree lesson

The Cauchy-Schwarz Inequality

Prove and apply the fundamental inequality relating inner products and norms.

The Cauchy-Schwarz Inequality

What You'll Learn

You'll learn to prove and apply one of the most fundamental inequalities in mathematics, which bounds the relationship between an inner product and the norms of two vectors.

The Core Idea

The Cauchy-Schwarz Inequality states that for any two vectors u and v in an inner product space:

∣⟨u,v⟩∣≤∥u∥⋅∥v∥|\langle \mathbf{u}, \mathbf{v} \rangle| \leq \|\mathbf{u}\| \cdot \|\mathbf{v}\|

In plain English: the absolute value of the inner product of two vectors can never exceed the product of their norms (lengths).

Equality holds if and only if the vectors are scalar multiples of each other (parallel or anti-parallel).

Why This Matters

Think of it like a handshake: when two people shake hands at an angle, the "effective connection" (inner product) is always less than if you multiplied each person's arm reach separately. The connection is maximized only when arms point directly at each other (parallel vectors).

The Proof Sketch

For v ≠ 0, consider the vector w = u - tv for some scalar t. Since ⟨w, w⟩ ≥ 0 (norms are non-negative), we can expand and choose t = ⟨u, v⟩/‖v‖². After substitution and simplification, the inequality emerges naturally.

In ℝⁿ

For standard Euclidean space, this becomes: ∣u1v1+u2v2+⋯+unvn∣≤u12+⋯+un2⋅v12+⋯+vn2|u_1v_1 + u_2v_2 + \cdots + u_nv_n| \leq \sqrt{u_1^2 + \cdots + u_n^2} \cdot \sqrt{v_1^2 + \cdots + v_n^2}

Applications

  • Proves the triangle inequality for norms
  • Defines angles between vectors via cos θ = ⟨u, v⟩/(‖u‖‖v‖)
  • Essential for optimization, statistics, and quantum mechanics

Key Takeaway: The Cauchy-Schwarz Inequality is the bridge between inner products and norms, ensuring that |⟨u, v⟩| ≤ ‖u‖‖v‖ always holds, with equality exactly when vectors are parallel.