Optimal. Leaf size=116 \[ -\frac{b \text{PolyLog}\left (2,e^{-2 \sinh ^{-1}(c+d x)}\right ) \left (a+b \sinh ^{-1}(c+d x)\right )}{d e}-\frac{b^2 \text{PolyLog}\left (3,e^{-2 \sinh ^{-1}(c+d x)}\right )}{2 d e}+\frac{\left (a+b \sinh ^{-1}(c+d x)\right )^3}{3 b d e}+\frac{\log \left (1-e^{-2 \sinh ^{-1}(c+d x)}\right ) \left (a+b \sinh ^{-1}(c+d x)\right )^2}{d e} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.197995, antiderivative size = 115, 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 = {5865, 12, 5659, 3716, 2190, 2531, 2282, 6589} \[ \frac{b \text{PolyLog}\left (2,e^{2 \sinh ^{-1}(c+d x)}\right ) \left (a+b \sinh ^{-1}(c+d x)\right )}{d e}-\frac{b^2 \text{PolyLog}\left (3,e^{2 \sinh ^{-1}(c+d x)}\right )}{2 d e}-\frac{\left (a+b \sinh ^{-1}(c+d x)\right )^3}{3 b d e}+\frac{\log \left (1-e^{2 \sinh ^{-1}(c+d x)}\right ) \left (a+b \sinh ^{-1}(c+d x)\right )^2}{d e} \]
Warning: Unable to verify antiderivative.
[In]
[Out]
Rule 5865
Rule 12
Rule 5659
Rule 3716
Rule 2190
Rule 2531
Rule 2282
Rule 6589
Rubi steps
\begin{align*} \int \frac{\left (a+b \sinh ^{-1}(c+d x)\right )^2}{c e+d e x} \, dx &=\frac{\operatorname{Subst}\left (\int \frac{\left (a+b \sinh ^{-1}(x)\right )^2}{e x} \, dx,x,c+d x\right )}{d}\\ &=\frac{\operatorname{Subst}\left (\int \frac{\left (a+b \sinh ^{-1}(x)\right )^2}{x} \, dx,x,c+d x\right )}{d e}\\ &=\frac{\operatorname{Subst}\left (\int (a+b x)^2 \coth (x) \, dx,x,\sinh ^{-1}(c+d x)\right )}{d e}\\ &=-\frac{\left (a+b \sinh ^{-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,\sinh ^{-1}(c+d x)\right )}{d e}\\ &=-\frac{\left (a+b \sinh ^{-1}(c+d x)\right )^3}{3 b d e}+\frac{\left (a+b \sinh ^{-1}(c+d x)\right )^2 \log \left (1-e^{2 \sinh ^{-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,\sinh ^{-1}(c+d x)\right )}{d e}\\ &=-\frac{\left (a+b \sinh ^{-1}(c+d x)\right )^3}{3 b d e}+\frac{\left (a+b \sinh ^{-1}(c+d x)\right )^2 \log \left (1-e^{2 \sinh ^{-1}(c+d x)}\right )}{d e}+\frac{b \left (a+b \sinh ^{-1}(c+d x)\right ) \text{Li}_2\left (e^{2 \sinh ^{-1}(c+d x)}\right )}{d e}-\frac{b^2 \operatorname{Subst}\left (\int \text{Li}_2\left (e^{2 x}\right ) \, dx,x,\sinh ^{-1}(c+d x)\right )}{d e}\\ &=-\frac{\left (a+b \sinh ^{-1}(c+d x)\right )^3}{3 b d e}+\frac{\left (a+b \sinh ^{-1}(c+d x)\right )^2 \log \left (1-e^{2 \sinh ^{-1}(c+d x)}\right )}{d e}+\frac{b \left (a+b \sinh ^{-1}(c+d x)\right ) \text{Li}_2\left (e^{2 \sinh ^{-1}(c+d x)}\right )}{d e}-\frac{b^2 \operatorname{Subst}\left (\int \frac{\text{Li}_2(x)}{x} \, dx,x,e^{2 \sinh ^{-1}(c+d x)}\right )}{2 d e}\\ &=-\frac{\left (a+b \sinh ^{-1}(c+d x)\right )^3}{3 b d e}+\frac{\left (a+b \sinh ^{-1}(c+d x)\right )^2 \log \left (1-e^{2 \sinh ^{-1}(c+d x)}\right )}{d e}+\frac{b \left (a+b \sinh ^{-1}(c+d x)\right ) \text{Li}_2\left (e^{2 \sinh ^{-1}(c+d x)}\right )}{d e}-\frac{b^2 \text{Li}_3\left (e^{2 \sinh ^{-1}(c+d x)}\right )}{2 d e}\\ \end{align*}
Mathematica [A] time = 0.0455482, size = 100, normalized size = 0.86 \[ \frac{6 b^2 \text{PolyLog}\left (2,e^{2 \sinh ^{-1}(c+d x)}\right ) \left (a+b \sinh ^{-1}(c+d x)\right )-3 b^3 \text{PolyLog}\left (3,e^{2 \sinh ^{-1}(c+d x)}\right )-2 \left (a+b \sinh ^{-1}(c+d x)\right )^2 \left (a+b \sinh ^{-1}(c+d x)-3 b \log \left (1-e^{2 \sinh ^{-1}(c+d x)}\right )\right )}{6 b d e} \]
Warning: Unable to verify antiderivative.
[In]
[Out]
________________________________________________________________________________________
Maple [B] time = 0.031, size = 404, normalized size = 3.5 \begin{align*}{\frac{{a}^{2}\ln \left ( dx+c \right ) }{de}}-{\frac{{b}^{2} \left ({\it Arcsinh} \left ( dx+c \right ) \right ) ^{3}}{3\,de}}+{\frac{{b}^{2} \left ({\it Arcsinh} \left ( dx+c \right ) \right ) ^{2}}{de}\ln \left ( 1+dx+c+\sqrt{1+ \left ( dx+c \right ) ^{2}} \right ) }+2\,{\frac{{b}^{2}{\it Arcsinh} \left ( dx+c \right ){\it polylog} \left ( 2,-dx-c-\sqrt{1+ \left ( dx+c \right ) ^{2}} \right ) }{de}}-2\,{\frac{{b}^{2}{\it polylog} \left ( 3,-dx-c-\sqrt{1+ \left ( dx+c \right ) ^{2}} \right ) }{de}}+{\frac{{b}^{2} \left ({\it Arcsinh} \left ( dx+c \right ) \right ) ^{2}}{de}\ln \left ( 1-dx-c-\sqrt{1+ \left ( dx+c \right ) ^{2}} \right ) }+2\,{\frac{{b}^{2}{\it Arcsinh} \left ( dx+c \right ){\it polylog} \left ( 2,dx+c+\sqrt{1+ \left ( dx+c \right ) ^{2}} \right ) }{de}}-2\,{\frac{{b}^{2}{\it polylog} \left ( 3,dx+c+\sqrt{1+ \left ( dx+c \right ) ^{2}} \right ) }{de}}-{\frac{ab \left ({\it Arcsinh} \left ( dx+c \right ) \right ) ^{2}}{de}}+2\,{\frac{ab{\it Arcsinh} \left ( dx+c \right ) \ln \left ( 1+dx+c+\sqrt{1+ \left ( dx+c \right ) ^{2}} \right ) }{de}}+2\,{\frac{ab{\it polylog} \left ( 2,-dx-c-\sqrt{1+ \left ( dx+c \right ) ^{2}} \right ) }{de}}+2\,{\frac{ab{\it Arcsinh} \left ( dx+c \right ) \ln \left ( 1-dx-c-\sqrt{1+ \left ( dx+c \right ) ^{2}} \right ) }{de}}+2\,{\frac{ab{\it polylog} \left ( 2,dx+c+\sqrt{1+ \left ( dx+c \right ) ^{2}} \right ) }{de}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F(-2)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Exception raised: ValueError} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F] time = 0., size = 0, normalized size = 0. \begin{align*}{\rm integral}\left (\frac{b^{2} \operatorname{arsinh}\left (d x + c\right )^{2} + 2 \, a b \operatorname{arsinh}\left (d x + c\right ) + a^{2}}{d e x + c 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*} \frac{\int \frac{a^{2}}{c + d x}\, dx + \int \frac{b^{2} \operatorname{asinh}^{2}{\left (c + d x \right )}}{c + d x}\, dx + \int \frac{2 a b \operatorname{asinh}{\left (c + d x \right )}}{c + d x}\, dx}{e} \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 \frac{{\left (b \operatorname{arsinh}\left (d x + c\right ) + a\right )}^{2}}{d e x + c e}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]