Use the Fourier basis
of . For the rotation ,
If is irrational, implies . Hence every fixed function has only its constant Fourier coefficient, and part (i) proves ergodicity.
If is rational, then
is a nonconstant fixed function because . Part (i) now shows that the system is not ergodic. Therefore the ergodicity criterion for a circle rotation is