Optimal. Leaf size=110 \[ 24 a b^2 x-48 b^3 \sqrt {1-\frac {2}{d x^2}} x+24 b^3 x \cosh ^{-1}\left (-1+d x^2\right )+\frac {6 b \left (2 x^2-d x^4\right ) \left (a+b \cosh ^{-1}\left (-1+d x^2\right )\right )^2}{x \sqrt {d x^2} \sqrt {-2+d x^2}}+x \left (a+b \cosh ^{-1}\left (-1+d x^2\right )\right )^3 \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.03, antiderivative size = 110, normalized size of antiderivative = 1.00, number of steps
used = 5, number of rules used = 4, integrand size = 14, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.286, Rules used = {6001, 6016, 12,
197} \begin {gather*} 24 a b^2 x+x \left (a+b \cosh ^{-1}\left (d x^2-1\right )\right )^3+\frac {6 b \left (2 x^2-d x^4\right ) \left (a+b \cosh ^{-1}\left (d x^2-1\right )\right )^2}{x \sqrt {d x^2} \sqrt {d x^2-2}}-48 b^3 x \sqrt {1-\frac {2}{d x^2}}+24 b^3 x \cosh ^{-1}\left (d x^2-1\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 12
Rule 197
Rule 6001
Rule 6016
Rubi steps
\begin {align*} \int \left (a+b \cosh ^{-1}\left (-1+d x^2\right )\right )^3 \, dx &=\frac {6 b \left (2 x^2-d x^4\right ) \left (a+b \cosh ^{-1}\left (-1+d x^2\right )\right )^2}{x \sqrt {d x^2} \sqrt {-2+d x^2}}+x \left (a+b \cosh ^{-1}\left (-1+d x^2\right )\right )^3+\left (24 b^2\right ) \int \left (a+b \cosh ^{-1}\left (-1+d x^2\right )\right ) \, dx\\ &=24 a b^2 x+\frac {6 b \left (2 x^2-d x^4\right ) \left (a+b \cosh ^{-1}\left (-1+d x^2\right )\right )^2}{x \sqrt {d x^2} \sqrt {-2+d x^2}}+x \left (a+b \cosh ^{-1}\left (-1+d x^2\right )\right )^3+\left (24 b^3\right ) \int \cosh ^{-1}\left (-1+d x^2\right ) \, dx\\ &=24 a b^2 x+24 b^3 x \cosh ^{-1}\left (-1+d x^2\right )+\frac {6 b \left (2 x^2-d x^4\right ) \left (a+b \cosh ^{-1}\left (-1+d x^2\right )\right )^2}{x \sqrt {d x^2} \sqrt {-2+d x^2}}+x \left (a+b \cosh ^{-1}\left (-1+d x^2\right )\right )^3-\left (24 b^3\right ) \int \frac {2}{\sqrt {1-\frac {2}{d x^2}}} \, dx\\ &=24 a b^2 x+24 b^3 x \cosh ^{-1}\left (-1+d x^2\right )+\frac {6 b \left (2 x^2-d x^4\right ) \left (a+b \cosh ^{-1}\left (-1+d x^2\right )\right )^2}{x \sqrt {d x^2} \sqrt {-2+d x^2}}+x \left (a+b \cosh ^{-1}\left (-1+d x^2\right )\right )^3-\left (48 b^3\right ) \int \frac {1}{\sqrt {1-\frac {2}{d x^2}}} \, dx\\ &=24 a b^2 x-48 b^3 \sqrt {1-\frac {2}{d x^2}} x+24 b^3 x \cosh ^{-1}\left (-1+d x^2\right )+\frac {6 b \left (2 x^2-d x^4\right ) \left (a+b \cosh ^{-1}\left (-1+d x^2\right )\right )^2}{x \sqrt {d x^2} \sqrt {-2+d x^2}}+x \left (a+b \cosh ^{-1}\left (-1+d x^2\right )\right )^3\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.08, size = 171, normalized size = 1.55 \begin {gather*} \frac {a \left (a^2+24 b^2\right ) d x^2-6 b \left (a^2+8 b^2\right ) \sqrt {d x^2} \sqrt {-2+d x^2}+3 b \left (a^2 d x^2+8 b^2 d x^2-4 a b \sqrt {d x^2} \sqrt {-2+d x^2}\right ) \cosh ^{-1}\left (-1+d x^2\right )+3 b^2 \left (a d x^2-2 b \sqrt {d x^2} \sqrt {-2+d x^2}\right ) \cosh ^{-1}\left (-1+d x^2\right )^2+b^3 d x^2 \cosh ^{-1}\left (-1+d x^2\right )^3}{d x} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F]
time = 0.02, size = 0, normalized size = 0.00 \[\int \left (a +b \,\mathrm {arccosh}\left (d \,x^{2}-1\right )\right )^{3}\, dx\]
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 [B] Leaf count of result is larger than twice the leaf count of optimal. 210 vs.
\(2 (103) = 206\).
time = 0.34, size = 210, normalized size = 1.91 \begin {gather*} \frac {b^{3} d x^{2} \log \left (d x^{2} + \sqrt {d^{2} x^{4} - 2 \, d x^{2}} - 1\right )^{3} + {\left (a^{3} + 24 \, a b^{2}\right )} d x^{2} + 3 \, {\left (a b^{2} d x^{2} - 2 \, \sqrt {d^{2} x^{4} - 2 \, d x^{2}} b^{3}\right )} \log \left (d x^{2} + \sqrt {d^{2} x^{4} - 2 \, d x^{2}} - 1\right )^{2} + 3 \, {\left ({\left (a^{2} b + 8 \, b^{3}\right )} d x^{2} - 4 \, \sqrt {d^{2} x^{4} - 2 \, d x^{2}} a b^{2}\right )} \log \left (d x^{2} + \sqrt {d^{2} x^{4} - 2 \, d x^{2}} - 1\right ) - 6 \, \sqrt {d^{2} x^{4} - 2 \, d x^{2}} {\left (a^{2} b + 8 \, b^{3}\right )}}{d x} \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*} \int \left (a + b \operatorname {acosh}{\left (d x^{2} - 1 \right )}\right )^{3}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F(-2)]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Exception raised: RuntimeError} \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 {\left (a+b\,\mathrm {acosh}\left (d\,x^2-1\right )\right )}^3 \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________