We are asked to prove the following integral;
$\int_0^x(\int_0^tf(u) du) dt=\int_0^xf(u)(x-u)du$
I know that we have to use integration by parts which when we differentiate a function will help us use the fundamental theorem of calculus. I just don't know when and were to apply this.
Thanks in advance!