Question
Question: If \[{\text{f}}\left( {\text{x}} \right) = 3{x^3} - 9{x^2} - 27x + 15\] then find the maximum value ...
If f(x)=3x3−9x2−27x+15 then find the maximum value of f(x).
A)−66
B)30
C)−30
D)66
Solution
First find the derivative of the function f′(x) and equate it to zero to find values of x. Then put these values in the second derivative f′′(x) of the function. If f′′(x) >0 then f(x) has minima at x, If f′′(x) <0 then f(x) has maxima at x.The maximum value value can be find by putting the value of maxima in f(x).
Complete step-by-step answer:
Given function, f(x)=3x3−9x2−27x+15-- (i)
On differentiating the given function w.r.t. x we get,
⇒f′(x)=dxd(3x3−9x2−27x+15)
We know that dxd(xn)=nxn−1 and dxd(constant)=0
On applying this we get,
⇒f′(x)=3×3x3−1−9×2x2−1−27x1−1+0
On solving further we get,⇒f′(x)=9x2−18x−27
On putting f′(x)=0 , we get-
⇒9x2−18x−27=0
On taking 9 common and transferring on the right side we get-
⇒x2−2x−3=0
On factoring we get,
⇒x2−3x+x−3=0
⇒(x2−3x)+(x−3)=0
On taking x and 1 common we get,
⇒x(x−3)+1(x−3)=0
On taking (x−3) common we get,
⇒(x−3)(x+1)=0
On putting both factors equal to zero we get,
⇒x−3=0⇒x=3
or
⇒x+1=0⇒x=−1
Now again differentiate the first derivative w.r.t. x-
⇒f′′(x)=dxd(9x2−18x−27)
On differentiating we get,
⇒f′(x)=9×2x2−1−18x1−1
On further solving we get,
⇒f′′(x)=18x−18 -- (ii)
Now put x=3 in eq. (ii)
⇒f′′(3)=18×3−18
On solving we get,
⇒f′′(3)=54−18=36
Now here⇒f′′(3)=36>0
So f(x) has minima at x= 3
Now put x=−1 in eq. (ii)
⇒f′′(−1)=18(−1)−18
On solving we get,
⇒f′′(−1)=−18−18=−36
Here,⇒f′′(−1)=−36<0
So f(x) has maxima at x=−1
The maximum value of the function f(x) will be at x=−1
So on putting x=3 in eq. (i) we get,
⇒f(x)=3(−1)3−9(−1)2−27(−1)+15
On simplifying we get,
∴The function has maximum value 30
Hence option B is the correct answer.
Note: Since f(x) has minima at x= 3 so function also has minimum value. To find the minimum value put the value of x=3 in eq. (i)
⇒f(x)=3(3)3−9(3)2−27(3)+15 ⇒f(x)=3×27−9×9−27×3+15On simplifying we get,
⇒f(x)=81−81−81+15=−81+15=−66
So the minimum value of given function is −66