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

Optimal. Leaf size=35 \[ \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) \]

[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]
time = 0.03, antiderivative size = 35, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 2, integrand size = 13, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.154, Rules used = {2245, 2241} \begin {gather*} \frac {1}{3} x^3 f^{a+\frac {b}{x^3}}-\frac {1}{3} b f^a \log (f) \text {Ei}\left (\frac {b \log (f)}{x^3}\right ) \end {gather*}

Antiderivative was successfully verified.

[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*} \int f^{a+\frac {b}{x^3}} x^2 \, dx &=\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]
time = 0.01, size = 32, normalized size = 0.91 \begin {gather*} \frac {1}{3} f^a \left (f^{\frac {b}{x^3}} x^3-b \text {Ei}\left (\frac {b \log (f)}{x^3}\right ) \log (f)\right ) \end {gather*}

Antiderivative was successfully verified.

[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] Leaf count of result is larger than twice the leaf count of optimal. \(96\) vs. \(2(31)=62\).
time = 0.03, size = 97, normalized size = 2.77

method result size
meijerg \(\frac {f^{a} b \ln \left (f \right ) \left (-\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 )+\expIntegral \left (1, -\frac {b \ln \left (f \right )}{x^{3}}\right )+1+3 \ln \left (x \right )-\ln \left (-b \right )-\ln \left (\ln \left (f \right )\right )+\frac {x^{3}}{\ln \left (f \right ) b}\right )}{3}\) \(97\)

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

1/3*f^a*b*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)+1+3*ln(x)-ln(-b)-ln(ln(f))+x^3/ln(f)/b)

________________________________________________________________________________________

Maxima [A]
time = 0.32, size = 18, normalized size = 0.51 \begin {gather*} -\frac {1}{3} \, b f^{a} \Gamma \left (-1, -\frac {b \log \left (f\right )}{x^{3}}\right ) \log \left (f\right ) \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[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)

________________________________________________________________________________________

Fricas [A]
time = 0.36, size = 35, normalized size = 1.00 \begin {gather*} \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 ) \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[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]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int f^{a + \frac {b}{x^{3}}} x^{2}\, dx \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

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

________________________________________________________________________________________

Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

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

________________________________________________________________________________________

Mupad [B]
time = 3.67, size = 33, normalized size = 0.94 \begin {gather*} \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} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[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

________________________________________________________________________________________