Let $0\le r\le 1$ fixed and $0\le \theta< 2\pi$. Let $1<p\le 2$ and $q=p/(p-1).$ We consider the function $$f(\theta)=|1+r\exp(i\theta)|^q+|1-r\exp(i\theta)|^q.$$
Question. Why $$f(\theta)=(1+r^2+2r\cos\theta)^{q/2}-(1+r^2-2r\cos\theta)^{q/2}.$$
I think there is some property hidden on the complex analysis that I don't remember, could someone give me a suggestion?