/ 2 \
tan(x) |1 + tan (x) tan(x) 2*sin(x)| tan(x) /tan(x) / 2 \ \ /tan(x) 1 \ tan(x) /tan(x) 1 \
x *|----------- - ------ - --------| + x *|------ + \1 + tan (x)/*log(x)|*|------ - -------| x *|------ - -------|
| x 2 3 | \ x / | x 2 | | x 2 |
\ x cos (x) / \ cos (x)/ \ cos (x)/
------------------------------------------------------------------------------------------------------ - --------------------------
log(x) 2
x*log (x)
$$\frac{x^{\tan{\left(x \right)}} \left(\left(\tan^{2}{\left(x \right)} + 1\right) \log{\left(x \right)} + \frac{\tan{\left(x \right)}}{x}\right) \left(- \frac{1}{\cos^{2}{\left(x \right)}} + \frac{\tan{\left(x \right)}}{x}\right) + x^{\tan{\left(x \right)}} \left(- \frac{2 \sin{\left(x \right)}}{\cos^{3}{\left(x \right)}} + \frac{\tan^{2}{\left(x \right)} + 1}{x} - \frac{\tan{\left(x \right)}}{x^{2}}\right)}{\log{\left(x \right)}} - \frac{x^{\tan{\left(x \right)}} \left(- \frac{1}{\cos^{2}{\left(x \right)}} + \frac{\tan{\left(x \right)}}{x}\right)}{x \log{\left(x \right)}^{2}}$$
/ / 2 \ \
| |tan(x) 1 + tan (x) / 1 tan(x)\ /tan(x) / 2 \ \ 2*sin(x)| / 2 \ / 1 tan(x)\|
| 2*|------ - ----------- - |- ------- + ------|*|------ + \1 + tan (x)/*log(x)| + --------| |1 + ------|*|------- - ------||
| / 2 / 2 \ \ 2 / 2 \ / 2 \ | 2 x | 2 x | \ x / 3 | / 2 \ \ log(x)/ | 2 x ||
tan(x) | 2 / 1 tan(x)\ |/tan(x) / 2 \ \ tan(x) 2*\1 + tan (x)/ / 2 \ | 6*sin (x) 2*\1 + tan (x)/ /tan(x) / 2 \ \ |tan(x) 1 + tan (x) 2*sin(x)| 2*tan(x) \ x \ cos (x) / cos (x) / 2*\1 + tan (x)/*tan(x) \cos (x) /|
x *|- ------- - |------- - ------|*||------ + \1 + tan (x)/*log(x)| - ------ + --------------- + 2*\1 + tan (x)/*log(x)*tan(x)| - --------- - --------------- - 2*|------ + \1 + tan (x)/*log(x)|*|------ - ----------- + --------| + -------- + ------------------------------------------------------------------------------------------ + ---------------------- - -------------------------------|
| 2 | 2 x | |\ x / 2 x | 4 2 \ x / | 2 x 3 | 3 x*log(x) x 2 |
\ cos (x) \cos (x) / \ x / cos (x) x \ x cos (x) / x x *log(x) /
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
log(x)
$$\frac{x^{\tan{\left(x \right)}} \left(- 2 \left(\left(\tan^{2}{\left(x \right)} + 1\right) \log{\left(x \right)} + \frac{\tan{\left(x \right)}}{x}\right) \left(\frac{2 \sin{\left(x \right)}}{\cos^{3}{\left(x \right)}} - \frac{\tan^{2}{\left(x \right)} + 1}{x} + \frac{\tan{\left(x \right)}}{x^{2}}\right) - \left(\frac{1}{\cos^{2}{\left(x \right)}} - \frac{\tan{\left(x \right)}}{x}\right) \left(\left(\left(\tan^{2}{\left(x \right)} + 1\right) \log{\left(x \right)} + \frac{\tan{\left(x \right)}}{x}\right)^{2} + 2 \left(\tan^{2}{\left(x \right)} + 1\right) \log{\left(x \right)} \tan{\left(x \right)} + \frac{2 \left(\tan^{2}{\left(x \right)} + 1\right)}{x} - \frac{\tan{\left(x \right)}}{x^{2}}\right) - \frac{6 \sin^{2}{\left(x \right)}}{\cos^{4}{\left(x \right)}} - \frac{2}{\cos^{2}{\left(x \right)}} + \frac{2 \left(\tan^{2}{\left(x \right)} + 1\right) \tan{\left(x \right)}}{x} + \frac{2 \left(- \left(\left(\tan^{2}{\left(x \right)} + 1\right) \log{\left(x \right)} + \frac{\tan{\left(x \right)}}{x}\right) \left(- \frac{1}{\cos^{2}{\left(x \right)}} + \frac{\tan{\left(x \right)}}{x}\right) + \frac{2 \sin{\left(x \right)}}{\cos^{3}{\left(x \right)}} - \frac{\tan^{2}{\left(x \right)} + 1}{x} + \frac{\tan{\left(x \right)}}{x^{2}}\right)}{x \log{\left(x \right)}} - \frac{\left(1 + \frac{2}{\log{\left(x \right)}}\right) \left(\frac{1}{\cos^{2}{\left(x \right)}} - \frac{\tan{\left(x \right)}}{x}\right)}{x^{2} \log{\left(x \right)}} - \frac{2 \left(\tan^{2}{\left(x \right)} + 1\right)}{x^{2}} + \frac{2 \tan{\left(x \right)}}{x^{3}}\right)}{\log{\left(x \right)}}$$