Question
Question: Let f(x) be a cubic polynomial which has local maximum at x=-1 and f'(x) has a local minimum at x = ...
Let f(x) be a cubic polynomial which has local maximum at x=-1 and f'(x) has a local minimum at x = 1. If f(-1)=10 and f(3)=-22, if the distance between its two horizontal tangents is D then 8D is ______.

4
Solution
Let the cubic polynomial be f(x)=ax3+bx2+cx+d. The first derivative is f′(x)=3ax2+2bx+c. The second derivative is f′′(x)=6ax+2b.
We are given that f(x) has a local maximum at x=−1. This implies f′(−1)=0. We are also given that f′(x) has a local minimum at x=1. This implies f′′(1)=0.
From f′′(1)=0: 6a(1)+2b=0⟹6a+2b=0⟹b=−3a.
From f′(−1)=0: 3a(−1)2+2b(−1)+c=0 3a−2b+c=0. Substitute b=−3a: 3a−2(−3a)+c=0 3a+6a+c=0 9a+c=0⟹c=−9a.
So, f(x)=ax3−3ax2−9ax+d. And f′(x)=3ax2−6ax−9a=3a(x2−2x−3).
The horizontal tangents occur where f′(x)=0. 3a(x2−2x−3)=0. x2−2x−3=0. (x−3)(x+1)=0. The x-coordinates of the horizontal tangents are x=−1 and x=3.
The y-values of the horizontal tangents are f(−1) and f(3). We are given f(−1)=10 and f(3)=−22. The distance between these two horizontal tangents is D=∣f(3)−f(−1)∣=∣−22−10∣=∣−32∣=32.
The question asks for 8D. 8D=832=4.