Let $(X, M, \mu)$ a complete measure space. Let $f:X\to[0,\infty)$ be a measurable function and integrable function. Let $\psi(t)=\mu\{x \in X : f(x) \geq t\})$. Prove that
$$\int_X\!f\,\mathrm{d}\mu=\int_0^\infty\!\psi(t)\,\mathrm{d}t.$$
Now, we can see an answer here : $\int_X g \, d\mu =\int_0^\infty\mu(x:g(x)>t) \, dt$
But the subtle difference is : In the link above $\psi(t)$ is defined for $x \in X$ such that $f(x) \gt t$ and not $f(x) \geq t$. Also it does not make use of complete measure hypothesis (I have an intuition this is useful for $f(x) =0$).
The question is : This subtle difference between the exercises makes the answer different?
Thanks.