\(\int \frac {1}{(1-x^3) \sqrt [3]{a+b x^3}} \, dx\) [94]
Optimal result
Integrand size = 21, antiderivative size = 98 \[
\int \frac {1}{\left (1-x^3\right ) \sqrt [3]{a+b x^3}} \, dx=\frac {\arctan \left (\frac {1+\frac {2 \sqrt [3]{a+b} x}{\sqrt [3]{a+b x^3}}}{\sqrt {3}}\right )}{\sqrt {3} \sqrt [3]{a+b}}+\frac {\log \left (1-x^3\right )}{6 \sqrt [3]{a+b}}-\frac {\log \left (\sqrt [3]{a+b} x-\sqrt [3]{a+b x^3}\right )}{2 \sqrt [3]{a+b}}
\]
[Out]
1/6*ln(-x^3+1)/(a+b)^(1/3)-1/2*ln((a+b)^(1/3)*x-(b*x^3+a)^(1/3))/(a+b)^(1/3)+1/3*arctan(1/3*(1+2*(a+b)^(1/3)*x
/(b*x^3+a)^(1/3))*3^(1/2))/(a+b)^(1/3)*3^(1/2)
Rubi [A] (verified)
Time = 0.02 (sec) , antiderivative size = 98, normalized size of antiderivative = 1.00,
number of steps used = 1, number of rules used = 1, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.048, Rules used = {384}
\[
\int \frac {1}{\left (1-x^3\right ) \sqrt [3]{a+b x^3}} \, dx=\frac {\arctan \left (\frac {\frac {2 x \sqrt [3]{a+b}}{\sqrt [3]{a+b x^3}}+1}{\sqrt {3}}\right )}{\sqrt {3} \sqrt [3]{a+b}}+\frac {\log \left (1-x^3\right )}{6 \sqrt [3]{a+b}}-\frac {\log \left (x \sqrt [3]{a+b}-\sqrt [3]{a+b x^3}\right )}{2 \sqrt [3]{a+b}}
\]
[In]
Int[1/((1 - x^3)*(a + b*x^3)^(1/3)),x]
[Out]
ArcTan[(1 + (2*(a + b)^(1/3)*x)/(a + b*x^3)^(1/3))/Sqrt[3]]/(Sqrt[3]*(a + b)^(1/3)) + Log[1 - x^3]/(6*(a + b)^
(1/3)) - Log[(a + b)^(1/3)*x - (a + b*x^3)^(1/3)]/(2*(a + b)^(1/3))
Rule 384
Int[1/(((a_) + (b_.)*(x_)^3)^(1/3)*((c_) + (d_.)*(x_)^3)), x_Symbol] :> With[{q = Rt[(b*c - a*d)/c, 3]}, Simp[
ArcTan[(1 + (2*q*x)/(a + b*x^3)^(1/3))/Sqrt[3]]/(Sqrt[3]*c*q), x] + (-Simp[Log[q*x - (a + b*x^3)^(1/3)]/(2*c*q
), x] + Simp[Log[c + d*x^3]/(6*c*q), x])] /; FreeQ[{a, b, c, d}, x] && NeQ[b*c - a*d, 0]
Rubi steps \begin{align*}
\text {integral}& = \frac {\arctan \left (\frac {1+\frac {2 \sqrt [3]{a+b} x}{\sqrt [3]{a+b x^3}}}{\sqrt {3}}\right )}{\sqrt {3} \sqrt [3]{a+b}}+\frac {\log \left (1-x^3\right )}{6 \sqrt [3]{a+b}}-\frac {\log \left (\sqrt [3]{a+b} x-\sqrt [3]{a+b x^3}\right )}{2 \sqrt [3]{a+b}} \\
\end{align*}
Mathematica [C] (verified)
Result contains complex when optimal does not.
Time = 0.88 (sec) , antiderivative size = 189, normalized size of antiderivative = 1.93
\[
\int \frac {1}{\left (1-x^3\right ) \sqrt [3]{a+b x^3}} \, dx=\frac {-2 \sqrt {-6+6 i \sqrt {3}} \arctan \left (\frac {3 \sqrt [3]{a+b} x}{\sqrt {3} \sqrt [3]{a+b} x-\left (3 i+\sqrt {3}\right ) \sqrt [3]{a+b x^3}}\right )+\left (1+i \sqrt {3}\right ) \left (2 \log \left (2 \sqrt [3]{a+b} x+\left (1+i \sqrt {3}\right ) \sqrt [3]{a+b x^3}\right )-\log \left (\left (-\sqrt [3]{a+b} x+\sqrt [3]{a+b x^3}\right ) \left (2 i \sqrt [3]{a+b} x+\left (i+\sqrt {3}\right ) \sqrt [3]{a+b x^3}\right )\right )\right )}{12 \sqrt [3]{a+b}}
\]
[In]
Integrate[1/((1 - x^3)*(a + b*x^3)^(1/3)),x]
[Out]
(-2*Sqrt[-6 + (6*I)*Sqrt[3]]*ArcTan[(3*(a + b)^(1/3)*x)/(Sqrt[3]*(a + b)^(1/3)*x - (3*I + Sqrt[3])*(a + b*x^3)
^(1/3))] + (1 + I*Sqrt[3])*(2*Log[2*(a + b)^(1/3)*x + (1 + I*Sqrt[3])*(a + b*x^3)^(1/3)] - Log[(-((a + b)^(1/3
)*x) + (a + b*x^3)^(1/3))*((2*I)*(a + b)^(1/3)*x + (I + Sqrt[3])*(a + b*x^3)^(1/3))]))/(12*(a + b)^(1/3))
Maple [A] (verified)
Time = 1.29 (sec) , antiderivative size = 111, normalized size of antiderivative = 1.13
| | |
method | result | size |
| | |
pseudoelliptic |
\(-\frac {\sqrt {3}\, \arctan \left (\frac {\sqrt {3}\, \left (\left (a +b \right )^{\frac {1}{3}} x +2 \left (b \,x^{3}+a \right )^{\frac {1}{3}}\right )}{3 \left (a +b \right )^{\frac {1}{3}} x}\right )+\ln \left (\frac {-\left (a +b \right )^{\frac {1}{3}} x +\left (b \,x^{3}+a \right )^{\frac {1}{3}}}{x}\right )-\frac {\ln \left (\frac {\left (a +b \right )^{\frac {2}{3}} x^{2}+\left (a +b \right )^{\frac {1}{3}} \left (b \,x^{3}+a \right )^{\frac {1}{3}} x +\left (b \,x^{3}+a \right )^{\frac {2}{3}}}{x^{2}}\right )}{2}}{3 \left (a +b \right )^{\frac {1}{3}}}\) |
\(111\) |
| | |
|
|
|
[In]
int(1/(-x^3+1)/(b*x^3+a)^(1/3),x,method=_RETURNVERBOSE)
[Out]
-1/3/(a+b)^(1/3)*(3^(1/2)*arctan(1/3*3^(1/2)*((a+b)^(1/3)*x+2*(b*x^3+a)^(1/3))/(a+b)^(1/3)/x)+ln((-(a+b)^(1/3)
*x+(b*x^3+a)^(1/3))/x)-1/2*ln(((a+b)^(2/3)*x^2+(a+b)^(1/3)*(b*x^3+a)^(1/3)*x+(b*x^3+a)^(2/3))/x^2))
Fricas [B] (verification not implemented)
Leaf count of result is larger than twice the leaf count of optimal. 559 vs. \(2 (78) = 156\).
Time = 108.17 (sec) , antiderivative size = 1252, normalized size of antiderivative = 12.78
\[
\int \frac {1}{\left (1-x^3\right ) \sqrt [3]{a+b x^3}} \, dx=\text {Too large to display}
\]
[In]
integrate(1/(-x^3+1)/(b*x^3+a)^(1/3),x, algorithm="fricas")
[Out]
[1/18*(3*sqrt(1/3)*(a + b)*sqrt((-a - b)^(1/3)/(a + b))*log(-((a^3 - 27*a^2*b - 108*a*b^2 - 81*b^3)*x^9 - 3*(1
0*a^3 + 54*a^2*b + 45*a*b^2)*x^6 - 3*(17*a^3 + 18*a^2*b)*x^3 - a^3 + 9*((2*a^2 + 3*a*b)*x^7 - (a^2 + 3*a*b)*x^
4 - a^2*x)*(b*x^3 + a)^(2/3)*(-a - b)^(1/3) + 9*((a^2 + 9*a*b + 9*b^2)*x^8 + (7*a^2 + 9*a*b)*x^5 + a^2*x^2)*(b
*x^3 + a)^(1/3)*(-a - b)^(2/3) + 3*sqrt(1/3)*(3*((4*a^2 + 21*a*b + 18*b^2)*x^7 + (13*a^2 + 15*a*b)*x^4 + a^2*x
)*(b*x^3 + a)^(2/3)*(-a - b)^(2/3) + 3*((a^3 - 2*a^2*b - 12*a*b^2 - 9*b^3)*x^8 - 5*(a^3 + 4*a^2*b + 3*a*b^2)*x
^5 - 5*(a^3 + a^2*b)*x^2)*(b*x^3 + a)^(1/3) + ((a^3 + 27*a^2*b + 54*a*b^2 + 27*b^3)*x^9 + 3*(8*a^3 + 18*a^2*b
+ 9*a*b^2)*x^6 + 3*a^3*x^3 - a^3)*(-a - b)^(1/3))*sqrt((-a - b)^(1/3)/(a + b)))/(x^9 - 3*x^6 + 3*x^3 - 1)) - 2
*(-a - b)^(2/3)*log(-(3*(b*x^3 + a)^(1/3)*(a + b)*(-a - b)^(1/3)*x^2 + 3*(b*x^3 + a)^(2/3)*(a + b)*x + (a*x^3
- a)*(-a - b)^(2/3))/(x^3 - 1)) + (-a - b)^(2/3)*log((3*((2*a + 3*b)*x^4 + a*x)*(b*x^3 + a)^(2/3)*(-a - b)^(2/
3) + 3*((a^2 + 4*a*b + 3*b^2)*x^5 + 2*(a^2 + a*b)*x^2)*(b*x^3 + a)^(1/3) - ((a^2 + 9*a*b + 9*b^2)*x^6 + (7*a^2
+ 9*a*b)*x^3 + a^2)*(-a - b)^(1/3))/(x^6 - 2*x^3 + 1)))/(a + b), 1/18*(6*sqrt(1/3)*(a + b)*sqrt(-(-a - b)^(1/
3)/(a + b))*arctan(sqrt(1/3)*(6*((2*a^2 + 3*a*b)*x^7 - (a^2 + 3*a*b)*x^4 - a^2*x)*(b*x^3 + a)^(2/3)*(-a - b)^(
2/3) - 6*((a^3 + 10*a^2*b + 18*a*b^2 + 9*b^3)*x^8 + (7*a^3 + 16*a^2*b + 9*a*b^2)*x^5 + (a^3 + a^2*b)*x^2)*(b*x
^3 + a)^(1/3) - ((a^3 - 9*a^2*b - 36*a*b^2 - 27*b^3)*x^9 - 3*(4*a^3 + 18*a^2*b + 15*a*b^2)*x^6 - 3*(5*a^3 + 6*
a^2*b)*x^3 - a^3)*(-a - b)^(1/3))*sqrt(-(-a - b)^(1/3)/(a + b))/((a^3 + 27*a^2*b + 54*a*b^2 + 27*b^3)*x^9 + 3*
(8*a^3 + 18*a^2*b + 9*a*b^2)*x^6 + 3*a^3*x^3 - a^3)) - 2*(-a - b)^(2/3)*log(-(3*(b*x^3 + a)^(1/3)*(a + b)*(-a
- b)^(1/3)*x^2 + 3*(b*x^3 + a)^(2/3)*(a + b)*x + (a*x^3 - a)*(-a - b)^(2/3))/(x^3 - 1)) + (-a - b)^(2/3)*log((
3*((2*a + 3*b)*x^4 + a*x)*(b*x^3 + a)^(2/3)*(-a - b)^(2/3) + 3*((a^2 + 4*a*b + 3*b^2)*x^5 + 2*(a^2 + a*b)*x^2)
*(b*x^3 + a)^(1/3) - ((a^2 + 9*a*b + 9*b^2)*x^6 + (7*a^2 + 9*a*b)*x^3 + a^2)*(-a - b)^(1/3))/(x^6 - 2*x^3 + 1)
))/(a + b)]
Sympy [F]
\[
\int \frac {1}{\left (1-x^3\right ) \sqrt [3]{a+b x^3}} \, dx=- \int \frac {1}{x^{3} \sqrt [3]{a + b x^{3}} - \sqrt [3]{a + b x^{3}}}\, dx
\]
[In]
integrate(1/(-x**3+1)/(b*x**3+a)**(1/3),x)
[Out]
-Integral(1/(x**3*(a + b*x**3)**(1/3) - (a + b*x**3)**(1/3)), x)
Maxima [F]
\[
\int \frac {1}{\left (1-x^3\right ) \sqrt [3]{a+b x^3}} \, dx=\int { -\frac {1}{{\left (b x^{3} + a\right )}^{\frac {1}{3}} {\left (x^{3} - 1\right )}} \,d x }
\]
[In]
integrate(1/(-x^3+1)/(b*x^3+a)^(1/3),x, algorithm="maxima")
[Out]
-integrate(1/((b*x^3 + a)^(1/3)*(x^3 - 1)), x)
Giac [F]
\[
\int \frac {1}{\left (1-x^3\right ) \sqrt [3]{a+b x^3}} \, dx=\int { -\frac {1}{{\left (b x^{3} + a\right )}^{\frac {1}{3}} {\left (x^{3} - 1\right )}} \,d x }
\]
[In]
integrate(1/(-x^3+1)/(b*x^3+a)^(1/3),x, algorithm="giac")
[Out]
integrate(-1/((b*x^3 + a)^(1/3)*(x^3 - 1)), x)
Mupad [F(-1)]
Timed out. \[
\int \frac {1}{\left (1-x^3\right ) \sqrt [3]{a+b x^3}} \, dx=-\int \frac {1}{\left (x^3-1\right )\,{\left (b\,x^3+a\right )}^{1/3}} \,d x
\]
[In]
int(-1/((x^3 - 1)*(a + b*x^3)^(1/3)),x)
[Out]
-int(1/((x^3 - 1)*(a + b*x^3)^(1/3)), x)