Mark M. answered 12/05/16
Tutor
4.9
(950)
Retired math prof. Calc 1, 2 and AP Calculus tutoring experience.
The graph of y = f(x) = -x2+x+2 = (-x + 2 )(x + 1) is a parabola opening downward. The graph has x-intercepts at x = -1 and x = 2. Between x = -1 and x = 2, the graph lies above the x-axis. Otherwise, the graph lies below the x-axis.
Let R be the region bounded by the graph of y = f(x) and the x-axis between x = a and x = b. The definite integral from x=a to x=b is the area of the part of R that lies above the x-axis minus the area of the part of R that lies below the x-axis.
So, the definite integral of f(x) from x = a to x = b will be maximized when a = -1 and b = 2.