Differentiate y = ln(3 + 9x2 - x3) using the chain rule:
Let u = 3 + 9x2 - x3 du/dx = 18x - 3x2
Then y = ln(u) dy/du = 1/u
dy/dx = dy/du x du/dx = 1/u x (18x - 3x2) = 1/(3 + 9x2 - x3)(18x - 3x2)
For relative extrema, dy/dx = 0
1/(3 + 9x2 - x3)(18x - 3x2) = 0
1/(3 + 9x2 - x3) ≠ 0
so solve 18x - 3x2 = 0
6x - x2 = 0
x(6 - x) = 0 Therefore relative extrema are at x = 0 and x = 6
Plug these values into the original function:
At x = 0, y = ln(3) = 1.099
At x = 6, y = ln(111) = 4.710