I have an equation that I want to differentiate with respect to time. The integral is what confuses me.
The equation is: $$\int_0^t e^{-C(t-\tau)}f(\tau) \, d\tau$$
I have the answer and I think it is correct but I am not sure about the logic applied to get to the answer. The answer is: $$e^{-C(t-t)}f(\tau) - \int_0^t Ce^{-C(t-\tau)}f(\tau) \, d\tau$$
The first term is just $f(\tau)$.
Please let me know about the method used here and also point out any error if I had made anywhere.