Let $f(x)=\sin x+\cos x+\tan x+\arcsin x+\arccos x+\arctan x$ . If $M$ and $m$ are maximum and minimum values of $f(x)$ then their arithmetic mean is equal to?
My Approach:
$\arcsin x + \arccos x =\frac{\pi}{2}$, so the equation becomes $\sin x + \cos x + \tan x + \frac{\pi}{2} + \arctan x$ . After this I differentiated this equation but did not came to any conclusion . Also I tried to solve the equation to make something relevant but the equation did not simplified . Please help...
Hint: We have $f(x) = \sin x + \cos x + \tan x + \frac{\pi}{2} + \arctan x$ on $[-1,1]$. Now $$ f'(x) = \cos x - \sin x + \sec^2 x + \frac{1}{1+x^2}. $$ On $[-1,1]$, we have $\cos x > 0$, $-\sin x > -1$, $\sec^2x\ge 1$, and $\frac{1}{1+x^2}>0$, so for all $x\in[-1,1]$ we have $$ f'(x) > 0 - 1 + 1 + 0 = 0. $$ Thus $f$ is strictly increasing. What can you say about where it attains its maximum and minimum?