3.80 \(\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{b x^3-a}}\right )}{3 \sqrt [6]{a} \sqrt [3]{b}} \]

[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))

________________________________________________________________________________________

Rubi [A]  time = 0.14184, antiderivative size = 53, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 2, integrand size = 45, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.044, 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{b x^3-a}}\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 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]

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])

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.0220353, size = 54, normalized size = 1.02 \[ -\frac{2 \tan ^{-1}\left (\frac{\sqrt{a} \left (1-\frac{\sqrt [3]{b} x}{\sqrt [3]{a}}\right )^2}{3 \sqrt{b x^3-a}}\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))

________________________________________________________________________________________

Maple [F]  time = 0.074, size = 0, normalized size = 0. \begin{align*} \int{ \left ( \sqrt [3]{a}-\sqrt [3]{b}x \right ) \left ( 2\,\sqrt [3]{a}+\sqrt [3]{b}x \right ) ^{-1}{\frac{1}{\sqrt{b{x}^{3}-a}}}}\, dx \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

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

________________________________________________________________________________________

Maxima [F]  time = 0., size = 0, normalized size = 0. \begin{align*} -\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} \end{align*}

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)

________________________________________________________________________________________

Fricas [F(-1)]  time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}

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

________________________________________________________________________________________

Sympy [F]  time = 0., size = 0, normalized size = 0. \begin{align*} - \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 \end{align*}

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)

________________________________________________________________________________________

Giac [F(-2)]  time = 0., size = 0, normalized size = 0. \begin{align*} \text{Exception raised: TypeError} \end{align*}

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]

Exception raised: TypeError