Optimal. Leaf size=196 \[ \frac {i \text {Li}_2\left (1-\frac {2}{1-i \left (b f^{c+d x}+a\right )}\right )}{2 d \log (f)}-\frac {i \text {Li}_2\left (1-\frac {2 b f^{c+d x}}{(i-a) \left (1-i \left (b f^{c+d x}+a\right )\right )}\right )}{2 d \log (f)}-\frac {\log \left (\frac {2}{1-i \left (a+b f^{c+d x}\right )}\right ) \tan ^{-1}\left (a+b f^{c+d x}\right )}{d \log (f)}+\frac {\log \left (\frac {2 b f^{c+d x}}{(-a+i) \left (1-i \left (a+b f^{c+d x}\right )\right )}\right ) \tan ^{-1}\left (a+b f^{c+d x}\right )}{d \log (f)} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.15, antiderivative size = 196, normalized size of antiderivative = 1.00, number of steps used = 6, number of rules used = 6, integrand size = 12, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.500, Rules used = {2282, 5047, 4856, 2402, 2315, 2447} \[ \frac {i \text {PolyLog}\left (2,1-\frac {2}{1-i \left (a+b f^{c+d x}\right )}\right )}{2 d \log (f)}-\frac {i \text {PolyLog}\left (2,1-\frac {2 b f^{c+d x}}{(-a+i) \left (1-i \left (a+b f^{c+d x}\right )\right )}\right )}{2 d \log (f)}-\frac {\log \left (\frac {2}{1-i \left (a+b f^{c+d x}\right )}\right ) \tan ^{-1}\left (a+b f^{c+d x}\right )}{d \log (f)}+\frac {\log \left (\frac {2 b f^{c+d x}}{(-a+i) \left (1-i \left (a+b f^{c+d x}\right )\right )}\right ) \tan ^{-1}\left (a+b f^{c+d x}\right )}{d \log (f)} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 2282
Rule 2315
Rule 2402
Rule 2447
Rule 4856
Rule 5047
Rubi steps
\begin {align*} \int \tan ^{-1}\left (a+b f^{c+d x}\right ) \, dx &=\frac {\operatorname {Subst}\left (\int \frac {\tan ^{-1}(a+b x)}{x} \, dx,x,f^{c+d x}\right )}{d \log (f)}\\ &=\frac {\operatorname {Subst}\left (\int \frac {\tan ^{-1}(x)}{-\frac {a}{b}+\frac {x}{b}} \, dx,x,a+b f^{c+d x}\right )}{b d \log (f)}\\ &=-\frac {\tan ^{-1}\left (a+b f^{c+d x}\right ) \log \left (\frac {2}{1-i \left (a+b f^{c+d x}\right )}\right )}{d \log (f)}+\frac {\tan ^{-1}\left (a+b f^{c+d x}\right ) \log \left (\frac {2 b f^{c+d x}}{(i-a) \left (1-i \left (a+b f^{c+d x}\right )\right )}\right )}{d \log (f)}+\frac {\operatorname {Subst}\left (\int \frac {\log \left (\frac {2}{1-i x}\right )}{1+x^2} \, dx,x,a+b f^{c+d x}\right )}{d \log (f)}-\frac {\operatorname {Subst}\left (\int \frac {\log \left (\frac {2 \left (-\frac {a}{b}+\frac {x}{b}\right )}{\left (\frac {i}{b}-\frac {a}{b}\right ) (1-i x)}\right )}{1+x^2} \, dx,x,a+b f^{c+d x}\right )}{d \log (f)}\\ &=-\frac {\tan ^{-1}\left (a+b f^{c+d x}\right ) \log \left (\frac {2}{1-i \left (a+b f^{c+d x}\right )}\right )}{d \log (f)}+\frac {\tan ^{-1}\left (a+b f^{c+d x}\right ) \log \left (\frac {2 b f^{c+d x}}{(i-a) \left (1-i \left (a+b f^{c+d x}\right )\right )}\right )}{d \log (f)}-\frac {i \text {Li}_2\left (1-\frac {2 b f^{c+d x}}{(i-a) \left (1-i \left (a+b f^{c+d x}\right )\right )}\right )}{2 d \log (f)}+\frac {i \operatorname {Subst}\left (\int \frac {\log (2 x)}{1-2 x} \, dx,x,\frac {1}{1-i \left (a+b f^{c+d x}\right )}\right )}{d \log (f)}\\ &=-\frac {\tan ^{-1}\left (a+b f^{c+d x}\right ) \log \left (\frac {2}{1-i \left (a+b f^{c+d x}\right )}\right )}{d \log (f)}+\frac {\tan ^{-1}\left (a+b f^{c+d x}\right ) \log \left (\frac {2 b f^{c+d x}}{(i-a) \left (1-i \left (a+b f^{c+d x}\right )\right )}\right )}{d \log (f)}+\frac {i \text {Li}_2\left (1-\frac {2}{1-i \left (a+b f^{c+d x}\right )}\right )}{2 d \log (f)}-\frac {i \text {Li}_2\left (1-\frac {2 b f^{c+d x}}{(i-a) \left (1-i \left (a+b f^{c+d x}\right )\right )}\right )}{2 d \log (f)}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.20, size = 167, normalized size = 0.85 \[ x \tan ^{-1}\left (a+b f^{c+d x}\right )-\frac {b \left (\text {Li}_2\left (-\frac {b^2 f^{c+d x}}{a b-\sqrt {-b^2}}\right )-\text {Li}_2\left (-\frac {b^2 f^{c+d x}}{a b+\sqrt {-b^2}}\right )+d x \log (f) \left (\log \left (\frac {b^2 f^{c+d x}}{a b-\sqrt {-b^2}}+1\right )-\log \left (\frac {b^2 f^{c+d x}}{a b+\sqrt {-b^2}}+1\right )\right )\right )}{2 \sqrt {-b^2} d \log (f)} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 1.03, size = 212, normalized size = 1.08 \[ \frac {2 \, d x \arctan \left (b f^{d x + c} + a\right ) \log \relax (f) + i \, c \log \left (b f^{d x + c} + a + i\right ) \log \relax (f) - i \, c \log \left (b f^{d x + c} + a - i\right ) \log \relax (f) + {\left (i \, d x + i \, c\right )} \log \relax (f) \log \left (\frac {a^{2} + {\left (a b + i \, b\right )} f^{d x + c} + 1}{a^{2} + 1}\right ) + {\left (-i \, d x - i \, c\right )} \log \relax (f) \log \left (\frac {a^{2} + {\left (a b - i \, b\right )} f^{d x + c} + 1}{a^{2} + 1}\right ) + i \, {\rm Li}_2\left (-\frac {a^{2} + {\left (a b + i \, b\right )} f^{d x + c} + 1}{a^{2} + 1} + 1\right ) - i \, {\rm Li}_2\left (-\frac {a^{2} + {\left (a b - i \, b\right )} f^{d x + c} + 1}{a^{2} + 1} + 1\right )}{2 \, d \log \relax (f)} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \arctan \left (b f^{d x + c} + a\right )\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.06, size = 186, normalized size = 0.95 \[ \frac {\ln \left (b \,f^{d x +c}\right ) \arctan \left (a +b \,f^{d x +c}\right )}{d \ln \relax (f )}+\frac {i \ln \left (b \,f^{d x +c}\right ) \ln \left (\frac {-b \,f^{d x +c}-a +i}{i-a}\right )}{2 d \ln \relax (f )}-\frac {i \ln \left (b \,f^{d x +c}\right ) \ln \left (\frac {i+b \,f^{d x +c}+a}{i+a}\right )}{2 d \ln \relax (f )}+\frac {i \dilog \left (\frac {-b \,f^{d x +c}-a +i}{i-a}\right )}{2 d \ln \relax (f )}-\frac {i \dilog \left (\frac {i+b \,f^{d x +c}+a}{i+a}\right )}{2 d \ln \relax (f )} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.50, size = 189, normalized size = 0.96 \[ \frac {{\left (d x + c\right )} \arctan \left (b f^{d x + c} + a\right )}{d} - \frac {2 \, {\left (d x + c\right )} \arctan \left (\frac {b^{2} f^{d x + c} + a b}{b}\right ) \log \relax (f) + {\left (\pi - \arctan \left (\frac {1}{a}\right )\right )} \log \left (b^{2} f^{2 \, d x + 2 \, c} + 2 \, a b f^{d x + c} + a^{2} + 1\right ) - \arctan \left (b f^{d x + c} + a\right ) \log \left (\frac {b^{2} f^{2 \, d x + 2 \, c}}{a^{2} + 1}\right ) + i \, {\rm Li}_2\left (\frac {i \, b f^{d x + c} + i \, a + 1}{i \, a + 1}\right ) - i \, {\rm Li}_2\left (\frac {i \, b f^{d x + c} + i \, a - 1}{i \, a - 1}\right )}{2 \, d \log \relax (f)} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [F] time = 0.00, size = -1, normalized size = -0.01 \[ \int \mathrm {atan}\left (a+b\,f^{c+d\,x}\right ) \,d x \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F(-1)] time = 0.00, size = 0, normalized size = 0.00 \[ \text {Timed out} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________