3.117 \(\int f^{a+\frac{b}{x}} x^3 \, dx\)

Optimal. Leaf size=21 \[ b^4 f^a \log ^4(f) \text{Gamma}\left (-4,-\frac{b \log (f)}{x}\right ) \]

[Out]

b^4*f^a*Gamma[-4, -((b*Log[f])/x)]*Log[f]^4

________________________________________________________________________________________

Rubi [A]  time = 0.0198408, antiderivative size = 21, normalized size of antiderivative = 1., number of steps used = 1, number of rules used = 1, integrand size = 13, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.077, Rules used = {2218} \[ b^4 f^a \log ^4(f) \text{Gamma}\left (-4,-\frac{b \log (f)}{x}\right ) \]

Antiderivative was successfully verified.

[In]

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

[Out]

b^4*f^a*Gamma[-4, -((b*Log[f])/x)]*Log[f]^4

Rule 2218

Int[(F_)^((a_.) + (b_.)*((c_.) + (d_.)*(x_))^(n_))*((e_.) + (f_.)*(x_))^(m_.), x_Symbol] :> -Simp[(F^a*(e + f*
x)^(m + 1)*Gamma[(m + 1)/n, -(b*(c + d*x)^n*Log[F])])/(f*n*(-(b*(c + d*x)^n*Log[F]))^((m + 1)/n)), x] /; FreeQ
[{F, a, b, c, d, e, f, m, n}, x] && EqQ[d*e - c*f, 0]

Rubi steps

\begin{align*} \int f^{a+\frac{b}{x}} x^3 \, dx &=b^4 f^a \Gamma \left (-4,-\frac{b \log (f)}{x}\right ) \log ^4(f)\\ \end{align*}

Mathematica [A]  time = 0.0022257, size = 21, normalized size = 1. \[ b^4 f^a \log ^4(f) \text{Gamma}\left (-4,-\frac{b \log (f)}{x}\right ) \]

Antiderivative was successfully verified.

[In]

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

[Out]

b^4*f^a*Gamma[-4, -((b*Log[f])/x)]*Log[f]^4

________________________________________________________________________________________

Maple [B]  time = 0.064, size = 99, normalized size = 4.7 \begin{align*}{\frac{{f}^{a}{x}^{4}}{4}{f}^{{\frac{b}{x}}}}+{\frac{b\ln \left ( f \right ){f}^{a}{x}^{3}}{12}{f}^{{\frac{b}{x}}}}+{\frac{ \left ( \ln \left ( f \right ) \right ) ^{2}{b}^{2}{f}^{a}{x}^{2}}{24}{f}^{{\frac{b}{x}}}}+{\frac{ \left ( \ln \left ( f \right ) \right ) ^{3}{b}^{3}{f}^{a}x}{24}{f}^{{\frac{b}{x}}}}+{\frac{{b}^{4} \left ( \ln \left ( f \right ) \right ) ^{4}{f}^{a}}{24}{\it Ei} \left ( 1,-{\frac{b\ln \left ( f \right ) }{x}} \right ) } \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

1/4*f^a*f^(b/x)*x^4+1/12*b*ln(f)*f^a*f^(b/x)*x^3+1/24*b^2*ln(f)^2*f^a*f^(b/x)*x^2+1/24*b^3*ln(f)^3*f^a*f^(b/x)
*x+1/24*b^4*ln(f)^4*f^a*Ei(1,-b*ln(f)/x)

________________________________________________________________________________________

Maxima [F(-2)]  time = 0., size = 0, normalized size = 0. \begin{align*} \text{Exception raised: TypeError} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

Exception raised: TypeError

________________________________________________________________________________________

Fricas [F(-2)]  time = 0., size = 0, normalized size = 0. \begin{align*} \text{Exception raised: TypeError} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

Exception raised: TypeError

________________________________________________________________________________________

Sympy [F]  time = 0., size = 0, normalized size = 0. \begin{align*} \int f^{a + \frac{b}{x}} x^{3}\, dx \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(f**(a+b/x)*x**3,x)

[Out]

Integral(f**(a + b/x)*x**3, x)

________________________________________________________________________________________

Giac [F]  time = 0., size = 0, normalized size = 0. \begin{align*} \int f^{a + \frac{b}{x}} x^{3}\,{d x} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

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