Applications of the derivative