Function $(\tan{x})^{\sin{2x}}$ has its minimun for $x=u\in(0,\frac{\pi}{2})$ and maximum for $x=v\in(0,\frac{\pi}{2})$.
Find $u+v$
Having calculated the derivative: $$\frac{d}{dx}(\tan{x})^{\sin{2x}} = (\tan{x})^{\sin{2x}}\cdot(2\cos{2x\cdot\ln{\tan{x}}+2})$$ I find it quite difficult to find roots of it (as if there was some other special way/technique to approach this problem)
Can You give me any hint? I will appreciate everything.

Note that $\tan x>0$ for $x\in (0,\pi/2)$. Let $y=\tan^{\sin 2x} x$ then taking logarithms yields $$\ln y=\sin 2x\ln \tan x\Rightarrow \frac{y'}{y}=2\cos 2x\ln\tan x+\sin 2x\frac{(\tan x)'}{\tan x}$$ Overall using definition of $y$ and $(\tan x)'=1/\cos^2 x$ one obtains $$y'=\tan^{\sin 2x} (2\cos 2x\ln\tan x+2)$$ Therefore $y'=0$ implies $$2\cos 2x\ln\tan x+2=0\Leftrightarrow \cos 2x\ln\tan x=-1$$ since $\tan^{\sin 2x}>0$ for all $x\in(0,\pi/2)$. Note that $g(x):=\cos 2x\ln\tan x$ is strictly increasing on the interval $(0,\pi/4)$ since $$g'(x)=-2\sin 2x\ln\tan x+\frac{\cos 2x}{\cos x\sin x}>0$$ moreover $\lim_{x\to 0^+}g(x)=-\infty$ and $g(\pi/4)=0$ therefore $g(x)$ intersects the horizontal line $y=-1$ only once. On the other side $g(x)$ is strictly decreasing for $x\in (\pi/4,\pi/2)$ since $g'(x)<0$ there. Likewise $g(\pi/4)=0$ and $\lim_{x\to\pi/2^-}g(x)=-\infty$ (since $\cos 2x<0$ for $x\in(\pi/4,\pi/2)$) Hence $g(x)$ intersects the line $y=-1$ only once more on the interval $(\pi/4,\pi/2)$. On the other hand we have $$\cos 2x\ln\tan x=\cos(2(\frac{\pi}{2}-x))\ln\tan(\frac{\pi}{2}-x)$$ this implies that $x\in(0,\pi/4)$ solves $g(x)=-1$ if and only if $(\pi/2-x)$ solves the same equation. Therefore the two roots $x_1$ and $x_2$ are related by $x_2=\pi/2-x_1$. Since $x_1$ and $x_2$ are unique the sum of the roots of $g(x)=-1$ is then equal to $$x_1+x_2=\frac{\pi}{2}$$