2
1 + tan (x) tan(x) 2*x
----------- + |x|*cos(x) + sign(x)*sin(x) - ------ - ---------
x 2 2
x / 2\
\1 + x /
$$- \frac{2 x}{\left(x^{2} + 1\right)^{2}} + \sin{\left(x \right)} \operatorname{sign}{\left(x \right)} + \cos{\left(x \right)} \left|{x}\right| + \frac{\tan^{2}{\left(x \right)} + 1}{x} - \frac{\tan{\left(x \right)}}{x^{2}}$$
/ 2 \ 2 / 2 \
2 2*\1 + tan (x)/ 2*tan(x) 8*x 2*\1 + tan (x)/*tan(x)
- --------- - |x|*sin(x) - --------------- + -------- + 2*DiracDelta(x)*sin(x) + 2*cos(x)*sign(x) + --------- + ----------------------
2 2 3 3 x
/ 2\ x x / 2\
\1 + x / \1 + x /
$$\frac{8 x^{2}}{\left(x^{2} + 1\right)^{3}} - \sin{\left(x \right)} \left|{x}\right| + 2 \sin{\left(x \right)} \delta\left(x\right) + 2 \cos{\left(x \right)} \operatorname{sign}{\left(x \right)} - \frac{2}{\left(x^{2} + 1\right)^{2}} + \frac{2 \left(\tan^{2}{\left(x \right)} + 1\right) \tan{\left(x \right)}}{x} - \frac{2 \left(\tan^{2}{\left(x \right)} + 1\right)}{x^{2}} + \frac{2 \tan{\left(x \right)}}{x^{3}}$$
2
3 / 2 \ / 2 \ / 2 \ 2 / 2 \
48*x 6*tan(x) 2*\1 + tan (x)/ 6*\1 + tan (x)/ 24*x 6*\1 + tan (x)/*tan(x) 4*tan (x)*\1 + tan (x)/
-|x|*cos(x) - --------- - -------- - 3*sign(x)*sin(x) + ---------------- + 2*DiracDelta(x, 1)*sin(x) + --------------- + 6*DiracDelta(x)*cos(x) + --------- - ---------------------- + -----------------------
4 4 x 3 3 2 x
/ 2\ x x / 2\ x
\1 + x / \1 + x /
$$- \frac{48 x^{3}}{\left(x^{2} + 1\right)^{4}} + \frac{24 x}{\left(x^{2} + 1\right)^{3}} + 2 \sin{\left(x \right)} \delta^{\left( 1 \right)}\left( x \right) - 3 \sin{\left(x \right)} \operatorname{sign}{\left(x \right)} - \cos{\left(x \right)} \left|{x}\right| + 6 \cos{\left(x \right)} \delta\left(x\right) + \frac{2 \left(\tan^{2}{\left(x \right)} + 1\right)^{2}}{x} + \frac{4 \left(\tan^{2}{\left(x \right)} + 1\right) \tan^{2}{\left(x \right)}}{x} - \frac{6 \left(\tan^{2}{\left(x \right)} + 1\right) \tan{\left(x \right)}}{x^{2}} + \frac{6 \left(\tan^{2}{\left(x \right)} + 1\right)}{x^{3}} - \frac{6 \tan{\left(x \right)}}{x^{4}}$$