3.92 \(\int \frac {f^{a+b x^2}}{x^8} \, dx\)

Optimal. Leaf size=119 \[ \frac {8}{105} \sqrt {\pi } b^{7/2} f^a \log ^{\frac {7}{2}}(f) \text {erfi}\left (\sqrt {b} x \sqrt {\log (f)}\right )-\frac {8 b^3 \log ^3(f) f^{a+b x^2}}{105 x}-\frac {4 b^2 \log ^2(f) f^{a+b x^2}}{105 x^3}-\frac {f^{a+b x^2}}{7 x^7}-\frac {2 b \log (f) f^{a+b x^2}}{35 x^5} \]

[Out]

-1/7*f^(b*x^2+a)/x^7-2/35*b*f^(b*x^2+a)*ln(f)/x^5-4/105*b^2*f^(b*x^2+a)*ln(f)^2/x^3-8/105*b^3*f^(b*x^2+a)*ln(f
)^3/x+8/105*b^(7/2)*f^a*erfi(x*b^(1/2)*ln(f)^(1/2))*ln(f)^(7/2)*Pi^(1/2)

________________________________________________________________________________________

Rubi [A]  time = 0.11, antiderivative size = 119, normalized size of antiderivative = 1.00, number of steps used = 5, number of rules used = 2, integrand size = 13, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.154, Rules used = {2214, 2204} \[ \frac {8}{105} \sqrt {\pi } b^{7/2} f^a \log ^{\frac {7}{2}}(f) \text {Erfi}\left (\sqrt {b} x \sqrt {\log (f)}\right )-\frac {8 b^3 \log ^3(f) f^{a+b x^2}}{105 x}-\frac {4 b^2 \log ^2(f) f^{a+b x^2}}{105 x^3}-\frac {f^{a+b x^2}}{7 x^7}-\frac {2 b \log (f) f^{a+b x^2}}{35 x^5} \]

Antiderivative was successfully verified.

[In]

Int[f^(a + b*x^2)/x^8,x]

[Out]

-f^(a + b*x^2)/(7*x^7) - (2*b*f^(a + b*x^2)*Log[f])/(35*x^5) - (4*b^2*f^(a + b*x^2)*Log[f]^2)/(105*x^3) - (8*b
^3*f^(a + b*x^2)*Log[f]^3)/(105*x) + (8*b^(7/2)*f^a*Sqrt[Pi]*Erfi[Sqrt[b]*x*Sqrt[Log[f]]]*Log[f]^(7/2))/105

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 2214

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

Rubi steps

\begin {align*} \int \frac {f^{a+b x^2}}{x^8} \, dx &=-\frac {f^{a+b x^2}}{7 x^7}+\frac {1}{7} (2 b \log (f)) \int \frac {f^{a+b x^2}}{x^6} \, dx\\ &=-\frac {f^{a+b x^2}}{7 x^7}-\frac {2 b f^{a+b x^2} \log (f)}{35 x^5}+\frac {1}{35} \left (4 b^2 \log ^2(f)\right ) \int \frac {f^{a+b x^2}}{x^4} \, dx\\ &=-\frac {f^{a+b x^2}}{7 x^7}-\frac {2 b f^{a+b x^2} \log (f)}{35 x^5}-\frac {4 b^2 f^{a+b x^2} \log ^2(f)}{105 x^3}+\frac {1}{105} \left (8 b^3 \log ^3(f)\right ) \int \frac {f^{a+b x^2}}{x^2} \, dx\\ &=-\frac {f^{a+b x^2}}{7 x^7}-\frac {2 b f^{a+b x^2} \log (f)}{35 x^5}-\frac {4 b^2 f^{a+b x^2} \log ^2(f)}{105 x^3}-\frac {8 b^3 f^{a+b x^2} \log ^3(f)}{105 x}+\frac {1}{105} \left (16 b^4 \log ^4(f)\right ) \int f^{a+b x^2} \, dx\\ &=-\frac {f^{a+b x^2}}{7 x^7}-\frac {2 b f^{a+b x^2} \log (f)}{35 x^5}-\frac {4 b^2 f^{a+b x^2} \log ^2(f)}{105 x^3}-\frac {8 b^3 f^{a+b x^2} \log ^3(f)}{105 x}+\frac {8}{105} b^{7/2} f^a \sqrt {\pi } \text {erfi}\left (\sqrt {b} x \sqrt {\log (f)}\right ) \log ^{\frac {7}{2}}(f)\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]  time = 0.04, size = 89, normalized size = 0.75 \[ \frac {f^a \left (8 \sqrt {\pi } b^{7/2} x^7 \log ^{\frac {7}{2}}(f) \text {erfi}\left (\sqrt {b} x \sqrt {\log (f)}\right )-f^{b x^2} \left (8 b^3 x^6 \log ^3(f)+4 b^2 x^4 \log ^2(f)+6 b x^2 \log (f)+15\right )\right )}{105 x^7} \]

Antiderivative was successfully verified.

[In]

Integrate[f^(a + b*x^2)/x^8,x]

[Out]

(f^a*(8*b^(7/2)*Sqrt[Pi]*x^7*Erfi[Sqrt[b]*x*Sqrt[Log[f]]]*Log[f]^(7/2) - f^(b*x^2)*(15 + 6*b*x^2*Log[f] + 4*b^
2*x^4*Log[f]^2 + 8*b^3*x^6*Log[f]^3)))/(105*x^7)

________________________________________________________________________________________

fricas [A]  time = 0.41, size = 85, normalized size = 0.71 \[ -\frac {8 \, \sqrt {\pi } \sqrt {-b \log \relax (f)} b^{3} f^{a} x^{7} \operatorname {erf}\left (\sqrt {-b \log \relax (f)} x\right ) \log \relax (f)^{3} + {\left (8 \, b^{3} x^{6} \log \relax (f)^{3} + 4 \, b^{2} x^{4} \log \relax (f)^{2} + 6 \, b x^{2} \log \relax (f) + 15\right )} f^{b x^{2} + a}}{105 \, x^{7}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

-1/105*(8*sqrt(pi)*sqrt(-b*log(f))*b^3*f^a*x^7*erf(sqrt(-b*log(f))*x)*log(f)^3 + (8*b^3*x^6*log(f)^3 + 4*b^2*x
^4*log(f)^2 + 6*b*x^2*log(f) + 15)*f^(b*x^2 + a))/x^7

________________________________________________________________________________________

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

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

integrate(f^(b*x^2 + a)/x^8, x)

________________________________________________________________________________________

maple [A]  time = 0.07, size = 111, normalized size = 0.93 \[ \frac {8 \sqrt {\pi }\, b^{4} f^{a} \erf \left (\sqrt {-b \ln \relax (f )}\, x \right ) \ln \relax (f )^{4}}{105 \sqrt {-b \ln \relax (f )}}-\frac {8 b^{3} f^{a} f^{b \,x^{2}} \ln \relax (f )^{3}}{105 x}-\frac {4 b^{2} f^{a} f^{b \,x^{2}} \ln \relax (f )^{2}}{105 x^{3}}-\frac {2 b \,f^{a} f^{b \,x^{2}} \ln \relax (f )}{35 x^{5}}-\frac {f^{a} f^{b \,x^{2}}}{7 x^{7}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(f^(b*x^2+a)/x^8,x)

[Out]

-1/7*f^a/x^7*f^(b*x^2)-2/35*f^a*ln(f)*b/x^5*f^(b*x^2)-4/105*f^a*ln(f)^2*b^2/x^3*f^(b*x^2)-8/105*f^a*ln(f)^3*b^
3/x*f^(b*x^2)+8/105*f^a*ln(f)^4*b^4*Pi^(1/2)/(-b*ln(f))^(1/2)*erf((-b*ln(f))^(1/2)*x)

________________________________________________________________________________________

maxima [A]  time = 1.30, size = 28, normalized size = 0.24 \[ -\frac {\left (-b x^{2} \log \relax (f)\right )^{\frac {7}{2}} f^{a} \Gamma \left (-\frac {7}{2}, -b x^{2} \log \relax (f)\right )}{2 \, x^{7}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

-1/2*(-b*x^2*log(f))^(7/2)*f^a*gamma(-7/2, -b*x^2*log(f))/x^7

________________________________________________________________________________________

mupad [B]  time = 3.49, size = 131, normalized size = 1.10 \[ \frac {8\,f^a\,\sqrt {\pi }\,{\left (-b\,x^2\,\ln \relax (f)\right )}^{7/2}}{105\,x^7}-\frac {f^a\,f^{b\,x^2}}{7\,x^7}-\frac {8\,f^a\,\sqrt {\pi }\,\mathrm {erfc}\left (\sqrt {-b\,x^2\,\ln \relax (f)}\right )\,{\left (-b\,x^2\,\ln \relax (f)\right )}^{7/2}}{105\,x^7}-\frac {4\,b^2\,f^a\,f^{b\,x^2}\,{\ln \relax (f)}^2}{105\,x^3}-\frac {8\,b^3\,f^a\,f^{b\,x^2}\,{\ln \relax (f)}^3}{105\,x}-\frac {2\,b\,f^a\,f^{b\,x^2}\,\ln \relax (f)}{35\,x^5} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(f^(a + b*x^2)/x^8,x)

[Out]

(8*f^a*pi^(1/2)*(-b*x^2*log(f))^(7/2))/(105*x^7) - (f^a*f^(b*x^2))/(7*x^7) - (8*f^a*pi^(1/2)*erfc((-b*x^2*log(
f))^(1/2))*(-b*x^2*log(f))^(7/2))/(105*x^7) - (4*b^2*f^a*f^(b*x^2)*log(f)^2)/(105*x^3) - (8*b^3*f^a*f^(b*x^2)*
log(f)^3)/(105*x) - (2*b*f^a*f^(b*x^2)*log(f))/(35*x^5)

________________________________________________________________________________________

sympy [F]  time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {f^{a + b x^{2}}}{x^{8}}\, dx \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(f**(b*x**2+a)/x**8,x)

[Out]

Integral(f**(a + b*x**2)/x**8, x)

________________________________________________________________________________________