Is it G(x) = (x-3)2/(x-4) ?
If so, then by the quotient rule, G'(x) = [2(x-3)(x-4) - (x-3)2(1)] / (x-4)2
= [2(x2-7x+12) - (x2-6x+9)] / (x-4)2
= (x2-8x+15)/(x-4)2
= (x-3)(x-5)/(x-4)2
G'(x) = 0 when x = 3 or 5. Note that G(x) and G'(x) are both undefined at x = 4 (the graph of y = G(x) has a vertical asymptote when x = 4).
When x < 3, G'(x) > 0. So, G(x) is increasing.
When 3<x<4, G'(x) < 0. So, G(x) is decreasing.
When 4<x<5, G'(x) < 0. So, G(x) is decreasing.
When x>5, G'(x) > 0. So, G(x) is increasing
Since the derivative changes sign from positive to negative at x=3, there is a relative maximum when x = 3.
Since the derivative changes sign from negative to positive at x = 5, there is a relative minimum when x = 5.
Rita N.
06/26/17