### 3.708 $$\int \frac{2+3 i x}{\sqrt [3]{4-27 x^2}} \, dx$$

Optimal. Leaf size=531 $\frac{2\ 2^{5/6} \left (2^{2/3}-\sqrt [3]{4-27 x^2}\right ) \sqrt{\frac{\left (4-27 x^2\right )^{2/3}+2^{2/3} \sqrt [3]{4-27 x^2}+2 \sqrt [3]{2}}{\left (2^{2/3} \left (1-\sqrt{3}\right )-\sqrt [3]{4-27 x^2}\right )^2}} \text{EllipticF}\left (\sin ^{-1}\left (\frac{2^{2/3} \left (1+\sqrt{3}\right )-\sqrt [3]{4-27 x^2}}{2^{2/3} \left (1-\sqrt{3}\right )-\sqrt [3]{4-27 x^2}}\right ),4 \sqrt{3}-7\right )}{9 \sqrt [4]{3} \sqrt{-\frac{2^{2/3}-\sqrt [3]{4-27 x^2}}{\left (2^{2/3} \left (1-\sqrt{3}\right )-\sqrt [3]{4-27 x^2}\right )^2}} x}-\frac{6 x}{2^{2/3} \left (1-\sqrt{3}\right )-\sqrt [3]{4-27 x^2}}-\frac{1}{12} i \left (4-27 x^2\right )^{2/3}-\frac{\sqrt [3]{2} \sqrt{2+\sqrt{3}} \left (2^{2/3}-\sqrt [3]{4-27 x^2}\right ) \sqrt{\frac{\left (4-27 x^2\right )^{2/3}+2^{2/3} \sqrt [3]{4-27 x^2}+2 \sqrt [3]{2}}{\left (2^{2/3} \left (1-\sqrt{3}\right )-\sqrt [3]{4-27 x^2}\right )^2}} E\left (\sin ^{-1}\left (\frac{2^{2/3} \left (1+\sqrt{3}\right )-\sqrt [3]{4-27 x^2}}{2^{2/3} \left (1-\sqrt{3}\right )-\sqrt [3]{4-27 x^2}}\right )|-7+4 \sqrt{3}\right )}{3\ 3^{3/4} \sqrt{-\frac{2^{2/3}-\sqrt [3]{4-27 x^2}}{\left (2^{2/3} \left (1-\sqrt{3}\right )-\sqrt [3]{4-27 x^2}\right )^2}} x}$

[Out]

(-I/12)*(4 - 27*x^2)^(2/3) - (6*x)/(2^(2/3)*(1 - Sqrt[3]) - (4 - 27*x^2)^(1/3)) - (2^(1/3)*Sqrt[2 + Sqrt[3]]*(
2^(2/3) - (4 - 27*x^2)^(1/3))*Sqrt[(2*2^(1/3) + 2^(2/3)*(4 - 27*x^2)^(1/3) + (4 - 27*x^2)^(2/3))/(2^(2/3)*(1 -
Sqrt[3]) - (4 - 27*x^2)^(1/3))^2]*EllipticE[ArcSin[(2^(2/3)*(1 + Sqrt[3]) - (4 - 27*x^2)^(1/3))/(2^(2/3)*(1 -
Sqrt[3]) - (4 - 27*x^2)^(1/3))], -7 + 4*Sqrt[3]])/(3*3^(3/4)*x*Sqrt[-((2^(2/3) - (4 - 27*x^2)^(1/3))/(2^(2/3)
*(1 - Sqrt[3]) - (4 - 27*x^2)^(1/3))^2)]) + (2*2^(5/6)*(2^(2/3) - (4 - 27*x^2)^(1/3))*Sqrt[(2*2^(1/3) + 2^(2/3
)*(4 - 27*x^2)^(1/3) + (4 - 27*x^2)^(2/3))/(2^(2/3)*(1 - Sqrt[3]) - (4 - 27*x^2)^(1/3))^2]*EllipticF[ArcSin[(2
^(2/3)*(1 + Sqrt[3]) - (4 - 27*x^2)^(1/3))/(2^(2/3)*(1 - Sqrt[3]) - (4 - 27*x^2)^(1/3))], -7 + 4*Sqrt[3]])/(9*
3^(1/4)*x*Sqrt[-((2^(2/3) - (4 - 27*x^2)^(1/3))/(2^(2/3)*(1 - Sqrt[3]) - (4 - 27*x^2)^(1/3))^2)])

________________________________________________________________________________________

Rubi [A]  time = 0.261419, antiderivative size = 531, normalized size of antiderivative = 1., number of steps used = 5, number of rules used = 5, integrand size = 19, $$\frac{\text{number of rules}}{\text{integrand size}}$$ = 0.263, Rules used = {641, 235, 304, 219, 1879} $-\frac{6 x}{2^{2/3} \left (1-\sqrt{3}\right )-\sqrt [3]{4-27 x^2}}-\frac{1}{12} i \left (4-27 x^2\right )^{2/3}+\frac{2\ 2^{5/6} \left (2^{2/3}-\sqrt [3]{4-27 x^2}\right ) \sqrt{\frac{\left (4-27 x^2\right )^{2/3}+2^{2/3} \sqrt [3]{4-27 x^2}+2 \sqrt [3]{2}}{\left (2^{2/3} \left (1-\sqrt{3}\right )-\sqrt [3]{4-27 x^2}\right )^2}} F\left (\sin ^{-1}\left (\frac{2^{2/3} \left (1+\sqrt{3}\right )-\sqrt [3]{4-27 x^2}}{2^{2/3} \left (1-\sqrt{3}\right )-\sqrt [3]{4-27 x^2}}\right )|-7+4 \sqrt{3}\right )}{9 \sqrt [4]{3} \sqrt{-\frac{2^{2/3}-\sqrt [3]{4-27 x^2}}{\left (2^{2/3} \left (1-\sqrt{3}\right )-\sqrt [3]{4-27 x^2}\right )^2}} x}-\frac{\sqrt [3]{2} \sqrt{2+\sqrt{3}} \left (2^{2/3}-\sqrt [3]{4-27 x^2}\right ) \sqrt{\frac{\left (4-27 x^2\right )^{2/3}+2^{2/3} \sqrt [3]{4-27 x^2}+2 \sqrt [3]{2}}{\left (2^{2/3} \left (1-\sqrt{3}\right )-\sqrt [3]{4-27 x^2}\right )^2}} E\left (\sin ^{-1}\left (\frac{2^{2/3} \left (1+\sqrt{3}\right )-\sqrt [3]{4-27 x^2}}{2^{2/3} \left (1-\sqrt{3}\right )-\sqrt [3]{4-27 x^2}}\right )|-7+4 \sqrt{3}\right )}{3\ 3^{3/4} \sqrt{-\frac{2^{2/3}-\sqrt [3]{4-27 x^2}}{\left (2^{2/3} \left (1-\sqrt{3}\right )-\sqrt [3]{4-27 x^2}\right )^2}} x}$

Antiderivative was successfully veriﬁed.

[In]

Int[(2 + (3*I)*x)/(4 - 27*x^2)^(1/3),x]

[Out]

(-I/12)*(4 - 27*x^2)^(2/3) - (6*x)/(2^(2/3)*(1 - Sqrt[3]) - (4 - 27*x^2)^(1/3)) - (2^(1/3)*Sqrt[2 + Sqrt[3]]*(
2^(2/3) - (4 - 27*x^2)^(1/3))*Sqrt[(2*2^(1/3) + 2^(2/3)*(4 - 27*x^2)^(1/3) + (4 - 27*x^2)^(2/3))/(2^(2/3)*(1 -
Sqrt[3]) - (4 - 27*x^2)^(1/3))^2]*EllipticE[ArcSin[(2^(2/3)*(1 + Sqrt[3]) - (4 - 27*x^2)^(1/3))/(2^(2/3)*(1 -
Sqrt[3]) - (4 - 27*x^2)^(1/3))], -7 + 4*Sqrt[3]])/(3*3^(3/4)*x*Sqrt[-((2^(2/3) - (4 - 27*x^2)^(1/3))/(2^(2/3)
*(1 - Sqrt[3]) - (4 - 27*x^2)^(1/3))^2)]) + (2*2^(5/6)*(2^(2/3) - (4 - 27*x^2)^(1/3))*Sqrt[(2*2^(1/3) + 2^(2/3
)*(4 - 27*x^2)^(1/3) + (4 - 27*x^2)^(2/3))/(2^(2/3)*(1 - Sqrt[3]) - (4 - 27*x^2)^(1/3))^2]*EllipticF[ArcSin[(2
^(2/3)*(1 + Sqrt[3]) - (4 - 27*x^2)^(1/3))/(2^(2/3)*(1 - Sqrt[3]) - (4 - 27*x^2)^(1/3))], -7 + 4*Sqrt[3]])/(9*
3^(1/4)*x*Sqrt[-((2^(2/3) - (4 - 27*x^2)^(1/3))/(2^(2/3)*(1 - Sqrt[3]) - (4 - 27*x^2)^(1/3))^2)])

Rule 641

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

Rule 235

Int[((a_) + (b_.)*(x_)^2)^(-1/3), x_Symbol] :> Dist[(3*Sqrt[b*x^2])/(2*b*x), Subst[Int[x/Sqrt[-a + x^3], x], x
, (a + b*x^2)^(1/3)], x] /; FreeQ[{a, b}, x]

Rule 304

Int[(x_)/Sqrt[(a_) + (b_.)*(x_)^3], x_Symbol] :> With[{r = Numer[Rt[b/a, 3]], s = Denom[Rt[b/a, 3]]}, -Dist[(S
qrt[2]*s)/(Sqrt[2 - Sqrt[3]]*r), Int[1/Sqrt[a + b*x^3], x], x] + Dist[1/r, Int[((1 + Sqrt[3])*s + r*x)/Sqrt[a
+ b*x^3], x], x]] /; FreeQ[{a, b}, x] && NegQ[a]

Rule 219

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 - S
qrt[3])*s + r*x)^2)]), x]] /; FreeQ[{a, b}, x] && NegQ[a]

Rule 1879

Int[((c_) + (d_.)*(x_))/Sqrt[(a_) + (b_.)*(x_)^3], x_Symbol] :> With[{r = Numer[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
] + Simp[(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]*Elli
pticE[ArcSin[((1 + Sqrt[3])*s + r*x)/((1 - Sqrt[3])*s + r*x)], -7 + 4*Sqrt[3]])/(r^2*Sqrt[a + b*x^3]*Sqrt[-((s
*(s + r*x))/((1 - Sqrt[3])*s + r*x)^2)]), x]] /; FreeQ[{a, b, c, d}, x] && NegQ[a] && EqQ[b*c^3 - 2*(5 + 3*Sqr
t[3])*a*d^3, 0]

Rubi steps

\begin{align*} \int \frac{2+3 i x}{\sqrt [3]{4-27 x^2}} \, dx &=-\frac{1}{12} i \left (4-27 x^2\right )^{2/3}+2 \int \frac{1}{\sqrt [3]{4-27 x^2}} \, dx\\ &=-\frac{1}{12} i \left (4-27 x^2\right )^{2/3}-\frac{\sqrt{-x^2} \operatorname{Subst}\left (\int \frac{x}{\sqrt{-4+x^3}} \, dx,x,\sqrt [3]{4-27 x^2}\right )}{\sqrt{3} x}\\ &=-\frac{1}{12} i \left (4-27 x^2\right )^{2/3}+\frac{\sqrt{-x^2} \operatorname{Subst}\left (\int \frac{2^{2/3} \left (1+\sqrt{3}\right )-x}{\sqrt{-4+x^3}} \, dx,x,\sqrt [3]{4-27 x^2}\right )}{\sqrt{3} x}-\frac{\left (2 \sqrt [6]{2} \sqrt{-x^2}\right ) \operatorname{Subst}\left (\int \frac{1}{\sqrt{-4+x^3}} \, dx,x,\sqrt [3]{4-27 x^2}\right )}{\sqrt{3 \left (2-\sqrt{3}\right )} x}\\ &=-\frac{1}{12} i \left (4-27 x^2\right )^{2/3}-\frac{6 x}{2^{2/3} \left (1-\sqrt{3}\right )-\sqrt [3]{4-27 x^2}}-\frac{\sqrt [3]{2} \sqrt{2+\sqrt{3}} \left (2^{2/3}-\sqrt [3]{4-27 x^2}\right ) \sqrt{\frac{2 \sqrt [3]{2}+2^{2/3} \sqrt [3]{4-27 x^2}+\left (4-27 x^2\right )^{2/3}}{\left (2^{2/3} \left (1-\sqrt{3}\right )-\sqrt [3]{4-27 x^2}\right )^2}} E\left (\sin ^{-1}\left (\frac{2^{2/3} \left (1+\sqrt{3}\right )-\sqrt [3]{4-27 x^2}}{2^{2/3} \left (1-\sqrt{3}\right )-\sqrt [3]{4-27 x^2}}\right )|-7+4 \sqrt{3}\right )}{3\ 3^{3/4} x \sqrt{-\frac{2^{2/3}-\sqrt [3]{4-27 x^2}}{\left (2^{2/3} \left (1-\sqrt{3}\right )-\sqrt [3]{4-27 x^2}\right )^2}}}+\frac{2\ 2^{5/6} \left (2^{2/3}-\sqrt [3]{4-27 x^2}\right ) \sqrt{\frac{2 \sqrt [3]{2}+2^{2/3} \sqrt [3]{4-27 x^2}+\left (4-27 x^2\right )^{2/3}}{\left (2^{2/3} \left (1-\sqrt{3}\right )-\sqrt [3]{4-27 x^2}\right )^2}} F\left (\sin ^{-1}\left (\frac{2^{2/3} \left (1+\sqrt{3}\right )-\sqrt [3]{4-27 x^2}}{2^{2/3} \left (1-\sqrt{3}\right )-\sqrt [3]{4-27 x^2}}\right )|-7+4 \sqrt{3}\right )}{9 \sqrt [4]{3} x \sqrt{-\frac{2^{2/3}-\sqrt [3]{4-27 x^2}}{\left (2^{2/3} \left (1-\sqrt{3}\right )-\sqrt [3]{4-27 x^2}\right )^2}}}\\ \end{align*}

Mathematica [C]  time = 0.019041, size = 42, normalized size = 0.08 $\sqrt [3]{2} x \, _2F_1\left (\frac{1}{3},\frac{1}{2};\frac{3}{2};\frac{27 x^2}{4}\right )-\frac{1}{12} i \left (4-27 x^2\right )^{2/3}$

Antiderivative was successfully veriﬁed.

[In]

Integrate[(2 + (3*I)*x)/(4 - 27*x^2)^(1/3),x]

[Out]

(-I/12)*(4 - 27*x^2)^(2/3) + 2^(1/3)*x*Hypergeometric2F1[1/3, 1/2, 3/2, (27*x^2)/4]

________________________________________________________________________________________

Maple [C]  time = 0.247, size = 37, normalized size = 0.1 \begin{align*}{{\frac{i}{12}} \left ( 27\,{x}^{2}-4 \right ){\frac{1}{\sqrt [3]{-27\,{x}^{2}+4}}}}+\sqrt [3]{2}x{\mbox{$_2$F$_1$}({\frac{1}{3}},{\frac{1}{2}};\,{\frac{3}{2}};\,{\frac{27\,{x}^{2}}{4}})} \end{align*}

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

[In]

int((2+3*I*x)/(-27*x^2+4)^(1/3),x)

[Out]

1/12*I*(27*x^2-4)/(-27*x^2+4)^(1/3)+2^(1/3)*x*hypergeom([1/3,1/2],[3/2],27/4*x^2)

________________________________________________________________________________________

Maxima [F]  time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{3 i \, x + 2}{{\left (-27 \, x^{2} + 4\right )}^{\frac{1}{3}}}\,{d x} \end{align*}

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

[In]

integrate((2+3*I*x)/(-27*x^2+4)^(1/3),x, algorithm="maxima")

[Out]

integrate((3*I*x + 2)/(-27*x^2 + 4)^(1/3), x)

________________________________________________________________________________________

Fricas [F]  time = 0., size = 0, normalized size = 0. \begin{align*} \frac{36 \, x{\rm integral}\left (\frac{8 \,{\left (-27 \, x^{2} + 4\right )}^{\frac{2}{3}}}{9 \,{\left (27 \, x^{4} - 4 \, x^{2}\right )}}, x\right ) +{\left (-27 \, x^{2} + 4\right )}^{\frac{2}{3}}{\left (-3 i \, x - 8\right )}}{36 \, x} \end{align*}

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

[In]

integrate((2+3*I*x)/(-27*x^2+4)^(1/3),x, algorithm="fricas")

[Out]

1/36*(36*x*integral(8/9*(-27*x^2 + 4)^(2/3)/(27*x^4 - 4*x^2), x) + (-27*x^2 + 4)^(2/3)*(-3*I*x - 8))/x

________________________________________________________________________________________

Sympy [A]  time = 1.95779, size = 39, normalized size = 0.07 \begin{align*} \sqrt [3]{2} x{{}_{2}F_{1}\left (\begin{matrix} \frac{1}{3}, \frac{1}{2} \\ \frac{3}{2} \end{matrix}\middle |{\frac{27 x^{2} e^{2 i \pi }}{4}} \right )} - \frac{i \left (4 - 27 x^{2}\right )^{\frac{2}{3}}}{12} \end{align*}

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

[In]

integrate((2+3*I*x)/(-27*x**2+4)**(1/3),x)

[Out]

2**(1/3)*x*hyper((1/3, 1/2), (3/2,), 27*x**2*exp_polar(2*I*pi)/4) - I*(4 - 27*x**2)**(2/3)/12

________________________________________________________________________________________

Giac [F]  time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{3 i \, x + 2}{{\left (-27 \, x^{2} + 4\right )}^{\frac{1}{3}}}\,{d x} \end{align*}

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

[In]

integrate((2+3*I*x)/(-27*x^2+4)^(1/3),x, algorithm="giac")

[Out]

integrate((3*I*x + 2)/(-27*x^2 + 4)^(1/3), x)