Integrand size = 13, antiderivative size = 59 \[ \int \sqrt [4]{-x^2+x^4} \, dx=\frac {1}{2} x \sqrt [4]{-x^2+x^4}+\frac {1}{4} \arctan \left (\frac {x}{\sqrt [4]{-x^2+x^4}}\right )-\frac {1}{4} \text {arctanh}\left (\frac {x}{\sqrt [4]{-x^2+x^4}}\right ) \]
[Out]
Time = 0.04 (sec) , antiderivative size = 113, normalized size of antiderivative = 1.92, number of steps used = 7, number of rules used = 7, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.538, Rules used = {2029, 2057, 335, 338, 304, 209, 212} \[ \int \sqrt [4]{-x^2+x^4} \, dx=\frac {\left (x^2-1\right )^{3/4} x^{3/2} \arctan \left (\frac {\sqrt {x}}{\sqrt [4]{x^2-1}}\right )}{4 \left (x^4-x^2\right )^{3/4}}-\frac {\left (x^2-1\right )^{3/4} x^{3/2} \text {arctanh}\left (\frac {\sqrt {x}}{\sqrt [4]{x^2-1}}\right )}{4 \left (x^4-x^2\right )^{3/4}}+\frac {1}{2} \sqrt [4]{x^4-x^2} x \]
[In]
[Out]
Rule 209
Rule 212
Rule 304
Rule 335
Rule 338
Rule 2029
Rule 2057
Rubi steps \begin{align*} \text {integral}& = \frac {1}{2} x \sqrt [4]{-x^2+x^4}-\frac {1}{4} \int \frac {x^2}{\left (-x^2+x^4\right )^{3/4}} \, dx \\ & = \frac {1}{2} x \sqrt [4]{-x^2+x^4}-\frac {\left (x^{3/2} \left (-1+x^2\right )^{3/4}\right ) \int \frac {\sqrt {x}}{\left (-1+x^2\right )^{3/4}} \, dx}{4 \left (-x^2+x^4\right )^{3/4}} \\ & = \frac {1}{2} x \sqrt [4]{-x^2+x^4}-\frac {\left (x^{3/2} \left (-1+x^2\right )^{3/4}\right ) \text {Subst}\left (\int \frac {x^2}{\left (-1+x^4\right )^{3/4}} \, dx,x,\sqrt {x}\right )}{2 \left (-x^2+x^4\right )^{3/4}} \\ & = \frac {1}{2} x \sqrt [4]{-x^2+x^4}-\frac {\left (x^{3/2} \left (-1+x^2\right )^{3/4}\right ) \text {Subst}\left (\int \frac {x^2}{1-x^4} \, dx,x,\frac {\sqrt {x}}{\sqrt [4]{-1+x^2}}\right )}{2 \left (-x^2+x^4\right )^{3/4}} \\ & = \frac {1}{2} x \sqrt [4]{-x^2+x^4}-\frac {\left (x^{3/2} \left (-1+x^2\right )^{3/4}\right ) \text {Subst}\left (\int \frac {1}{1-x^2} \, dx,x,\frac {\sqrt {x}}{\sqrt [4]{-1+x^2}}\right )}{4 \left (-x^2+x^4\right )^{3/4}}+\frac {\left (x^{3/2} \left (-1+x^2\right )^{3/4}\right ) \text {Subst}\left (\int \frac {1}{1+x^2} \, dx,x,\frac {\sqrt {x}}{\sqrt [4]{-1+x^2}}\right )}{4 \left (-x^2+x^4\right )^{3/4}} \\ & = \frac {1}{2} x \sqrt [4]{-x^2+x^4}+\frac {x^{3/2} \left (-1+x^2\right )^{3/4} \arctan \left (\frac {\sqrt {x}}{\sqrt [4]{-1+x^2}}\right )}{4 \left (-x^2+x^4\right )^{3/4}}-\frac {x^{3/2} \left (-1+x^2\right )^{3/4} \text {arctanh}\left (\frac {\sqrt {x}}{\sqrt [4]{-1+x^2}}\right )}{4 \left (-x^2+x^4\right )^{3/4}} \\ \end{align*}
Time = 0.17 (sec) , antiderivative size = 82, normalized size of antiderivative = 1.39 \[ \int \sqrt [4]{-x^2+x^4} \, dx=\frac {x^{3/2} \left (-1+x^2\right )^{3/4} \left (2 x^{3/2} \sqrt [4]{-1+x^2}+\arctan \left (\frac {\sqrt {x}}{\sqrt [4]{-1+x^2}}\right )-\text {arctanh}\left (\frac {\sqrt {x}}{\sqrt [4]{-1+x^2}}\right )\right )}{4 \left (x^2 \left (-1+x^2\right )\right )^{3/4}} \]
[In]
[Out]
Result contains higher order function than in optimal. Order 9 vs. order 3.
Time = 3.00 (sec) , antiderivative size = 33, normalized size of antiderivative = 0.56
method | result | size |
meijerg | \(\frac {2 \operatorname {signum}\left (x^{2}-1\right )^{\frac {1}{4}} x^{\frac {3}{2}} \operatorname {hypergeom}\left (\left [-\frac {1}{4}, \frac {3}{4}\right ], \left [\frac {7}{4}\right ], x^{2}\right )}{3 {\left (-\operatorname {signum}\left (x^{2}-1\right )\right )}^{\frac {1}{4}}}\) | \(33\) |
pseudoelliptic | \(\frac {x \left (x^{4}-x^{2}\right )^{\frac {1}{4}}}{2}+\frac {\ln \left (\frac {\left (x^{4}-x^{2}\right )^{\frac {1}{4}}-x}{x}\right )}{8}-\frac {\arctan \left (\frac {\left (x^{4}-x^{2}\right )^{\frac {1}{4}}}{x}\right )}{4}-\frac {\ln \left (\frac {\left (x^{4}-x^{2}\right )^{\frac {1}{4}}+x}{x}\right )}{8}\) | \(76\) |
trager | \(\frac {x \left (x^{4}-x^{2}\right )^{\frac {1}{4}}}{2}+\frac {\operatorname {RootOf}\left (\textit {\_Z}^{2}+1\right ) \ln \left (-\frac {2 \operatorname {RootOf}\left (\textit {\_Z}^{2}+1\right ) \sqrt {x^{4}-x^{2}}\, x -2 \operatorname {RootOf}\left (\textit {\_Z}^{2}+1\right ) x^{3}-2 \left (x^{4}-x^{2}\right )^{\frac {3}{4}}+2 x^{2} \left (x^{4}-x^{2}\right )^{\frac {1}{4}}+\operatorname {RootOf}\left (\textit {\_Z}^{2}+1\right ) x}{x}\right )}{8}+\frac {\ln \left (\frac {2 \left (x^{4}-x^{2}\right )^{\frac {3}{4}}-2 \sqrt {x^{4}-x^{2}}\, x +2 x^{2} \left (x^{4}-x^{2}\right )^{\frac {1}{4}}-2 x^{3}+x}{x}\right )}{8}\) | \(156\) |
risch | \(\frac {x \left (x^{2} \left (x^{2}-1\right )\right )^{\frac {1}{4}}}{2}+\frac {\left (\frac {\operatorname {RootOf}\left (\textit {\_Z}^{2}+1\right ) \ln \left (-\frac {-2 \operatorname {RootOf}\left (\textit {\_Z}^{2}+1\right ) \left (x^{8}-3 x^{6}+3 x^{4}-x^{2}\right )^{\frac {1}{4}} x^{4}+2 x^{6}+2 \operatorname {RootOf}\left (\textit {\_Z}^{2}+1\right ) \left (x^{8}-3 x^{6}+3 x^{4}-x^{2}\right )^{\frac {3}{4}}+4 \operatorname {RootOf}\left (\textit {\_Z}^{2}+1\right ) \left (x^{8}-3 x^{6}+3 x^{4}-x^{2}\right )^{\frac {1}{4}} x^{2}-2 \sqrt {x^{8}-3 x^{6}+3 x^{4}-x^{2}}\, x^{2}-5 x^{4}-2 \operatorname {RootOf}\left (\textit {\_Z}^{2}+1\right ) \left (x^{8}-3 x^{6}+3 x^{4}-x^{2}\right )^{\frac {1}{4}}+2 \sqrt {x^{8}-3 x^{6}+3 x^{4}-x^{2}}+4 x^{2}-1}{\left (x -1\right )^{2} \left (1+x \right )^{2}}\right )}{8}+\frac {\ln \left (-\frac {-2 x^{6}+2 \left (x^{8}-3 x^{6}+3 x^{4}-x^{2}\right )^{\frac {1}{4}} x^{4}-2 \sqrt {x^{8}-3 x^{6}+3 x^{4}-x^{2}}\, x^{2}+5 x^{4}+2 \left (x^{8}-3 x^{6}+3 x^{4}-x^{2}\right )^{\frac {3}{4}}-4 \left (x^{8}-3 x^{6}+3 x^{4}-x^{2}\right )^{\frac {1}{4}} x^{2}+2 \sqrt {x^{8}-3 x^{6}+3 x^{4}-x^{2}}-4 x^{2}+2 \left (x^{8}-3 x^{6}+3 x^{4}-x^{2}\right )^{\frac {1}{4}}+1}{\left (x -1\right )^{2} \left (1+x \right )^{2}}\right )}{8}\right ) \left (x^{2} \left (x^{2}-1\right )\right )^{\frac {1}{4}} \left (x^{2} \left (x^{2}-1\right )^{3}\right )^{\frac {1}{4}}}{x \left (x^{2}-1\right )}\) | \(440\) |
[In]
[Out]
Leaf count of result is larger than twice the leaf count of optimal. 110 vs. \(2 (47) = 94\).
Time = 0.72 (sec) , antiderivative size = 110, normalized size of antiderivative = 1.86 \[ \int \sqrt [4]{-x^2+x^4} \, dx=\frac {1}{2} \, {\left (x^{4} - x^{2}\right )}^{\frac {1}{4}} x - \frac {1}{8} \, \arctan \left (\frac {2 \, {\left ({\left (x^{4} - x^{2}\right )}^{\frac {1}{4}} x^{2} + {\left (x^{4} - x^{2}\right )}^{\frac {3}{4}}\right )}}{x}\right ) + \frac {1}{8} \, \log \left (-\frac {2 \, x^{3} - 2 \, {\left (x^{4} - x^{2}\right )}^{\frac {1}{4}} x^{2} + 2 \, \sqrt {x^{4} - x^{2}} x - x - 2 \, {\left (x^{4} - x^{2}\right )}^{\frac {3}{4}}}{x}\right ) \]
[In]
[Out]
\[ \int \sqrt [4]{-x^2+x^4} \, dx=\int \sqrt [4]{x^{4} - x^{2}}\, dx \]
[In]
[Out]
\[ \int \sqrt [4]{-x^2+x^4} \, dx=\int { {\left (x^{4} - x^{2}\right )}^{\frac {1}{4}} \,d x } \]
[In]
[Out]
none
Time = 0.27 (sec) , antiderivative size = 57, normalized size of antiderivative = 0.97 \[ \int \sqrt [4]{-x^2+x^4} \, dx=\frac {1}{2} \, x^{2} {\left (-\frac {1}{x^{2}} + 1\right )}^{\frac {1}{4}} - \frac {1}{4} \, \arctan \left ({\left (-\frac {1}{x^{2}} + 1\right )}^{\frac {1}{4}}\right ) - \frac {1}{8} \, \log \left ({\left (-\frac {1}{x^{2}} + 1\right )}^{\frac {1}{4}} + 1\right ) + \frac {1}{8} \, \log \left (-{\left (-\frac {1}{x^{2}} + 1\right )}^{\frac {1}{4}} + 1\right ) \]
[In]
[Out]
Time = 5.79 (sec) , antiderivative size = 31, normalized size of antiderivative = 0.53 \[ \int \sqrt [4]{-x^2+x^4} \, dx=\frac {2\,x\,{\left (x^4-x^2\right )}^{1/4}\,{{}}_2{\mathrm {F}}_1\left (-\frac {1}{4},\frac {3}{4};\ \frac {7}{4};\ x^2\right )}{3\,{\left (1-x^2\right )}^{1/4}} \]
[In]
[Out]