Let's take function given by a condition:

Prove the existence of the derivative of in all points .

So, I am aware that if there was standing in the formula instead of , the derivative wouldn't exist (that would simply be the Thomae's function). The thing I couldn't figure out is, why would the replacement change anything and where should I start the proof?