tan(x)
tan(x) /tan(x) / 2 \ \ / 2\ 2*x*x
x *|------ + \1 + tan (x)/*log(x)|*atan\x / + -----------
\ x / 4
1 + x
$$\frac{2 x x^{\tan{\left(x \right)}}}{x^{4} + 1} + 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) \operatorname{atan}{\left(x^{2} \right)}$$
/ / 4 \ \
| | 4*x | |
| 2*|-1 + ------| /tan(x) / 2 \ \|
|/ 2 / 2 \ \ | 4| 4*x*|------ + \1 + tan (x)/*log(x)||
tan(x) ||/tan(x) / 2 \ \ tan(x) 2*\1 + tan (x)/ / 2 \ | / 2\ \ 1 + x / \ x /|
x *|||------ + \1 + tan (x)/*log(x)| - ------ + --------------- + 2*\1 + tan (x)/*log(x)*tan(x)|*atan\x / - --------------- + -----------------------------------|
||\ x / 2 x | 4 4 |
\\ x / 1 + x 1 + x /
$$x^{\tan{\left(x \right)}} \left(\frac{4 x \left(\left(\tan^{2}{\left(x \right)} + 1\right) \log{\left(x \right)} + \frac{\tan{\left(x \right)}}{x}\right)}{x^{4} + 1} + \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) \operatorname{atan}{\left(x^{2} \right)} - \frac{2 \left(\frac{4 x^{4}}{x^{4} + 1} - 1\right)}{x^{4} + 1}\right)$$
/ / 4 \ / 2 / 2 \ \ / 4 \\
| | 4*x | /tan(x) / 2 \ \ |/tan(x) / 2 \ \ tan(x) 2*\1 + tan (x)/ / 2 \ | 3 | 8*x ||
| 6*|-1 + ------|*|------ + \1 + tan (x)/*log(x)| 6*x*||------ + \1 + tan (x)/*log(x)| - ------ + --------------- + 2*\1 + tan (x)/*log(x)*tan(x)| 8*x *|-5 + ------||
|/ 3 / 2 \ 2 / / 2 \ \ / 2 \ \ | 4| \ x / |\ x / 2 x | | 4||
tan(x) ||/tan(x) / 2 \ \ 3*\1 + tan (x)/ 2*tan(x) / 2 \ /tan(x) / 2 \ \ | tan(x) 2*\1 + tan (x)/ / 2 \ | 2 / 2 \ 6*\1 + tan (x)/*tan(x)| / 2\ \ 1 + x / \ x / \ 1 + x /|
x *|||------ + \1 + tan (x)/*log(x)| - --------------- + -------- + 2*\1 + tan (x)/ *log(x) + 3*|------ + \1 + tan (x)/*log(x)|*|- ------ + --------------- + 2*\1 + tan (x)/*log(x)*tan(x)| + 4*tan (x)*\1 + tan (x)/*log(x) + ----------------------|*atan\x / - ----------------------------------------------- + ------------------------------------------------------------------------------------------------- + ------------------|
||\ x / 2 3 \ x / | 2 x | x | 4 4 2 |
|\ x x \ x / / 1 + x 1 + x / 4\ |
\ \1 + x / /
$$x^{\tan{\left(x \right)}} \left(\frac{8 x^{3} \left(\frac{8 x^{4}}{x^{4} + 1} - 5\right)}{\left(x^{4} + 1\right)^{2}} + \frac{6 x \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)}{x^{4} + 1} + \left(\left(\left(\tan^{2}{\left(x \right)} + 1\right) \log{\left(x \right)} + \frac{\tan{\left(x \right)}}{x}\right)^{3} + 3 \left(\left(\tan^{2}{\left(x \right)} + 1\right) \log{\left(x \right)} + \frac{\tan{\left(x \right)}}{x}\right) \left(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) + 2 \left(\tan^{2}{\left(x \right)} + 1\right)^{2} \log{\left(x \right)} + 4 \left(\tan^{2}{\left(x \right)} + 1\right) \log{\left(x \right)} \tan^{2}{\left(x \right)} + \frac{6 \left(\tan^{2}{\left(x \right)} + 1\right) \tan{\left(x \right)}}{x} - \frac{3 \left(\tan^{2}{\left(x \right)} + 1\right)}{x^{2}} + \frac{2 \tan{\left(x \right)}}{x^{3}}\right) \operatorname{atan}{\left(x^{2} \right)} - \frac{6 \left(\frac{4 x^{4}}{x^{4} + 1} - 1\right) \left(\left(\tan^{2}{\left(x \right)} + 1\right) \log{\left(x \right)} + \frac{\tan{\left(x \right)}}{x}\right)}{x^{4} + 1}\right)$$