Let's integrate the function ##1/z^n## in the complex plane around a loop enclosing the origin, ##z=0##. In this loop, let ##z = R e^{i\theta}## so ##dz = iR e^{i\theta} d\theta##. So (##\theta## goes from 0 to ##2\pi##):