Optimal. Leaf size=113 \[ \frac{\sqrt{\frac{\pi }{2}} e e^{-\frac{2 a}{b}} \text{Erfi}\left (\frac{\sqrt{2} \sqrt{a+b \cosh ^{-1}(c+d x)}}{\sqrt{b}}\right )}{4 \sqrt{b} d}-\frac{\sqrt{\frac{\pi }{2}} e e^{\frac{2 a}{b}} \text{Erf}\left (\frac{\sqrt{2} \sqrt{a+b \cosh ^{-1}(c+d x)}}{\sqrt{b}}\right )}{4 \sqrt{b} d} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.236956, antiderivative size = 113, normalized size of antiderivative = 1., number of steps used = 10, number of rules used = 8, integrand size = 23, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.348, Rules used = {5866, 12, 5670, 5448, 3308, 2180, 2204, 2205} \[ \frac{\sqrt{\frac{\pi }{2}} e e^{-\frac{2 a}{b}} \text{Erfi}\left (\frac{\sqrt{2} \sqrt{a+b \cosh ^{-1}(c+d x)}}{\sqrt{b}}\right )}{4 \sqrt{b} d}-\frac{\sqrt{\frac{\pi }{2}} e e^{\frac{2 a}{b}} \text{Erf}\left (\frac{\sqrt{2} \sqrt{a+b \cosh ^{-1}(c+d x)}}{\sqrt{b}}\right )}{4 \sqrt{b} d} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 5866
Rule 12
Rule 5670
Rule 5448
Rule 3308
Rule 2180
Rule 2204
Rule 2205
Rubi steps
\begin{align*} \int \frac{c e+d e x}{\sqrt{a+b \cosh ^{-1}(c+d x)}} \, dx &=\frac{\operatorname{Subst}\left (\int \frac{e x}{\sqrt{a+b \cosh ^{-1}(x)}} \, dx,x,c+d x\right )}{d}\\ &=\frac{e \operatorname{Subst}\left (\int \frac{x}{\sqrt{a+b \cosh ^{-1}(x)}} \, dx,x,c+d x\right )}{d}\\ &=\frac{e \operatorname{Subst}\left (\int \frac{\cosh (x) \sinh (x)}{\sqrt{a+b x}} \, dx,x,\cosh ^{-1}(c+d x)\right )}{d}\\ &=\frac{e \operatorname{Subst}\left (\int \frac{\sinh (2 x)}{2 \sqrt{a+b x}} \, dx,x,\cosh ^{-1}(c+d x)\right )}{d}\\ &=\frac{e \operatorname{Subst}\left (\int \frac{\sinh (2 x)}{\sqrt{a+b x}} \, dx,x,\cosh ^{-1}(c+d x)\right )}{2 d}\\ &=-\frac{e \operatorname{Subst}\left (\int \frac{e^{-2 x}}{\sqrt{a+b x}} \, dx,x,\cosh ^{-1}(c+d x)\right )}{4 d}+\frac{e \operatorname{Subst}\left (\int \frac{e^{2 x}}{\sqrt{a+b x}} \, dx,x,\cosh ^{-1}(c+d x)\right )}{4 d}\\ &=-\frac{e \operatorname{Subst}\left (\int e^{\frac{2 a}{b}-\frac{2 x^2}{b}} \, dx,x,\sqrt{a+b \cosh ^{-1}(c+d x)}\right )}{2 b d}+\frac{e \operatorname{Subst}\left (\int e^{-\frac{2 a}{b}+\frac{2 x^2}{b}} \, dx,x,\sqrt{a+b \cosh ^{-1}(c+d x)}\right )}{2 b d}\\ &=-\frac{e e^{\frac{2 a}{b}} \sqrt{\frac{\pi }{2}} \text{erf}\left (\frac{\sqrt{2} \sqrt{a+b \cosh ^{-1}(c+d x)}}{\sqrt{b}}\right )}{4 \sqrt{b} d}+\frac{e e^{-\frac{2 a}{b}} \sqrt{\frac{\pi }{2}} \text{erfi}\left (\frac{\sqrt{2} \sqrt{a+b \cosh ^{-1}(c+d x)}}{\sqrt{b}}\right )}{4 \sqrt{b} d}\\ \end{align*}
Mathematica [B] time = 1.3291, size = 306, normalized size = 2.71 \[ \frac{e \left (\frac{4 c e^{a/b} \sqrt{\frac{a}{b}+\cosh ^{-1}(c+d x)} \text{Gamma}\left (\frac{1}{2},\frac{a}{b}+\cosh ^{-1}(c+d x)\right )}{\sqrt{a+b \cosh ^{-1}(c+d x)}}+\frac{4 c e^{-\frac{a}{b}} \sqrt{-\frac{a+b \cosh ^{-1}(c+d x)}{b}} \text{Gamma}\left (\frac{1}{2},-\frac{a+b \cosh ^{-1}(c+d x)}{b}\right )}{\sqrt{a+b \cosh ^{-1}(c+d x)}}+\frac{4 \sqrt{\pi } c e^{a/b} \text{Erf}\left (\frac{\sqrt{a+b \cosh ^{-1}(c+d x)}}{\sqrt{b}}\right )}{\sqrt{b}}-\frac{\sqrt{2 \pi } e^{\frac{2 a}{b}} \text{Erf}\left (\frac{\sqrt{2} \sqrt{a+b \cosh ^{-1}(c+d x)}}{\sqrt{b}}\right )}{\sqrt{b}}-\frac{4 \sqrt{\pi } c e^{-\frac{a}{b}} \text{Erfi}\left (\frac{\sqrt{a+b \cosh ^{-1}(c+d x)}}{\sqrt{b}}\right )}{\sqrt{b}}+\frac{\sqrt{2 \pi } e^{-\frac{2 a}{b}} \text{Erfi}\left (\frac{\sqrt{2} \sqrt{a+b \cosh ^{-1}(c+d x)}}{\sqrt{b}}\right )}{\sqrt{b}}\right )}{8 d} \]
Warning: Unable to verify antiderivative.
[In]
[Out]
________________________________________________________________________________________
Maple [F] time = 0.13, size = 0, normalized size = 0. \begin{align*} \int{(dex+ce){\frac{1}{\sqrt{a+b{\rm arccosh} \left (dx+c\right )}}}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{d e x + c e}{\sqrt{b \operatorname{arcosh}\left (d x + c\right ) + a}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F(-2)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Exception raised: UnboundLocalError} \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*} e \left (\int \frac{c}{\sqrt{a + b \operatorname{acosh}{\left (c + d x \right )}}}\, dx + \int \frac{d x}{\sqrt{a + b \operatorname{acosh}{\left (c + d x \right )}}}\, dx\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \mathit{sage}_{0} x \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]