Hello I am solving an integral with a natural logarithm that has a parameter. Let say $I(a)=\int_0^\pi\ln(1-2a\cos(x)+a^2)dx$ Then for differentiation under integral sign and that yields $I'(a)= \int_0^\pi\frac{2a-2\cos(x)dx}{ 1-2a\cos(x)+a^2}$.
I chose take $aI'(a)$ and then I have That $I(a)= \pi\ln(a^2)+a\pi$
My questions:
- is there any wrong over result?
- where I shoud to take considerations about $a$? magnitude.
- what is the integral problem about this exercise?
Thanks, any help, any correction.