Optimal. Leaf size=72 \[ -\frac{4 b \left (d x^4+2 x^2\right ) \left (a+b \cosh ^{-1}\left (d x^2+1\right )\right )}{x \sqrt{d x^2} \sqrt{d x^2+2}}+x \left (a+b \cosh ^{-1}\left (d x^2+1\right )\right )^2+8 b^2 x \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0143908, antiderivative size = 72, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 2, integrand size = 14, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.143, Rules used = {5880, 8} \[ -\frac{4 b \left (d x^4+2 x^2\right ) \left (a+b \cosh ^{-1}\left (d x^2+1\right )\right )}{x \sqrt{d x^2} \sqrt{d x^2+2}}+x \left (a+b \cosh ^{-1}\left (d x^2+1\right )\right )^2+8 b^2 x \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 5880
Rule 8
Rubi steps
\begin{align*} \int \left (a+b \cosh ^{-1}\left (1+d x^2\right )\right )^2 \, dx &=-\frac{4 b \left (2 x^2+d x^4\right ) \left (a+b \cosh ^{-1}\left (1+d x^2\right )\right )}{x \sqrt{d x^2} \sqrt{2+d x^2}}+x \left (a+b \cosh ^{-1}\left (1+d x^2\right )\right )^2+\left (8 b^2\right ) \int 1 \, dx\\ &=8 b^2 x-\frac{4 b \left (2 x^2+d x^4\right ) \left (a+b \cosh ^{-1}\left (1+d x^2\right )\right )}{x \sqrt{d x^2} \sqrt{2+d x^2}}+x \left (a+b \cosh ^{-1}\left (1+d x^2\right )\right )^2\\ \end{align*}
Mathematica [A] time = 0.0606404, size = 104, normalized size = 1.44 \[ x \left (a^2+8 b^2\right )-\frac{4 a b \sqrt{d x^2} \sqrt{d x^2+2}}{d x}+\frac{2 b \cosh ^{-1}\left (d x^2+1\right ) \left (a d x^2-2 b \sqrt{d x^2} \sqrt{d x^2+2}\right )}{d x}+b^2 x \cosh ^{-1}\left (d x^2+1\right )^2 \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F] time = 0.125, size = 0, normalized size = 0. \begin{align*} \int \left ( a+b{\rm arccosh} \left (d{x}^{2}+1\right ) \right ) ^{2}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 1.29604, size = 173, normalized size = 2.4 \begin{align*} b^{2} x \operatorname{arcosh}\left (d x^{2} + 1\right )^{2} + 4 \, b^{2} d{\left (\frac{2 \, x}{d} - \frac{{\left (d^{\frac{3}{2}} x^{2} + 2 \, \sqrt{d}\right )} \log \left (d x^{2} + \sqrt{d x^{2} + 2} \sqrt{d x^{2}} + 1\right )}{\sqrt{d x^{2} + 2} d^{2}}\right )} + 2 \,{\left (x \operatorname{arcosh}\left (d x^{2} + 1\right ) - \frac{2 \,{\left (d^{\frac{3}{2}} x^{2} + 2 \, \sqrt{d}\right )}}{\sqrt{d x^{2} + 2} d}\right )} a b + a^{2} x \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 2.02929, size = 277, normalized size = 3.85 \begin{align*} \frac{b^{2} d x^{2} \log \left (d x^{2} + \sqrt{d^{2} x^{4} + 2 \, d x^{2}} + 1\right )^{2} +{\left (a^{2} + 8 \, b^{2}\right )} d x^{2} - 4 \, \sqrt{d^{2} x^{4} + 2 \, d x^{2}} a b + 2 \,{\left (a b d x^{2} - 2 \, \sqrt{d^{2} x^{4} + 2 \, d x^{2}} b^{2}\right )} \log \left (d x^{2} + \sqrt{d^{2} x^{4} + 2 \, d x^{2}} + 1\right )}{d x} \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*} \int \left (a + b \operatorname{acosh}{\left (d x^{2} + 1 \right )}\right )^{2}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F(-2)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Exception raised: RuntimeError} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]