Integrand size = 19, antiderivative size = 58 \[ \int \frac {1}{(-2+x) \sqrt [4]{-x^2+x^3}} \, dx=\frac {\arctan \left (\frac {\sqrt {2} \sqrt [4]{-x^2+x^3}}{x}\right )}{\sqrt {2}}-\frac {\text {arctanh}\left (\frac {x}{\sqrt {2} \sqrt [4]{-x^2+x^3}}\right )}{\sqrt {2}} \]
[Out]
Time = 0.11 (sec) , antiderivative size = 102, normalized size of antiderivative = 1.76, number of steps used = 11, number of rules used = 8, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.421, Rules used = {2081, 107, 504, 1225, 226, 1713, 209, 212} \[ \int \frac {1}{(-2+x) \sqrt [4]{-x^2+x^3}} \, dx=\frac {\sqrt [4]{x-1} \sqrt {x} \arctan \left (\frac {\sqrt {2} \sqrt [4]{x-1}}{\sqrt {x}}\right )}{\sqrt {2} \sqrt [4]{x^3-x^2}}-\frac {\sqrt [4]{x-1} \sqrt {x} \text {arctanh}\left (\frac {\sqrt {2} \sqrt [4]{x-1}}{\sqrt {x}}\right )}{\sqrt {2} \sqrt [4]{x^3-x^2}} \]
[In]
[Out]
Rule 107
Rule 209
Rule 212
Rule 226
Rule 504
Rule 1225
Rule 1713
Rule 2081
Rubi steps \begin{align*} \text {integral}& = \frac {\left (\sqrt [4]{-1+x} \sqrt {x}\right ) \int \frac {1}{(-2+x) \sqrt [4]{-1+x} \sqrt {x}} \, dx}{\sqrt [4]{-x^2+x^3}} \\ & = -\frac {\left (4 \sqrt [4]{-1+x} \sqrt {x}\right ) \text {Subst}\left (\int \frac {x^2}{\left (1-x^4\right ) \sqrt {1+x^4}} \, dx,x,\sqrt [4]{-1+x}\right )}{\sqrt [4]{-x^2+x^3}} \\ & = -\frac {\left (2 \sqrt [4]{-1+x} \sqrt {x}\right ) \text {Subst}\left (\int \frac {1}{\left (1-x^2\right ) \sqrt {1+x^4}} \, dx,x,\sqrt [4]{-1+x}\right )}{\sqrt [4]{-x^2+x^3}}+\frac {\left (2 \sqrt [4]{-1+x} \sqrt {x}\right ) \text {Subst}\left (\int \frac {1}{\left (1+x^2\right ) \sqrt {1+x^4}} \, dx,x,\sqrt [4]{-1+x}\right )}{\sqrt [4]{-x^2+x^3}} \\ & = \frac {\left (\sqrt [4]{-1+x} \sqrt {x}\right ) \text {Subst}\left (\int \frac {1-x^2}{\left (1+x^2\right ) \sqrt {1+x^4}} \, dx,x,\sqrt [4]{-1+x}\right )}{\sqrt [4]{-x^2+x^3}}-\frac {\left (\sqrt [4]{-1+x} \sqrt {x}\right ) \text {Subst}\left (\int \frac {1+x^2}{\left (1-x^2\right ) \sqrt {1+x^4}} \, dx,x,\sqrt [4]{-1+x}\right )}{\sqrt [4]{-x^2+x^3}} \\ & = -\frac {\left (\sqrt [4]{-1+x} \sqrt {x}\right ) \text {Subst}\left (\int \frac {1}{1-2 x^2} \, dx,x,\frac {\sqrt [4]{-1+x}}{\sqrt {x}}\right )}{\sqrt [4]{-x^2+x^3}}+\frac {\left (\sqrt [4]{-1+x} \sqrt {x}\right ) \text {Subst}\left (\int \frac {1}{1+2 x^2} \, dx,x,\frac {\sqrt [4]{-1+x}}{\sqrt {x}}\right )}{\sqrt [4]{-x^2+x^3}} \\ & = \frac {\sqrt [4]{-1+x} \sqrt {x} \arctan \left (\frac {\sqrt {2} \sqrt [4]{-1+x}}{\sqrt {x}}\right )}{\sqrt {2} \sqrt [4]{-x^2+x^3}}-\frac {\sqrt [4]{-1+x} \sqrt {x} \text {arctanh}\left (\frac {\sqrt {2} \sqrt [4]{-1+x}}{\sqrt {x}}\right )}{\sqrt {2} \sqrt [4]{-x^2+x^3}} \\ \end{align*}
Time = 0.10 (sec) , antiderivative size = 70, normalized size of antiderivative = 1.21 \[ \int \frac {1}{(-2+x) \sqrt [4]{-x^2+x^3}} \, dx=\frac {\sqrt [4]{-1+x} \sqrt {x} \left (\arctan \left (\frac {\sqrt {2} \sqrt [4]{-1+x}}{\sqrt {x}}\right )-\text {arctanh}\left (\frac {\sqrt {x}}{\sqrt {2} \sqrt [4]{-1+x}}\right )\right )}{\sqrt {2} \sqrt [4]{(-1+x) x^2}} \]
[In]
[Out]
Result contains higher order function than in optimal. Order 9 vs. order 3.
Time = 2.19 (sec) , antiderivative size = 200, normalized size of antiderivative = 3.45
method | result | size |
trager | \(-\frac {\operatorname {RootOf}\left (\textit {\_Z}^{2}+2\right ) \ln \left (-\frac {4 \operatorname {RootOf}\left (\textit {\_Z}^{2}+2\right ) \sqrt {x^{3}-x^{2}}\, x -\operatorname {RootOf}\left (\textit {\_Z}^{2}+2\right ) x^{3}-4 \operatorname {RootOf}\left (\textit {\_Z}^{2}+2\right ) x^{2}-8 \left (x^{3}-x^{2}\right )^{\frac {3}{4}}+4 \left (x^{3}-x^{2}\right )^{\frac {1}{4}} x^{2}+4 \operatorname {RootOf}\left (\textit {\_Z}^{2}+2\right ) x}{\left (x -2\right )^{2} x}\right )}{4}-\frac {\operatorname {RootOf}\left (\textit {\_Z}^{2}-2\right ) \ln \left (\frac {4 \operatorname {RootOf}\left (\textit {\_Z}^{2}-2\right ) \sqrt {x^{3}-x^{2}}\, x +\operatorname {RootOf}\left (\textit {\_Z}^{2}-2\right ) x^{3}+4 \operatorname {RootOf}\left (\textit {\_Z}^{2}-2\right ) x^{2}+8 \left (x^{3}-x^{2}\right )^{\frac {3}{4}}+4 \left (x^{3}-x^{2}\right )^{\frac {1}{4}} x^{2}-4 \operatorname {RootOf}\left (\textit {\_Z}^{2}-2\right ) x}{\left (x -2\right )^{2} x}\right )}{4}\) | \(200\) |
[In]
[Out]
Leaf count of result is larger than twice the leaf count of optimal. 193 vs. \(2 (48) = 96\).
Time = 1.72 (sec) , antiderivative size = 193, normalized size of antiderivative = 3.33 \[ \int \frac {1}{(-2+x) \sqrt [4]{-x^2+x^3}} \, dx=\frac {1}{4} \, \sqrt {2} \arctan \left (\frac {2 \, {\left (\sqrt {2} {\left (x^{3} - x^{2}\right )}^{\frac {1}{4}} x^{2} + 2 \, \sqrt {2} {\left (x^{3} - x^{2}\right )}^{\frac {3}{4}}\right )}}{x^{3} - 4 \, x^{2} + 4 \, x}\right ) + \frac {1}{8} \, \sqrt {2} \log \left (-\frac {x^{5} + 56 \, x^{4} - 40 \, x^{3} - 8 \, \sqrt {2} {\left (x^{3} - x^{2}\right )}^{\frac {3}{4}} {\left (3 \, x^{2} + 4 \, x - 4\right )} - 32 \, x^{2} - 4 \, \sqrt {2} {\left (x^{4} + 12 \, x^{3} - 12 \, x^{2}\right )} {\left (x^{3} - x^{2}\right )}^{\frac {1}{4}} + 16 \, {\left (x^{3} + 4 \, x^{2} - 4 \, x\right )} \sqrt {x^{3} - x^{2}} + 16 \, x}{x^{5} - 8 \, x^{4} + 24 \, x^{3} - 32 \, x^{2} + 16 \, x}\right ) \]
[In]
[Out]
\[ \int \frac {1}{(-2+x) \sqrt [4]{-x^2+x^3}} \, dx=\int \frac {1}{\sqrt [4]{x^{2} \left (x - 1\right )} \left (x - 2\right )}\, dx \]
[In]
[Out]
\[ \int \frac {1}{(-2+x) \sqrt [4]{-x^2+x^3}} \, dx=\int { \frac {1}{{\left (x^{3} - x^{2}\right )}^{\frac {1}{4}} {\left (x - 2\right )}} \,d x } \]
[In]
[Out]
\[ \int \frac {1}{(-2+x) \sqrt [4]{-x^2+x^3}} \, dx=\int { \frac {1}{{\left (x^{3} - x^{2}\right )}^{\frac {1}{4}} {\left (x - 2\right )}} \,d x } \]
[In]
[Out]
Timed out. \[ \int \frac {1}{(-2+x) \sqrt [4]{-x^2+x^3}} \, dx=\int \frac {1}{{\left (x^3-x^2\right )}^{1/4}\,\left (x-2\right )} \,d x \]
[In]
[Out]