The rotation of a circle of circumference is ergodic exactly when is irrational. In the Fourier basis, an invariant function can have a nonzero th coefficient only when .
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