The correct option is D f(x) has a maximum value at x = 2
We have,
f(x)=(3x2+12x−1, −1≤x≤237−x, 2<x≤3
Then, in [-1, 2],
f′(x)=6x+12.f′(x)=0⇒x=−2Thus, f(x) decreases in (−∞,−2) and increases in (−2,∞)
Also, f(2−)=3(2)2+12(2)−1=35and f(2+)=37−2=35
Hence, f(x) is continuous.
f'(x)=(6x+12, −1≤x≤2−1, 2<x≤3∴f'(2−)=24 and f'(2+)=−1Hence, f(x) is non−differentiable at x=2.Also, f'(2+)<f(2) and f'(2−)<f(2).Hence, x=2 is the point of maxima.