Solution to the example above: The
denominator is always positive (its roots are complex), so the
function is continuous everywhere and the Extreme Value Theorem
applies. Using the quotient rule, the derivative works out to
f′(x)=2(−x2+2)(x2−2x+2)2.
The critical
values are at
x=±√2. However, only the critical value
x=√2 is in our interval. So the three points we need to
consider are the endpoints
x=0 and
x=3, and the critical
point
x=√2.
Since
f(0)=0,f(√2)=1+√2,f(3)=6/5,
the largest value is
1+√2, which is the
absolute maximum (achieved at
x=√2).