How do you find a cubic function #y = ax^3+bx^2+cx+d# whose graph has horizontal tangents at the points(-2,6) and (2,0)?
2 Answers
Explanation:
Given
also we have in horizontal tangency
so we have the equation system
Solving for
Explanation:
Here's an alternative method without using differentiation.
Since there's a horizontal tangent at
So:
#(x-2)(x-2) = x^2-4x+4#
Since the problem is symmetric, the cubic will also pass through the midpoint:
#((-2+2)/2, (6+0)/2) = (0, 3)#
and has rotational symmetry around it.
So
#(ax+3/4)(x^2-4x+4) = ax^3+(3/4-4a)x^2+(4a-3)x+3#
So in order that there is no
Hence:
#{ (a=3/16), (b=0), (c=4a-3 = 3/4-3 = -9/4), (d=3) :}#
#y = 3/16x^3-9/4x+3#
graph{3/16x^3-9/4x+3 [-10.21, 9.79, -1.44, 8.56]}