Jeff Ford
- 154
- 2
Find a cubic function f(x) = ax^3 - bx^2 + cx - d that has a local maximum value of 40 at x = 1 and a local minimum valud of -68 at x = 4
Since x = 1 and x = 4 are the max and min, respectively, then f'(x) must equal 0 at x = 1 and x = 4. Therefore f'(x) = (x-1)(x-4) = x^2 - 5x +4
Using the original function f'(x) = 3ax^2 - 2bx +c = x^2 - 5x + 4
Setting the terms equal to each other we get
3ax^2 = x^2 \Rightarrow a = \frac{1}{3}
-2bx = -5x \Rightarrow b = \frac{5}{2}
c = 4
Substituting these values back into the original equation I get
f(x) = \frac{x^3}{3} - \frac{5x^2}{2} + 4 - d
When I solve for d using x = 1 and f(x) = 40 I get
d = \frac{1}{3} - \frac{5}{2} - 36 = \frac{-229}{6}
However, when I solve for d using x = 4 and f(x) = -68 I get
d = \frac{4^3}{3} - \frac{5(4^2)}{2} + 84 = \frac{226}{3}
Any ideas where I went wrong, or if I was down the wrong track to start with?
Thanks
Jeff
Since x = 1 and x = 4 are the max and min, respectively, then f'(x) must equal 0 at x = 1 and x = 4. Therefore f'(x) = (x-1)(x-4) = x^2 - 5x +4
Using the original function f'(x) = 3ax^2 - 2bx +c = x^2 - 5x + 4
Setting the terms equal to each other we get
3ax^2 = x^2 \Rightarrow a = \frac{1}{3}
-2bx = -5x \Rightarrow b = \frac{5}{2}
c = 4
Substituting these values back into the original equation I get
f(x) = \frac{x^3}{3} - \frac{5x^2}{2} + 4 - d
When I solve for d using x = 1 and f(x) = 40 I get
d = \frac{1}{3} - \frac{5}{2} - 36 = \frac{-229}{6}
However, when I solve for d using x = 4 and f(x) = -68 I get
d = \frac{4^3}{3} - \frac{5(4^2)}{2} + 84 = \frac{226}{3}
Any ideas where I went wrong, or if I was down the wrong track to start with?
Thanks
Jeff