Answer:
At interval (-∞,0) g(x) is increasing and at interval (0,∞) g(x) is decreasing.
Explanation:
We have g(x) = 1 - (x - 7)² = 1 - ( x² - 14x + 49) = 1 - x² + 14x - 49 = - x² + 14x - 48
Let us find out the derivative
g'(x) = -2x +14
g'(x) = 0 = -2x +14
x = 7
g(7) = - 7² + 14 x 7 - 48 = 1
So the maximum value of the function is at x = 7, the maximum value is 1
Let us check the value of g(x) at x = 8 and x = 6
g(6) = - 6² + 14 x 6 - 48 = 0
g(8) = - 8² + 14 x 8 - 48 = 0
So at interval (-∞,0} g(x) is increasing and at interval [0,∞) g(x) is decreasing.