I came across this exercise from Apostol book Volume 1 Ex 6.22 Q11.
The function $f(x) = \operatorname{arccot} x - \arctan\frac{1}{x}$ has derivative $0$ when $x\neq 0$. But in the meantime, we cannot find a constant number $C$ such that $f(x) = C$.
I am interested to know what is happening here.