Let ff be a real-valued function defined for all real numbers xx such that, for some positive constant aa, the equation f(x+a)=12+f(x)[f(x)]2f(x + a) = \frac{1}{2} + \sqrt{f(x) - [f(x)]^2} holds for all xx.

(a) Prove that the function ff is periodic (i.e., there exists a positive number bb such that f(x+b)=f(x)f(x + b) = f(x) for all xx).

(b) For a=1a = 1, give an example of a non-constant function with the required properties.