Optimal. Leaf size=26 \[ \frac {\sqrt {x^4+1} \left (x^4+3 x^2+1\right )}{3 x^3} \]
________________________________________________________________________________________
Rubi [A] time = 0.12, antiderivative size = 44, normalized size of antiderivative = 1.69, number of steps used = 5, number of rules used = 4, integrand size = 26, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.154, Rules used = {1835, 1586, 1584, 383} \begin {gather*} \frac {1}{3} \sqrt {x^4+1} x+\frac {\sqrt {x^4+1}}{x}+\frac {\sqrt {x^4+1}}{3 x^3} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 383
Rule 1584
Rule 1586
Rule 1835
Rubi steps
\begin {align*} \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}}{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*}
________________________________________________________________________________________
Mathematica [C] time = 0.06, size = 93, normalized size = 3.58 \begin {gather*} \frac {\, _2F_1\left (-\frac {3}{4},\frac {1}{2};\frac {1}{4};-x^4\right )+x^4 \left (-\, _2F_1\left (\frac {1}{4},\frac {1}{2};\frac {5}{4};-x^4\right )+x^2 \, _2F_1\left (\frac {1}{2},\frac {3}{4};\frac {7}{4};-x^4\right )+\sqrt {x^4+1}\right )+3 x^2 \, _2F_1\left (-\frac {1}{4},\frac {1}{2};\frac {3}{4};-x^4\right )}{3 x^3} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
IntegrateAlgebraic [A] time = 0.41, size = 26, normalized size = 1.00 \begin {gather*} \frac {\sqrt {1+x^4} \left (1+3 x^2+x^4\right )}{3 x^3} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.46, size = 22, normalized size = 0.85 \begin {gather*} \frac {{\left (x^{4} + 3 \, x^{2} + 1\right )} \sqrt {x^{4} + 1}}{3 \, x^{3}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [F] time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {{\left (x^{4} + x^{2} + 1\right )} {\left (x^{4} - 1\right )}}{\sqrt {x^{4} + 1} x^{4}}\,{d x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.08, size = 23, normalized size = 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\) |
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 {\hypergeom \left (\left [\frac {1}{2}, \frac {5}{4}\right ], \left [\frac {9}{4}\right ], -x^{4}\right ) x^{5}}{5}+\frac {\hypergeom \left (\left [\frac {1}{2}, \frac {3}{4}\right ], \left [\frac {7}{4}\right ], -x^{4}\right ) x^{3}}{3}+\frac {\hypergeom \left (\left [-\frac {3}{4}, \frac {1}{2}\right ], \left [\frac {1}{4}\right ], -x^{4}\right )}{3 x^{3}}+\frac {\hypergeom \left (\left [-\frac {1}{4}, \frac {1}{2}\right ], \left [\frac {3}{4}\right ], -x^{4}\right )}{x}\) | \(65\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.77, size = 22, normalized size = 0.85 \begin {gather*} \frac {{\left (x^{4} + 3 \, x^{2} + 1\right )} \sqrt {x^{4} + 1}}{3 \, x^{3}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.24, size = 25, normalized size = 0.96 \begin {gather*} \frac {{\left (x^4+1\right )}^{3/2}+3\,x^2\,\sqrt {x^4+1}}{3\,x^3} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [C] time = 3.11, size = 126, normalized size = 4.85 \begin {gather*} \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 )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________