Optimal. Leaf size=85 \[ -\frac {b \sqrt {1+(c+d x)^2} \left (a+b \sinh ^{-1}(c+d x)\right )}{d e^3 (c+d x)}-\frac {\left (a+b \sinh ^{-1}(c+d x)\right )^2}{2 d e^3 (c+d x)^2}+\frac {b^2 \log (c+d x)}{d e^3} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.09, antiderivative size = 85, normalized size of antiderivative = 1.00, number of steps
used = 5, number of rules used = 5, integrand size = 23, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.217, Rules used = {5859, 12, 5776,
5800, 29} \begin {gather*} -\frac {b \sqrt {(c+d x)^2+1} \left (a+b \sinh ^{-1}(c+d x)\right )}{d e^3 (c+d x)}-\frac {\left (a+b \sinh ^{-1}(c+d x)\right )^2}{2 d e^3 (c+d x)^2}+\frac {b^2 \log (c+d x)}{d e^3} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 12
Rule 29
Rule 5776
Rule 5800
Rule 5859
Rubi steps
\begin {align*} \int \frac {\left (a+b \sinh ^{-1}(c+d x)\right )^2}{(c e+d e x)^3} \, dx &=\frac {\text {Subst}\left (\int \frac {\left (a+b \sinh ^{-1}(x)\right )^2}{e^3 x^3} \, dx,x,c+d x\right )}{d}\\ &=\frac {\text {Subst}\left (\int \frac {\left (a+b \sinh ^{-1}(x)\right )^2}{x^3} \, dx,x,c+d x\right )}{d e^3}\\ &=-\frac {\left (a+b \sinh ^{-1}(c+d x)\right )^2}{2 d e^3 (c+d x)^2}+\frac {b \text {Subst}\left (\int \frac {a+b \sinh ^{-1}(x)}{x^2 \sqrt {1+x^2}} \, dx,x,c+d x\right )}{d e^3}\\ &=-\frac {b \sqrt {1+(c+d x)^2} \left (a+b \sinh ^{-1}(c+d x)\right )}{d e^3 (c+d x)}-\frac {\left (a+b \sinh ^{-1}(c+d x)\right )^2}{2 d e^3 (c+d x)^2}+\frac {b^2 \text {Subst}\left (\int \frac {1}{x} \, dx,x,c+d x\right )}{d e^3}\\ &=-\frac {b \sqrt {1+(c+d x)^2} \left (a+b \sinh ^{-1}(c+d x)\right )}{d e^3 (c+d x)}-\frac {\left (a+b \sinh ^{-1}(c+d x)\right )^2}{2 d e^3 (c+d x)^2}+\frac {b^2 \log (c+d x)}{d e^3}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.16, size = 120, normalized size = 1.41 \begin {gather*} -\frac {a \left (a+2 b (c+d x) \sqrt {1+c^2+2 c d x+d^2 x^2}\right )+2 b \left (a+b (c+d x) \sqrt {1+c^2+2 c d x+d^2 x^2}\right ) \sinh ^{-1}(c+d x)+b^2 \sinh ^{-1}(c+d x)^2-2 b^2 (c+d x)^2 \log (c+d x)}{2 d e^3 (c+d x)^2} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 4.23, size = 161, normalized size = 1.89
method | result | size |
derivativedivides | \(\frac {-\frac {a^{2}}{2 e^{3} \left (d x +c \right )^{2}}-\frac {b^{2} \arcsinh \left (d x +c \right )}{e^{3}}-\frac {b^{2} \arcsinh \left (d x +c \right ) \sqrt {1+\left (d x +c \right )^{2}}}{e^{3} \left (d x +c \right )}-\frac {b^{2} \arcsinh \left (d x +c \right )^{2}}{2 e^{3} \left (d x +c \right )^{2}}+\frac {b^{2} \ln \left (\left (d x +c +\sqrt {1+\left (d x +c \right )^{2}}\right )^{2}-1\right )}{e^{3}}+\frac {2 a b \left (-\frac {\arcsinh \left (d x +c \right )}{2 \left (d x +c \right )^{2}}-\frac {\sqrt {1+\left (d x +c \right )^{2}}}{2 \left (d x +c \right )}\right )}{e^{3}}}{d}\) | \(161\) |
default | \(\frac {-\frac {a^{2}}{2 e^{3} \left (d x +c \right )^{2}}-\frac {b^{2} \arcsinh \left (d x +c \right )}{e^{3}}-\frac {b^{2} \arcsinh \left (d x +c \right ) \sqrt {1+\left (d x +c \right )^{2}}}{e^{3} \left (d x +c \right )}-\frac {b^{2} \arcsinh \left (d x +c \right )^{2}}{2 e^{3} \left (d x +c \right )^{2}}+\frac {b^{2} \ln \left (\left (d x +c +\sqrt {1+\left (d x +c \right )^{2}}\right )^{2}-1\right )}{e^{3}}+\frac {2 a b \left (-\frac {\arcsinh \left (d x +c \right )}{2 \left (d x +c \right )^{2}}-\frac {\sqrt {1+\left (d x +c \right )^{2}}}{2 \left (d x +c \right )}\right )}{e^{3}}}{d}\) | \(161\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [B] Leaf count of result is larger than twice the leaf count of optimal. 216 vs.
\(2 (78) = 156\).
time = 0.28, size = 216, normalized size = 2.54 \begin {gather*} -{\left (\frac {\sqrt {d^{2} x^{2} + 2 \, c d x + c^{2} + 1} d \operatorname {arsinh}\left (d x + c\right )}{d^{3} x e^{3} + c d^{2} e^{3}} - \frac {e^{\left (-3\right )} \log \left (d x + c\right )}{d}\right )} b^{2} - a b {\left (\frac {\sqrt {d^{2} x^{2} + 2 \, c d x + c^{2} + 1} d}{d^{3} x e^{3} + c d^{2} e^{3}} + \frac {\operatorname {arsinh}\left (d x + c\right )}{d^{3} x^{2} e^{3} + 2 \, c d^{2} x e^{3} + c^{2} d e^{3}}\right )} - \frac {b^{2} \operatorname {arsinh}\left (d x + c\right )^{2}}{2 \, {\left (d^{3} x^{2} e^{3} + 2 \, c d^{2} x e^{3} + c^{2} d e^{3}\right )}} - \frac {a^{2}}{2 \, {\left (d^{3} x^{2} e^{3} + 2 \, c d^{2} x e^{3} + c^{2} d e^{3}\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] Leaf count of result is larger than twice the leaf count of optimal. 412 vs.
\(2 (78) = 156\).
time = 0.49, size = 412, normalized size = 4.85 \begin {gather*} -\frac {2 \, a b c^{2} d^{2} x^{2} + 4 \, a b c^{3} d x + 2 \, a b c^{4} + b^{2} c^{2} \log \left (d x + c + \sqrt {d^{2} x^{2} + 2 \, c d x + c^{2} + 1}\right )^{2} + a^{2} c^{2} - 2 \, {\left (a b d^{2} x^{2} + 2 \, a b c d x - {\left (b^{2} c^{2} d x + b^{2} c^{3}\right )} \sqrt {d^{2} x^{2} + 2 \, c d x + c^{2} + 1}\right )} \log \left (d x + c + \sqrt {d^{2} x^{2} + 2 \, c d x + c^{2} + 1}\right ) - 2 \, {\left (b^{2} c^{2} d^{2} x^{2} + 2 \, b^{2} c^{3} d x + b^{2} c^{4}\right )} \log \left (d x + c\right ) - 2 \, {\left (a b d^{2} x^{2} + 2 \, a b c d x + a b c^{2}\right )} \log \left (-d x - c + \sqrt {d^{2} x^{2} + 2 \, c d x + c^{2} + 1}\right ) + 2 \, {\left (a b c^{2} d x + a b c^{3}\right )} \sqrt {d^{2} x^{2} + 2 \, c d x + c^{2} + 1}}{2 \, {\left ({\left (c^{2} d^{3} x^{2} + 2 \, c^{3} d^{2} x + c^{4} d\right )} \cosh \left (1\right )^{3} + 3 \, {\left (c^{2} d^{3} x^{2} + 2 \, c^{3} d^{2} x + c^{4} d\right )} \cosh \left (1\right )^{2} \sinh \left (1\right ) + 3 \, {\left (c^{2} d^{3} x^{2} + 2 \, c^{3} d^{2} x + c^{4} d\right )} \cosh \left (1\right ) \sinh \left (1\right )^{2} + {\left (c^{2} d^{3} x^{2} + 2 \, c^{3} d^{2} x + c^{4} d\right )} \sinh \left (1\right )^{3}\right )}} \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^{3} + 3 c^{2} d x + 3 c d^{2} x^{2} + d^{3} x^{3}}\, dx + \int \frac {b^{2} \operatorname {asinh}^{2}{\left (c + d x \right )}}{c^{3} + 3 c^{2} d x + 3 c d^{2} x^{2} + d^{3} x^{3}}\, dx + \int \frac {2 a b \operatorname {asinh}{\left (c + d x \right )}}{c^{3} + 3 c^{2} d x + 3 c d^{2} x^{2} + d^{3} x^{3}}\, dx}{e^{3}} \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}{{\left (c\,e+d\,e\,x\right )}^3} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________