### 3.37 $$\int \sqrt{d+e x^3} (a+b x^3+c x^6) \, dx$$

Optimal. Leaf size=316 $\frac{2\ 3^{3/4} \sqrt{2+\sqrt{3}} d \left (\sqrt [3]{d}+\sqrt [3]{e} x\right ) \sqrt{\frac{d^{2/3}-\sqrt [3]{d} \sqrt [3]{e} x+e^{2/3} x^2}{\left (\left (1+\sqrt{3}\right ) \sqrt [3]{d}+\sqrt [3]{e} x\right )^2}} \left (187 a e^2-34 b d e+16 c d^2\right ) \text{EllipticF}\left (\sin ^{-1}\left (\frac{\left (1-\sqrt{3}\right ) \sqrt [3]{d}+\sqrt [3]{e} x}{\left (1+\sqrt{3}\right ) \sqrt [3]{d}+\sqrt [3]{e} x}\right ),-7-4 \sqrt{3}\right )}{935 e^{7/3} \sqrt{\frac{\sqrt [3]{d} \left (\sqrt [3]{d}+\sqrt [3]{e} x\right )}{\left (\left (1+\sqrt{3}\right ) \sqrt [3]{d}+\sqrt [3]{e} x\right )^2}} \sqrt{d+e x^3}}+\frac{2 x \sqrt{d+e x^3} \left (187 a e^2-34 b d e+16 c d^2\right )}{935 e^2}-\frac{2 x \left (d+e x^3\right )^{3/2} (8 c d-17 b e)}{187 e^2}+\frac{2 c x^4 \left (d+e x^3\right )^{3/2}}{17 e}$

[Out]

(2*(16*c*d^2 - 34*b*d*e + 187*a*e^2)*x*Sqrt[d + e*x^3])/(935*e^2) - (2*(8*c*d - 17*b*e)*x*(d + e*x^3)^(3/2))/(
187*e^2) + (2*c*x^4*(d + e*x^3)^(3/2))/(17*e) + (2*3^(3/4)*Sqrt[2 + Sqrt[3]]*d*(16*c*d^2 - 34*b*d*e + 187*a*e^
2)*(d^(1/3) + e^(1/3)*x)*Sqrt[(d^(2/3) - d^(1/3)*e^(1/3)*x + e^(2/3)*x^2)/((1 + Sqrt[3])*d^(1/3) + e^(1/3)*x)^
2]*EllipticF[ArcSin[((1 - Sqrt[3])*d^(1/3) + e^(1/3)*x)/((1 + Sqrt[3])*d^(1/3) + e^(1/3)*x)], -7 - 4*Sqrt[3]])
/(935*e^(7/3)*Sqrt[(d^(1/3)*(d^(1/3) + e^(1/3)*x))/((1 + Sqrt[3])*d^(1/3) + e^(1/3)*x)^2]*Sqrt[d + e*x^3])

________________________________________________________________________________________

Rubi [A]  time = 0.246214, antiderivative size = 316, normalized size of antiderivative = 1., number of steps used = 4, number of rules used = 4, integrand size = 24, $$\frac{\text{number of rules}}{\text{integrand size}}$$ = 0.167, Rules used = {1411, 388, 195, 218} $\frac{2 x \sqrt{d+e x^3} \left (187 a e^2-34 b d e+16 c d^2\right )}{935 e^2}+\frac{2\ 3^{3/4} \sqrt{2+\sqrt{3}} d \left (\sqrt [3]{d}+\sqrt [3]{e} x\right ) \sqrt{\frac{d^{2/3}-\sqrt [3]{d} \sqrt [3]{e} x+e^{2/3} x^2}{\left (\left (1+\sqrt{3}\right ) \sqrt [3]{d}+\sqrt [3]{e} x\right )^2}} \left (187 a e^2-34 b d e+16 c d^2\right ) F\left (\sin ^{-1}\left (\frac{\sqrt [3]{e} x+\left (1-\sqrt{3}\right ) \sqrt [3]{d}}{\sqrt [3]{e} x+\left (1+\sqrt{3}\right ) \sqrt [3]{d}}\right )|-7-4 \sqrt{3}\right )}{935 e^{7/3} \sqrt{\frac{\sqrt [3]{d} \left (\sqrt [3]{d}+\sqrt [3]{e} x\right )}{\left (\left (1+\sqrt{3}\right ) \sqrt [3]{d}+\sqrt [3]{e} x\right )^2}} \sqrt{d+e x^3}}-\frac{2 x \left (d+e x^3\right )^{3/2} (8 c d-17 b e)}{187 e^2}+\frac{2 c x^4 \left (d+e x^3\right )^{3/2}}{17 e}$

Antiderivative was successfully veriﬁed.

[In]

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

[Out]

(2*(16*c*d^2 - 34*b*d*e + 187*a*e^2)*x*Sqrt[d + e*x^3])/(935*e^2) - (2*(8*c*d - 17*b*e)*x*(d + e*x^3)^(3/2))/(
187*e^2) + (2*c*x^4*(d + e*x^3)^(3/2))/(17*e) + (2*3^(3/4)*Sqrt[2 + Sqrt[3]]*d*(16*c*d^2 - 34*b*d*e + 187*a*e^
2)*(d^(1/3) + e^(1/3)*x)*Sqrt[(d^(2/3) - d^(1/3)*e^(1/3)*x + e^(2/3)*x^2)/((1 + Sqrt[3])*d^(1/3) + e^(1/3)*x)^
2]*EllipticF[ArcSin[((1 - Sqrt[3])*d^(1/3) + e^(1/3)*x)/((1 + Sqrt[3])*d^(1/3) + e^(1/3)*x)], -7 - 4*Sqrt[3]])
/(935*e^(7/3)*Sqrt[(d^(1/3)*(d^(1/3) + e^(1/3)*x))/((1 + Sqrt[3])*d^(1/3) + e^(1/3)*x)^2]*Sqrt[d + e*x^3])

Rule 1411

Int[((d_) + (e_.)*(x_)^(n_))^(q_)*((a_) + (b_.)*(x_)^(n_) + (c_.)*(x_)^(n2_)), x_Symbol] :> Simp[(c*x^(n + 1)*
(d + e*x^n)^(q + 1))/(e*(n*(q + 2) + 1)), x] + Dist[1/(e*(n*(q + 2) + 1)), Int[(d + e*x^n)^q*(a*e*(n*(q + 2) +
1) - (c*d*(n + 1) - b*e*(n*(q + 2) + 1))*x^n), x], x] /; FreeQ[{a, b, c, d, e, n, q}, x] && EqQ[n2, 2*n] && N
eQ[b^2 - 4*a*c, 0] && NeQ[c*d^2 - b*d*e + a*e^2, 0]

Rule 388

Int[((a_) + (b_.)*(x_)^(n_))^(p_)*((c_) + (d_.)*(x_)^(n_)), x_Symbol] :> Simp[(d*x*(a + b*x^n)^(p + 1))/(b*(n*
(p + 1) + 1)), x] - Dist[(a*d - b*c*(n*(p + 1) + 1))/(b*(n*(p + 1) + 1)), Int[(a + b*x^n)^p, x], x] /; FreeQ[{
a, b, c, d, n}, x] && NeQ[b*c - a*d, 0] && NeQ[n*(p + 1) + 1, 0]

Rule 195

Int[((a_) + (b_.)*(x_)^(n_))^(p_), x_Symbol] :> Simp[(x*(a + b*x^n)^p)/(n*p + 1), x] + Dist[(a*n*p)/(n*p + 1),
Int[(a + b*x^n)^(p - 1), x], x] /; FreeQ[{a, b}, x] && IGtQ[n, 0] && GtQ[p, 0] && (IntegerQ[2*p] || (EqQ[n, 2
] && IntegerQ[4*p]) || (EqQ[n, 2] && IntegerQ[3*p]) || LtQ[Denominator[p + 1/n], Denominator[p]])

Rule 218

Int[1/Sqrt[(a_) + (b_.)*(x_)^3], x_Symbol] :> With[{r = Numer[Rt[b/a, 3]], s = Denom[Rt[b/a, 3]]}, Simp[(2*Sqr
t[2 + Sqrt[3]]*(s + r*x)*Sqrt[(s^2 - r*s*x + r^2*x^2)/((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]])/(3^(1/4)*r*Sqrt[a + b*x^3]*Sqrt[(s*(s + r*x))/((1 + Sqr
t[3])*s + r*x)^2]), x]] /; FreeQ[{a, b}, x] && PosQ[a]

Rubi steps

\begin{align*} \int \sqrt{d+e x^3} \left (a+b x^3+c x^6\right ) \, dx &=\frac{2 c x^4 \left (d+e x^3\right )^{3/2}}{17 e}+\frac{2 \int \sqrt{d+e x^3} \left (\frac{17 a e}{2}-\left (4 c d-\frac{17 b e}{2}\right ) x^3\right ) \, dx}{17 e}\\ &=-\frac{2 (8 c d-17 b e) x \left (d+e x^3\right )^{3/2}}{187 e^2}+\frac{2 c x^4 \left (d+e x^3\right )^{3/2}}{17 e}-\frac{1}{187} \left (-187 a-\frac{2 d (8 c d-17 b e)}{e^2}\right ) \int \sqrt{d+e x^3} \, dx\\ &=\frac{2}{935} \left (187 a+\frac{2 d (8 c d-17 b e)}{e^2}\right ) x \sqrt{d+e x^3}-\frac{2 (8 c d-17 b e) x \left (d+e x^3\right )^{3/2}}{187 e^2}+\frac{2 c x^4 \left (d+e x^3\right )^{3/2}}{17 e}+\frac{1}{935} \left (3 d \left (187 a+\frac{2 d (8 c d-17 b e)}{e^2}\right )\right ) \int \frac{1}{\sqrt{d+e x^3}} \, dx\\ &=\frac{2}{935} \left (187 a+\frac{2 d (8 c d-17 b e)}{e^2}\right ) x \sqrt{d+e x^3}-\frac{2 (8 c d-17 b e) x \left (d+e x^3\right )^{3/2}}{187 e^2}+\frac{2 c x^4 \left (d+e x^3\right )^{3/2}}{17 e}+\frac{2\ 3^{3/4} \sqrt{2+\sqrt{3}} d \left (16 c d^2-34 b d e+187 a e^2\right ) \left (\sqrt [3]{d}+\sqrt [3]{e} x\right ) \sqrt{\frac{d^{2/3}-\sqrt [3]{d} \sqrt [3]{e} x+e^{2/3} x^2}{\left (\left (1+\sqrt{3}\right ) \sqrt [3]{d}+\sqrt [3]{e} x\right )^2}} F\left (\sin ^{-1}\left (\frac{\left (1-\sqrt{3}\right ) \sqrt [3]{d}+\sqrt [3]{e} x}{\left (1+\sqrt{3}\right ) \sqrt [3]{d}+\sqrt [3]{e} x}\right )|-7-4 \sqrt{3}\right )}{935 e^{7/3} \sqrt{\frac{\sqrt [3]{d} \left (\sqrt [3]{d}+\sqrt [3]{e} x\right )}{\left (\left (1+\sqrt{3}\right ) \sqrt [3]{d}+\sqrt [3]{e} x\right )^2}} \sqrt{d+e x^3}}\\ \end{align*}

Mathematica [C]  time = 0.133707, size = 98, normalized size = 0.31 $\frac{x \sqrt{d+e x^3} \left (\frac{\, _2F_1\left (-\frac{1}{2},\frac{1}{3};\frac{4}{3};-\frac{e x^3}{d}\right ) \left (17 e (11 a e-2 b d)+16 c d^2\right )}{\sqrt{\frac{e x^3}{d}+1}}-2 \left (d+e x^3\right ) \left (-17 b e+8 c d-11 c e x^3\right )\right )}{187 e^2}$

Antiderivative was successfully veriﬁed.

[In]

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

[Out]

(x*Sqrt[d + e*x^3]*(-2*(d + e*x^3)*(8*c*d - 17*b*e - 11*c*e*x^3) + ((16*c*d^2 + 17*e*(-2*b*d + 11*a*e))*Hyperg
eometric2F1[-1/2, 1/3, 4/3, -((e*x^3)/d)])/Sqrt[1 + (e*x^3)/d]))/(187*e^2)

________________________________________________________________________________________

Maple [B]  time = 0.027, size = 956, normalized size = 3. \begin{align*} \text{result too large to display} \end{align*}

Veriﬁcation of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

c*(2/17*x^7*(e*x^3+d)^(1/2)+6/187*d/e*x^4*(e*x^3+d)^(1/2)-48/935*d^2/e^2*x*(e*x^3+d)^(1/2)-32/935*I*d^3/e^3*3^
(1/2)*(-d*e^2)^(1/3)*(I*(x+1/2/e*(-d*e^2)^(1/3)-1/2*I*3^(1/2)/e*(-d*e^2)^(1/3))*3^(1/2)*e/(-d*e^2)^(1/3))^(1/2
)*((x-1/e*(-d*e^2)^(1/3))/(-3/2/e*(-d*e^2)^(1/3)+1/2*I*3^(1/2)/e*(-d*e^2)^(1/3)))^(1/2)*(-I*(x+1/2/e*(-d*e^2)^
(1/3)+1/2*I*3^(1/2)/e*(-d*e^2)^(1/3))*3^(1/2)*e/(-d*e^2)^(1/3))^(1/2)/(e*x^3+d)^(1/2)*EllipticF(1/3*3^(1/2)*(I
*(x+1/2/e*(-d*e^2)^(1/3)-1/2*I*3^(1/2)/e*(-d*e^2)^(1/3))*3^(1/2)*e/(-d*e^2)^(1/3))^(1/2),(I*3^(1/2)/e*(-d*e^2)
^(1/3)/(-3/2/e*(-d*e^2)^(1/3)+1/2*I*3^(1/2)/e*(-d*e^2)^(1/3)))^(1/2)))+b*(2/11*x^4*(e*x^3+d)^(1/2)+6/55*d/e*x*
(e*x^3+d)^(1/2)+4/55*I*d^2/e^2*3^(1/2)*(-d*e^2)^(1/3)*(I*(x+1/2/e*(-d*e^2)^(1/3)-1/2*I*3^(1/2)/e*(-d*e^2)^(1/3
))*3^(1/2)*e/(-d*e^2)^(1/3))^(1/2)*((x-1/e*(-d*e^2)^(1/3))/(-3/2/e*(-d*e^2)^(1/3)+1/2*I*3^(1/2)/e*(-d*e^2)^(1/
3)))^(1/2)*(-I*(x+1/2/e*(-d*e^2)^(1/3)+1/2*I*3^(1/2)/e*(-d*e^2)^(1/3))*3^(1/2)*e/(-d*e^2)^(1/3))^(1/2)/(e*x^3+
d)^(1/2)*EllipticF(1/3*3^(1/2)*(I*(x+1/2/e*(-d*e^2)^(1/3)-1/2*I*3^(1/2)/e*(-d*e^2)^(1/3))*3^(1/2)*e/(-d*e^2)^(
1/3))^(1/2),(I*3^(1/2)/e*(-d*e^2)^(1/3)/(-3/2/e*(-d*e^2)^(1/3)+1/2*I*3^(1/2)/e*(-d*e^2)^(1/3)))^(1/2)))+a*(2/5
*x*(e*x^3+d)^(1/2)-2/5*I*d*3^(1/2)/e*(-d*e^2)^(1/3)*(I*(x+1/2/e*(-d*e^2)^(1/3)-1/2*I*3^(1/2)/e*(-d*e^2)^(1/3))
*3^(1/2)*e/(-d*e^2)^(1/3))^(1/2)*((x-1/e*(-d*e^2)^(1/3))/(-3/2/e*(-d*e^2)^(1/3)+1/2*I*3^(1/2)/e*(-d*e^2)^(1/3)
))^(1/2)*(-I*(x+1/2/e*(-d*e^2)^(1/3)+1/2*I*3^(1/2)/e*(-d*e^2)^(1/3))*3^(1/2)*e/(-d*e^2)^(1/3))^(1/2)/(e*x^3+d)
^(1/2)*EllipticF(1/3*3^(1/2)*(I*(x+1/2/e*(-d*e^2)^(1/3)-1/2*I*3^(1/2)/e*(-d*e^2)^(1/3))*3^(1/2)*e/(-d*e^2)^(1/
3))^(1/2),(I*3^(1/2)/e*(-d*e^2)^(1/3)/(-3/2/e*(-d*e^2)^(1/3)+1/2*I*3^(1/2)/e*(-d*e^2)^(1/3)))^(1/2)))

________________________________________________________________________________________

Maxima [F]  time = 0., size = 0, normalized size = 0. \begin{align*} \int{\left (c x^{6} + b x^{3} + a\right )} \sqrt{e x^{3} + d}\,{d x} \end{align*}

Veriﬁcation of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

integrate((c*x^6 + b*x^3 + a)*sqrt(e*x^3 + d), x)

________________________________________________________________________________________

Fricas [F]  time = 0., size = 0, normalized size = 0. \begin{align*}{\rm integral}\left ({\left (c x^{6} + b x^{3} + a\right )} \sqrt{e x^{3} + d}, x\right ) \end{align*}

Veriﬁcation of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

integral((c*x^6 + b*x^3 + a)*sqrt(e*x^3 + d), x)

________________________________________________________________________________________

Sympy [A]  time = 3.11466, size = 124, normalized size = 0.39 \begin{align*} \frac{a \sqrt{d} x \Gamma \left (\frac{1}{3}\right ){{}_{2}F_{1}\left (\begin{matrix} - \frac{1}{2}, \frac{1}{3} \\ \frac{4}{3} \end{matrix}\middle |{\frac{e x^{3} e^{i \pi }}{d}} \right )}}{3 \Gamma \left (\frac{4}{3}\right )} + \frac{b \sqrt{d} x^{4} \Gamma \left (\frac{4}{3}\right ){{}_{2}F_{1}\left (\begin{matrix} - \frac{1}{2}, \frac{4}{3} \\ \frac{7}{3} \end{matrix}\middle |{\frac{e x^{3} e^{i \pi }}{d}} \right )}}{3 \Gamma \left (\frac{7}{3}\right )} + \frac{c \sqrt{d} x^{7} \Gamma \left (\frac{7}{3}\right ){{}_{2}F_{1}\left (\begin{matrix} - \frac{1}{2}, \frac{7}{3} \\ \frac{10}{3} \end{matrix}\middle |{\frac{e x^{3} e^{i \pi }}{d}} \right )}}{3 \Gamma \left (\frac{10}{3}\right )} \end{align*}

Veriﬁcation of antiderivative is not currently implemented for this CAS.

[In]

integrate((e*x**3+d)**(1/2)*(c*x**6+b*x**3+a),x)

[Out]

a*sqrt(d)*x*gamma(1/3)*hyper((-1/2, 1/3), (4/3,), e*x**3*exp_polar(I*pi)/d)/(3*gamma(4/3)) + b*sqrt(d)*x**4*ga
mma(4/3)*hyper((-1/2, 4/3), (7/3,), e*x**3*exp_polar(I*pi)/d)/(3*gamma(7/3)) + c*sqrt(d)*x**7*gamma(7/3)*hyper
((-1/2, 7/3), (10/3,), e*x**3*exp_polar(I*pi)/d)/(3*gamma(10/3))

________________________________________________________________________________________

Giac [F]  time = 0., size = 0, normalized size = 0. \begin{align*} \int{\left (c x^{6} + b x^{3} + a\right )} \sqrt{e x^{3} + d}\,{d x} \end{align*}

Veriﬁcation of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

integrate((c*x^6 + b*x^3 + a)*sqrt(e*x^3 + d), x)