physics604
- 92
- 2
1. Find a cubic function f(x)=ax3+bx2+cx+d that has a local maximum value of 3 at x=-2 and a local minimum value of 0 at x=1.
The first thing I did was taking the derivative of f(x). $$f'(x)=3ax^2+2bx+c$$ I know that you can get the critical numbers by setting it to zero, and those values should equal the local max and min values. So, if $$f'(x)=3ax^2+2bx+c=0$$, then that would mean $$x=-2, 1$$ $$(x+2)(x-1)=0$$ $$x^2+x-2=0$$ Thus, a=\frac{1}{3}, b=\frac{1}{2}, and c=-2. Putting that back into f(x) I get $$f(x)=\frac{1}{3}x^3+\frac{1}{2}x^2-2x+d$$ I know that a minimum value is at (1,0), so plugging that in I get $$0=\frac{1}{3}+\frac{1}{2}-2+d$$ $$d=\frac{7}{6}$$ My final answer being $$f(x)=\frac{1}{3}x^3+\frac{1}{2}x^2-2x+\frac{7}{6}$$ However, my answer key says that it should be $$f(x)=\frac{1}{9}(2x^3+3x^2-12x+7)$$ What did I do wrong? Any help is much appreciated.
Homework Equations
$$f'(x)=0$$The Attempt at a Solution
The first thing I did was taking the derivative of f(x). $$f'(x)=3ax^2+2bx+c$$ I know that you can get the critical numbers by setting it to zero, and those values should equal the local max and min values. So, if $$f'(x)=3ax^2+2bx+c=0$$, then that would mean $$x=-2, 1$$ $$(x+2)(x-1)=0$$ $$x^2+x-2=0$$ Thus, a=\frac{1}{3}, b=\frac{1}{2}, and c=-2. Putting that back into f(x) I get $$f(x)=\frac{1}{3}x^3+\frac{1}{2}x^2-2x+d$$ I know that a minimum value is at (1,0), so plugging that in I get $$0=\frac{1}{3}+\frac{1}{2}-2+d$$ $$d=\frac{7}{6}$$ My final answer being $$f(x)=\frac{1}{3}x^3+\frac{1}{2}x^2-2x+\frac{7}{6}$$ However, my answer key says that it should be $$f(x)=\frac{1}{9}(2x^3+3x^2-12x+7)$$ What did I do wrong? Any help is much appreciated.
Last edited: