\(\int x^{2-3 p} (a+b x^3)^p \, dx\) [886]

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

Optimal result

Integrand size = 17, antiderivative size = 64 \[ \int x^{2-3 p} \left (a+b x^3\right )^p \, dx=\frac {x^{3-3 p} \left (a+b x^3\right )^p \left (1+\frac {b x^3}{a}\right )^{-p} \operatorname {Hypergeometric2F1}\left (1-p,-p,2-p,-\frac {b x^3}{a}\right )}{3 (1-p)} \] Output:

1/3*x^(3-3*p)*(b*x^3+a)^p*hypergeom([-p, 1-p],[2-p],-b*x^3/a)/(1-p)/((1+b* 
x^3/a)^p)
 

Mathematica [A] (verified)

Time = 0.03 (sec) , antiderivative size = 61, normalized size of antiderivative = 0.95 \[ \int x^{2-3 p} \left (a+b x^3\right )^p \, dx=\frac {x^{3-3 p} \left (a+b x^3\right )^p \left (1+\frac {b x^3}{a}\right )^{-p} \operatorname {Hypergeometric2F1}\left (1-p,-p,2-p,-\frac {b x^3}{a}\right )}{3-3 p} \] Input:

Integrate[x^(2 - 3*p)*(a + b*x^3)^p,x]
 

Output:

(x^(3 - 3*p)*(a + b*x^3)^p*Hypergeometric2F1[1 - p, -p, 2 - p, -((b*x^3)/a 
)])/((3 - 3*p)*(1 + (b*x^3)/a)^p)
 

Rubi [A] (verified)

Time = 0.31 (sec) , antiderivative size = 56, normalized size of antiderivative = 0.88, number of steps used = 3, number of rules used = 2, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.118, Rules used = {882, 74}

Below are the steps used by Rubi to obtain the solution. The rule number used for the transformation is given above next to the arrow. The rules definitions used are listed below.

\(\displaystyle \int x^{2-3 p} \left (a+b x^3\right )^p \, dx\)

\(\Big \downarrow \) 882

\(\displaystyle \frac {1}{3} a x^{-3 p} \left (\frac {x^3}{a+b x^3}\right )^p \left (a+b x^3\right )^p \int \frac {\left (\frac {x^3}{b x^3+a}\right )^{-p}}{\left (1-\frac {b x^3}{b x^3+a}\right )^2}d\frac {x^3}{b x^3+a}\)

\(\Big \downarrow \) 74

\(\displaystyle \frac {a x^{3-3 p} \left (a+b x^3\right )^{p-1} \operatorname {Hypergeometric2F1}\left (2,1-p,2-p,\frac {b x^3}{b x^3+a}\right )}{3 (1-p)}\)

Input:

Int[x^(2 - 3*p)*(a + b*x^3)^p,x]
 

Output:

(a*x^(3 - 3*p)*(a + b*x^3)^(-1 + p)*Hypergeometric2F1[2, 1 - p, 2 - p, (b* 
x^3)/(a + b*x^3)])/(3*(1 - p))
 

Defintions of rubi rules used

rule 74
Int[((b_.)*(x_))^(m_)*((c_) + (d_.)*(x_))^(n_), x_Symbol] :> Simp[c^n*((b*x 
)^(m + 1)/(b*(m + 1)))*Hypergeometric2F1[-n, m + 1, m + 2, (-d)*(x/c)], x] 
/; FreeQ[{b, c, d, m, n}, x] &&  !IntegerQ[m] && (IntegerQ[n] || (GtQ[c, 0] 
 &&  !(EqQ[n, -2^(-1)] && EqQ[c^2 - d^2, 0] && GtQ[-d/(b*c), 0])))
 

rule 882
Int[(x_)^(m_.)*((a_) + (b_.)*(x_)^(n_))^(p_), x_Symbol] :> Simp[a^Simplify[ 
(m + 1)/n + p]*x^m*(a + b*x^n)^p*((x^n/(a + b*x^n))^p/(n*x^Simplify[m + n*p 
]))   Subst[Int[x^((m + 1)/n - 1)/(1 - b*x)^(Simplify[(m + 1)/n + p] + 1), 
x], x, x^n/(a + b*x^n)], x] /; FreeQ[{a, b, m, n, p}, x] && IntegerQ[Simpli 
fy[(m + 1)/n + p]]
 
Maple [F]

\[\int x^{2-3 p} \left (b \,x^{3}+a \right )^{p}d x\]

Input:

int(x^(2-3*p)*(b*x^3+a)^p,x)
 

Output:

int(x^(2-3*p)*(b*x^3+a)^p,x)
 

Fricas [F]

\[ \int x^{2-3 p} \left (a+b x^3\right )^p \, dx=\int { {\left (b x^{3} + a\right )}^{p} x^{-3 \, p + 2} \,d x } \] Input:

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

Output:

integral((b*x^3 + a)^p*x^(-3*p + 2), x)
 

Sympy [C] (verification not implemented)

Result contains complex when optimal does not.

Time = 98.81 (sec) , antiderivative size = 39, normalized size of antiderivative = 0.61 \[ \int x^{2-3 p} \left (a+b x^3\right )^p \, dx=\frac {a^{p} x^{3 - 3 p} \Gamma \left (1 - p\right ) {{}_{2}F_{1}\left (\begin {matrix} - p, 1 - p \\ 2 - p \end {matrix}\middle | {\frac {b x^{3} e^{i \pi }}{a}} \right )}}{3 \Gamma \left (2 - p\right )} \] Input:

integrate(x**(2-3*p)*(b*x**3+a)**p,x)
 

Output:

a**p*x**(3 - 3*p)*gamma(1 - p)*hyper((-p, 1 - p), (2 - p,), b*x**3*exp_pol 
ar(I*pi)/a)/(3*gamma(2 - p))
 

Maxima [F]

\[ \int x^{2-3 p} \left (a+b x^3\right )^p \, dx=\int { {\left (b x^{3} + a\right )}^{p} x^{-3 \, p + 2} \,d x } \] Input:

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

Output:

integrate((b*x^3 + a)^p*x^(-3*p + 2), x)
 

Giac [F]

\[ \int x^{2-3 p} \left (a+b x^3\right )^p \, dx=\int { {\left (b x^{3} + a\right )}^{p} x^{-3 \, p + 2} \,d x } \] Input:

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

Output:

integrate((b*x^3 + a)^p*x^(-3*p + 2), x)
 

Mupad [F(-1)]

Timed out. \[ \int x^{2-3 p} \left (a+b x^3\right )^p \, dx=\int x^{2-3\,p}\,{\left (b\,x^3+a\right )}^p \,d x \] Input:

int(x^(2 - 3*p)*(a + b*x^3)^p,x)
 

Output:

int(x^(2 - 3*p)*(a + b*x^3)^p, x)
 

Reduce [F]

\[ \int x^{2-3 p} \left (a+b x^3\right )^p \, dx=\frac {\left (b \,x^{3}+a \right )^{p} x^{3}+3 x^{3 p} \left (\int \frac {\left (b \,x^{3}+a \right )^{p} x^{2}}{x^{3 p} a +x^{3 p} b \,x^{3}}d x \right ) a p}{3 x^{3 p}} \] Input:

int(x^(2-3*p)*(b*x^3+a)^p,x)
 

Output:

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