Paul R. Halmos, Finite-Dimensional Vector Spaces, sec. 80, p.162, exercise 5(c):
If $A$ is normal and $A^3 = A^2$, then $A$ is idempotent.
The finite-dimensional case has been asked before, but our $A$ here is a linear operator on a possibly infinite-dimensional inner product space. The underlying field may be real or complex.
My attempt so far: I see that the finite-dimensional version of this problem (over a complex field) is easy to address using the Spectral Theorem for normal operators (on complex inner product spaces). To prove the assertion in infinite dimensions, my attempts so far have been around showing that the "distance" between the vectors $A^2x$ and $Ax$ (if $x$ is an arbitrary vector) is zero, i.e., $\Vert A^2x-Ax\Vert = 0$. Haven't been successful. Would appreciate help. Thanks.