3.81 \(\int \frac {\sqrt [3]{a}+\sqrt [3]{b} x}{(2 \sqrt [3]{a}-\sqrt [3]{b} x) \sqrt {-a-b x^3}} \, dx\)

Optimal. Leaf size=53 \[ \frac {2 \tan ^{-1}\left (\frac {\left (\sqrt [3]{a}+\sqrt [3]{b} x\right )^2}{3 \sqrt [6]{a} \sqrt {-a-b x^3}}\right )}{3 \sqrt [6]{a} \sqrt [3]{b}} \]

[Out]

2/3*arctan(1/3*(a^(1/3)+b^(1/3)*x)^2/a^(1/6)/(-b*x^3-a)^(1/2))/a^(1/6)/b^(1/3)

________________________________________________________________________________________

Rubi [A]  time = 0.14, antiderivative size = 53, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 2, integrand size = 46, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.043, Rules used = {2138, 203} \[ \frac {2 \tan ^{-1}\left (\frac {\left (\sqrt [3]{a}+\sqrt [3]{b} x\right )^2}{3 \sqrt [6]{a} \sqrt {-a-b x^3}}\right )}{3 \sqrt [6]{a} \sqrt [3]{b}} \]

Antiderivative was successfully verified.

[In]

Int[(a^(1/3) + b^(1/3)*x)/((2*a^(1/3) - b^(1/3)*x)*Sqrt[-a - b*x^3]),x]

[Out]

(2*ArcTan[(a^(1/3) + b^(1/3)*x)^2/(3*a^(1/6)*Sqrt[-a - b*x^3])])/(3*a^(1/6)*b^(1/3))

Rule 203

Int[((a_) + (b_.)*(x_)^2)^(-1), x_Symbol] :> Simp[(1*ArcTan[(Rt[b, 2]*x)/Rt[a, 2]])/(Rt[a, 2]*Rt[b, 2]), x] /;
 FreeQ[{a, b}, x] && PosQ[a/b] && (GtQ[a, 0] || GtQ[b, 0])

Rule 2138

Int[((e_) + (f_.)*(x_))/(((c_) + (d_.)*(x_))*Sqrt[(a_) + (b_.)*(x_)^3]), x_Symbol] :> Dist[(-2*e)/d, Subst[Int
[1/(9 - a*x^2), x], x, (1 + (f*x)/e)^2/Sqrt[a + b*x^3]], x] /; FreeQ[{a, b, c, d, e, f}, x] && NeQ[d*e - c*f,
0] && EqQ[b*c^3 + 8*a*d^3, 0] && EqQ[2*d*e + c*f, 0]

Rubi steps

\begin {align*} \int \frac {\sqrt [3]{a}+\sqrt [3]{b} x}{\left (2 \sqrt [3]{a}-\sqrt [3]{b} x\right ) \sqrt {-a-b x^3}} \, dx &=\frac {\left (2 \sqrt [3]{a}\right ) \operatorname {Subst}\left (\int \frac {1}{9+a x^2} \, dx,x,\frac {\left (1+\frac {\sqrt [3]{b} x}{\sqrt [3]{a}}\right )^2}{\sqrt {-a-b x^3}}\right )}{\sqrt [3]{b}}\\ &=\frac {2 \tan ^{-1}\left (\frac {\left (\sqrt [3]{a}+\sqrt [3]{b} x\right )^2}{3 \sqrt [6]{a} \sqrt {-a-b x^3}}\right )}{3 \sqrt [6]{a} \sqrt [3]{b}}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]  time = 0.02, size = 54, normalized size = 1.02 \[ \frac {2 \tan ^{-1}\left (\frac {\sqrt {a} \left (\frac {\sqrt [3]{b} x}{\sqrt [3]{a}}+1\right )^2}{3 \sqrt {-a-b x^3}}\right )}{3 \sqrt [6]{a} \sqrt [3]{b}} \]

Antiderivative was successfully verified.

[In]

Integrate[(a^(1/3) + b^(1/3)*x)/((2*a^(1/3) - b^(1/3)*x)*Sqrt[-a - b*x^3]),x]

[Out]

(2*ArcTan[(Sqrt[a]*(1 + (b^(1/3)*x)/a^(1/3))^2)/(3*Sqrt[-a - b*x^3])])/(3*a^(1/6)*b^(1/3))

________________________________________________________________________________________

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

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((a^(1/3)+b^(1/3)*x)/(2*a^(1/3)-b^(1/3)*x)/(-b*x^3-a)^(1/2),x, algorithm="fricas")

[Out]

Timed out

________________________________________________________________________________________

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

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((a^(1/3)+b^(1/3)*x)/(2*a^(1/3)-b^(1/3)*x)/(-b*x^3-a)^(1/2),x, algorithm="giac")

[Out]

Timed out

________________________________________________________________________________________

maple [F]  time = 0.12, size = 0, normalized size = 0.00 \[ \int \frac {b^{\frac {1}{3}} x +a^{\frac {1}{3}}}{\left (-b^{\frac {1}{3}} x +2 a^{\frac {1}{3}}\right ) \sqrt {-b \,x^{3}-a}}\, dx \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((b^(1/3)*x+a^(1/3))/(-b^(1/3)*x+2*a^(1/3))/(-b*x^3-a)^(1/2),x)

[Out]

int((b^(1/3)*x+a^(1/3))/(-b^(1/3)*x+2*a^(1/3))/(-b*x^3-a)^(1/2),x)

________________________________________________________________________________________

maxima [F]  time = 0.00, size = 0, normalized size = 0.00 \[ -\int \frac {b^{\frac {1}{3}} x + a^{\frac {1}{3}}}{\sqrt {-b x^{3} - a} {\left (b^{\frac {1}{3}} x - 2 \, a^{\frac {1}{3}}\right )}}\,{d x} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((a^(1/3)+b^(1/3)*x)/(2*a^(1/3)-b^(1/3)*x)/(-b*x^3-a)^(1/2),x, algorithm="maxima")

[Out]

-integrate((b^(1/3)*x + a^(1/3))/(sqrt(-b*x^3 - a)*(b^(1/3)*x - 2*a^(1/3))), x)

________________________________________________________________________________________

mupad [B]  time = 5.37, size = 78, normalized size = 1.47 \[ \frac {\ln \left (\frac {\left (\sqrt {-b\,x^3-a}-\sqrt {a}\,1{}\mathrm {i}\right )\,{\left (2\,a^{1/6}\,b^{1/3}\,x-\sqrt {a}+\sqrt {-b\,x^3-a}\,1{}\mathrm {i}\right )}^3}{x^3\,{\left (b^{1/3}\,x-2\,a^{1/3}\right )}^3}\right )\,1{}\mathrm {i}}{3\,a^{1/6}\,b^{1/3}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(-(b^(1/3)*x + a^(1/3))/((b^(1/3)*x - 2*a^(1/3))*(- a - b*x^3)^(1/2)),x)

[Out]

(log((((- a - b*x^3)^(1/2) - a^(1/2)*1i)*((- a - b*x^3)^(1/2)*1i - a^(1/2) + 2*a^(1/6)*b^(1/3)*x)^3)/(x^3*(b^(
1/3)*x - 2*a^(1/3))^3))*1i)/(3*a^(1/6)*b^(1/3))

________________________________________________________________________________________

sympy [F]  time = 0.00, size = 0, normalized size = 0.00 \[ - \int \frac {\sqrt [3]{a}}{- 2 \sqrt [3]{a} \sqrt {- a - b x^{3}} + \sqrt [3]{b} x \sqrt {- a - b x^{3}}}\, dx - \int \frac {\sqrt [3]{b} x}{- 2 \sqrt [3]{a} \sqrt {- a - b x^{3}} + \sqrt [3]{b} x \sqrt {- a - b x^{3}}}\, dx \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((a**(1/3)+b**(1/3)*x)/(2*a**(1/3)-b**(1/3)*x)/(-b*x**3-a)**(1/2),x)

[Out]

-Integral(a**(1/3)/(-2*a**(1/3)*sqrt(-a - b*x**3) + b**(1/3)*x*sqrt(-a - b*x**3)), x) - Integral(b**(1/3)*x/(-
2*a**(1/3)*sqrt(-a - b*x**3) + b**(1/3)*x*sqrt(-a - b*x**3)), x)

________________________________________________________________________________________