Question
Question: Let a, b \[ \in R\] be such that the function f given by \[f\left( x \right) = \ln \left| x \right| ...
Let a, b ∈R be such that the function f given by f(x)=ln∣x∣+bx2+ax , x=0 has extreme values at x=−1 and x=2 .
Statement 1 : f has local maximum at x=−1 and at x=2
Statement 2 : a=21 and b=−41
A.(1) Statement 1 is true, statement 2 is true; statement 2 is a correct explanation for statement 1
B.(2) Statement 1 is true, statement 2 is true; statement 2 is not a correct explanation for statement 1
C.(3) Statement 1 is true, statement 2 is false
D.(4) Statement 1 is false, statement 2 is true
Solution
Hint : First find the first derivative of the given function then by using the given values of x in the first derivative find the values of a and b. After that find the second derivative of the function and put these a and b values in the second derivative then check whether the value of the second derivative is negative or positive. By this you can check that f has local maxima or local minima at the given values of x.
Complete step-by-step answer :
An extreme or extreme value of a function is a point at which a maximum or minimum value of the function is obtained at some interval.
Here we will use the second derivative test according to which if the value of the second derivative is less than zero then it is a local maxima, if greater than zero then it is a local minimum and if equal to zero then the test fails.
So now let’s start the solving the question, as it is given to us that the function f is f(x)=ln∣x∣+bx2+ax -------- (i)
On differentiating the equation (i) with respect to x we get
f′(x)=x1+2bx+a ----------- (ii)
It is given to us that the extreme values of function are at x=−1 and at x=2 .Hence f′(−1)=0=f′(2)
Therefore the value of f′(x) at x=−1 ,equation (ii) becomes
⇒f′(−1)=−11+2b(−1)+a
As f′(−1)=0 so we can write it as
⇒a−2b=1 --------- (iii)
The value of f′(x) at x=2 ,equation (ii) becomes
⇒f′(2)=21+2b(2)+a
As f′(2)=0 so we can write it as
⇒a+4b=−21 --------- (iv)
On solving equations (iii) and (iv) we get
⇒−6b=23
On further solving we get
⇒b=−41
By putting this value of b in equation (iii) we get
⇒a−2(−41)=1
⇒a+21=1
⇒a=1−21
⇒a=22−1
⇒a=21
Hence, we can say that statement 2 is true.
Now we will find the second derivative of the function. So for this differentiate the equation (ii) with respect to x. On differentiating we get
Here the constant a is absent but b is there in the above expression. So, by putting the value of b here we get
On further solving we get
By taking L.C.M. we get
⇒f′′(x)=−(2x22+x2)
As the value of the second derivative is negative that is less than zero. So, we can say that f has local maxima at both x=−1 and x=2 .That statement 1 is correct.
Hence, the correct option is (1) Statement 1 is true, statement 2 is true; statement 2 is a correct explanation for statement 1
So, the correct answer is “Option A”.
Note : Remember that the second derivative test used to determine local extremum of a function under certain conditions. Keep in mind that if a function has a critical point for which f’(x) is zero and if the second derivative is negative then f has local maxima here and if it is positive then f has local minima here.