Optimal. Leaf size=49 \[ 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 ) \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.02, antiderivative size = 49, normalized size of antiderivative = 1.00, number of steps
used = 6, number of rules used = 5, integrand size = 12, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.417, Rules used = {6016, 12, 1986,
15, 267} \begin {gather*} 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 ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 12
Rule 15
Rule 267
Rule 1986
Rule 6016
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.04, size = 37, normalized size = 0.76 \begin {gather*} a x-\frac {2 b x}{\sqrt {\frac {d x^2}{2+d x^2}}}+b x \cosh ^{-1}\left (1+d x^2\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.01, size = 37, normalized size = 0.76
method | result | size |
default | \(a x +b \left (x \,\mathrm {arccosh}\left (d \,x^{2}+1\right )-\frac {2 x \sqrt {d \,x^{2}+2}}{\sqrt {d \,x^{2}}}\right )\) | \(37\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.31, size = 44, normalized size = 0.90 \begin {gather*} {\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 {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.33, size = 63, normalized size = 1.29 \begin {gather*} \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 {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 )\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 0.41, size = 62, normalized size = 1.27 \begin {gather*} {\left (x \log \left (d x^{2} + \sqrt {{\left (d x^{2} + 1\right )}^{2} - 1} + 1\right ) + \frac {2 \, \sqrt {2} \mathrm {sgn}\left (x\right )}{\sqrt {d}} - \frac {2 \, \sqrt {d^{2} x^{2} + 2 \, d}}{d \mathrm {sgn}\left (x\right )}\right )} b + a x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.59, size = 32, normalized size = 0.65 \begin {gather*} a\,x+b\,x\,\mathrm {acosh}\left (d\,x^2+1\right )-\frac {2\,b\,\mathrm {sign}\left (x\right )\,\sqrt {d\,x^2+2}}{\sqrt {d}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________