I need to evaluate this expression:
$$\frac{d}{dt}\exp\left({-\int_t^T r(\tau) d\tau}\right)$$
I first start with the exponential rule
$$\frac{d}{dx}e^{g(x)} = \frac{dg(x)}{dx} e^{g(x)}$$
Now I need to evaluate
$$-\frac{d}{dt}\int_t^T r(\tau) d\tau$$
My first thought was to use Leibniz integral rule, but I can't use the simple form
$$\frac{d}{dt}\int_a^b f(x,t)dx=\int_a^b \frac{\partial}{\partial t}f(x,t)dx$$
Because one of the limits is what I am differentiating by. So in fact it is the more general form that the problem reverts to and that complicates the result a lot more than I am expecting. What am I missing?
Thanks @MPW I think I got it
$$-\frac{d}{dt}\int_t^T r(\tau) d\tau$$ $$=\frac{d}{dt}\int_T^t r(\tau) d\tau = r(t)$$
Putting this back into the original problem I get
$$r(t)\exp\left(-\int_t^T r(\tau) d\tau\right)$$