The number of real values of $a$ for which $f(x) = x^a+\sin x-ax$ is a periodic function.
$\bf{My\; Try::}$ If function $f(x)$ is Periodic function , Then it must satisfy the
condition $f(x+T) = f(x)\;,$ Where $T$ is period of that function (Smallest positive value)
So Here $(x+T)^a+\sin (x+T)-a(x+T) = x^{a}+\sin x-ax$
So we get $(x+T)^a+\sin (x+T)-aT = \sin x$
From here we can see for $a=0$ and $a=1.$ We get $\sin(x+T)=\sin x.$
So it is a periodic function for $T=2\pi.$
But I did not understand how can we prove that there are only two values of $a$