Question 1163320
<br>
A local maximum or minimum means the slope of the graph is 0; that means the derivative of the function is 0.<br>
The given function is a 3rd degree polynomial; its derivative will be a 2nd degree polynomial.  That is consistent with the given information that the function has one local minimum and one local maximum.<br>
Find the derivative of the function:<br>
{{{df/dx = 3ax^2+12x+b}}}<br>
Use the fact that the derivative is 0 at x=-1 and x=2 to form two equations in the unknowns a and b.<br>
{{{3a(-1)^2+12(-1)+b = 0}}}
{{{3a-12+b = 0}}}
(1) {{{3a+b = 12}}}<br>
{{{3a(2)^2+12(2)+b = 0}}}
{{{12a+24+b=0}}}
(2) {{{12a+b = -24}}}<br>
Subtracting (1) from (2)...<br>
{{{9a = -36}}}
{{{a = -4}}}<br>
Then substituting a=-4 in either (1) or (2) gives b=24.<br>
ANSWER: a = -4; b = 24<br>
A graph...:<br>
{{{graph(400,400,-4,4,-20,60,-4x^3+6x^2+24x+4)}}}<br>
---------------------------------------------------------<br>
For tutor @ikleyn.....<br>
My goodness! Grow up!<br>
Do you feel slighted because I felt a solution identical to yours but presented differently might be useful to the student?!<br>
Your solutions are NOT always the solutions that are the best possible for the particular student.  The same solution presented differently might satisfy the student's needs better....<br>