For a function such as f(x) = -x^2 +2x +2, a parabola with a maximum at (1,3) a textbook says that the function is increasing in the interval (-infinity, 1]. If this is correct could someone tell me why? I think at x = 1 the slope is 0, so the function is not increasing and the interval should be: (-infinity, 1). Thanks.