3.286 \(\int e^{\cosh ^{-1}(a+b x)^2} x \, dx\)

Optimal. Leaf size=117 \[ \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} \]

[Out]

(Sqrt[Pi]*Erfi[1 - ArcCosh[a + b*x]])/(8*b^2*E) + (Sqrt[Pi]*Erfi[1 + ArcCosh[a + b*x]])/(8*b^2*E) + (a*Sqrt[Pi
]*Erfi[(-1 + 2*ArcCosh[a + b*x])/2])/(4*b^2*E^(1/4)) - (a*Sqrt[Pi]*Erfi[(1 + 2*ArcCosh[a + b*x])/2])/(4*b^2*E^
(1/4))

________________________________________________________________________________________

Rubi [A]  time = 0.27846, antiderivative size = 117, normalized size of antiderivative = 1., 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 = {5899, 6741, 12, 6742, 5512, 2234, 2204, 5514} \[ \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} \]

Antiderivative was successfully verified.

[In]

Int[E^ArcCosh[a + b*x]^2*x,x]

[Out]

(Sqrt[Pi]*Erfi[1 - ArcCosh[a + b*x]])/(8*b^2*E) + (Sqrt[Pi]*Erfi[1 + ArcCosh[a + b*x]])/(8*b^2*E) + (a*Sqrt[Pi
]*Erfi[(-1 + 2*ArcCosh[a + b*x])/2])/(4*b^2*E^(1/4)) - (a*Sqrt[Pi]*Erfi[(1 + 2*ArcCosh[a + b*x])/2])/(4*b^2*E^
(1/4))

Rule 5899

Int[(f_)^(ArcCosh[(a_.) + (b_.)*(x_)]^(n_.)*(c_.))*(x_)^(m_.), x_Symbol] :> Dist[1/b, Subst[Int[(-(a/b) + Cosh
[x]/b)^m*f^(c*x^n)*Sinh[x], x], x, ArcCosh[a + b*x]], x] /; FreeQ[{a, b, c, f}, x] && IGtQ[m, 0] && IGtQ[n, 0]

Rule 6741

Int[u_, x_Symbol] :> With[{v = NormalizeIntegrand[u, x]}, Int[v, x] /; v =!= u]

Rule 12

Int[(a_)*(u_), x_Symbol] :> Dist[a, Int[u, x], x] /; FreeQ[a, x] &&  !MatchQ[u, (b_)*(v_) /; FreeQ[b, x]]

Rule 6742

Int[u_, x_Symbol] :> With[{v = ExpandIntegrand[u, x]}, Int[v, x] /; SumQ[v]]

Rule 5512

Int[(F_)^(u_)*Sinh[v_]^(n_.), x_Symbol] :> Int[ExpandTrigToExp[F^u, Sinh[v]^n, x], x] /; FreeQ[F, x] && (Linea
rQ[u, x] || PolyQ[u, x, 2]) && (LinearQ[v, x] || PolyQ[v, x, 2]) && IGtQ[n, 0]

Rule 2234

Int[(F_)^((a_.) + (b_.)*(x_) + (c_.)*(x_)^2), x_Symbol] :> Dist[F^(a - b^2/(4*c)), Int[F^((b + 2*c*x)^2/(4*c))
, x], x] /; FreeQ[{F, a, b, c}, x]

Rule 2204

Int[(F_)^((a_.) + (b_.)*((c_.) + (d_.)*(x_))^2), x_Symbol] :> Simp[(F^a*Sqrt[Pi]*Erfi[(c + d*x)*Rt[b*Log[F], 2
]])/(2*d*Rt[b*Log[F], 2]), x] /; FreeQ[{F, a, b, c, d}, x] && PosQ[b]

Rule 5514

Int[Cosh[v_]^(n_.)*(F_)^(u_)*Sinh[v_]^(m_.), x_Symbol] :> Int[ExpandTrigToExp[F^u, Sinh[v]^m*Cosh[v]^n, x], x]
 /; FreeQ[F, x] && (LinearQ[u, x] || PolyQ[u, x, 2]) && (LinearQ[v, x] || PolyQ[v, x, 2]) && IGtQ[m, 0] && IGt
Q[n, 0]

Rubi steps

\begin{align*} \int e^{\cosh ^{-1}(a+b x)^2} x \, dx &=\frac{\operatorname{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{\operatorname{Subst}\left (\int \frac{e^{x^2} (-a+\cosh (x)) \sinh (x)}{b} \, dx,x,\cosh ^{-1}(a+b x)\right )}{b}\\ &=\frac{\operatorname{Subst}\left (\int e^{x^2} (-a+\cosh (x)) \sinh (x) \, dx,x,\cosh ^{-1}(a+b x)\right )}{b^2}\\ &=\frac{\operatorname{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{\operatorname{Subst}\left (\int e^{x^2} \cosh (x) \sinh (x) \, dx,x,\cosh ^{-1}(a+b x)\right )}{b^2}-\frac{a \operatorname{Subst}\left (\int e^{x^2} \sinh (x) \, dx,x,\cosh ^{-1}(a+b x)\right )}{b^2}\\ &=\frac{\operatorname{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 \operatorname{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{\operatorname{Subst}\left (\int e^{-2 x+x^2} \, dx,x,\cosh ^{-1}(a+b x)\right )}{4 b^2}+\frac{\operatorname{Subst}\left (\int e^{2 x+x^2} \, dx,x,\cosh ^{-1}(a+b x)\right )}{4 b^2}+\frac{a \operatorname{Subst}\left (\int e^{-x+x^2} \, dx,x,\cosh ^{-1}(a+b x)\right )}{2 b^2}-\frac{a \operatorname{Subst}\left (\int e^{x+x^2} \, dx,x,\cosh ^{-1}(a+b x)\right )}{2 b^2}\\ &=-\frac{\operatorname{Subst}\left (\int e^{\frac{1}{4} (-2+2 x)^2} \, dx,x,\cosh ^{-1}(a+b x)\right )}{4 b^2 e}+\frac{\operatorname{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 \operatorname{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 \operatorname{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.12821, size = 76, normalized size = 0.65 \[ \frac{\sqrt{\pi } \left (-2 e^{3/4} a \text{Erfi}\left (\frac{1}{2}-\cosh ^{-1}(a+b x)\right )+\text{Erfi}\left (1-\cosh ^{-1}(a+b x)\right )-2 e^{3/4} a \text{Erfi}\left (\cosh ^{-1}(a+b x)+\frac{1}{2}\right )+\text{Erfi}\left (\cosh ^{-1}(a+b x)+1\right )\right )}{8 e b^2} \]

Antiderivative was successfully verified.

[In]

Integrate[E^ArcCosh[a + b*x]^2*x,x]

[Out]

(Sqrt[Pi]*(-2*a*E^(3/4)*Erfi[1/2 - ArcCosh[a + b*x]] + Erfi[1 - ArcCosh[a + b*x]] - 2*a*E^(3/4)*Erfi[1/2 + Arc
Cosh[a + b*x]] + Erfi[1 + ArcCosh[a + b*x]]))/(8*b^2*E)

________________________________________________________________________________________

Maple [F]  time = 0.007, size = 0, normalized size = 0. \begin{align*} \int{{\rm e}^{ \left ({\rm arccosh} \left (bx+a\right ) \right ) ^{2}}}x\, dx \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(exp(arccosh(b*x+a)^2)*x,x)

[Out]

int(exp(arccosh(b*x+a)^2)*x,x)

________________________________________________________________________________________

Maxima [F]  time = 0., size = 0, normalized size = 0. \begin{align*} \int x e^{\left (\operatorname{arcosh}\left (b x + a\right )^{2}\right )}\,{d x} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(exp(arccosh(b*x+a)^2)*x,x, algorithm="maxima")

[Out]

integrate(x*e^(arccosh(b*x + a)^2), x)

________________________________________________________________________________________

Fricas [F]  time = 0., size = 0, normalized size = 0. \begin{align*}{\rm integral}\left (x e^{\left (\operatorname{arcosh}\left (b x + a\right )^{2}\right )}, x\right ) \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(exp(arccosh(b*x+a)^2)*x,x, algorithm="fricas")

[Out]

integral(x*e^(arccosh(b*x + a)^2), x)

________________________________________________________________________________________

Sympy [F]  time = 0., size = 0, normalized size = 0. \begin{align*} \int x e^{\operatorname{acosh}^{2}{\left (a + b x \right )}}\, dx \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(exp(acosh(b*x+a)**2)*x,x)

[Out]

Integral(x*exp(acosh(a + b*x)**2), x)

________________________________________________________________________________________

Giac [F]  time = 0., size = 0, normalized size = 0. \begin{align*} \int x e^{\left (\operatorname{arcosh}\left (b x + a\right )^{2}\right )}\,{d x} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(exp(arccosh(b*x+a)^2)*x,x, algorithm="giac")

[Out]

integrate(x*e^(arccosh(b*x + a)^2), x)