here is the problem
$\frac{d}{dt} \int_{0}^{t} (t+\tau)^2 d\tau = ?$
this is my calculation
first,let
$ f(\tau)=(t+\tau)^2 $
$ F(\tau)=\int f(\tau)d\tau $
$ F'(\tau)= f(\tau) $
so, $\frac{d}{dt} \int_{0}^{t} (t+\tau)^2 d\tau $
$=\frac{d}{dt}(F(t)-F(0)) $
$=F'(t)-F'(0) $
$=f(t)-f(0) $
$=(t+t)^2-(t+0)^2 $
$=2t^2-t^2=t^2$
However,the solution is
$\frac{d}{dt} \int_{0}^{t} (t+\tau)^2 d\tau $ .......................................(1)
$=(t+t)^2+\int_{0}^{t}\frac{d}{\partial t} (t+\tau)^2 d\tau $.................(2)
$=(t+t)^2+\int_{0}^{t} 2 (t+\tau) d\tau $
$=(t+t)^2+ (2t\tau+\tau^2)|_0^t $
$=4t^2+ (2t^2+t^2) $
$=7t^2$
I have two question,
1.What am I doing wrong with my calculation
2.how to derive equation(2) from equation(1)
Thanks!
This is a simple application of Lebinitz rule and product rule
$$\frac{d}{dt} \int_{0}^{t} (t+\tau)^{2}d\tau \\ = \frac{d}{dt} \int_{0}^{t}(t^2 + \tau^2 + 2 t \tau)d\tau \\ = \frac{d}{dt}t^2 \int_{0}^{t} d\tau + \frac{d}{dt} \int_{0}^{t} \tau^2 d\tau + 2\frac{d}{dt} t\int_{0}^{t} \tau d\tau \\ $$ Now apply product rule and Lebinitz rule:
1st integral: $$2t\int_{0}^{t} 1. d\tau + t^2 \\ =3t^2$$
2nd integral: $$t^2 $$
3rd integral $$2\int_{0}^{t}\tau d\tau + 2t^2 \\ = 2t^2+t^2 \\ = 3t^2$$
Finally we have $3t^2 + t^2 + 3t^2 = 7t^2$
To apply Lebinitz rule, the integrand must only contain variable $\tau$.