"Define f(x) to be the distance from x to the nearest integer. What are the critical points of f."© BrainMass Inc. brainmass.com March 4, 2021, 7:23 pm ad1c9bdddf
First, draw a graph of f(x):
When x is an integer, f(x) = 0 (and that's the minimum f(x) can be). The maximum f(x) can be is f(x) = 0.5 at x = 0.5, 1.5, 2.5, etc. (halfway between the integers). ...
The critical points of a function are determined. The nearest integers for distances are discussed.