Optimal. Leaf size=45 \[ \frac{i \text{PolyLog}\left (2,-i e^{a+b x}\right )}{2 b}-\frac{i \text{PolyLog}\left (2,i e^{a+b x}\right )}{2 b} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.027565, antiderivative size = 45, normalized size of antiderivative = 1., number of steps used = 4, number of rules used = 3, integrand size = 8, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.375, Rules used = {2282, 4848, 2391} \[ \frac{i \text{PolyLog}\left (2,-i e^{a+b x}\right )}{2 b}-\frac{i \text{PolyLog}\left (2,i e^{a+b x}\right )}{2 b} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 2282
Rule 4848
Rule 2391
Rubi steps
\begin{align*} \int \tan ^{-1}\left (e^{a+b x}\right ) \, dx &=\frac{\operatorname{Subst}\left (\int \frac{\tan ^{-1}(x)}{x} \, dx,x,e^{a+b x}\right )}{b}\\ &=\frac{i \operatorname{Subst}\left (\int \frac{\log (1-i x)}{x} \, dx,x,e^{a+b x}\right )}{2 b}-\frac{i \operatorname{Subst}\left (\int \frac{\log (1+i x)}{x} \, dx,x,e^{a+b x}\right )}{2 b}\\ &=\frac{i \text{Li}_2\left (-i e^{a+b x}\right )}{2 b}-\frac{i \text{Li}_2\left (i e^{a+b x}\right )}{2 b}\\ \end{align*}
Mathematica [A] time = 0.100697, size = 83, normalized size = 1.84 \[ x \tan ^{-1}\left (e^{a+b x}\right )-\frac{i \left (-\text{PolyLog}\left (2,-i e^{a+b x}\right )+\text{PolyLog}\left (2,i e^{a+b x}\right )+b x \left (\log \left (1-i e^{a+b x}\right )-\log \left (1+i e^{a+b x}\right )\right )\right )}{2 b} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [B] time = 0.049, size = 106, normalized size = 2.4 \begin{align*}{\frac{\ln \left ({{\rm e}^{bx+a}} \right ) \arctan \left ({{\rm e}^{bx+a}} \right ) }{b}}+{\frac{{\frac{i}{2}}\ln \left ({{\rm e}^{bx+a}} \right ) \ln \left ( 1+i{{\rm e}^{bx+a}} \right ) }{b}}-{\frac{{\frac{i}{2}}\ln \left ({{\rm e}^{bx+a}} \right ) \ln \left ( 1-i{{\rm e}^{bx+a}} \right ) }{b}}+{\frac{{\frac{i}{2}}{\it dilog} \left ( 1+i{{\rm e}^{bx+a}} \right ) }{b}}-{\frac{{\frac{i}{2}}{\it dilog} \left ( 1-i{{\rm e}^{bx+a}} \right ) }{b}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [B] time = 1.49925, size = 85, normalized size = 1.89 \begin{align*} \frac{{\left (b x + a\right )} \arctan \left (e^{\left (b x + a\right )}\right )}{b} - \frac{\pi \log \left (e^{\left (2 \, b x + 2 \, a\right )} + 1\right ) + 2 i \,{\rm Li}_2\left (i \, e^{\left (b x + a\right )} + 1\right ) - 2 i \,{\rm Li}_2\left (-i \, e^{\left (b x + a\right )} + 1\right )}{4 \, b} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] time = 2.23242, size = 297, normalized size = 6.6 \begin{align*} \frac{2 \, b x \arctan \left (e^{\left (b x + a\right )}\right ) + i \, a \log \left (e^{\left (b x + a\right )} + i\right ) - i \, a \log \left (e^{\left (b x + a\right )} - i\right ) +{\left (i \, b x + i \, a\right )} \log \left (i \, e^{\left (b x + a\right )} + 1\right ) +{\left (-i \, b x - i \, a\right )} \log \left (-i \, e^{\left (b x + a\right )} + 1\right ) - i \,{\rm Li}_2\left (i \, e^{\left (b x + a\right )}\right ) + i \,{\rm Li}_2\left (-i \, e^{\left (b x + a\right )}\right )}{2 \, b} \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^{a + b 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^{\left (b x + a\right )}\right )\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]