\(\int \frac {(d+e x^3) (a+b x^3+c x^6)^p}{x^5} \, dx\) [80]

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

Optimal result

Integrand size = 25, antiderivative size = 277 \[ \int \frac {\left (d+e x^3\right ) \left (a+b x^3+c x^6\right )^p}{x^5} \, dx=-\frac {d \left (1+\frac {2 c x^3}{b-\sqrt {b^2-4 a c}}\right )^{-p} \left (1+\frac {2 c x^3}{b+\sqrt {b^2-4 a c}}\right )^{-p} \left (a+b x^3+c x^6\right )^p \operatorname {AppellF1}\left (-\frac {4}{3},-p,-p,-\frac {1}{3},-\frac {2 c x^3}{b-\sqrt {b^2-4 a c}},-\frac {2 c x^3}{b+\sqrt {b^2-4 a c}}\right )}{4 x^4}-\frac {e \left (1+\frac {2 c x^3}{b-\sqrt {b^2-4 a c}}\right )^{-p} \left (1+\frac {2 c x^3}{b+\sqrt {b^2-4 a c}}\right )^{-p} \left (a+b x^3+c x^6\right )^p \operatorname {AppellF1}\left (-\frac {1}{3},-p,-p,\frac {2}{3},-\frac {2 c x^3}{b-\sqrt {b^2-4 a c}},-\frac {2 c x^3}{b+\sqrt {b^2-4 a c}}\right )}{x} \] Output:

-1/4*d*(c*x^6+b*x^3+a)^p*AppellF1(-4/3,-p,-p,-1/3,-2*c*x^3/(b-(-4*a*c+b^2) 
^(1/2)),-2*c*x^3/(b+(-4*a*c+b^2)^(1/2)))/x^4/((1+2*c*x^3/(b-(-4*a*c+b^2)^( 
1/2)))^p)/((1+2*c*x^3/(b+(-4*a*c+b^2)^(1/2)))^p)-e*(c*x^6+b*x^3+a)^p*Appel 
lF1(-1/3,-p,-p,2/3,-2*c*x^3/(b-(-4*a*c+b^2)^(1/2)),-2*c*x^3/(b+(-4*a*c+b^2 
)^(1/2)))/x/((1+2*c*x^3/(b-(-4*a*c+b^2)^(1/2)))^p)/((1+2*c*x^3/(b+(-4*a*c+ 
b^2)^(1/2)))^p)
 

Mathematica [A] (verified)

Time = 0.68 (sec) , antiderivative size = 234, normalized size of antiderivative = 0.84 \[ \int \frac {\left (d+e x^3\right ) \left (a+b x^3+c x^6\right )^p}{x^5} \, dx=-\frac {\left (\frac {b-\sqrt {b^2-4 a c}+2 c x^3}{b-\sqrt {b^2-4 a c}}\right )^{-p} \left (\frac {b+\sqrt {b^2-4 a c}+2 c x^3}{b+\sqrt {b^2-4 a c}}\right )^{-p} \left (a+b x^3+c x^6\right )^p \left (d \operatorname {AppellF1}\left (-\frac {4}{3},-p,-p,-\frac {1}{3},-\frac {2 c x^3}{b+\sqrt {b^2-4 a c}},\frac {2 c x^3}{-b+\sqrt {b^2-4 a c}}\right )+4 e x^3 \operatorname {AppellF1}\left (-\frac {1}{3},-p,-p,\frac {2}{3},-\frac {2 c x^3}{b+\sqrt {b^2-4 a c}},\frac {2 c x^3}{-b+\sqrt {b^2-4 a c}}\right )\right )}{4 x^4} \] Input:

Integrate[((d + e*x^3)*(a + b*x^3 + c*x^6)^p)/x^5,x]
 

Output:

-1/4*((a + b*x^3 + c*x^6)^p*(d*AppellF1[-4/3, -p, -p, -1/3, (-2*c*x^3)/(b 
+ Sqrt[b^2 - 4*a*c]), (2*c*x^3)/(-b + Sqrt[b^2 - 4*a*c])] + 4*e*x^3*Appell 
F1[-1/3, -p, -p, 2/3, (-2*c*x^3)/(b + Sqrt[b^2 - 4*a*c]), (2*c*x^3)/(-b + 
Sqrt[b^2 - 4*a*c])]))/(x^4*((b - Sqrt[b^2 - 4*a*c] + 2*c*x^3)/(b - Sqrt[b^ 
2 - 4*a*c]))^p*((b + Sqrt[b^2 - 4*a*c] + 2*c*x^3)/(b + Sqrt[b^2 - 4*a*c])) 
^p)
 

Rubi [A] (verified)

Time = 0.45 (sec) , antiderivative size = 277, 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.080, Rules used = {1864, 2009}

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 \frac {\left (d+e x^3\right ) \left (a+b x^3+c x^6\right )^p}{x^5} \, dx\)

\(\Big \downarrow \) 1864

\(\displaystyle \int \left (\frac {d \left (a+b x^3+c x^6\right )^p}{x^5}+\frac {e \left (a+b x^3+c x^6\right )^p}{x^2}\right )dx\)

\(\Big \downarrow \) 2009

\(\displaystyle -\frac {d \left (\frac {2 c x^3}{b-\sqrt {b^2-4 a c}}+1\right )^{-p} \left (a+b x^3+c x^6\right )^p \left (\frac {2 c x^3}{\sqrt {b^2-4 a c}+b}+1\right )^{-p} \operatorname {AppellF1}\left (-\frac {4}{3},-p,-p,-\frac {1}{3},-\frac {2 c x^3}{b-\sqrt {b^2-4 a c}},-\frac {2 c x^3}{b+\sqrt {b^2-4 a c}}\right )}{4 x^4}-\frac {e \left (\frac {2 c x^3}{b-\sqrt {b^2-4 a c}}+1\right )^{-p} \left (a+b x^3+c x^6\right )^p \left (\frac {2 c x^3}{\sqrt {b^2-4 a c}+b}+1\right )^{-p} \operatorname {AppellF1}\left (-\frac {1}{3},-p,-p,\frac {2}{3},-\frac {2 c x^3}{b-\sqrt {b^2-4 a c}},-\frac {2 c x^3}{b+\sqrt {b^2-4 a c}}\right )}{x}\)

Input:

Int[((d + e*x^3)*(a + b*x^3 + c*x^6)^p)/x^5,x]
 

Output:

-1/4*(d*(a + b*x^3 + c*x^6)^p*AppellF1[-4/3, -p, -p, -1/3, (-2*c*x^3)/(b - 
 Sqrt[b^2 - 4*a*c]), (-2*c*x^3)/(b + Sqrt[b^2 - 4*a*c])])/(x^4*(1 + (2*c*x 
^3)/(b - Sqrt[b^2 - 4*a*c]))^p*(1 + (2*c*x^3)/(b + Sqrt[b^2 - 4*a*c]))^p) 
- (e*(a + b*x^3 + c*x^6)^p*AppellF1[-1/3, -p, -p, 2/3, (-2*c*x^3)/(b - Sqr 
t[b^2 - 4*a*c]), (-2*c*x^3)/(b + Sqrt[b^2 - 4*a*c])])/(x*(1 + (2*c*x^3)/(b 
 - Sqrt[b^2 - 4*a*c]))^p*(1 + (2*c*x^3)/(b + Sqrt[b^2 - 4*a*c]))^p)
 

Defintions of rubi rules used

rule 1864
Int[((f_.)*(x_))^(m_.)*((a_) + (c_.)*(x_)^(n2_.) + (b_.)*(x_)^(n_))^(p_.)*( 
(d_) + (e_.)*(x_)^(n_))^(q_.), x_Symbol] :> Int[ExpandIntegrand[(a + b*x^n 
+ c*x^(2*n))^p, (f*x)^m*(d + e*x^n)^q, x], x] /; FreeQ[{a, b, c, d, e, f, m 
, q}, x] && EqQ[n2, 2*n] && NeQ[b^2 - 4*a*c, 0] && IGtQ[n, 0] && IGtQ[q, 0]
 

rule 2009
Int[u_, x_Symbol] :> Simp[IntSum[u, x], x] /; SumQ[u]
 
Maple [F]

\[\int \frac {\left (e \,x^{3}+d \right ) \left (c \,x^{6}+b \,x^{3}+a \right )^{p}}{x^{5}}d x\]

Input:

int((e*x^3+d)*(c*x^6+b*x^3+a)^p/x^5,x)
 

Output:

int((e*x^3+d)*(c*x^6+b*x^3+a)^p/x^5,x)
 

Fricas [F]

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

integrate((e*x^3+d)*(c*x^6+b*x^3+a)^p/x^5,x, algorithm="fricas")
 

Output:

integral((e*x^3 + d)*(c*x^6 + b*x^3 + a)^p/x^5, x)
 

Sympy [F(-1)]

Timed out. \[ \int \frac {\left (d+e x^3\right ) \left (a+b x^3+c x^6\right )^p}{x^5} \, dx=\text {Timed out} \] Input:

integrate((e*x**3+d)*(c*x**6+b*x**3+a)**p/x**5,x)
 

Output:

Timed out
 

Maxima [F]

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

integrate((e*x^3+d)*(c*x^6+b*x^3+a)^p/x^5,x, algorithm="maxima")
 

Output:

integrate((e*x^3 + d)*(c*x^6 + b*x^3 + a)^p/x^5, x)
 

Giac [F]

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

integrate((e*x^3+d)*(c*x^6+b*x^3+a)^p/x^5,x, algorithm="giac")
 

Output:

integrate((e*x^3 + d)*(c*x^6 + b*x^3 + a)^p/x^5, x)
 

Mupad [F(-1)]

Timed out. \[ \int \frac {\left (d+e x^3\right ) \left (a+b x^3+c x^6\right )^p}{x^5} \, dx=\int \frac {\left (e\,x^3+d\right )\,{\left (c\,x^6+b\,x^3+a\right )}^p}{x^5} \,d x \] Input:

int(((d + e*x^3)*(a + b*x^3 + c*x^6)^p)/x^5,x)
 

Output:

int(((d + e*x^3)*(a + b*x^3 + c*x^6)^p)/x^5, x)
 

Reduce [F]

\[ \int \frac {\left (d+e x^3\right ) \left (a+b x^3+c x^6\right )^p}{x^5} \, dx =\text {Too large to display} \] Input:

int((e*x^3+d)*(c*x^6+b*x^3+a)^p/x^5,x)
 

Output:

( - 6*(a + b*x**3 + c*x**6)**p*d*p + (a + b*x**3 + c*x**6)**p*d + 4*(a + b 
*x**3 + c*x**6)**p*e*x**3 + 432*int((a + b*x**3 + c*x**6)**p/(18*a*p**2*x* 
*2 - 27*a*p*x**2 + 4*a*x**2 + 18*b*p**2*x**5 - 27*b*p*x**5 + 4*b*x**5 + 18 
*c*p**2*x**8 - 27*c*p*x**8 + 4*c*x**8),x)*a*e*p**3*x**4 - 648*int((a + b*x 
**3 + c*x**6)**p/(18*a*p**2*x**2 - 27*a*p*x**2 + 4*a*x**2 + 18*b*p**2*x**5 
 - 27*b*p*x**5 + 4*b*x**5 + 18*c*p**2*x**8 - 27*c*p*x**8 + 4*c*x**8),x)*a* 
e*p**2*x**4 + 96*int((a + b*x**3 + c*x**6)**p/(18*a*p**2*x**2 - 27*a*p*x** 
2 + 4*a*x**2 + 18*b*p**2*x**5 - 27*b*p*x**5 + 4*b*x**5 + 18*c*p**2*x**8 - 
27*c*p*x**8 + 4*c*x**8),x)*a*e*p*x**4 + 324*int((a + b*x**3 + c*x**6)**p/( 
18*a*p**2*x**2 - 27*a*p*x**2 + 4*a*x**2 + 18*b*p**2*x**5 - 27*b*p*x**5 + 4 
*b*x**5 + 18*c*p**2*x**8 - 27*c*p*x**8 + 4*c*x**8),x)*b*d*p**4*x**4 - 540* 
int((a + b*x**3 + c*x**6)**p/(18*a*p**2*x**2 - 27*a*p*x**2 + 4*a*x**2 + 18 
*b*p**2*x**5 - 27*b*p*x**5 + 4*b*x**5 + 18*c*p**2*x**8 - 27*c*p*x**8 + 4*c 
*x**8),x)*b*d*p**3*x**4 + 153*int((a + b*x**3 + c*x**6)**p/(18*a*p**2*x**2 
 - 27*a*p*x**2 + 4*a*x**2 + 18*b*p**2*x**5 - 27*b*p*x**5 + 4*b*x**5 + 18*c 
*p**2*x**8 - 27*c*p*x**8 + 4*c*x**8),x)*b*d*p**2*x**4 - 12*int((a + b*x**3 
 + c*x**6)**p/(18*a*p**2*x**2 - 27*a*p*x**2 + 4*a*x**2 + 18*b*p**2*x**5 - 
27*b*p*x**5 + 4*b*x**5 + 18*c*p**2*x**8 - 27*c*p*x**8 + 4*c*x**8),x)*b*d*p 
*x**4 + 216*int(((a + b*x**3 + c*x**6)**p*x)/(18*a*p**2 - 27*a*p + 4*a + 1 
8*b*p**2*x**3 - 27*b*p*x**3 + 4*b*x**3 + 18*c*p**2*x**6 - 27*c*p*x**6 +...