3.190 \(\int f^{a+b x^n} x^{-1+\frac {3 n}{2}} \, dx\)

Optimal. Leaf size=74 \[ \frac {x^{n/2} f^{a+b x^n}}{b n \log (f)}-\frac {\sqrt {\pi } f^a \text {erfi}\left (\sqrt {b} \sqrt {\log (f)} x^{n/2}\right )}{2 b^{3/2} n \log ^{\frac {3}{2}}(f)} \]

[Out]

f^(a+b*x^n)*x^(1/2*n)/b/n/ln(f)-1/2*f^a*erfi(x^(1/2*n)*b^(1/2)*ln(f)^(1/2))*Pi^(1/2)/b^(3/2)/n/ln(f)^(3/2)

________________________________________________________________________________________

Rubi [A]  time = 0.07, antiderivative size = 74, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 3, integrand size = 19, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.158, Rules used = {2213, 2211, 2204} \[ \frac {x^{n/2} f^{a+b x^n}}{b n \log (f)}-\frac {\sqrt {\pi } f^a \text {Erfi}\left (\sqrt {b} \sqrt {\log (f)} x^{n/2}\right )}{2 b^{3/2} n \log ^{\frac {3}{2}}(f)} \]

Antiderivative was successfully verified.

[In]

Int[f^(a + b*x^n)*x^(-1 + (3*n)/2),x]

[Out]

-(f^a*Sqrt[Pi]*Erfi[Sqrt[b]*x^(n/2)*Sqrt[Log[f]]])/(2*b^(3/2)*n*Log[f]^(3/2)) + (f^(a + b*x^n)*x^(n/2))/(b*n*L
og[f])

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 2211

Int[(F_)^((a_.) + (b_.)*((c_.) + (d_.)*(x_))^(n_))*((c_.) + (d_.)*(x_))^(m_.), x_Symbol] :> Dist[1/(d*(m + 1))
, Subst[Int[F^(a + b*x^2), x], x, (c + d*x)^(m + 1)], x] /; FreeQ[{F, a, b, c, d, m, n}, x] && EqQ[n, 2*(m + 1
)]

Rule 2213

Int[(F_)^((a_.) + (b_.)*((c_.) + (d_.)*(x_))^(n_))*((c_.) + (d_.)*(x_))^(m_.), x_Symbol] :> Simp[((c + d*x)^(m
 - n + 1)*F^(a + b*(c + d*x)^n))/(b*d*n*Log[F]), x] - Dist[(m - n + 1)/(b*n*Log[F]), Int[(c + d*x)^Simplify[m
- n]*F^(a + b*(c + d*x)^n), x], x] /; FreeQ[{F, a, b, c, d, m, n}, x] && IntegerQ[2*Simplify[(m + 1)/n]] && Lt
Q[0, Simplify[(m + 1)/n], 5] &&  !RationalQ[m] && SumSimplerQ[m, -n]

Rubi steps

\begin {align*} \int f^{a+b x^n} x^{-1+\frac {3 n}{2}} \, dx &=\frac {f^{a+b x^n} x^{n/2}}{b n \log (f)}-\frac {\int f^{a+b x^n} x^{\frac {1}{2} (-2+n)} \, dx}{2 b \log (f)}\\ &=\frac {f^{a+b x^n} x^{n/2}}{b n \log (f)}-\frac {\operatorname {Subst}\left (\int f^{a+b x^2} \, dx,x,x^{1+\frac {1}{2} (-2+n)}\right )}{b n \log (f)}\\ &=-\frac {f^a \sqrt {\pi } \text {erfi}\left (\sqrt {b} x^{n/2} \sqrt {\log (f)}\right )}{2 b^{3/2} n \log ^{\frac {3}{2}}(f)}+\frac {f^{a+b x^n} x^{n/2}}{b n \log (f)}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]  time = 0.01, size = 39, normalized size = 0.53 \[ -\frac {f^a x^{3 n/2} \Gamma \left (\frac {3}{2},-b x^n \log (f)\right )}{n \left (-b \log (f) x^n\right )^{3/2}} \]

Antiderivative was successfully verified.

[In]

Integrate[f^(a + b*x^n)*x^(-1 + (3*n)/2),x]

[Out]

-((f^a*x^((3*n)/2)*Gamma[3/2, -(b*x^n*Log[f])])/(n*(-(b*x^n*Log[f]))^(3/2)))

________________________________________________________________________________________

fricas [A]  time = 0.43, size = 64, normalized size = 0.86 \[ \frac {2 \, b x^{\frac {1}{2} \, n} e^{\left (b x^{n} \log \relax (f) + a \log \relax (f)\right )} \log \relax (f) + \sqrt {\pi } \sqrt {-b \log \relax (f)} f^{a} \operatorname {erf}\left (\sqrt {-b \log \relax (f)} x^{\frac {1}{2} \, n}\right )}{2 \, b^{2} n \log \relax (f)^{2}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(f^(a+b*x^n)*x^(-1+3/2*n),x, algorithm="fricas")

[Out]

1/2*(2*b*x^(1/2*n)*e^(b*x^n*log(f) + a*log(f))*log(f) + sqrt(pi)*sqrt(-b*log(f))*f^a*erf(sqrt(-b*log(f))*x^(1/
2*n)))/(b^2*n*log(f)^2)

________________________________________________________________________________________

giac [F]  time = 0.00, size = 0, normalized size = 0.00 \[ \int f^{b x^{n} + a} x^{\frac {3}{2} \, n - 1}\,{d x} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(f^(a+b*x^n)*x^(-1+3/2*n),x, algorithm="giac")

[Out]

integrate(f^(b*x^n + a)*x^(3/2*n - 1), x)

________________________________________________________________________________________

maple [A]  time = 0.09, size = 67, normalized size = 0.91 \[ \frac {f^{a} f^{b \,x^{n}} x^{\frac {n}{2}}}{b n \ln \relax (f )}-\frac {\sqrt {\pi }\, f^{a} \erf \left (\sqrt {-b \ln \relax (f )}\, x^{\frac {n}{2}}\right )}{2 \sqrt {-b \ln \relax (f )}\, b n \ln \relax (f )} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(f^(b*x^n+a)*x^(-1+3/2*n),x)

[Out]

1/n*f^a/ln(f)/b*x^(1/2*n)*f^(b*x^n)-1/2/n*f^a/ln(f)/b*Pi^(1/2)/(-b*ln(f))^(1/2)*erf((-b*ln(f))^(1/2)*x^(1/2*n)
)

________________________________________________________________________________________

maxima [A]  time = 1.07, size = 33, normalized size = 0.45 \[ -\frac {f^{a} x^{\frac {3}{2} \, n} \Gamma \left (\frac {3}{2}, -b x^{n} \log \relax (f)\right )}{\left (-b x^{n} \log \relax (f)\right )^{\frac {3}{2}} n} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(f^(a+b*x^n)*x^(-1+3/2*n),x, algorithm="maxima")

[Out]

-f^a*x^(3/2*n)*gamma(3/2, -b*x^n*log(f))/((-b*x^n*log(f))^(3/2)*n)

________________________________________________________________________________________

mupad [F]  time = 0.00, size = -1, normalized size = -0.01 \[ \int f^{a+b\,x^n}\,x^{\frac {3\,n}{2}-1} \,d x \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(f^(a + b*x^n)*x^((3*n)/2 - 1),x)

[Out]

int(f^(a + b*x^n)*x^((3*n)/2 - 1), x)

________________________________________________________________________________________

sympy [F(-1)]  time = 0.00, size = 0, normalized size = 0.00 \[ \text {Timed out} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(f**(a+b*x**n)*x**(-1+3/2*n),x)

[Out]

Timed out

________________________________________________________________________________________