Integrand size = 32, antiderivative size = 575 \[ \int \frac {c+d x+e x^2+f x^3+g x^4}{\left (a+b x^3\right )^{3/2}} \, dx=-\frac {2 \left (a e-(b c-a f) x-(b d-a g) x^2\right )}{3 a b \sqrt {a+b x^3}}-\frac {2 (b d-4 a g) \sqrt {a+b x^3}}{3 a b^{5/3} \left (\left (1+\sqrt {3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x\right )}+\frac {\sqrt {2-\sqrt {3}} (b d-4 a g) \left (\sqrt [3]{a}+\sqrt [3]{b} x\right ) \sqrt {\frac {a^{2/3}-\sqrt [3]{a} \sqrt [3]{b} x+b^{2/3} x^2}{\left (\left (1+\sqrt {3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x\right )^2}} E\left (\arcsin \left (\frac {\left (1-\sqrt {3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x}{\left (1+\sqrt {3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x}\right )|-7-4 \sqrt {3}\right )}{3^{3/4} a^{2/3} b^{5/3} \sqrt {\frac {\sqrt [3]{a} \left (\sqrt [3]{a}+\sqrt [3]{b} x\right )}{\left (\left (1+\sqrt {3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x\right )^2}} \sqrt {a+b x^3}}+\frac {2 \sqrt {2+\sqrt {3}} \left (\sqrt [3]{b} (b c+2 a f)+\left (1-\sqrt {3}\right ) \sqrt [3]{a} (b d-4 a g)\right ) \left (\sqrt [3]{a}+\sqrt [3]{b} x\right ) \sqrt {\frac {a^{2/3}-\sqrt [3]{a} \sqrt [3]{b} x+b^{2/3} x^2}{\left (\left (1+\sqrt {3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x\right )^2}} \operatorname {EllipticF}\left (\arcsin \left (\frac {\left (1-\sqrt {3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x}{\left (1+\sqrt {3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x}\right ),-7-4 \sqrt {3}\right )}{3 \sqrt [4]{3} a b^{5/3} \sqrt {\frac {\sqrt [3]{a} \left (\sqrt [3]{a}+\sqrt [3]{b} x\right )}{\left (\left (1+\sqrt {3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x\right )^2}} \sqrt {a+b x^3}} \] Output:
1/3*(-2*a*e+2*(-a*f+b*c)*x+2*(-a*g+b*d)*x^2)/a/b/(b*x^3+a)^(1/2)-2/3*(-4*a *g+b*d)*(b*x^3+a)^(1/2)/a/b^(5/3)/((1+3^(1/2))*a^(1/3)+b^(1/3)*x)+1/3*(1/2 *6^(1/2)-1/2*2^(1/2))*(-4*a*g+b*d)*(a^(1/3)+b^(1/3)*x)*((a^(2/3)-a^(1/3)*b ^(1/3)*x+b^(2/3)*x^2)/((1+3^(1/2))*a^(1/3)+b^(1/3)*x)^2)^(1/2)*EllipticE(( (1-3^(1/2))*a^(1/3)+b^(1/3)*x)/((1+3^(1/2))*a^(1/3)+b^(1/3)*x),I*3^(1/2)+2 *I)*3^(1/4)/a^(2/3)/b^(5/3)/(a^(1/3)*(a^(1/3)+b^(1/3)*x)/((1+3^(1/2))*a^(1 /3)+b^(1/3)*x)^2)^(1/2)/(b*x^3+a)^(1/2)+2/9*(1/2*6^(1/2)+1/2*2^(1/2))*(b^( 1/3)*(2*a*f+b*c)+(1-3^(1/2))*a^(1/3)*(-4*a*g+b*d))*(a^(1/3)+b^(1/3)*x)*((a ^(2/3)-a^(1/3)*b^(1/3)*x+b^(2/3)*x^2)/((1+3^(1/2))*a^(1/3)+b^(1/3)*x)^2)^( 1/2)*EllipticF(((1-3^(1/2))*a^(1/3)+b^(1/3)*x)/((1+3^(1/2))*a^(1/3)+b^(1/3 )*x),I*3^(1/2)+2*I)*3^(3/4)/a/b^(5/3)/(a^(1/3)*(a^(1/3)+b^(1/3)*x)/((1+3^( 1/2))*a^(1/3)+b^(1/3)*x)^2)^(1/2)/(b*x^3+a)^(1/2)
Result contains higher order function than in optimal. Order 5 vs. order 4 in optimal.
Time = 10.09 (sec) , antiderivative size = 130, normalized size of antiderivative = 0.23 \[ \int \frac {c+d x+e x^2+f x^3+g x^4}{\left (a+b x^3\right )^{3/2}} \, dx=\frac {4 b c x-4 a (e+x (f-3 g x))+2 (b c+2 a f) x \sqrt {1+\frac {b x^3}{a}} \operatorname {Hypergeometric2F1}\left (\frac {1}{3},\frac {1}{2},\frac {4}{3},-\frac {b x^3}{a}\right )+3 (b d-4 a g) x^2 \sqrt {1+\frac {b x^3}{a}} \operatorname {Hypergeometric2F1}\left (\frac {2}{3},\frac {3}{2},\frac {5}{3},-\frac {b x^3}{a}\right )}{6 a b \sqrt {a+b x^3}} \] Input:
Integrate[(c + d*x + e*x^2 + f*x^3 + g*x^4)/(a + b*x^3)^(3/2),x]
Output:
(4*b*c*x - 4*a*(e + x*(f - 3*g*x)) + 2*(b*c + 2*a*f)*x*Sqrt[1 + (b*x^3)/a] *Hypergeometric2F1[1/3, 1/2, 4/3, -((b*x^3)/a)] + 3*(b*d - 4*a*g)*x^2*Sqrt [1 + (b*x^3)/a]*Hypergeometric2F1[2/3, 3/2, 5/3, -((b*x^3)/a)])/(6*a*b*Sqr t[a + b*x^3])
Time = 1.31 (sec) , antiderivative size = 589, normalized size of antiderivative = 1.02, number of steps used = 7, number of rules used = 7, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.219, Rules used = {2397, 27, 2425, 793, 2417, 759, 2416}
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 {c+d x+e x^2+f x^3+g x^4}{\left (a+b x^3\right )^{3/2}} \, dx\) |
\(\Big \downarrow \) 2397 |
\(\displaystyle \frac {2 x \left (x (b d-a g)-a f+b c+b e x^2\right )}{3 a b \sqrt {a+b x^3}}-\frac {2 \int -\frac {-3 b^2 e x^2-b (b d-4 a g) x+b (b c+2 a f)}{2 \sqrt {b x^3+a}}dx}{3 a b^2}\) |
\(\Big \downarrow \) 27 |
\(\displaystyle \frac {\int \frac {-3 b^2 e x^2-b (b d-4 a g) x+b (b c+2 a f)}{\sqrt {b x^3+a}}dx}{3 a b^2}+\frac {2 x \left (x (b d-a g)-a f+b c+b e x^2\right )}{3 a b \sqrt {a+b x^3}}\) |
\(\Big \downarrow \) 2425 |
\(\displaystyle \frac {\int \frac {b (b c+2 a f)-b (b d-4 a g) x}{\sqrt {b x^3+a}}dx-3 b^2 e \int \frac {x^2}{\sqrt {b x^3+a}}dx}{3 a b^2}+\frac {2 x \left (x (b d-a g)-a f+b c+b e x^2\right )}{3 a b \sqrt {a+b x^3}}\) |
\(\Big \downarrow \) 793 |
\(\displaystyle \frac {\int \frac {b (b c+2 a f)-b (b d-4 a g) x}{\sqrt {b x^3+a}}dx-2 b e \sqrt {a+b x^3}}{3 a b^2}+\frac {2 x \left (x (b d-a g)-a f+b c+b e x^2\right )}{3 a b \sqrt {a+b x^3}}\) |
\(\Big \downarrow \) 2417 |
\(\displaystyle \frac {b^{2/3} \left (\sqrt [3]{b} (2 a f+b c)+\left (1-\sqrt {3}\right ) \sqrt [3]{a} (b d-4 a g)\right ) \int \frac {1}{\sqrt {b x^3+a}}dx-b^{2/3} (b d-4 a g) \int \frac {\sqrt [3]{b} x+\left (1-\sqrt {3}\right ) \sqrt [3]{a}}{\sqrt {b x^3+a}}dx-2 b e \sqrt {a+b x^3}}{3 a b^2}+\frac {2 x \left (x (b d-a g)-a f+b c+b e x^2\right )}{3 a b \sqrt {a+b x^3}}\) |
\(\Big \downarrow \) 759 |
\(\displaystyle \frac {-b^{2/3} (b d-4 a g) \int \frac {\sqrt [3]{b} x+\left (1-\sqrt {3}\right ) \sqrt [3]{a}}{\sqrt {b x^3+a}}dx+\frac {2 \sqrt {2+\sqrt {3}} \sqrt [3]{b} \left (\sqrt [3]{a}+\sqrt [3]{b} x\right ) \sqrt {\frac {a^{2/3}-\sqrt [3]{a} \sqrt [3]{b} x+b^{2/3} x^2}{\left (\left (1+\sqrt {3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x\right )^2}} \operatorname {EllipticF}\left (\arcsin \left (\frac {\sqrt [3]{b} x+\left (1-\sqrt {3}\right ) \sqrt [3]{a}}{\sqrt [3]{b} x+\left (1+\sqrt {3}\right ) \sqrt [3]{a}}\right ),-7-4 \sqrt {3}\right ) \left (\sqrt [3]{b} (2 a f+b c)+\left (1-\sqrt {3}\right ) \sqrt [3]{a} (b d-4 a g)\right )}{\sqrt [4]{3} \sqrt {\frac {\sqrt [3]{a} \left (\sqrt [3]{a}+\sqrt [3]{b} x\right )}{\left (\left (1+\sqrt {3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x\right )^2}} \sqrt {a+b x^3}}-2 b e \sqrt {a+b x^3}}{3 a b^2}+\frac {2 x \left (x (b d-a g)-a f+b c+b e x^2\right )}{3 a b \sqrt {a+b x^3}}\) |
\(\Big \downarrow \) 2416 |
\(\displaystyle \frac {\frac {2 \sqrt {2+\sqrt {3}} \sqrt [3]{b} \left (\sqrt [3]{a}+\sqrt [3]{b} x\right ) \sqrt {\frac {a^{2/3}-\sqrt [3]{a} \sqrt [3]{b} x+b^{2/3} x^2}{\left (\left (1+\sqrt {3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x\right )^2}} \operatorname {EllipticF}\left (\arcsin \left (\frac {\sqrt [3]{b} x+\left (1-\sqrt {3}\right ) \sqrt [3]{a}}{\sqrt [3]{b} x+\left (1+\sqrt {3}\right ) \sqrt [3]{a}}\right ),-7-4 \sqrt {3}\right ) \left (\sqrt [3]{b} (2 a f+b c)+\left (1-\sqrt {3}\right ) \sqrt [3]{a} (b d-4 a g)\right )}{\sqrt [4]{3} \sqrt {\frac {\sqrt [3]{a} \left (\sqrt [3]{a}+\sqrt [3]{b} x\right )}{\left (\left (1+\sqrt {3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x\right )^2}} \sqrt {a+b x^3}}-b^{2/3} (b d-4 a g) \left (\frac {2 \sqrt {a+b x^3}}{\sqrt [3]{b} \left (\left (1+\sqrt {3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x\right )}-\frac {\sqrt [4]{3} \sqrt {2-\sqrt {3}} \sqrt [3]{a} \left (\sqrt [3]{a}+\sqrt [3]{b} x\right ) \sqrt {\frac {a^{2/3}-\sqrt [3]{a} \sqrt [3]{b} x+b^{2/3} x^2}{\left (\left (1+\sqrt {3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x\right )^2}} E\left (\arcsin \left (\frac {\sqrt [3]{b} x+\left (1-\sqrt {3}\right ) \sqrt [3]{a}}{\sqrt [3]{b} x+\left (1+\sqrt {3}\right ) \sqrt [3]{a}}\right )|-7-4 \sqrt {3}\right )}{\sqrt [3]{b} \sqrt {\frac {\sqrt [3]{a} \left (\sqrt [3]{a}+\sqrt [3]{b} x\right )}{\left (\left (1+\sqrt {3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x\right )^2}} \sqrt {a+b x^3}}\right )-2 b e \sqrt {a+b x^3}}{3 a b^2}+\frac {2 x \left (x (b d-a g)-a f+b c+b e x^2\right )}{3 a b \sqrt {a+b x^3}}\) |
Input:
Int[(c + d*x + e*x^2 + f*x^3 + g*x^4)/(a + b*x^3)^(3/2),x]
Output:
(2*x*(b*c - a*f + (b*d - a*g)*x + b*e*x^2))/(3*a*b*Sqrt[a + b*x^3]) + (-2* b*e*Sqrt[a + b*x^3] - b^(2/3)*(b*d - 4*a*g)*((2*Sqrt[a + b*x^3])/(b^(1/3)* ((1 + Sqrt[3])*a^(1/3) + b^(1/3)*x)) - (3^(1/4)*Sqrt[2 - Sqrt[3]]*a^(1/3)* (a^(1/3) + b^(1/3)*x)*Sqrt[(a^(2/3) - a^(1/3)*b^(1/3)*x + b^(2/3)*x^2)/((1 + Sqrt[3])*a^(1/3) + b^(1/3)*x)^2]*EllipticE[ArcSin[((1 - Sqrt[3])*a^(1/3 ) + b^(1/3)*x)/((1 + Sqrt[3])*a^(1/3) + b^(1/3)*x)], -7 - 4*Sqrt[3]])/(b^( 1/3)*Sqrt[(a^(1/3)*(a^(1/3) + b^(1/3)*x))/((1 + Sqrt[3])*a^(1/3) + b^(1/3) *x)^2]*Sqrt[a + b*x^3])) + (2*Sqrt[2 + Sqrt[3]]*b^(1/3)*(b^(1/3)*(b*c + 2* a*f) + (1 - Sqrt[3])*a^(1/3)*(b*d - 4*a*g))*(a^(1/3) + b^(1/3)*x)*Sqrt[(a^ (2/3) - a^(1/3)*b^(1/3)*x + b^(2/3)*x^2)/((1 + Sqrt[3])*a^(1/3) + b^(1/3)* x)^2]*EllipticF[ArcSin[((1 - Sqrt[3])*a^(1/3) + b^(1/3)*x)/((1 + Sqrt[3])* a^(1/3) + b^(1/3)*x)], -7 - 4*Sqrt[3]])/(3^(1/4)*Sqrt[(a^(1/3)*(a^(1/3) + b^(1/3)*x))/((1 + Sqrt[3])*a^(1/3) + b^(1/3)*x)^2]*Sqrt[a + b*x^3]))/(3*a* b^2)
Int[(a_)*(Fx_), x_Symbol] :> Simp[a Int[Fx, x], x] /; FreeQ[a, x] && !Ma tchQ[Fx, (b_)*(Gx_) /; FreeQ[b, x]]
Int[1/Sqrt[(a_) + (b_.)*(x_)^3], x_Symbol] :> With[{r = Numer[Rt[b/a, 3]], s = Denom[Rt[b/a, 3]]}, Simp[2*Sqrt[2 + Sqrt[3]]*(s + r*x)*(Sqrt[(s^2 - r*s *x + r^2*x^2)/((1 + Sqrt[3])*s + r*x)^2]/(3^(1/4)*r*Sqrt[a + b*x^3]*Sqrt[s* ((s + r*x)/((1 + Sqrt[3])*s + r*x)^2)]))*EllipticF[ArcSin[((1 - Sqrt[3])*s + r*x)/((1 + Sqrt[3])*s + r*x)], -7 - 4*Sqrt[3]], x]] /; FreeQ[{a, b}, x] & & PosQ[a]
Int[(x_)^(m_.)*((a_) + (b_.)*(x_)^(n_))^(p_), x_Symbol] :> Simp[(a + b*x^n) ^(p + 1)/(b*n*(p + 1)), x] /; FreeQ[{a, b, m, n, p}, x] && EqQ[m, n - 1] && NeQ[p, -1]
Int[(Pq_)*((a_) + (b_.)*(x_)^(n_.))^(p_), x_Symbol] :> With[{q = Expon[Pq, x]}, Module[{Q = PolynomialQuotient[b^(Floor[(q - 1)/n] + 1)*Pq, a + b*x^n, x], R = PolynomialRemainder[b^(Floor[(q - 1)/n] + 1)*Pq, a + b*x^n, x]}, S imp[(-x)*R*((a + b*x^n)^(p + 1)/(a*n*(p + 1)*b^(Floor[(q - 1)/n] + 1))), x] + Simp[1/(a*n*(p + 1)*b^(Floor[(q - 1)/n] + 1)) Int[(a + b*x^n)^(p + 1)* ExpandToSum[a*n*(p + 1)*Q + n*(p + 1)*R + D[x*R, x], x], x], x]] /; GeQ[q, n]] /; FreeQ[{a, b}, x] && PolyQ[Pq, x] && IGtQ[n, 0] && LtQ[p, -1]
Int[((c_) + (d_.)*(x_))/Sqrt[(a_) + (b_.)*(x_)^3], x_Symbol] :> With[{r = N umer[Simplify[(1 - Sqrt[3])*(d/c)]], s = Denom[Simplify[(1 - Sqrt[3])*(d/c) ]]}, Simp[2*d*s^3*(Sqrt[a + b*x^3]/(a*r^2*((1 + Sqrt[3])*s + r*x))), x] - S imp[3^(1/4)*Sqrt[2 - Sqrt[3]]*d*s*(s + r*x)*(Sqrt[(s^2 - r*s*x + r^2*x^2)/( (1 + Sqrt[3])*s + r*x)^2]/(r^2*Sqrt[a + b*x^3]*Sqrt[s*((s + r*x)/((1 + Sqrt [3])*s + r*x)^2)]))*EllipticE[ArcSin[((1 - Sqrt[3])*s + r*x)/((1 + Sqrt[3]) *s + r*x)], -7 - 4*Sqrt[3]], x]] /; FreeQ[{a, b, c, d}, x] && PosQ[a] && Eq Q[b*c^3 - 2*(5 - 3*Sqrt[3])*a*d^3, 0]
Int[((c_) + (d_.)*(x_))/Sqrt[(a_) + (b_.)*(x_)^3], x_Symbol] :> With[{r = N umer[Rt[b/a, 3]], s = Denom[Rt[b/a, 3]]}, Simp[(c*r - (1 - Sqrt[3])*d*s)/r Int[1/Sqrt[a + b*x^3], x], x] + Simp[d/r Int[((1 - Sqrt[3])*s + r*x)/Sq rt[a + b*x^3], x], x]] /; FreeQ[{a, b, c, d}, x] && PosQ[a] && NeQ[b*c^3 - 2*(5 - 3*Sqrt[3])*a*d^3, 0]
Int[(Pq_)*((a_) + (b_.)*(x_)^(n_))^(p_), x_Symbol] :> Simp[Coeff[Pq, x, n - 1] Int[x^(n - 1)*(a + b*x^n)^p, x], x] + Int[ExpandToSum[Pq - Coeff[Pq, x, n - 1]*x^(n - 1), x]*(a + b*x^n)^p, x] /; FreeQ[{a, b, p}, x] && PolyQ[P q, x] && IGtQ[n, 0] && Expon[Pq, x] == n - 1
Time = 0.56 (sec) , antiderivative size = 821, normalized size of antiderivative = 1.43
method | result | size |
elliptic | \(\text {Expression too large to display}\) | \(821\) |
default | \(\text {Expression too large to display}\) | \(1547\) |
Input:
int((g*x^4+f*x^3+e*x^2+d*x+c)/(b*x^3+a)^(3/2),x,method=_RETURNVERBOSE)
Output:
-2*b*(1/3*(a*g-b*d)/a/b^2*x^2+1/3*(a*f-b*c)/b^2/a*x+1/3*e/b^2)/((x^3+a/b)* b)^(1/2)-2/3*I*(f/b-1/3*(a*f-b*c)/a/b)*3^(1/2)/b*(-a*b^2)^(1/3)*(I*(x+1/2/ b*(-a*b^2)^(1/3)-1/2*I*3^(1/2)/b*(-a*b^2)^(1/3))*3^(1/2)*b/(-a*b^2)^(1/3)) ^(1/2)*((x-1/b*(-a*b^2)^(1/3))/(-3/2/b*(-a*b^2)^(1/3)+1/2*I*3^(1/2)/b*(-a* b^2)^(1/3)))^(1/2)*(-I*(x+1/2/b*(-a*b^2)^(1/3)+1/2*I*3^(1/2)/b*(-a*b^2)^(1 /3))*3^(1/2)*b/(-a*b^2)^(1/3))^(1/2)/(b*x^3+a)^(1/2)*EllipticF(1/3*3^(1/2) *(I*(x+1/2/b*(-a*b^2)^(1/3)-1/2*I*3^(1/2)/b*(-a*b^2)^(1/3))*3^(1/2)*b/(-a* b^2)^(1/3))^(1/2),(I*3^(1/2)/b*(-a*b^2)^(1/3)/(-3/2/b*(-a*b^2)^(1/3)+1/2*I *3^(1/2)/b*(-a*b^2)^(1/3)))^(1/2))-2/3*I*(g/b+1/3*(a*g-b*d)/a/b)*3^(1/2)/b *(-a*b^2)^(1/3)*(I*(x+1/2/b*(-a*b^2)^(1/3)-1/2*I*3^(1/2)/b*(-a*b^2)^(1/3)) *3^(1/2)*b/(-a*b^2)^(1/3))^(1/2)*((x-1/b*(-a*b^2)^(1/3))/(-3/2/b*(-a*b^2)^ (1/3)+1/2*I*3^(1/2)/b*(-a*b^2)^(1/3)))^(1/2)*(-I*(x+1/2/b*(-a*b^2)^(1/3)+1 /2*I*3^(1/2)/b*(-a*b^2)^(1/3))*3^(1/2)*b/(-a*b^2)^(1/3))^(1/2)/(b*x^3+a)^( 1/2)*((-3/2/b*(-a*b^2)^(1/3)+1/2*I*3^(1/2)/b*(-a*b^2)^(1/3))*EllipticE(1/3 *3^(1/2)*(I*(x+1/2/b*(-a*b^2)^(1/3)-1/2*I*3^(1/2)/b*(-a*b^2)^(1/3))*3^(1/2 )*b/(-a*b^2)^(1/3))^(1/2),(I*3^(1/2)/b*(-a*b^2)^(1/3)/(-3/2/b*(-a*b^2)^(1/ 3)+1/2*I*3^(1/2)/b*(-a*b^2)^(1/3)))^(1/2))+1/b*(-a*b^2)^(1/3)*EllipticF(1/ 3*3^(1/2)*(I*(x+1/2/b*(-a*b^2)^(1/3)-1/2*I*3^(1/2)/b*(-a*b^2)^(1/3))*3^(1/ 2)*b/(-a*b^2)^(1/3))^(1/2),(I*3^(1/2)/b*(-a*b^2)^(1/3)/(-3/2/b*(-a*b^2)^(1 /3)+1/2*I*3^(1/2)/b*(-a*b^2)^(1/3)))^(1/2)))
Time = 0.10 (sec) , antiderivative size = 153, normalized size of antiderivative = 0.27 \[ \int \frac {c+d x+e x^2+f x^3+g x^4}{\left (a+b x^3\right )^{3/2}} \, dx=\frac {2 \, {\left ({\left ({\left (b^{2} c + 2 \, a b f\right )} x^{3} + a b c + 2 \, a^{2} f\right )} \sqrt {b} {\rm weierstrassPInverse}\left (0, -\frac {4 \, a}{b}, x\right ) + {\left ({\left (b^{2} d - 4 \, a b g\right )} x^{3} + a b d - 4 \, a^{2} g\right )} \sqrt {b} {\rm weierstrassZeta}\left (0, -\frac {4 \, a}{b}, {\rm weierstrassPInverse}\left (0, -\frac {4 \, a}{b}, x\right )\right ) - \sqrt {b x^{3} + a} {\left (a b e - {\left (b^{2} d - a b g\right )} x^{2} - {\left (b^{2} c - a b f\right )} x\right )}\right )}}{3 \, {\left (a b^{3} x^{3} + a^{2} b^{2}\right )}} \] Input:
integrate((g*x^4+f*x^3+e*x^2+d*x+c)/(b*x^3+a)^(3/2),x, algorithm="fricas")
Output:
2/3*(((b^2*c + 2*a*b*f)*x^3 + a*b*c + 2*a^2*f)*sqrt(b)*weierstrassPInverse (0, -4*a/b, x) + ((b^2*d - 4*a*b*g)*x^3 + a*b*d - 4*a^2*g)*sqrt(b)*weierst rassZeta(0, -4*a/b, weierstrassPInverse(0, -4*a/b, x)) - sqrt(b*x^3 + a)*( a*b*e - (b^2*d - a*b*g)*x^2 - (b^2*c - a*b*f)*x))/(a*b^3*x^3 + a^2*b^2)
Time = 7.41 (sec) , antiderivative size = 189, normalized size of antiderivative = 0.33 \[ \int \frac {c+d x+e x^2+f x^3+g x^4}{\left (a+b x^3\right )^{3/2}} \, dx=e \left (\begin {cases} - \frac {2}{3 b \sqrt {a + b x^{3}}} & \text {for}\: b \neq 0 \\\frac {x^{3}}{3 a^{\frac {3}{2}}} & \text {otherwise} \end {cases}\right ) + \frac {c x \Gamma \left (\frac {1}{3}\right ) {{}_{2}F_{1}\left (\begin {matrix} \frac {1}{3}, \frac {3}{2} \\ \frac {4}{3} \end {matrix}\middle | {\frac {b x^{3} e^{i \pi }}{a}} \right )}}{3 a^{\frac {3}{2}} \Gamma \left (\frac {4}{3}\right )} + \frac {d x^{2} \Gamma \left (\frac {2}{3}\right ) {{}_{2}F_{1}\left (\begin {matrix} \frac {2}{3}, \frac {3}{2} \\ \frac {5}{3} \end {matrix}\middle | {\frac {b x^{3} e^{i \pi }}{a}} \right )}}{3 a^{\frac {3}{2}} \Gamma \left (\frac {5}{3}\right )} + \frac {f x^{4} \Gamma \left (\frac {4}{3}\right ) {{}_{2}F_{1}\left (\begin {matrix} \frac {4}{3}, \frac {3}{2} \\ \frac {7}{3} \end {matrix}\middle | {\frac {b x^{3} e^{i \pi }}{a}} \right )}}{3 a^{\frac {3}{2}} \Gamma \left (\frac {7}{3}\right )} + \frac {g x^{5} \Gamma \left (\frac {5}{3}\right ) {{}_{2}F_{1}\left (\begin {matrix} \frac {3}{2}, \frac {5}{3} \\ \frac {8}{3} \end {matrix}\middle | {\frac {b x^{3} e^{i \pi }}{a}} \right )}}{3 a^{\frac {3}{2}} \Gamma \left (\frac {8}{3}\right )} \] Input:
integrate((g*x**4+f*x**3+e*x**2+d*x+c)/(b*x**3+a)**(3/2),x)
Output:
e*Piecewise((-2/(3*b*sqrt(a + b*x**3)), Ne(b, 0)), (x**3/(3*a**(3/2)), Tru e)) + c*x*gamma(1/3)*hyper((1/3, 3/2), (4/3,), b*x**3*exp_polar(I*pi)/a)/( 3*a**(3/2)*gamma(4/3)) + d*x**2*gamma(2/3)*hyper((2/3, 3/2), (5/3,), b*x** 3*exp_polar(I*pi)/a)/(3*a**(3/2)*gamma(5/3)) + f*x**4*gamma(4/3)*hyper((4/ 3, 3/2), (7/3,), b*x**3*exp_polar(I*pi)/a)/(3*a**(3/2)*gamma(7/3)) + g*x** 5*gamma(5/3)*hyper((3/2, 5/3), (8/3,), b*x**3*exp_polar(I*pi)/a)/(3*a**(3/ 2)*gamma(8/3))
\[ \int \frac {c+d x+e x^2+f x^3+g x^4}{\left (a+b x^3\right )^{3/2}} \, dx=\int { \frac {g x^{4} + f x^{3} + e x^{2} + d x + c}{{\left (b x^{3} + a\right )}^{\frac {3}{2}}} \,d x } \] Input:
integrate((g*x^4+f*x^3+e*x^2+d*x+c)/(b*x^3+a)^(3/2),x, algorithm="maxima")
Output:
integrate((g*x^4 + f*x^3 + e*x^2 + d*x + c)/(b*x^3 + a)^(3/2), x)
\[ \int \frac {c+d x+e x^2+f x^3+g x^4}{\left (a+b x^3\right )^{3/2}} \, dx=\int { \frac {g x^{4} + f x^{3} + e x^{2} + d x + c}{{\left (b x^{3} + a\right )}^{\frac {3}{2}}} \,d x } \] Input:
integrate((g*x^4+f*x^3+e*x^2+d*x+c)/(b*x^3+a)^(3/2),x, algorithm="giac")
Output:
integrate((g*x^4 + f*x^3 + e*x^2 + d*x + c)/(b*x^3 + a)^(3/2), x)
Timed out. \[ \int \frac {c+d x+e x^2+f x^3+g x^4}{\left (a+b x^3\right )^{3/2}} \, dx=\int \frac {g\,x^4+f\,x^3+e\,x^2+d\,x+c}{{\left (b\,x^3+a\right )}^{3/2}} \,d x \] Input:
int((c + d*x + e*x^2 + f*x^3 + g*x^4)/(a + b*x^3)^(3/2),x)
Output:
int((c + d*x + e*x^2 + f*x^3 + g*x^4)/(a + b*x^3)^(3/2), x)
\[ \int \frac {c+d x+e x^2+f x^3+g x^4}{\left (a+b x^3\right )^{3/2}} \, dx=\frac {-2 \sqrt {b \,x^{3}+a}\, e -6 \sqrt {b \,x^{3}+a}\, f x +6 \sqrt {b \,x^{3}+a}\, g \,x^{2}+6 \left (\int \frac {\sqrt {b \,x^{3}+a}}{b^{2} x^{6}+2 a b \,x^{3}+a^{2}}d x \right ) a^{2} f +3 \left (\int \frac {\sqrt {b \,x^{3}+a}}{b^{2} x^{6}+2 a b \,x^{3}+a^{2}}d x \right ) a b c +6 \left (\int \frac {\sqrt {b \,x^{3}+a}}{b^{2} x^{6}+2 a b \,x^{3}+a^{2}}d x \right ) a b f \,x^{3}+3 \left (\int \frac {\sqrt {b \,x^{3}+a}}{b^{2} x^{6}+2 a b \,x^{3}+a^{2}}d x \right ) b^{2} c \,x^{3}-12 \left (\int \frac {\sqrt {b \,x^{3}+a}\, x}{b^{2} x^{6}+2 a b \,x^{3}+a^{2}}d x \right ) a^{2} g +3 \left (\int \frac {\sqrt {b \,x^{3}+a}\, x}{b^{2} x^{6}+2 a b \,x^{3}+a^{2}}d x \right ) a b d -12 \left (\int \frac {\sqrt {b \,x^{3}+a}\, x}{b^{2} x^{6}+2 a b \,x^{3}+a^{2}}d x \right ) a b g \,x^{3}+3 \left (\int \frac {\sqrt {b \,x^{3}+a}\, x}{b^{2} x^{6}+2 a b \,x^{3}+a^{2}}d x \right ) b^{2} d \,x^{3}}{3 b \left (b \,x^{3}+a \right )} \] Input:
int((g*x^4+f*x^3+e*x^2+d*x+c)/(b*x^3+a)^(3/2),x)
Output:
( - 2*sqrt(a + b*x**3)*e - 6*sqrt(a + b*x**3)*f*x + 6*sqrt(a + b*x**3)*g*x **2 + 6*int(sqrt(a + b*x**3)/(a**2 + 2*a*b*x**3 + b**2*x**6),x)*a**2*f + 3 *int(sqrt(a + b*x**3)/(a**2 + 2*a*b*x**3 + b**2*x**6),x)*a*b*c + 6*int(sqr t(a + b*x**3)/(a**2 + 2*a*b*x**3 + b**2*x**6),x)*a*b*f*x**3 + 3*int(sqrt(a + b*x**3)/(a**2 + 2*a*b*x**3 + b**2*x**6),x)*b**2*c*x**3 - 12*int((sqrt(a + b*x**3)*x)/(a**2 + 2*a*b*x**3 + b**2*x**6),x)*a**2*g + 3*int((sqrt(a + b*x**3)*x)/(a**2 + 2*a*b*x**3 + b**2*x**6),x)*a*b*d - 12*int((sqrt(a + b*x **3)*x)/(a**2 + 2*a*b*x**3 + b**2*x**6),x)*a*b*g*x**3 + 3*int((sqrt(a + b* x**3)*x)/(a**2 + 2*a*b*x**3 + b**2*x**6),x)*b**2*d*x**3)/(3*b*(a + b*x**3) )