Optimal. Leaf size=49 \[ a x-\frac{2 b \sqrt{\frac{d x^2}{d x^2+2}} \left (d x^2+2\right )}{d x}+b x \cosh ^{-1}\left (d x^2+1\right ) \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0390155, antiderivative size = 49, normalized size of antiderivative = 1., number of steps used = 5, number of rules used = 4, integrand size = 12, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.333, Rules used = {5901, 12, 6719, 261} \[ a x-\frac{2 b \sqrt{\frac{d x^2}{d x^2+2}} \left (d x^2+2\right )}{d x}+b x \cosh ^{-1}\left (d x^2+1\right ) \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 5901
Rule 12
Rule 6719
Rule 261
Rubi steps
\begin{align*} \int \left (a+b \cosh ^{-1}\left (1+d x^2\right )\right ) \, dx &=a x+b \int \cosh ^{-1}\left (1+d x^2\right ) \, dx\\ &=a x+b x \cosh ^{-1}\left (1+d x^2\right )-b \int 2 \sqrt{\frac{d x^2}{2+d x^2}} \, dx\\ &=a x+b x \cosh ^{-1}\left (1+d x^2\right )-(2 b) \int \sqrt{\frac{d x^2}{2+d x^2}} \, dx\\ &=a x+b x \cosh ^{-1}\left (1+d x^2\right )-\frac{\left (2 b \sqrt{\frac{d x^2}{2+d x^2}} \sqrt{2+d x^2}\right ) \int \frac{x}{\sqrt{2+d x^2}} \, dx}{x}\\ &=a x-\frac{2 b \sqrt{\frac{d x^2}{2+d x^2}} \left (2+d x^2\right )}{d x}+b x \cosh ^{-1}\left (1+d x^2\right )\\ \end{align*}
Mathematica [A] time = 0.0588238, size = 37, normalized size = 0.76 \[ a x-\frac{2 b x}{\sqrt{\frac{d x^2}{d x^2+2}}}+b x \cosh ^{-1}\left (d x^2+1\right ) \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.004, size = 37, normalized size = 0.8 \begin{align*} ax+b \left ( x{\rm arccosh} \left (d{x}^{2}+1\right )-2\,{\frac{x\sqrt{d{x}^{2}+2}}{\sqrt{d{x}^{2}}}} \right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 1.03273, size = 59, normalized size = 1.2 \begin{align*}{\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 )} b + a x \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.98192, size = 132, normalized size = 2.69 \begin{align*} \frac{b d x^{2} \log \left (d x^{2} + \sqrt{d^{2} x^{4} + 2 \, d x^{2}} + 1\right ) + a d x^{2} - 2 \, \sqrt{d^{2} x^{4} + 2 \, d x^{2}} b}{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 )\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.12393, size = 88, normalized size = 1.8 \begin{align*}{\left (2 \, d{\left (\frac{\sqrt{2} \mathrm{sgn}\left (x\right )}{d^{\frac{3}{2}}} - \frac{\sqrt{d^{2} x^{2} + 2 \, d}}{d^{2} \mathrm{sgn}\left (x\right )}\right )} + x \log \left (d x^{2} + \sqrt{{\left (d x^{2} + 1\right )}^{2} - 1} + 1\right )\right )} b + a x \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]