We have to maximize the cubic function
f(x)=3x3−18x2+27x−40
but only for those real numbers x that satisfy the inequality
x2+30≤11x.
First we rewrite the inequality in standard form. Subtracting 11x from both sides gives
x2+30−11x≤0.
Re-ordering the terms in descending powers of x we get
x2−11x+30≤0.
Now we factor the quadratic. We look for two numbers whose product is 30 and whose sum is −11. The numbers −5 and −6 fit. So
x2−11x+30=(x−5)(x−6).
Hence the inequality becomes
(x−5)(x−6)≤0.
Because the quadratic opens upward, the product is non-positive exactly between the roots. Therefore
5≤x≤6.
So the feasible set S is the closed interval [5,6].
To locate maxima or minima of f(x) on this interval we examine critical points. The critical points occur where the derivative is zero or undefined. The derivative of a polynomial is defined everywhere, so we only need to solve f′(x)=0.
Using the power rule dxd(xn)=nxn−1, we differentiate term by term:
f′(x)=dxd(3x3)−dxd(18x2)+dxd(27x)−dxd(40).
Calculating each derivative:
dxd(3x3)=9x2,dxd(18x2)=36x,dxd(27x)=27,dxd(40)=0.
Substituting these,
f′(x)=9x2−36x+27.
We can factor out the common factor 9:
f′(x)=9(x2−4x+3).
Next we factor the quadratic inside the parentheses. We need two numbers whose product is 3 and whose sum is −4; these are −1 and −3. So
x2−4x+3=(x−1)(x−3).
Hence
f′(x)=9(x−1)(x−3).
The derivative is zero when either (x−1)=0 or (x−3)=0, i.e.
x=1orx=3.
These critical points lie at x=1 and x=3, but our domain of interest is 5≤x≤6. Therefore, no stationary points lie inside the interval [5,6].
When a continuous function has no interior critical points on a closed interval, any extremum must occur at an endpoint. So we evaluate f(x) at the two endpoints x=5 and x=6.
First endpoint, x=5:
f(5)=3(5)3−18(5)2+27(5)−40=3⋅125−18⋅25+135−40=375−450+135−40=(375−450)+135−40=−75+135−40=60−40=20.
Second endpoint, x=6:
f(6)=3(6)3−18(6)2+27(6)−40=3⋅216−18⋅36+162−40=648−648+162−40=(648−648)+122=0+122=122.
Since 122>20, the maximum value of f(x) on the set S is 122 and it occurs at x=6.
Among the given options, 122 corresponds to Option C.
Hence, the correct answer is Option C.