For what values of a and b does the function f(x)=ax^3+bx have a minimum or maximum at x=2?

1 answer

dy/dx = 0 at max or min = 3 a x^2 + b
so when
3 a (4) + b = 0
b = -12 a