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

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

[Out]

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

________________________________________________________________________________________

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

Antiderivative was successfully verified.

[In]

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

[Out]

(f^a*Sqrt[Pi]*Erfi[Sqrt[b]*x^(n/2)*Sqrt[Log[f]]])/(Sqrt[b]*n*Sqrt[Log[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
)]

Rubi steps

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

________________________________________________________________________________________

Mathematica [A]  time = 0.01, size = 43, normalized size = 1.00 \[ \frac {\sqrt {\pi } f^a \text {erfi}\left (\sqrt {b} \sqrt {\log (f)} x^{n/2}\right )}{\sqrt {b} n \sqrt {\log (f)}} \]

Antiderivative was successfully verified.

[In]

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

[Out]

(f^a*Sqrt[Pi]*Erfi[Sqrt[b]*x^(n/2)*Sqrt[Log[f]]])/(Sqrt[b]*n*Sqrt[Log[f]])

________________________________________________________________________________________

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

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

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

________________________________________________________________________________________

giac [A]  time = 0.28, size = 33, normalized size = 0.77 \[ -\frac {\sqrt {\pi } f^{a} \operatorname {erf}\left (-\sqrt {-b \log \relax (f)} \sqrt {x^{n}}\right )}{\sqrt {-b \log \relax (f)} n} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

-sqrt(pi)*f^a*erf(-sqrt(-b*log(f))*sqrt(x^n))/(sqrt(-b*log(f))*n)

________________________________________________________________________________________

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

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

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

________________________________________________________________________________________

maxima [A]  time = 0.94, size = 38, normalized size = 0.88 \[ \frac {\sqrt {\pi } f^{a} x^{\frac {1}{2} \, n} {\left (\operatorname {erf}\left (\sqrt {-b x^{n} \log \relax (f)}\right ) - 1\right )}}{\sqrt {-b x^{n} \log \relax (f)} n} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

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

________________________________________________________________________________________

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

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

int(f^(a + b*x^n)*x^(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+1/2*n),x)

[Out]

Timed out

________________________________________________________________________________________