Equality in Cauchy–Schwarz
ProofBeginner⏱ 15 minFoundationscauchy-schwarzinner productequality case
Problem
Prove that for ,
if and only if and are linearly dependent. Then deduce that the cosine similarity takes the value exactly for parallel and anti-parallel vectors.
Write a complete argument. Every inequality you use should be one you could state precisely.
Hints
Hints — 0 of 3 revealed
Solution
Opening this before you have a real attempt on paper is the fastest way to feel like you understand something you cannot reproduce.
Related problems
All problems| Solved | Problem | Field | Type | Difficulty | Time |
|---|---|---|---|---|---|
| Equality in Jensen's inequality | Foundations | Proof | 15 min | ||
| Bounding the spectral norm by row and column sums | Foundations | Proof | 30 min | ||
| Characterising orthogonal projectors | Foundations | Proof | 30 min | ||
| From distance preservation to inner-product preservation | High-Dim Probability | Proof | 30 min | ||
| Implement power iteration and verify the convergence rate run | Foundations | Coding | 1 hour |