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

Optimal. Leaf size=293 \[ \frac{\sqrt [3]{a} (e+f x)^{n+1} \, _2F_1\left (1,n+1;n+2;\frac{\sqrt [3]{b} (e+f x)}{\sqrt [3]{b} e-\sqrt [3]{a} f}\right )}{3 b (n+1) \left (\sqrt [3]{b} e-\sqrt [3]{a} f\right )}+\frac{\sqrt [3]{a} (e+f x)^{n+1} \, _2F_1\left (1,n+1;n+2;\frac{(-1)^{2/3} \sqrt [3]{b} (e+f x)}{(-1)^{2/3} \sqrt [3]{b} e-\sqrt [3]{a} f}\right )}{3 b (n+1) \left ((-1)^{2/3} \sqrt [3]{b} e-\sqrt [3]{a} f\right )}-\frac{\sqrt [3]{a} (e+f x)^{n+1} \, _2F_1\left (1,n+1;n+2;\frac{\sqrt [3]{-1} \sqrt [3]{b} (e+f x)}{\sqrt [3]{-1} \sqrt [3]{b} e+\sqrt [3]{a} f}\right )}{3 b (n+1) \left (\sqrt [3]{a} f+\sqrt [3]{-1} \sqrt [3]{b} e\right )}+\frac{(e+f x)^{n+1}}{b f (n+1)} \]

[Out]

(e + f*x)^(1 + n)/(b*f*(1 + n)) + (a^(1/3)*(e + f*x)^(1 + n)*Hypergeometric2F1[1
, 1 + n, 2 + n, (b^(1/3)*(e + f*x))/(b^(1/3)*e - a^(1/3)*f)])/(3*b*(b^(1/3)*e -
a^(1/3)*f)*(1 + n)) + (a^(1/3)*(e + f*x)^(1 + n)*Hypergeometric2F1[1, 1 + n, 2 +
 n, ((-1)^(2/3)*b^(1/3)*(e + f*x))/((-1)^(2/3)*b^(1/3)*e - a^(1/3)*f)])/(3*b*((-
1)^(2/3)*b^(1/3)*e - a^(1/3)*f)*(1 + n)) - (a^(1/3)*(e + f*x)^(1 + n)*Hypergeome
tric2F1[1, 1 + n, 2 + n, ((-1)^(1/3)*b^(1/3)*(e + f*x))/((-1)^(1/3)*b^(1/3)*e +
a^(1/3)*f)])/(3*b*((-1)^(1/3)*b^(1/3)*e + a^(1/3)*f)*(1 + n))

_______________________________________________________________________________________

Rubi [A]  time = 1.1952, antiderivative size = 293, normalized size of antiderivative = 1., number of steps used = 7, number of rules used = 2, integrand size = 20, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.1 \[ \frac{\sqrt [3]{a} (e+f x)^{n+1} \, _2F_1\left (1,n+1;n+2;\frac{\sqrt [3]{b} (e+f x)}{\sqrt [3]{b} e-\sqrt [3]{a} f}\right )}{3 b (n+1) \left (\sqrt [3]{b} e-\sqrt [3]{a} f\right )}+\frac{\sqrt [3]{a} (e+f x)^{n+1} \, _2F_1\left (1,n+1;n+2;\frac{(-1)^{2/3} \sqrt [3]{b} (e+f x)}{(-1)^{2/3} \sqrt [3]{b} e-\sqrt [3]{a} f}\right )}{3 b (n+1) \left ((-1)^{2/3} \sqrt [3]{b} e-\sqrt [3]{a} f\right )}-\frac{\sqrt [3]{a} (e+f x)^{n+1} \, _2F_1\left (1,n+1;n+2;\frac{\sqrt [3]{-1} \sqrt [3]{b} (e+f x)}{\sqrt [3]{-1} \sqrt [3]{b} e+\sqrt [3]{a} f}\right )}{3 b (n+1) \left (\sqrt [3]{a} f+\sqrt [3]{-1} \sqrt [3]{b} e\right )}+\frac{(e+f x)^{n+1}}{b f (n+1)} \]

Antiderivative was successfully verified.

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

[Out]

(e + f*x)^(1 + n)/(b*f*(1 + n)) + (a^(1/3)*(e + f*x)^(1 + n)*Hypergeometric2F1[1
, 1 + n, 2 + n, (b^(1/3)*(e + f*x))/(b^(1/3)*e - a^(1/3)*f)])/(3*b*(b^(1/3)*e -
a^(1/3)*f)*(1 + n)) + (a^(1/3)*(e + f*x)^(1 + n)*Hypergeometric2F1[1, 1 + n, 2 +
 n, ((-1)^(2/3)*b^(1/3)*(e + f*x))/((-1)^(2/3)*b^(1/3)*e - a^(1/3)*f)])/(3*b*((-
1)^(2/3)*b^(1/3)*e - a^(1/3)*f)*(1 + n)) - (a^(1/3)*(e + f*x)^(1 + n)*Hypergeome
tric2F1[1, 1 + n, 2 + n, ((-1)^(1/3)*b^(1/3)*(e + f*x))/((-1)^(1/3)*b^(1/3)*e +
a^(1/3)*f)])/(3*b*((-1)^(1/3)*b^(1/3)*e + a^(1/3)*f)*(1 + n))

_______________________________________________________________________________________

Rubi in Sympy [A]  time = 120.717, size = 243, normalized size = 0.83 \[ - \frac{\sqrt [3]{a} \left (e + f x\right )^{n + 1}{{}_{2}F_{1}\left (\begin{matrix} 1, n + 1 \\ n + 2 \end{matrix}\middle |{\frac{\left (-1\right )^{\frac{2}{3}} \sqrt [3]{b} \left (e + f x\right )}{- \sqrt [3]{a} f + \left (-1\right )^{\frac{2}{3}} \sqrt [3]{b} e}} \right )}}{3 b \left (n + 1\right ) \left (\sqrt [3]{a} f - \left (-1\right )^{\frac{2}{3}} \sqrt [3]{b} e\right )} - \frac{\sqrt [3]{a} \left (e + f x\right )^{n + 1}{{}_{2}F_{1}\left (\begin{matrix} 1, n + 1 \\ n + 2 \end{matrix}\middle |{\frac{\sqrt [3]{-1} \sqrt [3]{b} \left (e + f x\right )}{\sqrt [3]{a} f + \sqrt [3]{-1} \sqrt [3]{b} e}} \right )}}{3 b \left (n + 1\right ) \left (\sqrt [3]{a} f + \sqrt [3]{-1} \sqrt [3]{b} e\right )} - \frac{\sqrt [3]{a} \left (e + f x\right )^{n + 1}{{}_{2}F_{1}\left (\begin{matrix} 1, n + 1 \\ n + 2 \end{matrix}\middle |{\frac{\sqrt [3]{b} \left (e + f x\right )}{- \sqrt [3]{a} f + \sqrt [3]{b} e}} \right )}}{3 b \left (n + 1\right ) \left (\sqrt [3]{a} f - \sqrt [3]{b} e\right )} + \frac{\left (e + f x\right )^{n + 1}}{b f \left (n + 1\right )} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  rubi_integrate(x**3*(f*x+e)**n/(b*x**3+a),x)

[Out]

-a**(1/3)*(e + f*x)**(n + 1)*hyper((1, n + 1), (n + 2,), (-1)**(2/3)*b**(1/3)*(e
 + f*x)/(-a**(1/3)*f + (-1)**(2/3)*b**(1/3)*e))/(3*b*(n + 1)*(a**(1/3)*f - (-1)*
*(2/3)*b**(1/3)*e)) - a**(1/3)*(e + f*x)**(n + 1)*hyper((1, n + 1), (n + 2,), (-
1)**(1/3)*b**(1/3)*(e + f*x)/(a**(1/3)*f + (-1)**(1/3)*b**(1/3)*e))/(3*b*(n + 1)
*(a**(1/3)*f + (-1)**(1/3)*b**(1/3)*e)) - a**(1/3)*(e + f*x)**(n + 1)*hyper((1,
n + 1), (n + 2,), b**(1/3)*(e + f*x)/(-a**(1/3)*f + b**(1/3)*e))/(3*b*(n + 1)*(a
**(1/3)*f - b**(1/3)*e)) + (e + f*x)**(n + 1)/(b*f*(n + 1))

_______________________________________________________________________________________

Mathematica [C]  time = 0.141482, size = 142, normalized size = 0.48 \[ \frac{(e+f x)^n \left (\frac{3 b (e+f x)}{n+1}-\frac{a f^3 \text{RootSum}\left [-\text{$\#$1}^3 b+3 \text{$\#$1}^2 b e-3 \text{$\#$1} b e^2-a f^3+b e^3\&,\frac{\left (\frac{e+f x}{-\text{$\#$1}+e+f x}\right )^{-n} \, _2F_1\left (-n,-n;1-n;-\frac{\text{$\#$1}}{e+f x-\text{$\#$1}}\right )}{\text{$\#$1}^2-2 \text{$\#$1} e+e^2}\&\right ]}{n}\right )}{3 b^2 f} \]

Warning: Unable to verify antiderivative.

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

[Out]

((e + f*x)^n*((3*b*(e + f*x))/(1 + n) - (a*f^3*RootSum[b*e^3 - a*f^3 - 3*b*e^2*#
1 + 3*b*e*#1^2 - b*#1^3 & , Hypergeometric2F1[-n, -n, 1 - n, -(#1/(e + f*x - #1)
)]/(((e + f*x)/(e + f*x - #1))^n*(e^2 - 2*e*#1 + #1^2)) & ])/n))/(3*b^2*f)

_______________________________________________________________________________________

Maple [F]  time = 0.075, size = 0, normalized size = 0. \[ \int{\frac{{x}^{3} \left ( fx+e \right ) ^{n}}{b{x}^{3}+a}}\, dx \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  int(x^3*(f*x+e)^n/(b*x^3+a),x)

[Out]

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

_______________________________________________________________________________________

Maxima [F]  time = 0., size = 0, normalized size = 0. \[ \int \frac{{\left (f x + e\right )}^{n} x^{3}}{b x^{3} + a}\,{d x} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate((f*x + e)^n*x^3/(b*x^3 + a),x, algorithm="maxima")

[Out]

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

_______________________________________________________________________________________

Fricas [F]  time = 0., size = 0, normalized size = 0. \[{\rm integral}\left (\frac{{\left (f x + e\right )}^{n} x^{3}}{b x^{3} + a}, x\right ) \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate((f*x + e)^n*x^3/(b*x^3 + a),x, algorithm="fricas")

[Out]

integral((f*x + e)^n*x^3/(b*x^3 + a), x)

_______________________________________________________________________________________

Sympy [F(-1)]  time = 0., size = 0, normalized size = 0. \[ \text{Timed out} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate(x**3*(f*x+e)**n/(b*x**3+a),x)

[Out]

Timed out

_______________________________________________________________________________________

GIAC/XCAS [F]  time = 0., size = 0, normalized size = 0. \[ \int \frac{{\left (f x + e\right )}^{n} x^{3}}{b x^{3} + a}\,{d x} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate((f*x + e)^n*x^3/(b*x^3 + a),x, algorithm="giac")

[Out]

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