What are the absolute extrema of # f(x)= cos(1/x)−xsin(1/x) in [-1/pi,1/pi]#?

1 Answer
Jul 2, 2017

An infinite number of relative extrema exist on #x in[-1/pi,1/pi]# are at #f(x)=+-1#

Explanation:

First, let's plug the endpoints of the interval #[-1/pi,1/pi]# into the function to see the end behavior.

#f(-1/pi)=-1#

#f(1/pi)=-1#

Next, we determine the critical points by setting the derivative equal to zero.

#f'(x)=1/xcos(1/x)+1/(x^2)sin(1/x)-sin(1/x)#

#1/xcos(1/x)+1/(x^2)sin(1/x)-sin(1/x)=0#

Unfortunately, when you graph this last equation, you get the following

MATLAB Version R2016b

Because the graph of the derivative has an infinite number of roots, the original function has an infinite number of local extrema. This can also be seen by looking at the graph of the original function.

MATLAB Version R2016b

However, none of them ever surpass #+-1#