Optimal. Leaf size=118 \[ -\frac {b \text {Li}_2\left (-e^{-2 \cosh ^{-1}(c+d x)}\right ) \left (a+b \cosh ^{-1}(c+d x)\right )}{d e}+\frac {\left (a+b \cosh ^{-1}(c+d x)\right )^3}{3 b d e}+\frac {\log \left (e^{-2 \cosh ^{-1}(c+d x)}+1\right ) \left (a+b \cosh ^{-1}(c+d x)\right )^2}{d e}-\frac {b^2 \text {Li}_3\left (-e^{-2 \cosh ^{-1}(c+d x)}\right )}{2 d e} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.19, antiderivative size = 117, normalized size of antiderivative = 0.99, number of steps used = 8, number of rules used = 8, integrand size = 23, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.348, Rules used = {5866, 12, 5660, 3718, 2190, 2531, 2282, 6589} \[ \frac {b \text {PolyLog}\left (2,-e^{2 \cosh ^{-1}(c+d x)}\right ) \left (a+b \cosh ^{-1}(c+d x)\right )}{d e}-\frac {b^2 \text {PolyLog}\left (3,-e^{2 \cosh ^{-1}(c+d x)}\right )}{2 d e}-\frac {\left (a+b \cosh ^{-1}(c+d x)\right )^3}{3 b d e}+\frac {\log \left (e^{2 \cosh ^{-1}(c+d x)}+1\right ) \left (a+b \cosh ^{-1}(c+d x)\right )^2}{d e} \]
Warning: Unable to verify antiderivative.
[In]
[Out]
Rule 12
Rule 2190
Rule 2282
Rule 2531
Rule 3718
Rule 5660
Rule 5866
Rule 6589
Rubi steps
\begin {align*} \int \frac {\left (a+b \cosh ^{-1}(c+d x)\right )^2}{c e+d e x} \, dx &=\frac {\operatorname {Subst}\left (\int \frac {\left (a+b \cosh ^{-1}(x)\right )^2}{e x} \, dx,x,c+d x\right )}{d}\\ &=\frac {\operatorname {Subst}\left (\int \frac {\left (a+b \cosh ^{-1}(x)\right )^2}{x} \, dx,x,c+d x\right )}{d e}\\ &=\frac {\operatorname {Subst}\left (\int (a+b x)^2 \tanh (x) \, dx,x,\cosh ^{-1}(c+d x)\right )}{d e}\\ &=-\frac {\left (a+b \cosh ^{-1}(c+d x)\right )^3}{3 b d e}+\frac {2 \operatorname {Subst}\left (\int \frac {e^{2 x} (a+b x)^2}{1+e^{2 x}} \, dx,x,\cosh ^{-1}(c+d x)\right )}{d e}\\ &=-\frac {\left (a+b \cosh ^{-1}(c+d x)\right )^3}{3 b d e}+\frac {\left (a+b \cosh ^{-1}(c+d x)\right )^2 \log \left (1+e^{2 \cosh ^{-1}(c+d x)}\right )}{d e}-\frac {(2 b) \operatorname {Subst}\left (\int (a+b x) \log \left (1+e^{2 x}\right ) \, dx,x,\cosh ^{-1}(c+d x)\right )}{d e}\\ &=-\frac {\left (a+b \cosh ^{-1}(c+d x)\right )^3}{3 b d e}+\frac {\left (a+b \cosh ^{-1}(c+d x)\right )^2 \log \left (1+e^{2 \cosh ^{-1}(c+d x)}\right )}{d e}+\frac {b \left (a+b \cosh ^{-1}(c+d x)\right ) \text {Li}_2\left (-e^{2 \cosh ^{-1}(c+d x)}\right )}{d e}-\frac {b^2 \operatorname {Subst}\left (\int \text {Li}_2\left (-e^{2 x}\right ) \, dx,x,\cosh ^{-1}(c+d x)\right )}{d e}\\ &=-\frac {\left (a+b \cosh ^{-1}(c+d x)\right )^3}{3 b d e}+\frac {\left (a+b \cosh ^{-1}(c+d x)\right )^2 \log \left (1+e^{2 \cosh ^{-1}(c+d x)}\right )}{d e}+\frac {b \left (a+b \cosh ^{-1}(c+d x)\right ) \text {Li}_2\left (-e^{2 \cosh ^{-1}(c+d x)}\right )}{d e}-\frac {b^2 \operatorname {Subst}\left (\int \frac {\text {Li}_2(-x)}{x} \, dx,x,e^{2 \cosh ^{-1}(c+d x)}\right )}{2 d e}\\ &=-\frac {\left (a+b \cosh ^{-1}(c+d x)\right )^3}{3 b d e}+\frac {\left (a+b \cosh ^{-1}(c+d x)\right )^2 \log \left (1+e^{2 \cosh ^{-1}(c+d x)}\right )}{d e}+\frac {b \left (a+b \cosh ^{-1}(c+d x)\right ) \text {Li}_2\left (-e^{2 \cosh ^{-1}(c+d x)}\right )}{d e}-\frac {b^2 \text {Li}_3\left (-e^{2 \cosh ^{-1}(c+d x)}\right )}{2 d e}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.42, size = 140, normalized size = 1.19 \[ \frac {a^2 \log (c+d x)-b \text {Li}_2\left (-e^{-2 \cosh ^{-1}(c+d x)}\right ) \left (a+b \cosh ^{-1}(c+d x)\right )+a b \cosh ^{-1}(c+d x)^2+2 a b \cosh ^{-1}(c+d x) \log \left (e^{-2 \cosh ^{-1}(c+d x)}+1\right )-\frac {1}{2} b^2 \text {Li}_3\left (-e^{-2 \cosh ^{-1}(c+d x)}\right )+\frac {1}{3} b^2 \cosh ^{-1}(c+d x)^3+b^2 \cosh ^{-1}(c+d x)^2 \log \left (e^{-2 \cosh ^{-1}(c+d x)}+1\right )}{d e} \]
Warning: Unable to verify antiderivative.
[In]
[Out]
________________________________________________________________________________________
fricas [F] time = 1.59, size = 0, normalized size = 0.00 \[ {\rm integral}\left (\frac {b^{2} \operatorname {arcosh}\left (d x + c\right )^{2} + 2 \, a b \operatorname {arcosh}\left (d x + c\right ) + a^{2}}{d e x + c e}, x\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {{\left (b \operatorname {arcosh}\left (d x + c\right ) + a\right )}^{2}}{d e x + c e}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.05, size = 263, normalized size = 2.23 \[ \frac {a^{2} \ln \left (d x +c \right )}{d e}-\frac {b^{2} \mathrm {arccosh}\left (d x +c \right )^{3}}{3 d e}+\frac {b^{2} \mathrm {arccosh}\left (d x +c \right )^{2} \ln \left (1+\left (d x +c +\sqrt {d x +c -1}\, \sqrt {d x +c +1}\right )^{2}\right )}{d e}+\frac {b^{2} \mathrm {arccosh}\left (d x +c \right ) \polylog \left (2, -\left (d x +c +\sqrt {d x +c -1}\, \sqrt {d x +c +1}\right )^{2}\right )}{d e}-\frac {b^{2} \polylog \left (3, -\left (d x +c +\sqrt {d x +c -1}\, \sqrt {d x +c +1}\right )^{2}\right )}{2 d e}-\frac {a b \mathrm {arccosh}\left (d x +c \right )^{2}}{d e}+\frac {2 a b \,\mathrm {arccosh}\left (d x +c \right ) \ln \left (1+\left (d x +c +\sqrt {d x +c -1}\, \sqrt {d x +c +1}\right )^{2}\right )}{d e}+\frac {a b \polylog \left (2, -\left (d x +c +\sqrt {d x +c -1}\, \sqrt {d x +c +1}\right )^{2}\right )}{d e} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [F] time = 0.00, size = 0, normalized size = 0.00 \[ \frac {a^{2} \log \left (d e x + c e\right )}{d e} + \int \frac {b^{2} \log \left (d x + \sqrt {d x + c + 1} \sqrt {d x + c - 1} + c\right )^{2}}{d e x + c e} + \frac {2 \, a b \log \left (d x + \sqrt {d x + c + 1} \sqrt {d x + c - 1} + c\right )}{d e x + c e}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [F] time = 0.00, size = -1, normalized size = -0.01 \[ \int \frac {{\left (a+b\,\mathrm {acosh}\left (c+d\,x\right )\right )}^2}{c\,e+d\,e\,x} \,d x \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F] time = 0.00, size = 0, normalized size = 0.00 \[ \frac {\int \frac {a^{2}}{c + d x}\, dx + \int \frac {b^{2} \operatorname {acosh}^{2}{\left (c + d x \right )}}{c + d x}\, dx + \int \frac {2 a b \operatorname {acosh}{\left (c + d x \right )}}{c + d x}\, dx}{e} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________