I saw it mentioned in a proof that
$$\int_C \ln |x - y| dy = 0,$$
where $x, y \in \mathbb{R}^2$ and they are both on the unit circle $C$. I'm trying to figure out the calculation but I'm not sure how to show it. First of all I switch to polars and get
$$\int_0^{2\pi} \ln \sqrt{(\cos \theta_x - \cos\theta_y)^2 - (\sin \theta_x - \sin\theta_y)^2} d\theta_y \\ = \frac{1}{2}\int_0^{2\pi} \ln (\cos^2 \theta_x - 2 \cos \theta_x \cos \theta_y + \cos^2 \theta_y + \sin^2 \theta_x - 2 \sin \theta_x \sin \theta_y + \sin^2 \theta_y) d\theta_y \\ = \frac{1}{2}\int_0^{2\pi} \ln (2 - 2 \cos \theta_x \cos \theta_y - 2 \sin \theta_x \sin \theta_y) d\theta_y \\ = \frac{1}{2}\int_0^{2\pi} \ln 2 d\theta_y + \frac{1}{2}\int_0^{2\pi} \ln (1 - (\cos \theta_x \cos \theta_y + \sin \theta_x \sin \theta_y) d\theta_y$$
What steps are needed to get this expression equal to zero?