\(\int f^{a+\frac {b}{x^3}} x^2 \, dx\) [159]

   Optimal result
   Rubi [A] (verified)
   Mathematica [A] (verified)
   Maple [B] (verified)
   Fricas [A] (verification not implemented)
   Sympy [F]
   Maxima [A] (verification not implemented)
   Giac [F]
   Mupad [B] (verification not implemented)

Optimal result

Integrand size = 13, antiderivative size = 35 \[ \int f^{a+\frac {b}{x^3}} x^2 \, dx=\frac {1}{3} f^{a+\frac {b}{x^3}} x^3-\frac {1}{3} b f^a \operatorname {ExpIntegralEi}\left (\frac {b \log (f)}{x^3}\right ) \log (f) \]

[Out]

1/3*f^(a+b/x^3)*x^3-1/3*b*f^a*Ei(b*ln(f)/x^3)*ln(f)

Rubi [A] (verified)

Time = 0.03 (sec) , antiderivative size = 35, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 2, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.154, Rules used = {2245, 2241} \[ \int f^{a+\frac {b}{x^3}} x^2 \, dx=\frac {1}{3} x^3 f^{a+\frac {b}{x^3}}-\frac {1}{3} b f^a \log (f) \operatorname {ExpIntegralEi}\left (\frac {b \log (f)}{x^3}\right ) \]

[In]

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

[Out]

(f^(a + b/x^3)*x^3)/3 - (b*f^a*ExpIntegralEi[(b*Log[f])/x^3]*Log[f])/3

Rule 2241

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

Rule 2245

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*} \text {integral}& = \frac {1}{3} f^{a+\frac {b}{x^3}} x^3+(b \log (f)) \int \frac {f^{a+\frac {b}{x^3}}}{x} \, dx \\ & = \frac {1}{3} f^{a+\frac {b}{x^3}} x^3-\frac {1}{3} b f^a \text {Ei}\left (\frac {b \log (f)}{x^3}\right ) \log (f) \\ \end{align*}

Mathematica [A] (verified)

Time = 0.01 (sec) , antiderivative size = 32, normalized size of antiderivative = 0.91 \[ \int f^{a+\frac {b}{x^3}} x^2 \, dx=\frac {1}{3} f^a \left (f^{\frac {b}{x^3}} x^3-b \operatorname {ExpIntegralEi}\left (\frac {b \log (f)}{x^3}\right ) \log (f)\right ) \]

[In]

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

[Out]

(f^a*(f^(b/x^3)*x^3 - b*ExpIntegralEi[(b*Log[f])/x^3]*Log[f]))/3

Maple [B] (verified)

Leaf count of result is larger than twice the leaf count of optimal. \(96\) vs. \(2(31)=62\).

Time = 0.06 (sec) , antiderivative size = 97, normalized size of antiderivative = 2.77

method result size
meijerg \(\frac {f^{a} b \ln \left (f \right ) \left (\frac {x^{3}}{b \ln \left (f \right )}+1+3 \ln \left (x \right )-\ln \left (-b \right )-\ln \left (\ln \left (f \right )\right )-\frac {x^{3} \left (2+\frac {2 b \ln \left (f \right )}{x^{3}}\right )}{2 b \ln \left (f \right )}+\frac {x^{3} {\mathrm e}^{\frac {b \ln \left (f \right )}{x^{3}}}}{b \ln \left (f \right )}+\ln \left (-\frac {b \ln \left (f \right )}{x^{3}}\right )+\operatorname {Ei}_{1}\left (-\frac {b \ln \left (f \right )}{x^{3}}\right )\right )}{3}\) \(97\)

[In]

int(f^(a+b/x^3)*x^2,x,method=_RETURNVERBOSE)

[Out]

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

Fricas [A] (verification not implemented)

none

Time = 0.27 (sec) , antiderivative size = 35, normalized size of antiderivative = 1.00 \[ \int f^{a+\frac {b}{x^3}} x^2 \, dx=\frac {1}{3} \, f^{\frac {a x^{3} + b}{x^{3}}} x^{3} - \frac {1}{3} \, b f^{a} {\rm Ei}\left (\frac {b \log \left (f\right )}{x^{3}}\right ) \log \left (f\right ) \]

[In]

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

[Out]

1/3*f^((a*x^3 + b)/x^3)*x^3 - 1/3*b*f^a*Ei(b*log(f)/x^3)*log(f)

Sympy [F]

\[ \int f^{a+\frac {b}{x^3}} x^2 \, dx=\int f^{a + \frac {b}{x^{3}}} x^{2}\, dx \]

[In]

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

[Out]

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

Maxima [A] (verification not implemented)

none

Time = 0.23 (sec) , antiderivative size = 18, normalized size of antiderivative = 0.51 \[ \int f^{a+\frac {b}{x^3}} x^2 \, dx=-\frac {1}{3} \, b f^{a} \Gamma \left (-1, -\frac {b \log \left (f\right )}{x^{3}}\right ) \log \left (f\right ) \]

[In]

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

[Out]

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

Giac [F]

\[ \int f^{a+\frac {b}{x^3}} x^2 \, dx=\int { f^{a + \frac {b}{x^{3}}} x^{2} \,d x } \]

[In]

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

[Out]

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

Mupad [B] (verification not implemented)

Time = 0.25 (sec) , antiderivative size = 33, normalized size of antiderivative = 0.94 \[ \int f^{a+\frac {b}{x^3}} x^2 \, dx=\frac {f^a\,f^{\frac {b}{x^3}}\,x^3}{3}+\frac {b\,f^a\,\ln \left (f\right )\,\mathrm {expint}\left (-\frac {b\,\ln \left (f\right )}{x^3}\right )}{3} \]

[In]

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

[Out]

(f^a*f^(b/x^3)*x^3)/3 + (b*f^a*log(f)*expint(-(b*log(f))/x^3))/3