Integrand size = 17, antiderivative size = 123 \[ \int \frac {1}{x \sqrt [3]{-b+a x^3}} \, dx=-\frac {\arctan \left (\frac {1}{\sqrt {3}}-\frac {2 \sqrt [3]{-b+a x^3}}{\sqrt {3} \sqrt [3]{b}}\right )}{\sqrt {3} \sqrt [3]{b}}-\frac {\log \left (\sqrt [3]{b}+\sqrt [3]{-b+a x^3}\right )}{3 \sqrt [3]{b}}+\frac {\log \left (b^{2/3}-\sqrt [3]{b} \sqrt [3]{-b+a x^3}+\left (-b+a x^3\right )^{2/3}\right )}{6 \sqrt [3]{b}} \]
[Out]
Time = 0.04 (sec) , antiderivative size = 86, normalized size of antiderivative = 0.70, number of steps used = 5, number of rules used = 5, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.294, Rules used = {272, 58, 631, 210, 31} \[ \int \frac {1}{x \sqrt [3]{-b+a x^3}} \, dx=-\frac {\arctan \left (\frac {\sqrt [3]{b}-2 \sqrt [3]{a x^3-b}}{\sqrt {3} \sqrt [3]{b}}\right )}{\sqrt {3} \sqrt [3]{b}}-\frac {\log \left (\sqrt [3]{a x^3-b}+\sqrt [3]{b}\right )}{2 \sqrt [3]{b}}+\frac {\log (x)}{2 \sqrt [3]{b}} \]
[In]
[Out]
Rule 31
Rule 58
Rule 210
Rule 272
Rule 631
Rubi steps \begin{align*} \text {integral}& = \frac {1}{3} \text {Subst}\left (\int \frac {1}{x \sqrt [3]{-b+a x}} \, dx,x,x^3\right ) \\ & = \frac {\log (x)}{2 \sqrt [3]{b}}+\frac {1}{2} \text {Subst}\left (\int \frac {1}{b^{2/3}-\sqrt [3]{b} x+x^2} \, dx,x,\sqrt [3]{-b+a x^3}\right )-\frac {\text {Subst}\left (\int \frac {1}{\sqrt [3]{b}+x} \, dx,x,\sqrt [3]{-b+a x^3}\right )}{2 \sqrt [3]{b}} \\ & = \frac {\log (x)}{2 \sqrt [3]{b}}-\frac {\log \left (\sqrt [3]{b}+\sqrt [3]{-b+a x^3}\right )}{2 \sqrt [3]{b}}+\frac {\text {Subst}\left (\int \frac {1}{-3-x^2} \, dx,x,1-\frac {2 \sqrt [3]{-b+a x^3}}{\sqrt [3]{b}}\right )}{\sqrt [3]{b}} \\ & = -\frac {\arctan \left (\frac {1-\frac {2 \sqrt [3]{-b+a x^3}}{\sqrt [3]{b}}}{\sqrt {3}}\right )}{\sqrt {3} \sqrt [3]{b}}+\frac {\log (x)}{2 \sqrt [3]{b}}-\frac {\log \left (\sqrt [3]{b}+\sqrt [3]{-b+a x^3}\right )}{2 \sqrt [3]{b}} \\ \end{align*}
Time = 0.09 (sec) , antiderivative size = 108, normalized size of antiderivative = 0.88 \[ \int \frac {1}{x \sqrt [3]{-b+a x^3}} \, dx=\frac {-2 \sqrt {3} \arctan \left (\frac {1-\frac {2 \sqrt [3]{-b+a x^3}}{\sqrt [3]{b}}}{\sqrt {3}}\right )-2 \log \left (\sqrt [3]{b}+\sqrt [3]{-b+a x^3}\right )+\log \left (b^{2/3}-\sqrt [3]{b} \sqrt [3]{-b+a x^3}+\left (-b+a x^3\right )^{2/3}\right )}{6 \sqrt [3]{b}} \]
[In]
[Out]
Time = 0.60 (sec) , antiderivative size = 87, normalized size of antiderivative = 0.71
method | result | size |
pseudoelliptic | \(-\frac {\sqrt {3}\, \arctan \left (\frac {\sqrt {3}\, \left (-2 \left (a \,x^{3}-b \right )^{\frac {1}{3}}+b^{\frac {1}{3}}\right )}{3 b^{\frac {1}{3}}}\right )+\ln \left (b^{\frac {1}{3}}+\left (a \,x^{3}-b \right )^{\frac {1}{3}}\right )-\frac {\ln \left (b^{\frac {2}{3}}-b^{\frac {1}{3}} \left (a \,x^{3}-b \right )^{\frac {1}{3}}+\left (a \,x^{3}-b \right )^{\frac {2}{3}}\right )}{2}}{3 b^{\frac {1}{3}}}\) | \(87\) |
[In]
[Out]
none
Time = 0.33 (sec) , antiderivative size = 308, normalized size of antiderivative = 2.50 \[ \int \frac {1}{x \sqrt [3]{-b+a x^3}} \, dx=\left [\frac {3 \, \sqrt {\frac {1}{3}} b \sqrt {\frac {\left (-b\right )^{\frac {1}{3}}}{b}} \log \left (\frac {2 \, a x^{3} + 3 \, \sqrt {\frac {1}{3}} {\left (2 \, {\left (a x^{3} - b\right )}^{\frac {2}{3}} \left (-b\right )^{\frac {2}{3}} + {\left (a x^{3} - b\right )}^{\frac {1}{3}} b + \left (-b\right )^{\frac {1}{3}} b\right )} \sqrt {\frac {\left (-b\right )^{\frac {1}{3}}}{b}} - 3 \, {\left (a x^{3} - b\right )}^{\frac {1}{3}} \left (-b\right )^{\frac {2}{3}} - 3 \, b}{x^{3}}\right ) + \left (-b\right )^{\frac {2}{3}} \log \left ({\left (a x^{3} - b\right )}^{\frac {2}{3}} + {\left (a x^{3} - b\right )}^{\frac {1}{3}} \left (-b\right )^{\frac {1}{3}} + \left (-b\right )^{\frac {2}{3}}\right ) - 2 \, \left (-b\right )^{\frac {2}{3}} \log \left ({\left (a x^{3} - b\right )}^{\frac {1}{3}} - \left (-b\right )^{\frac {1}{3}}\right )}{6 \, b}, \frac {6 \, \sqrt {\frac {1}{3}} b \sqrt {-\frac {\left (-b\right )^{\frac {1}{3}}}{b}} \arctan \left (\sqrt {\frac {1}{3}} {\left (2 \, {\left (a x^{3} - b\right )}^{\frac {1}{3}} + \left (-b\right )^{\frac {1}{3}}\right )} \sqrt {-\frac {\left (-b\right )^{\frac {1}{3}}}{b}}\right ) + \left (-b\right )^{\frac {2}{3}} \log \left ({\left (a x^{3} - b\right )}^{\frac {2}{3}} + {\left (a x^{3} - b\right )}^{\frac {1}{3}} \left (-b\right )^{\frac {1}{3}} + \left (-b\right )^{\frac {2}{3}}\right ) - 2 \, \left (-b\right )^{\frac {2}{3}} \log \left ({\left (a x^{3} - b\right )}^{\frac {1}{3}} - \left (-b\right )^{\frac {1}{3}}\right )}{6 \, b}\right ] \]
[In]
[Out]
Result contains complex when optimal does not.
Time = 0.49 (sec) , antiderivative size = 39, normalized size of antiderivative = 0.32 \[ \int \frac {1}{x \sqrt [3]{-b+a x^3}} \, dx=- \frac {\Gamma \left (\frac {1}{3}\right ) {{}_{2}F_{1}\left (\begin {matrix} \frac {1}{3}, \frac {1}{3} \\ \frac {4}{3} \end {matrix}\middle | {\frac {b e^{2 i \pi }}{a x^{3}}} \right )}}{3 \sqrt [3]{a} x \Gamma \left (\frac {4}{3}\right )} \]
[In]
[Out]
none
Time = 0.28 (sec) , antiderivative size = 95, normalized size of antiderivative = 0.77 \[ \int \frac {1}{x \sqrt [3]{-b+a x^3}} \, dx=\frac {\sqrt {3} \arctan \left (\frac {\sqrt {3} {\left (2 \, {\left (a x^{3} - b\right )}^{\frac {1}{3}} - b^{\frac {1}{3}}\right )}}{3 \, b^{\frac {1}{3}}}\right )}{3 \, b^{\frac {1}{3}}} + \frac {\log \left ({\left (a x^{3} - b\right )}^{\frac {2}{3}} - {\left (a x^{3} - b\right )}^{\frac {1}{3}} b^{\frac {1}{3}} + b^{\frac {2}{3}}\right )}{6 \, b^{\frac {1}{3}}} - \frac {\log \left ({\left (a x^{3} - b\right )}^{\frac {1}{3}} + b^{\frac {1}{3}}\right )}{3 \, b^{\frac {1}{3}}} \]
[In]
[Out]
none
Time = 0.49 (sec) , antiderivative size = 120, normalized size of antiderivative = 0.98 \[ \int \frac {1}{x \sqrt [3]{-b+a x^3}} \, dx=-\frac {\sqrt {3} \left (-b\right )^{\frac {2}{3}} \arctan \left (\frac {\sqrt {3} {\left (2 \, {\left (a x^{3} - b\right )}^{\frac {1}{3}} + \left (-b\right )^{\frac {1}{3}}\right )}}{3 \, \left (-b\right )^{\frac {1}{3}}}\right )}{3 \, b} + \frac {\left (-b\right )^{\frac {2}{3}} \log \left ({\left (a x^{3} - b\right )}^{\frac {2}{3}} + {\left (a x^{3} - b\right )}^{\frac {1}{3}} \left (-b\right )^{\frac {1}{3}} + \left (-b\right )^{\frac {2}{3}}\right )}{6 \, b} - \frac {\left (-b\right )^{\frac {2}{3}} \log \left ({\left | {\left (a x^{3} - b\right )}^{\frac {1}{3}} - \left (-b\right )^{\frac {1}{3}} \right |}\right )}{3 \, b} \]
[In]
[Out]
Time = 6.01 (sec) , antiderivative size = 118, normalized size of antiderivative = 0.96 \[ \int \frac {1}{x \sqrt [3]{-b+a x^3}} \, dx=\frac {\ln \left ({\left (a\,x^3-b\right )}^{1/3}-{\left (-b\right )}^{1/3}\right )}{3\,{\left (-b\right )}^{1/3}}+\frac {\ln \left ({\left (a\,x^3-b\right )}^{1/3}-\frac {{\left (-b\right )}^{1/3}\,{\left (-1+\sqrt {3}\,1{}\mathrm {i}\right )}^2}{4}\right )\,\left (-1+\sqrt {3}\,1{}\mathrm {i}\right )}{6\,{\left (-b\right )}^{1/3}}-\frac {\ln \left ({\left (a\,x^3-b\right )}^{1/3}-\frac {{\left (-b\right )}^{1/3}\,{\left (1+\sqrt {3}\,1{}\mathrm {i}\right )}^2}{4}\right )\,\left (1+\sqrt {3}\,1{}\mathrm {i}\right )}{6\,{\left (-b\right )}^{1/3}} \]
[In]
[Out]