One of the first problems in Spivak's Calculus on Manifolds asks you to prove the Cauchy-Schwarz inequality for real integrable functions, namely, that $|\int_{a}^{b}fg|^2 \leq |\int_a^bf^2||\int_a^bg^2|$. Now, the easiest way I see of doing this is to argue that $\int_{a}^{b}(f - \lambda g)^2$, where $\lambda \in \mathbb{R}$, is a quadratic with at most one real solution, so the discriminant must be non-negative. However, he gives a cryptic hint to consider seperately the cases of $\int_{a}^{b}(f - \lambda g)^2 = 0$ and $\int_{a}^{b}(f - \lambda g)^2 > 0$. The second case boils down to, essentially, my solution, save for the fact that arguing there's no real solution is a smidge easier than arguing there's at most one real solution. The first case, however, has always left me vaguely mystified, and any attempt I've taken to use it has always had me run into a brick wall. I would argue someting relating to sets of measure $0$, but this has the unfortunate problem of Spivak not defining such sets until two chapters later. So, does anyone have any idea what Spivak would have done?
Specifically, the question is 1-6. (a) on page 4.