So I was watching this video by Michael Penn https://www.youtube.com/watch?v=nkaZEI_e2SU&list=LL&index=8&t=430s and at around the 16:30 mark he puts in t = 0 into I'(t) and gets $-\pi$ as the other integral is supposedly the integral of 0, which is 0 if integrated.
But if you were to put in t = 0 at the starting definition of I'(t), just after differentiating it, by that same logic you would get the integral of 0, which again would be 0.
At first I thought it had something to do with the integral not being defined somewhere in the interval or at the bounds. But if you were to take the limits of the integrand at both limits for both integrals, you find that the integrands approach a value and don't diverge for each bound and there are no undefined points in the interval.
Somebody in the comments mentioned something about the Dirichlet integral being some kind of a special integral and that it doesn't work at the start because of that but I'm not convinced.
So I was just hoping somebody could explain to me how this is possible and why exactly this happens.