If f(x) = sin x + cos ax is a periodic function, show that a is a rational number.
Given f(x) = sin x + cos ax