In chapter 6 of Rudin's Principles of Mathematical Analysis, problem 15, he writes
Suppose $f$ is a real, continuously differentiable function on $[a,b], f(a) = f(b) = 0$, and
$$\int_a^b f^2(x)\ dx = 1.$$
Prove that
$$ \int_a^b x f(x) f'(x) \ dx = -\frac 1 2 $$
and that
$$\int_a^b[f'(x)]^2 \ dx \cdot \int_a^b x^2f^2(x)\ dx > \frac 1 4. $$
I've shown everything up to demonstrating
$$\int_a^b[f'(x)]^2 \ dx \cdot \int_a^b x^2f^2(x)\ dx \ge \frac 1 4 $$
However, I can't figure out how to eliminate the case where equality holds. I've seen several other resources say that equality would imply
$$ f'(x) = \lambda xf(x) $$
but I can't figure out why that would be implied.
Resources I've already looked at: How to show the inequality is strict?
Baby Rudin Chapter 6, Problem 15 : Strict inequality
Proving a strict inequality (Application of Hölder's Inequality)