Show that constant function is always differentiable

Let a be any constant number.


Then, f(x) = a



We know that coefficient of a linear function is



Since our function is constant, y1 = y2


Therefore, a = 0


Now,



Thus, the derivative of a constant function is always 0.


1