Integrand size = 20, antiderivative size = 18 \[ \int \frac {-1+x^4}{x^2 \sqrt {-x+x^3}} \, dx=\frac {2 \left (-x+x^3\right )^{3/2}}{3 x^3} \]
[Out]
Result contains higher order function than in optimal. Order 4 vs. order 2 in optimal.
Time = 0.06 (sec) , antiderivative size = 96, normalized size of antiderivative = 5.33, number of steps used = 5, number of rules used = 5, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.250, Rules used = {2073, 2050, 2036, 335, 228} \[ \int \frac {-1+x^4}{x^2 \sqrt {-x+x^3}} \, dx=-\frac {\sqrt {2} \sqrt {x-1} \sqrt {x} \sqrt {x+1} \operatorname {EllipticF}\left (\arcsin \left (\frac {\sqrt {2} \sqrt {x}}{\sqrt {x-1}}\right ),\frac {1}{2}\right )}{3 \sqrt {x^3-x}}+\frac {2 \sqrt {x^3-x}}{3}-\frac {2 \sqrt {x^3-x}}{3 x^2} \]
[In]
[Out]
Rule 228
Rule 335
Rule 2036
Rule 2050
Rule 2073
Rubi steps \begin{align*} \text {integral}& = \frac {2}{3} \sqrt {-x+x^3}-\int \frac {1}{x^2 \sqrt {-x+x^3}} \, dx \\ & = \frac {2}{3} \sqrt {-x+x^3}-\frac {2 \sqrt {-x+x^3}}{3 x^2}-\frac {1}{3} \int \frac {1}{\sqrt {-x+x^3}} \, dx \\ & = \frac {2}{3} \sqrt {-x+x^3}-\frac {2 \sqrt {-x+x^3}}{3 x^2}-\frac {\left (\sqrt {x} \sqrt {-1+x^2}\right ) \int \frac {1}{\sqrt {x} \sqrt {-1+x^2}} \, dx}{3 \sqrt {-x+x^3}} \\ & = \frac {2}{3} \sqrt {-x+x^3}-\frac {2 \sqrt {-x+x^3}}{3 x^2}-\frac {\left (2 \sqrt {x} \sqrt {-1+x^2}\right ) \text {Subst}\left (\int \frac {1}{\sqrt {-1+x^4}} \, dx,x,\sqrt {x}\right )}{3 \sqrt {-x+x^3}} \\ & = \frac {2}{3} \sqrt {-x+x^3}-\frac {2 \sqrt {-x+x^3}}{3 x^2}-\frac {\sqrt {2} \sqrt {-1+x} \sqrt {x} \sqrt {1+x} \operatorname {EllipticF}\left (\arcsin \left (\frac {\sqrt {2} \sqrt {x}}{\sqrt {-1+x}}\right ),\frac {1}{2}\right )}{3 \sqrt {-x+x^3}} \\ \end{align*}
Time = 0.14 (sec) , antiderivative size = 18, normalized size of antiderivative = 1.00 \[ \int \frac {-1+x^4}{x^2 \sqrt {-x+x^3}} \, dx=\frac {2 \left (x \left (-1+x^2\right )\right )^{3/2}}{3 x^3} \]
[In]
[Out]
Time = 0.82 (sec) , antiderivative size = 20, normalized size of antiderivative = 1.11
method | result | size |
trager | \(\frac {2 \left (x^{2}-1\right ) \sqrt {x^{3}-x}}{3 x^{2}}\) | \(20\) |
pseudoelliptic | \(\frac {2 \left (x^{2}-1\right ) \sqrt {x^{3}-x}}{3 x^{2}}\) | \(20\) |
risch | \(\frac {\frac {2}{3} x^{4}-\frac {4}{3} x^{2}+\frac {2}{3}}{x \sqrt {x \left (x^{2}-1\right )}}\) | \(25\) |
gosper | \(\frac {2 \left (x^{2}-1\right ) \left (x -1\right ) \left (1+x \right )}{3 \sqrt {x^{3}-x}\, x}\) | \(26\) |
default | \(\frac {2 \sqrt {x^{3}-x}}{3}-\frac {2 \sqrt {x^{3}-x}}{3 x^{2}}\) | \(27\) |
elliptic | \(\frac {2 \sqrt {x^{3}-x}}{3}-\frac {2 \sqrt {x^{3}-x}}{3 x^{2}}\) | \(27\) |
meijerg | \(\frac {2 \sqrt {-\operatorname {signum}\left (x^{2}-1\right )}\, x^{\frac {5}{2}} \operatorname {hypergeom}\left (\left [\frac {1}{2}, \frac {5}{4}\right ], \left [\frac {9}{4}\right ], x^{2}\right )}{5 \sqrt {\operatorname {signum}\left (x^{2}-1\right )}}+\frac {2 \sqrt {-\operatorname {signum}\left (x^{2}-1\right )}\, \operatorname {hypergeom}\left (\left [-\frac {3}{4}, \frac {1}{2}\right ], \left [\frac {1}{4}\right ], x^{2}\right )}{3 \sqrt {\operatorname {signum}\left (x^{2}-1\right )}\, x^{\frac {3}{2}}}\) | \(66\) |
[In]
[Out]
none
Time = 0.25 (sec) , antiderivative size = 19, normalized size of antiderivative = 1.06 \[ \int \frac {-1+x^4}{x^2 \sqrt {-x+x^3}} \, dx=\frac {2 \, \sqrt {x^{3} - x} {\left (x^{2} - 1\right )}}{3 \, x^{2}} \]
[In]
[Out]
\[ \int \frac {-1+x^4}{x^2 \sqrt {-x+x^3}} \, dx=\int \frac {\left (x - 1\right ) \left (x + 1\right ) \left (x^{2} + 1\right )}{x^{2} \sqrt {x \left (x - 1\right ) \left (x + 1\right )}}\, dx \]
[In]
[Out]
\[ \int \frac {-1+x^4}{x^2 \sqrt {-x+x^3}} \, dx=\int { \frac {x^{4} - 1}{\sqrt {x^{3} - x} x^{2}} \,d x } \]
[In]
[Out]
none
Time = 0.30 (sec) , antiderivative size = 25, normalized size of antiderivative = 1.39 \[ \int \frac {-1+x^4}{x^2 \sqrt {-x+x^3}} \, dx=\frac {2}{3} \, \sqrt {x^{3} - x} - \frac {2}{3} \, \sqrt {\frac {1}{x} - \frac {1}{x^{3}}} \]
[In]
[Out]
Time = 0.01 (sec) , antiderivative size = 1, normalized size of antiderivative = 0.06 \[ \int \frac {-1+x^4}{x^2 \sqrt {-x+x^3}} \, dx=0 \]
[In]
[Out]