I am struggling to find a way to answer this question, it is under the extra reading section of my textbook so it has no method, hence me turning to here. I need to find the sign of this integral (i assume without actually calculating it).
$$I=\int^{2\pi}_\pi\frac{\cos(x)}{x}dx$$
Edit:
This is everything I have so far (I have no idea if I am on the right track).
By the Taylor series expansion for cosine, the integral becomes:
$$I=\int^{2\pi}_\pi\sum^\infty_{k=0}\frac{(-1)^kx^{2k-1}}{(2k)!}dx$$
Then continuing by integrating term-wise and getting the following:
$$I=\left.\log(x)+\sum^\infty_{k=1}\frac{(-1)^kx^{2k}}{(2k)(2k)!}\right|^{2\pi}_\pi$$
But I am struggling to group these terms in a way that reveals the sign of the integral. I am pretty sure it is negative but the log(2) is causing some issues in grouping the terms. Any help would be appreciated, whether it is th end of this method or a completely different one. Thanks!
Hint: Separate the integral into two pieces, one where $\cos x$ takes positive values, the other one where it takes negative values. Can you compare the magnitudes of the two?