Analyzing the Setup
We are given the function f(x)=ln∣x∣+bx2+ax, where $x
eq 0$. This function combines logarithmic and quadratic behaviors, creating a unique landscape of extrema.
Our goal is to determine the constants a and b and verify the nature of the extrema at x=−1 and x=2.
The Hunt for Critical Points
In calculus, an extreme value (a peak or a valley) occurs where the tangent line is horizontal. This implies that the first derivative, f′(x), must be zero at these points.
We differentiate the function term by term:
This expression represents the slope of the curve at any valid point x. Since we know extrema occur at x=−1 and x=2, we set f′(x)=0 at these specific locations.
The System of Equations
At x=−1, the condition f′(−1)=0 yields:
At x=2, the condition f′(2)=0 yields:
We now solve this system of two linear equations. Subtracting the first equation from the second eliminates a:
Substituting b=−41 back into the first equation:
a−2(−41)=1⟹a+21=1⟹a=21
The Second Derivative Test
To confirm the nature of these extrema, we use the Second Derivative Test. We differentiate f′(x) to find f′′(x):
Substituting our value b=−41 into the expression:
Since x2>0 for all $x
eq 0$, the term −x21 is always negative. Consequently, f′′(x)<0 for all x in the domain.
Because the second derivative is strictly negative, the function is concave down everywhere. This confirms that the points at x=−1 and x=2 are indeed local maxima.