Let $f\in L^1([0.1])$, non-negative such that $f, f^2$ and $f^3$ have same $L^1([0,1])$ norm. Then, I want to show for a.e. $x$, either $f=0$ or $f=1$.
If $f\in[0,1]$, then just by comparing directly 1st and 2nd powers, we have $f=0$ or $1$ a.e. But if $f>1$, I have no idea on continuing and how to use 3rd power.
You have $$ \int f^3 - 2f^2 + f = 0$$ which can be arranged to find $$\int f (f-1)^2 = 0.$$ Since $f(f-1)^2 \ge 0$ it follows that $f(f-1)^2 = 0$ almost everywhere and thus $f=0$ or $1$ almost everywhere.