I saw this proof that a function $f$ is orthogonal to its derivative $f'$:
$$ \int_{-\infty}^\infty f(t)f'(t)dt = \frac{1}{2\pi} \int_{-\infty}^\infty F(\Omega) (-j\Omega) F^*(\Omega) d\Omega = -\frac{1}{2\pi} \int_{-\infty}^\infty j\Omega |F(\Omega)|^2 d\Omega = 0 $$
where $F(\Omega)$ denotes the Fourier transform of $f(t)$.
This clearly isn't true for all functions, e.g. $f(t) = \max(0,t)$. Could anyone help me figure out which assumptions were made? The original text was not more specific than this.