Sketch $f(x)=\sin x+\frac{1}{x}$ finding local maxima and minima, intervals of increase and decrease. I'm trying to use differentiation to draw this picture and find critical points.
So, I get $f'(x)=\cos x-\frac{1}{x^2}$ However, I'll have to deal with inequality $f'(x)>0 $, $f'(x)<0$, and $f'(x)=0$, I feel I lack an ability to solve an equation like this. So is there any better way to find local maximun and minumum for this function?