Optimal. Leaf size=116 \[ \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 {PolyLog}\left (2,e^{-2 \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} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.18, antiderivative size = 116, normalized size of antiderivative = 1.00, 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 = {5859, 12, 5775,
3797, 2221, 2611, 2320, 6724} \begin {gather*} -\frac {b \text {Li}_2\left (e^{-2 \sinh ^{-1}(c+d x)}\right ) \left (a+b \sinh ^{-1}(c+d x)\right )}{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}-\frac {b^2 \text {Li}_3\left (e^{-2 \sinh ^{-1}(c+d x)}\right )}{2 d e} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 12
Rule 2221
Rule 2320
Rule 2611
Rule 3797
Rule 5775
Rule 5859
Rule 6724
Rubi steps
\begin {align*} \int \frac {\left (a+b \sinh ^{-1}(c+d x)\right )^2}{c e+d e x} \, dx &=\frac {\text {Subst}\left (\int \frac {\left (a+b \sinh ^{-1}(x)\right )^2}{e x} \, dx,x,c+d x\right )}{d}\\ &=\frac {\text {Subst}\left (\int \frac {\left (a+b \sinh ^{-1}(x)\right )^2}{x} \, dx,x,c+d x\right )}{d e}\\ &=\frac {\text {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 \text {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) \text {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 \text {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 \text {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.03, size = 100, normalized size = 0.86 \begin {gather*} \frac {-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^2 \left (a+b \sinh ^{-1}(c+d x)\right ) \text {PolyLog}\left (2,e^{2 \sinh ^{-1}(c+d x)}\right )-3 b^3 \text {PolyLog}\left (3,e^{2 \sinh ^{-1}(c+d x)}\right )}{6 b d e} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [B] Leaf count of result is larger than twice the leaf count of optimal. \(368\) vs.
\(2(136)=272\).
time = 2.52, size = 369, normalized size = 3.18
method | result | size |
derivativedivides | \(\frac {\frac {a^{2} \ln \left (d x +c \right )}{e}-\frac {b^{2} \arcsinh \left (d x +c \right )^{3}}{3 e}+\frac {b^{2} \arcsinh \left (d x +c \right )^{2} \ln \left (1+d x +c +\sqrt {1+\left (d x +c \right )^{2}}\right )}{e}+\frac {2 b^{2} \arcsinh \left (d x +c \right ) \polylog \left (2, -d x -c -\sqrt {1+\left (d x +c \right )^{2}}\right )}{e}-\frac {2 b^{2} \polylog \left (3, -d x -c -\sqrt {1+\left (d x +c \right )^{2}}\right )}{e}+\frac {b^{2} \arcsinh \left (d x +c \right )^{2} \ln \left (1-d x -c -\sqrt {1+\left (d x +c \right )^{2}}\right )}{e}+\frac {2 b^{2} \arcsinh \left (d x +c \right ) \polylog \left (2, d x +c +\sqrt {1+\left (d x +c \right )^{2}}\right )}{e}-\frac {2 b^{2} \polylog \left (3, d x +c +\sqrt {1+\left (d x +c \right )^{2}}\right )}{e}-\frac {a b \arcsinh \left (d x +c \right )^{2}}{e}+\frac {2 a b \arcsinh \left (d x +c \right ) \ln \left (1+d x +c +\sqrt {1+\left (d x +c \right )^{2}}\right )}{e}+\frac {2 a b \polylog \left (2, -d x -c -\sqrt {1+\left (d x +c \right )^{2}}\right )}{e}+\frac {2 a b \arcsinh \left (d x +c \right ) \ln \left (1-d x -c -\sqrt {1+\left (d x +c \right )^{2}}\right )}{e}+\frac {2 a b \polylog \left (2, d x +c +\sqrt {1+\left (d x +c \right )^{2}}\right )}{e}}{d}\) | \(369\) |
default | \(\frac {\frac {a^{2} \ln \left (d x +c \right )}{e}-\frac {b^{2} \arcsinh \left (d x +c \right )^{3}}{3 e}+\frac {b^{2} \arcsinh \left (d x +c \right )^{2} \ln \left (1+d x +c +\sqrt {1+\left (d x +c \right )^{2}}\right )}{e}+\frac {2 b^{2} \arcsinh \left (d x +c \right ) \polylog \left (2, -d x -c -\sqrt {1+\left (d x +c \right )^{2}}\right )}{e}-\frac {2 b^{2} \polylog \left (3, -d x -c -\sqrt {1+\left (d x +c \right )^{2}}\right )}{e}+\frac {b^{2} \arcsinh \left (d x +c \right )^{2} \ln \left (1-d x -c -\sqrt {1+\left (d x +c \right )^{2}}\right )}{e}+\frac {2 b^{2} \arcsinh \left (d x +c \right ) \polylog \left (2, d x +c +\sqrt {1+\left (d x +c \right )^{2}}\right )}{e}-\frac {2 b^{2} \polylog \left (3, d x +c +\sqrt {1+\left (d x +c \right )^{2}}\right )}{e}-\frac {a b \arcsinh \left (d x +c \right )^{2}}{e}+\frac {2 a b \arcsinh \left (d x +c \right ) \ln \left (1+d x +c +\sqrt {1+\left (d x +c \right )^{2}}\right )}{e}+\frac {2 a b \polylog \left (2, -d x -c -\sqrt {1+\left (d x +c \right )^{2}}\right )}{e}+\frac {2 a b \arcsinh \left (d x +c \right ) \ln \left (1-d x -c -\sqrt {1+\left (d x +c \right )^{2}}\right )}{e}+\frac {2 a b \polylog \left (2, d x +c +\sqrt {1+\left (d x +c \right )^{2}}\right )}{e}}{d}\) | \(369\) |
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 {\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 {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.01 \begin {gather*} \int \frac {{\left (a+b\,\mathrm {asinh}\left (c+d\,x\right )\right )}^2}{c\,e+d\,e\,x} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________