Optimal. Leaf size=31 \[ \frac{1}{2} i \text{PolyLog}\left (2,-i e^x\right )-\frac{1}{2} i \text{PolyLog}\left (2,i e^x\right ) \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0255403, antiderivative size = 31, normalized size of antiderivative = 1., number of steps used = 4, number of rules used = 3, integrand size = 4, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.75, Rules used = {2282, 4848, 2391} \[ \frac{1}{2} i \text{PolyLog}\left (2,-i e^x\right )-\frac{1}{2} i \text{PolyLog}\left (2,i e^x\right ) \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 2282
Rule 4848
Rule 2391
Rubi steps
\begin{align*} \int \tan ^{-1}\left (e^x\right ) \, dx &=\operatorname{Subst}\left (\int \frac{\tan ^{-1}(x)}{x} \, dx,x,e^x\right )\\ &=\frac{1}{2} i \operatorname{Subst}\left (\int \frac{\log (1-i x)}{x} \, dx,x,e^x\right )-\frac{1}{2} i \operatorname{Subst}\left (\int \frac{\log (1+i x)}{x} \, dx,x,e^x\right )\\ &=\frac{1}{2} i \text{Li}_2\left (-i e^x\right )-\frac{1}{2} i \text{Li}_2\left (i e^x\right )\\ \end{align*}
Mathematica [A] time = 0.043881, size = 59, normalized size = 1.9 \[ x \tan ^{-1}\left (e^x\right )-\frac{1}{2} i \left (-\text{PolyLog}\left (2,-i e^x\right )+\text{PolyLog}\left (2,i e^x\right )+x \left (\log \left (1-i e^x\right )-\log \left (1+i e^x\right )\right )\right ) \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [B] time = 0.049, size = 59, normalized size = 1.9 \begin{align*} \ln \left ({{\rm e}^{x}} \right ) \arctan \left ({{\rm e}^{x}} \right ) +{\frac{i}{2}}\ln \left ({{\rm e}^{x}} \right ) \ln \left ( 1+i{{\rm e}^{x}} \right ) -{\frac{i}{2}}\ln \left ({{\rm e}^{x}} \right ) \ln \left ( 1-i{{\rm e}^{x}} \right ) +{\frac{i}{2}}{\it dilog} \left ( 1+i{{\rm e}^{x}} \right ) -{\frac{i}{2}}{\it dilog} \left ( 1-i{{\rm e}^{x}} \right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [B] time = 1.50996, size = 46, normalized size = 1.48 \begin{align*} x \arctan \left (e^{x}\right ) - \frac{1}{4} \, \pi \log \left (e^{\left (2 \, x\right )} + 1\right ) - \frac{1}{2} i \,{\rm Li}_2\left (i \, e^{x} + 1\right ) + \frac{1}{2} i \,{\rm Li}_2\left (-i \, e^{x} + 1\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] time = 2.16789, size = 147, normalized size = 4.74 \begin{align*} x \arctan \left (e^{x}\right ) + \frac{1}{2} i \, x \log \left (i \, e^{x} + 1\right ) - \frac{1}{2} i \, x \log \left (-i \, e^{x} + 1\right ) - \frac{1}{2} i \,{\rm Li}_2\left (i \, e^{x}\right ) + \frac{1}{2} i \,{\rm Li}_2\left (-i \, e^{x}\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \operatorname{atan}{\left (e^{x} \right )}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \arctan \left (e^{x}\right )\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]