Integrand size = 26, antiderivative size = 26 \[ \int \frac {\left (-1+x^4\right ) \left (1+x^2+x^4\right )}{x^4 \sqrt {1+x^4}} \, dx=\frac {\sqrt {1+x^4} \left (1+3 x^2+x^4\right )}{3 x^3} \]
[Out]
Time = 0.08 (sec) , antiderivative size = 44, normalized size of antiderivative = 1.69, number of steps used = 5, number of rules used = 4, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.154, Rules used = {1849, 1600, 1598, 391} \[ \int \frac {\left (-1+x^4\right ) \left (1+x^2+x^4\right )}{x^4 \sqrt {1+x^4}} \, dx=\frac {1}{3} \sqrt {x^4+1} x+\frac {\sqrt {x^4+1}}{x}+\frac {\sqrt {x^4+1}}{3 x^3} \]
[In]
[Out]
Rule 391
Rule 1598
Rule 1600
Rule 1849
Rubi steps \begin{align*} \text {integral}& = \frac {\sqrt {1+x^4}}{3 x^3}-\frac {1}{6} \int \frac {6 x-2 x^3-6 x^5-6 x^7}{x^3 \sqrt {1+x^4}} \, dx \\ & = \frac {\sqrt {1+x^4}}{3 x^3}-\frac {1}{6} \int \frac {6-2 x^2-6 x^4-6 x^6}{x^2 \sqrt {1+x^4}} \, dx \\ & = \frac {\sqrt {1+x^4}}{3 x^3}+\frac {\sqrt {1+x^4}}{x}+\frac {1}{12} \int \frac {4 x+12 x^5}{x \sqrt {1+x^4}} \, dx \\ & = \frac {\sqrt {1+x^4}}{3 x^3}+\frac {\sqrt {1+x^4}}{x}+\frac {1}{12} \int \frac {4+12 x^4}{\sqrt {1+x^4}} \, dx \\ & = \frac {\sqrt {1+x^4}}{3 x^3}+\frac {\sqrt {1+x^4}}{x}+\frac {1}{3} x \sqrt {1+x^4} \\ \end{align*}
Time = 0.44 (sec) , antiderivative size = 26, normalized size of antiderivative = 1.00 \[ \int \frac {\left (-1+x^4\right ) \left (1+x^2+x^4\right )}{x^4 \sqrt {1+x^4}} \, dx=\frac {\sqrt {1+x^4} \left (1+3 x^2+x^4\right )}{3 x^3} \]
[In]
[Out]
Time = 0.85 (sec) , antiderivative size = 23, normalized size of antiderivative = 0.88
method | result | size |
gosper | \(\frac {\sqrt {x^{4}+1}\, \left (x^{4}+3 x^{2}+1\right )}{3 x^{3}}\) | \(23\) |
trager | \(\frac {\sqrt {x^{4}+1}\, \left (x^{4}+3 x^{2}+1\right )}{3 x^{3}}\) | \(23\) |
pseudoelliptic | \(\frac {\sqrt {x^{4}+1}\, \left (x^{4}+3 x^{2}+1\right )}{3 x^{3}}\) | \(23\) |
risch | \(\frac {x^{8}+3 x^{6}+2 x^{4}+3 x^{2}+1}{3 x^{3} \sqrt {x^{4}+1}}\) | \(33\) |
default | \(\frac {\sqrt {x^{4}+1}\, x}{3}+\frac {\sqrt {x^{4}+1}}{3 x^{3}}+\frac {\sqrt {x^{4}+1}}{x}\) | \(35\) |
elliptic | \(\frac {\left (\frac {\sqrt {2}\, \left (x^{4}+1\right )^{\frac {3}{2}}}{3 x^{3}}+\frac {\sqrt {2}\, \sqrt {x^{4}+1}}{x}\right ) \sqrt {2}}{2}\) | \(36\) |
meijerg | \(\frac {x^{5} \operatorname {hypergeom}\left (\left [\frac {1}{2}, \frac {5}{4}\right ], \left [\frac {9}{4}\right ], -x^{4}\right )}{5}+\frac {x^{3} \operatorname {hypergeom}\left (\left [\frac {1}{2}, \frac {3}{4}\right ], \left [\frac {7}{4}\right ], -x^{4}\right )}{3}+\frac {\operatorname {hypergeom}\left (\left [-\frac {3}{4}, \frac {1}{2}\right ], \left [\frac {1}{4}\right ], -x^{4}\right )}{3 x^{3}}+\frac {\operatorname {hypergeom}\left (\left [-\frac {1}{4}, \frac {1}{2}\right ], \left [\frac {3}{4}\right ], -x^{4}\right )}{x}\) | \(65\) |
[In]
[Out]
none
Time = 0.25 (sec) , antiderivative size = 22, normalized size of antiderivative = 0.85 \[ \int \frac {\left (-1+x^4\right ) \left (1+x^2+x^4\right )}{x^4 \sqrt {1+x^4}} \, dx=\frac {{\left (x^{4} + 3 \, x^{2} + 1\right )} \sqrt {x^{4} + 1}}{3 \, x^{3}} \]
[In]
[Out]
Result contains complex when optimal does not.
Time = 1.57 (sec) , antiderivative size = 126, normalized size of antiderivative = 4.85 \[ \int \frac {\left (-1+x^4\right ) \left (1+x^2+x^4\right )}{x^4 \sqrt {1+x^4}} \, dx=\frac {x^{5} \Gamma \left (\frac {5}{4}\right ) {{}_{2}F_{1}\left (\begin {matrix} \frac {1}{2}, \frac {5}{4} \\ \frac {9}{4} \end {matrix}\middle | {x^{4} e^{i \pi }} \right )}}{4 \Gamma \left (\frac {9}{4}\right )} + \frac {x^{3} \Gamma \left (\frac {3}{4}\right ) {{}_{2}F_{1}\left (\begin {matrix} \frac {1}{2}, \frac {3}{4} \\ \frac {7}{4} \end {matrix}\middle | {x^{4} e^{i \pi }} \right )}}{4 \Gamma \left (\frac {7}{4}\right )} - \frac {\Gamma \left (- \frac {1}{4}\right ) {{}_{2}F_{1}\left (\begin {matrix} - \frac {1}{4}, \frac {1}{2} \\ \frac {3}{4} \end {matrix}\middle | {x^{4} e^{i \pi }} \right )}}{4 x \Gamma \left (\frac {3}{4}\right )} - \frac {\Gamma \left (- \frac {3}{4}\right ) {{}_{2}F_{1}\left (\begin {matrix} - \frac {3}{4}, \frac {1}{2} \\ \frac {1}{4} \end {matrix}\middle | {x^{4} e^{i \pi }} \right )}}{4 x^{3} \Gamma \left (\frac {1}{4}\right )} \]
[In]
[Out]
none
Time = 0.31 (sec) , antiderivative size = 22, normalized size of antiderivative = 0.85 \[ \int \frac {\left (-1+x^4\right ) \left (1+x^2+x^4\right )}{x^4 \sqrt {1+x^4}} \, dx=\frac {{\left (x^{4} + 3 \, x^{2} + 1\right )} \sqrt {x^{4} + 1}}{3 \, x^{3}} \]
[In]
[Out]
\[ \int \frac {\left (-1+x^4\right ) \left (1+x^2+x^4\right )}{x^4 \sqrt {1+x^4}} \, dx=\int { \frac {{\left (x^{4} + x^{2} + 1\right )} {\left (x^{4} - 1\right )}}{\sqrt {x^{4} + 1} x^{4}} \,d x } \]
[In]
[Out]
Time = 5.13 (sec) , antiderivative size = 25, normalized size of antiderivative = 0.96 \[ \int \frac {\left (-1+x^4\right ) \left (1+x^2+x^4\right )}{x^4 \sqrt {1+x^4}} \, dx=\frac {{\left (x^4+1\right )}^{3/2}+3\,x^2\,\sqrt {x^4+1}}{3\,x^3} \]
[In]
[Out]