Optimal. Leaf size=61 \[ \frac {\text {sech}^{-1}(a+b x)^2}{2 d}-\frac {\text {sech}^{-1}(a+b x) \log \left (1+e^{2 \text {sech}^{-1}(a+b x)}\right )}{d}-\frac {\text {PolyLog}\left (2,-e^{2 \text {sech}^{-1}(a+b x)}\right )}{2 d} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.07, antiderivative size = 61, normalized size of antiderivative = 1.00, number of steps
used = 8, number of rules used = 8, integrand size = 19, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.421, Rules used = {6454, 12, 6416,
5882, 3799, 2221, 2317, 2438} \begin {gather*} -\frac {\text {Li}_2\left (-e^{2 \text {sech}^{-1}(a+b x)}\right )}{2 d}+\frac {\text {sech}^{-1}(a+b x)^2}{2 d}-\frac {\text {sech}^{-1}(a+b x) \log \left (e^{2 \text {sech}^{-1}(a+b x)}+1\right )}{d} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 12
Rule 2221
Rule 2317
Rule 2438
Rule 3799
Rule 5882
Rule 6416
Rule 6454
Rubi steps
\begin {align*} \int \frac {\text {sech}^{-1}(a+b x)}{\frac {a d}{b}+d x} \, dx &=\frac {\text {Subst}\left (\int \frac {b \text {sech}^{-1}(x)}{d x} \, dx,x,a+b x\right )}{b}\\ &=\frac {\text {Subst}\left (\int \frac {\text {sech}^{-1}(x)}{x} \, dx,x,a+b x\right )}{d}\\ &=-\frac {\text {Subst}\left (\int \frac {\cosh ^{-1}(x)}{x} \, dx,x,\frac {1}{a+b x}\right )}{d}\\ &=-\frac {\text {Subst}\left (\int x \tanh (x) \, dx,x,\cosh ^{-1}\left (\frac {1}{a+b x}\right )\right )}{d}\\ &=\frac {\cosh ^{-1}\left (\frac {1}{a+b x}\right )^2}{2 d}-\frac {2 \text {Subst}\left (\int \frac {e^{2 x} x}{1+e^{2 x}} \, dx,x,\cosh ^{-1}\left (\frac {1}{a+b x}\right )\right )}{d}\\ &=\frac {\cosh ^{-1}\left (\frac {1}{a+b x}\right )^2}{2 d}-\frac {\cosh ^{-1}\left (\frac {1}{a+b x}\right ) \log \left (1+e^{2 \cosh ^{-1}\left (\frac {1}{a+b x}\right )}\right )}{d}+\frac {\text {Subst}\left (\int \log \left (1+e^{2 x}\right ) \, dx,x,\cosh ^{-1}\left (\frac {1}{a+b x}\right )\right )}{d}\\ &=\frac {\cosh ^{-1}\left (\frac {1}{a+b x}\right )^2}{2 d}-\frac {\cosh ^{-1}\left (\frac {1}{a+b x}\right ) \log \left (1+e^{2 \cosh ^{-1}\left (\frac {1}{a+b x}\right )}\right )}{d}+\frac {\text {Subst}\left (\int \frac {\log (1+x)}{x} \, dx,x,e^{2 \cosh ^{-1}\left (\frac {1}{a+b x}\right )}\right )}{2 d}\\ &=\frac {\cosh ^{-1}\left (\frac {1}{a+b x}\right )^2}{2 d}-\frac {\cosh ^{-1}\left (\frac {1}{a+b x}\right ) \log \left (1+e^{2 \cosh ^{-1}\left (\frac {1}{a+b x}\right )}\right )}{d}-\frac {\text {Li}_2\left (-e^{2 \cosh ^{-1}\left (\frac {1}{a+b x}\right )}\right )}{2 d}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.04, size = 52, normalized size = 0.85 \begin {gather*} \frac {-\text {sech}^{-1}(a+b x) \left (\text {sech}^{-1}(a+b x)+2 \log \left (1+e^{-2 \text {sech}^{-1}(a+b x)}\right )\right )+\text {PolyLog}\left (2,-e^{-2 \text {sech}^{-1}(a+b x)}\right )}{2 d} \end {gather*}
Warning: Unable to verify antiderivative.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.49, size = 111, normalized size = 1.82
method | result | size |
derivativedivides | \(\frac {\frac {b \mathrm {arcsech}\left (b x +a \right )^{2}}{2 d}-\frac {b \,\mathrm {arcsech}\left (b x +a \right ) \ln \left (1+\left (\frac {1}{b x +a}+\sqrt {\frac {1}{b x +a}-1}\, \sqrt {\frac {1}{b x +a}+1}\right )^{2}\right )}{d}-\frac {b \polylog \left (2, -\left (\frac {1}{b x +a}+\sqrt {\frac {1}{b x +a}-1}\, \sqrt {\frac {1}{b x +a}+1}\right )^{2}\right )}{2 d}}{b}\) | \(111\) |
default | \(\frac {\frac {b \mathrm {arcsech}\left (b x +a \right )^{2}}{2 d}-\frac {b \,\mathrm {arcsech}\left (b x +a \right ) \ln \left (1+\left (\frac {1}{b x +a}+\sqrt {\frac {1}{b x +a}-1}\, \sqrt {\frac {1}{b x +a}+1}\right )^{2}\right )}{d}-\frac {b \polylog \left (2, -\left (\frac {1}{b x +a}+\sqrt {\frac {1}{b x +a}-1}\, \sqrt {\frac {1}{b x +a}+1}\right )^{2}\right )}{2 d}}{b}\) | \(111\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \frac {b \int \frac {\operatorname {asech}{\left (a + b x \right )}}{a + b x}\, dx}{d} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.02 \begin {gather*} \int \frac {\mathrm {acosh}\left (\frac {1}{a+b\,x}\right )}{d\,x+\frac {a\,d}{b}} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________