Jesse R. answered 06/25/20
BS in Mechanical Engineering with 5+ years tutoring calculus
We can find g'(x) easily by using the rule that d/dx(xn) = n*xn-1
g'(x) = 2x - 2 **the derivative of a constant is zero so the 6 goes away when we differentiate
To find the critical numbers we set the derivative equal to zero
g'(x) = 0 = 2x-2 *solving for x we get x=1 as our critical number.
When we check for absolute minima/maxima we can't forget to also check the end points of our interval which are x=7 and x=0 we find which is which by plugging our endpoints and critcal number back into the original function g(x)
g(0) = -6
g(1) = -7
g(7) = 29
absolute maximum on this interval = 29
absolute minimum on this interval = -7