Calculus, derivatives (curve sketching)

physics604
Messages
92
Reaction score
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.

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=[itex]\frac{1}{3}[/itex], b=[itex]\frac{1}{2}[/itex], 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:
Physics news on Phys.org
physics604 said:
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.

Note: your equation is $$f(x)=\frac{1}{6}(2x^3+3x^2-12x+7)$$... spot the similarities?

Check by putting x=-2 to see who is right.

I think you may have made your mistake when you compared ##y'=3ax^2+2bx^2+c=0## with ##(x+2)(x-1)=0##.

This does not uniquely determine the constants.
Consider:

$$x^2+\frac{2b}{3a}x + \frac{c}{3a}=0$$ ... is y'=0 too.

Compare with ##x^2+x-2=0## tells you that ##2b=3a## and ##c=-6a## ...
 

Similar threads

  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 10 ·
Replies
10
Views
3K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 105 ·
4
Replies
105
Views
14K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 21 ·
Replies
21
Views
2K
  • · Replies 1 ·
Replies
1
Views
1K
Replies
5
Views
2K