Optimal. Leaf size=117 \[ \frac {\sqrt {\pi } \text {Erfi}\left (1-\cosh ^{-1}(a+b x)\right )}{8 b^2 e}+\frac {\sqrt {\pi } \text {Erfi}\left (1+\cosh ^{-1}(a+b x)\right )}{8 b^2 e}+\frac {a \sqrt {\pi } \text {Erfi}\left (\frac {1}{2} \left (-1+2 \cosh ^{-1}(a+b x)\right )\right )}{4 b^2 \sqrt [4]{e}}-\frac {a \sqrt {\pi } \text {Erfi}\left (\frac {1}{2} \left (1+2 \cosh ^{-1}(a+b x)\right )\right )}{4 b^2 \sqrt [4]{e}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.21, antiderivative size = 117, normalized size of antiderivative = 1.00, number of steps
used = 17, number of rules used = 8, integrand size = 12, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.667, Rules used = {6015, 6873,
12, 6874, 5623, 2266, 2235, 5625} \begin {gather*} \frac {\sqrt {\pi } \text {Erfi}\left (1-\cosh ^{-1}(a+b x)\right )}{8 e b^2}+\frac {\sqrt {\pi } \text {Erfi}\left (\cosh ^{-1}(a+b x)+1\right )}{8 e b^2}+\frac {\sqrt {\pi } a \text {Erfi}\left (\frac {1}{2} \left (2 \cosh ^{-1}(a+b x)-1\right )\right )}{4 \sqrt [4]{e} b^2}-\frac {\sqrt {\pi } a \text {Erfi}\left (\frac {1}{2} \left (2 \cosh ^{-1}(a+b x)+1\right )\right )}{4 \sqrt [4]{e} b^2} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 12
Rule 2235
Rule 2266
Rule 5623
Rule 5625
Rule 6015
Rule 6873
Rule 6874
Rubi steps
\begin {align*} \int e^{\cosh ^{-1}(a+b x)^2} x \, dx &=\frac {\text {Subst}\left (\int e^{x^2} \left (-\frac {a}{b}+\frac {\cosh (x)}{b}\right ) \sinh (x) \, dx,x,\cosh ^{-1}(a+b x)\right )}{b}\\ &=\frac {\text {Subst}\left (\int \frac {e^{x^2} (-a+\cosh (x)) \sinh (x)}{b} \, dx,x,\cosh ^{-1}(a+b x)\right )}{b}\\ &=\frac {\text {Subst}\left (\int e^{x^2} (-a+\cosh (x)) \sinh (x) \, dx,x,\cosh ^{-1}(a+b x)\right )}{b^2}\\ &=\frac {\text {Subst}\left (\int \left (-a e^{x^2} \sinh (x)+e^{x^2} \cosh (x) \sinh (x)\right ) \, dx,x,\cosh ^{-1}(a+b x)\right )}{b^2}\\ &=\frac {\text {Subst}\left (\int e^{x^2} \cosh (x) \sinh (x) \, dx,x,\cosh ^{-1}(a+b x)\right )}{b^2}-\frac {a \text {Subst}\left (\int e^{x^2} \sinh (x) \, dx,x,\cosh ^{-1}(a+b x)\right )}{b^2}\\ &=\frac {\text {Subst}\left (\int \left (-\frac {1}{4} e^{-2 x+x^2}+\frac {1}{4} e^{2 x+x^2}\right ) \, dx,x,\cosh ^{-1}(a+b x)\right )}{b^2}-\frac {a \text {Subst}\left (\int \left (-\frac {1}{2} e^{-x+x^2}+\frac {e^{x+x^2}}{2}\right ) \, dx,x,\cosh ^{-1}(a+b x)\right )}{b^2}\\ &=-\frac {\text {Subst}\left (\int e^{-2 x+x^2} \, dx,x,\cosh ^{-1}(a+b x)\right )}{4 b^2}+\frac {\text {Subst}\left (\int e^{2 x+x^2} \, dx,x,\cosh ^{-1}(a+b x)\right )}{4 b^2}+\frac {a \text {Subst}\left (\int e^{-x+x^2} \, dx,x,\cosh ^{-1}(a+b x)\right )}{2 b^2}-\frac {a \text {Subst}\left (\int e^{x+x^2} \, dx,x,\cosh ^{-1}(a+b x)\right )}{2 b^2}\\ &=-\frac {\text {Subst}\left (\int e^{\frac {1}{4} (-2+2 x)^2} \, dx,x,\cosh ^{-1}(a+b x)\right )}{4 b^2 e}+\frac {\text {Subst}\left (\int e^{\frac {1}{4} (2+2 x)^2} \, dx,x,\cosh ^{-1}(a+b x)\right )}{4 b^2 e}+\frac {a \text {Subst}\left (\int e^{\frac {1}{4} (-1+2 x)^2} \, dx,x,\cosh ^{-1}(a+b x)\right )}{2 b^2 \sqrt [4]{e}}-\frac {a \text {Subst}\left (\int e^{\frac {1}{4} (1+2 x)^2} \, dx,x,\cosh ^{-1}(a+b x)\right )}{2 b^2 \sqrt [4]{e}}\\ &=\frac {\sqrt {\pi } \text {erfi}\left (1-\cosh ^{-1}(a+b x)\right )}{8 b^2 e}+\frac {\sqrt {\pi } \text {erfi}\left (1+\cosh ^{-1}(a+b x)\right )}{8 b^2 e}+\frac {a \sqrt {\pi } \text {erfi}\left (\frac {1}{2} \left (-1+2 \cosh ^{-1}(a+b x)\right )\right )}{4 b^2 \sqrt [4]{e}}-\frac {a \sqrt {\pi } \text {erfi}\left (\frac {1}{2} \left (1+2 \cosh ^{-1}(a+b x)\right )\right )}{4 b^2 \sqrt [4]{e}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.09, size = 76, normalized size = 0.65 \begin {gather*} \frac {\sqrt {\pi } \left (-2 a e^{3/4} \text {Erfi}\left (\frac {1}{2}-\cosh ^{-1}(a+b x)\right )+\text {Erfi}\left (1-\cosh ^{-1}(a+b x)\right )-2 a e^{3/4} \text {Erfi}\left (\frac {1}{2}+\cosh ^{-1}(a+b x)\right )+\text {Erfi}\left (1+\cosh ^{-1}(a+b x)\right )\right )}{8 b^2 e} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F]
time = 0.00, size = 0, normalized size = 0.00 \[\int {\mathrm e}^{\mathrm {arccosh}\left (b x +a \right )^{2}} x\, 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 [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \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 x e^{\operatorname {acosh}^{2}{\left (a + b x \right )}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \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 x\,{\mathrm {e}}^{{\mathrm {acosh}\left (a+b\,x\right )}^2} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________