The function f(x)=x^3+ax^2+bx has a local minimum at x=3 and a point of inflection at x=-1. Find the values of a and b.
If f(x)= x^3+ax^2+bx, then
f '(x)= 3x^2+2ax+b and
f "(x)= 6x+2a.
f(x) has an inflection point at x= -1, which means that f "(x)=0 when x=-1. So f "(x)= 6x+2a=0 when x=-1
f(x) also has a minimum at x=3, which means that f '(x)=0 when x=3. So,
f '(x)= 3x^2+2ax+b=0 when x=3
We already have the value for a, so we can substitute it as well.
All you have to know is that the given x coordinates are the coordinates of stationary points, and hence are solutions to the equation f'(x) = 0. You have two of these points, and two unknown variables, so it is simply to formulate two equations which can be solved simultaneously to find the values of a and b.