I was attempting a quiz in which I encountered this question, Now the graph of the floor function is constant in the interval $[0,1)$ so technically the function should be neither increasing nor decreasing, but the answer to the question is its both increasing and decreasing. So is the answer wrong or am I unaware of a concept?
Similarly, there was another question about the function $f(x)=x^2 -3x +2$ in the interval $[0,inf]$ but the graph of the function comes down from 0 and there is a critical point at 1 and then goes up, so is decreasing and increasing in the interval $[0,inf)$ but the answer is its neither increasing nor decreasing, now one of my classmates gave me a line of reasoning that $f'(x)<=0 and f'(x)>=0$ in the inerval $[0,inf)$ which implies $f'(x)=0$ but I'm not really convinced with the argument because the graph clearly shows that the function is decreasing then increasing. So am I missing a concept here or the answers are wrong?
I tried to understand the arguments given in Can a function be increasing or decreasing at a point? this question but couldn't really make the comparisons, can someone help me here? Or suggest me some text to clarify this?