\(\int e^{\text {arccosh}(a+b x)^2} x^2 \, dx\) [11]

Optimal result
Mathematica [A] (verified)
Rubi [A] (verified)
Maple [F]
Fricas [F]
Sympy [F]
Maxima [F]
Giac [F]
Mupad [F(-1)]
Reduce [F]

Optimal result

Integrand size = 14, antiderivative size = 251 \[ \int e^{\text {arccosh}(a+b x)^2} x^2 \, dx=-\frac {a \sqrt {\pi } \text {erfi}(1-\text {arccosh}(a+b x))}{4 b^3 e}-\frac {a \sqrt {\pi } \text {erfi}(1+\text {arccosh}(a+b x))}{4 b^3 e}-\frac {\sqrt {\pi } \text {erfi}\left (\frac {1}{2} (-3+2 \text {arccosh}(a+b x))\right )}{16 b^3 e^{9/4}}-\frac {\sqrt {\pi } \text {erfi}\left (\frac {1}{2} (-1+2 \text {arccosh}(a+b x))\right )}{16 b^3 \sqrt [4]{e}}-\frac {a^2 \sqrt {\pi } \text {erfi}\left (\frac {1}{2} (-1+2 \text {arccosh}(a+b x))\right )}{4 b^3 \sqrt [4]{e}}+\frac {\sqrt {\pi } \text {erfi}\left (\frac {1}{2} (1+2 \text {arccosh}(a+b x))\right )}{16 b^3 \sqrt [4]{e}}+\frac {a^2 \sqrt {\pi } \text {erfi}\left (\frac {1}{2} (1+2 \text {arccosh}(a+b x))\right )}{4 b^3 \sqrt [4]{e}}+\frac {\sqrt {\pi } \text {erfi}\left (\frac {1}{2} (3+2 \text {arccosh}(a+b x))\right )}{16 b^3 e^{9/4}} \] Output:

1/4*a*Pi^(1/2)*erfi(-1+arccosh(b*x+a))/b^3*exp(-1)-1/4*a*Pi^(1/2)*erfi(1+a 
rccosh(b*x+a))/b^3*exp(-1)-1/16*Pi^(1/2)*erfi(-3/2+arccosh(b*x+a))/b^3*exp 
(-9/4)-1/16*Pi^(1/2)*erfi(-1/2+arccosh(b*x+a))/b^3*exp(-1/4)-1/4*a^2*Pi^(1 
/2)*erfi(-1/2+arccosh(b*x+a))/b^3*exp(-1/4)+1/16*Pi^(1/2)*erfi(1/2+arccosh 
(b*x+a))/b^3*exp(-1/4)+1/4*a^2*Pi^(1/2)*erfi(1/2+arccosh(b*x+a))/b^3*exp(- 
1/4)+1/16*Pi^(1/2)*erfi(3/2+arccosh(b*x+a))/b^3*exp(-9/4)
 

Mathematica [A] (verified)

Time = 0.24 (sec) , antiderivative size = 136, normalized size of antiderivative = 0.54 \[ \int e^{\text {arccosh}(a+b x)^2} x^2 \, dx=\frac {\sqrt {\pi } \left (\left (1+4 a^2\right ) e^2 \text {erfi}\left (\frac {1}{2}-\text {arccosh}(a+b x)\right )-4 a e^{5/4} \text {erfi}(1-\text {arccosh}(a+b x))+\text {erfi}\left (\frac {3}{2}-\text {arccosh}(a+b x)\right )+e^2 \text {erfi}\left (\frac {1}{2}+\text {arccosh}(a+b x)\right )+4 a^2 e^2 \text {erfi}\left (\frac {1}{2}+\text {arccosh}(a+b x)\right )-4 a e^{5/4} \text {erfi}(1+\text {arccosh}(a+b x))+\text {erfi}\left (\frac {3}{2}+\text {arccosh}(a+b x)\right )\right )}{16 b^3 e^{9/4}} \] Input:

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

Output:

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

Rubi [A] (verified)

Time = 1.25 (sec) , antiderivative size = 231, normalized size of antiderivative = 0.92, number of steps used = 6, number of rules used = 5, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.357, Rules used = {6430, 7292, 27, 7293, 2009}

Below are the steps used by Rubi to obtain the solution. The rule number used for the transformation is given above next to the arrow. The rules definitions used are listed below.

\(\displaystyle \int x^2 e^{\text {arccosh}(a+b x)^2} \, dx\)

\(\Big \downarrow \) 6430

\(\displaystyle \frac {\int e^{\text {arccosh}(a+b x)^2} \sqrt {\frac {a+b x-1}{a+b x+1}} (a+b x+1) \left (\frac {a}{b}-\frac {a+b x}{b}\right )^2d\text {arccosh}(a+b x)}{b}\)

\(\Big \downarrow \) 7292

\(\displaystyle \frac {\int e^{\text {arccosh}(a+b x)^2} x^2 \sqrt {\frac {a+b x-1}{a+b x+1}} (a+b x+1)d\text {arccosh}(a+b x)}{b}\)

\(\Big \downarrow \) 27

\(\displaystyle \frac {\int b^2 e^{\text {arccosh}(a+b x)^2} x^2 \sqrt {\frac {a+b x-1}{a+b x+1}} (a+b x+1)d\text {arccosh}(a+b x)}{b^3}\)

\(\Big \downarrow \) 7293

\(\displaystyle \frac {\int \left (e^{\text {arccosh}(a+b x)^2} \sqrt {\frac {a+b x-1}{a+b x+1}} (a+b x+1) a^2-2 e^{\text {arccosh}(a+b x)^2} (a+b x) \sqrt {\frac {a+b x-1}{a+b x+1}} (a+b x+1) a+e^{\text {arccosh}(a+b x)^2} (a+b x)^2 \sqrt {\frac {a+b x-1}{a+b x+1}} (a+b x+1)\right )d\text {arccosh}(a+b x)}{b^3}\)

\(\Big \downarrow \) 2009

\(\displaystyle \frac {-\frac {\sqrt {\pi } a^2 \text {erfi}\left (\frac {1}{2} (2 \text {arccosh}(a+b x)-1)\right )}{4 \sqrt [4]{e}}+\frac {\sqrt {\pi } a^2 \text {erfi}\left (\frac {1}{2} (2 \text {arccosh}(a+b x)+1)\right )}{4 \sqrt [4]{e}}-\frac {\sqrt {\pi } a \text {erfi}(1-\text {arccosh}(a+b x))}{4 e}-\frac {\sqrt {\pi } a \text {erfi}(\text {arccosh}(a+b x)+1)}{4 e}-\frac {\sqrt {\pi } \text {erfi}\left (\frac {1}{2} (2 \text {arccosh}(a+b x)-3)\right )}{16 e^{9/4}}-\frac {\sqrt {\pi } \text {erfi}\left (\frac {1}{2} (2 \text {arccosh}(a+b x)-1)\right )}{16 \sqrt [4]{e}}+\frac {\sqrt {\pi } \text {erfi}\left (\frac {1}{2} (2 \text {arccosh}(a+b x)+1)\right )}{16 \sqrt [4]{e}}+\frac {\sqrt {\pi } \text {erfi}\left (\frac {1}{2} (2 \text {arccosh}(a+b x)+3)\right )}{16 e^{9/4}}}{b^3}\)

Input:

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

Output:

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

Defintions of rubi rules used

rule 27
Int[(a_)*(Fx_), x_Symbol] :> Simp[a   Int[Fx, x], x] /; FreeQ[a, x] &&  !Ma 
tchQ[Fx, (b_)*(Gx_) /; FreeQ[b, x]]
 

rule 2009
Int[u_, x_Symbol] :> Simp[IntSum[u, x], x] /; SumQ[u]
 

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

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

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

\[\int {\mathrm e}^{\operatorname {arccosh}\left (b x +a \right )^{2}} x^{2}d x\]

Input:

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

Output:

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

Fricas [F]

\[ \int e^{\text {arccosh}(a+b x)^2} x^2 \, dx=\int { x^{2} e^{\left (\operatorname {arcosh}\left (b x + a\right )^{2}\right )} \,d x } \] Input:

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

Output:

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

Sympy [F]

\[ \int e^{\text {arccosh}(a+b x)^2} x^2 \, dx=\int x^{2} e^{\operatorname {acosh}^{2}{\left (a + b x \right )}}\, dx \] Input:

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

Output:

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

Maxima [F]

\[ \int e^{\text {arccosh}(a+b x)^2} x^2 \, dx=\int { x^{2} e^{\left (\operatorname {arcosh}\left (b x + a\right )^{2}\right )} \,d x } \] Input:

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

Output:

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

Giac [F]

\[ \int e^{\text {arccosh}(a+b x)^2} x^2 \, dx=\int { x^{2} e^{\left (\operatorname {arcosh}\left (b x + a\right )^{2}\right )} \,d x } \] Input:

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

Output:

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

Mupad [F(-1)]

Timed out. \[ \int e^{\text {arccosh}(a+b x)^2} x^2 \, dx=\int x^2\,{\mathrm {e}}^{{\mathrm {acosh}\left (a+b\,x\right )}^2} \,d x \] Input:

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

Output:

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

Reduce [F]

\[ \int e^{\text {arccosh}(a+b x)^2} x^2 \, dx=\int e^{\mathit {acosh} \left (b x +a \right )^{2}} x^{2}d x \] Input:

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

Output:

int(e**(acosh(a + b*x)**2)*x**2,x)