Suppose that $f\geq0$ is an element of $L^2 \cap L^3 \cap L^4$, and moreso that $||f||_2^2 = ||f||_3^3 = ||f||_4^4$. If the measure of the whole space is finite, I want to show that $f = \chi_A$ a.e. for some measurable $A$.
My attempt:
Write $S = \{x : f(x) \neq 1\}$ and let $A = S^c$. I want to show that $S$ has measure zero. As $S\cup A$ is the whole space, we can partition the integrals as so, to see that
$$\int_S |f|^2 = \int_S |f|^3 = \int_S |f|^4$$.
I'm not sure how to proceed from here.
Hint: $$\int(f^2-f)^2=\int f^4+f^2-2f^3=\int f^4+\int f^2-2\int f^3=0$$ This tells you that $f^2-f=0$ a.e.