If \(f(x)=x^3+ax^2+bx\) has a maximum at x = −2 and minimum at x = 1, then (a, b) is:
Answer & explanation
Correct answer: option 4
The correct answer is Option (4) → \(\left(\displaystyle\frac{3}{2}, -6\right)\)
At a local maximum or minimum, \(f'(x) = 0\). So x = −2 and x = 1 are the roots of f’(x):
\(f'(x) = 3x^2 + 2ax + b\)
\(f'(-2) = 12 - 4a + b = 0 \qquad (1)\)
\(f'(1) = 3 + 2a + b = 0 \qquad (2)\)
Subtracting (2) from (1):
\(9 - 6a = 0\)
\( \displaystyle a = \frac{3}{2} \)
From (2):
\(b = -3 - 3 = -6\)
Check with \(f''(x) = 6x + 3\): \(f''(-2) = -9 \lt 0\) (maximum) and \(f''(1) = 9 \gt 0\) (minimum), as required.