GATE EC 2012 · Maxima & Minima

MCQ · 1 mark · Problem EM-MAXM-0076

The maximum value of \(f(x)=x^{3}-9x^{2}+24x+5\) in the interval [1, 6] is
  1. A
    21
  2. B
    25
  3. C
    41
  4. D
    46

Solve it on GATE DA practice →More Optimization problems

Show the worked solutionWe need absolute maximum of \(f(x)=x^{3}-9 x^{2}+24 x+5\) in the interval [1,6] First find local maximum if any by putting \(f^{\prime}(x)=0\)\[\begin{aligned} \text{i.e.}\quad f^{\prime}(x)&=3 x^{2}-18 x+24=0\\ \text{i.e.}\quad x^{2}-6 x+8&=0 \\ x &=2,4 \\ \text { Now } \quad f^{\prime \prime}(x) &=6 x-18 \\ f^{\prime \prime}(2) &=12-18=-6 \lt 0\\ &\text{(So x=2 is a point of local maximum)}\\ \text{ and }f^{\prime \prime}(4)&=24-18=+6 \gt 0 \\ &\text{(So x=4 is a point of local minimum)} \end{aligned}\]Now tabulate the values of f at end point of interval and at local maximum point, to find absolute maximum in given range, as shown below:\[\begin{array}{l|l} x & f(x) \\ 1 & 21 \\ 2 & 25 \\ 6 & 41 \end{array}\]Clearly the absolute maxima is at x=6 and absolute maximum value is 41.

GATE DA practice: past exam problems by chapter, with worked solutions · gatedaprep.com