Derivatives – Proof and explanation of the derivative of ceil(x)

derivatives

I know that the derivative is 0 for all x but can somebody explain this to me. I understand derivatives but I have been having a lot of trouble here. I know that $ceil(x)=(x+1/2) – (arctan(tan(pi*(x+1/2))))/(pi)$ for all non integer x so I differentiated that on wolfram alpha https://www.wolframalpha.com/input/?i=derivative+of+(x%2B1%2F2)+-+(arctan(tan(pi(x%2B1%2F2))))%2Fpi and got $1-(csc^2(pi*x)/(cot^2(pi*x)+1)$ and using the desmos graphing calculator to graph this I got https://www.desmos.com/calculator/mmzdqg6nba which is 0 for all non-integer x. can anybody show me an easier way to solve this problem.

Best Answer

The ceiling function is piecewise constant and the derivative of a constant is zero.

The ceiling function is discontinuous at integer values and is non-differentiable there.

Related Question