Optimal. Leaf size=180 \[ \frac {2 \left (1+x^4\right ) \sqrt [4]{x^2+x^6}}{5 x^3}+\frac {\text {ArcTan}\left (\frac {\sqrt [4]{2} x}{\sqrt [4]{x^2+x^6}}\right )}{2^{3/4}}+\frac {\text {ArcTan}\left (\frac {2^{3/4} x \sqrt [4]{x^2+x^6}}{\sqrt {2} x^2-\sqrt {x^2+x^6}}\right )}{2 \sqrt [4]{2}}-\frac {\tanh ^{-1}\left (\frac {\sqrt [4]{2} x}{\sqrt [4]{x^2+x^6}}\right )}{2^{3/4}}+\frac {\tanh ^{-1}\left (\frac {\frac {x^2}{\sqrt [4]{2}}+\frac {\sqrt {x^2+x^6}}{2^{3/4}}}{x \sqrt [4]{x^2+x^6}}\right )}{2 \sqrt [4]{2}} \]
[Out]
________________________________________________________________________________________
Rubi [C] Result contains higher order function than in optimal. Order 6 vs. order 3 in
optimal.
time = 0.29, antiderivative size = 121, normalized size of antiderivative = 0.67, number of steps
used = 11, number of rules used = 8, integrand size = 27, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.296, Rules used = {2081, 6857,
283, 335, 371, 285, 477, 524} \begin {gather*} \frac {4 \sqrt [4]{x^6+x^2} F_1\left (-\frac {5}{8};1,-\frac {1}{4};\frac {3}{8};x^4,-x^4\right )}{5 \sqrt [4]{x^4+1} x^3}+\frac {8 \sqrt [4]{x^6+x^2} x \, _2F_1\left (\frac {3}{8},\frac {3}{4};\frac {11}{8};-x^4\right )}{15 \sqrt [4]{x^4+1}}+\frac {2}{5} \sqrt [4]{x^6+x^2} x-\frac {2 \sqrt [4]{x^6+x^2}}{5 x^3} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 283
Rule 285
Rule 335
Rule 371
Rule 477
Rule 524
Rule 2081
Rule 6857
Rubi steps
\begin {align*} \int \frac {\sqrt [4]{x^2+x^6} \left (1+x^8\right )}{x^4 \left (-1+x^4\right )} \, dx &=\frac {\sqrt [4]{x^2+x^6} \int \frac {\sqrt [4]{1+x^4} \left (1+x^8\right )}{x^{7/2} \left (-1+x^4\right )} \, dx}{\sqrt {x} \sqrt [4]{1+x^4}}\\ &=\frac {\sqrt [4]{x^2+x^6} \int \left (\frac {\sqrt [4]{1+x^4}}{x^{7/2}}+\sqrt {x} \sqrt [4]{1+x^4}+\frac {2 \sqrt [4]{1+x^4}}{x^{7/2} \left (-1+x^4\right )}\right ) \, dx}{\sqrt {x} \sqrt [4]{1+x^4}}\\ &=\frac {\sqrt [4]{x^2+x^6} \int \frac {\sqrt [4]{1+x^4}}{x^{7/2}} \, dx}{\sqrt {x} \sqrt [4]{1+x^4}}+\frac {\sqrt [4]{x^2+x^6} \int \sqrt {x} \sqrt [4]{1+x^4} \, dx}{\sqrt {x} \sqrt [4]{1+x^4}}+\frac {\left (2 \sqrt [4]{x^2+x^6}\right ) \int \frac {\sqrt [4]{1+x^4}}{x^{7/2} \left (-1+x^4\right )} \, dx}{\sqrt {x} \sqrt [4]{1+x^4}}\\ &=-\frac {2 \sqrt [4]{x^2+x^6}}{5 x^3}+\frac {2}{5} x \sqrt [4]{x^2+x^6}+2 \frac {\left (2 \sqrt [4]{x^2+x^6}\right ) \int \frac {\sqrt {x}}{\left (1+x^4\right )^{3/4}} \, dx}{5 \sqrt {x} \sqrt [4]{1+x^4}}+\frac {\left (4 \sqrt [4]{x^2+x^6}\right ) \text {Subst}\left (\int \frac {\sqrt [4]{1+x^8}}{x^6 \left (-1+x^8\right )} \, dx,x,\sqrt {x}\right )}{\sqrt {x} \sqrt [4]{1+x^4}}\\ &=-\frac {2 \sqrt [4]{x^2+x^6}}{5 x^3}+\frac {2}{5} x \sqrt [4]{x^2+x^6}+\frac {4 \sqrt [4]{x^2+x^6} F_1\left (-\frac {5}{8};1,-\frac {1}{4};\frac {3}{8};x^4,-x^4\right )}{5 x^3 \sqrt [4]{1+x^4}}+2 \frac {\left (4 \sqrt [4]{x^2+x^6}\right ) \text {Subst}\left (\int \frac {x^2}{\left (1+x^8\right )^{3/4}} \, dx,x,\sqrt {x}\right )}{5 \sqrt {x} \sqrt [4]{1+x^4}}\\ &=-\frac {2 \sqrt [4]{x^2+x^6}}{5 x^3}+\frac {2}{5} x \sqrt [4]{x^2+x^6}+\frac {4 \sqrt [4]{x^2+x^6} F_1\left (-\frac {5}{8};1,-\frac {1}{4};\frac {3}{8};x^4,-x^4\right )}{5 x^3 \sqrt [4]{1+x^4}}+\frac {8 x \sqrt [4]{x^2+x^6} \, _2F_1\left (\frac {3}{8},\frac {3}{4};\frac {11}{8};-x^4\right )}{15 \sqrt [4]{1+x^4}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.00, size = 228, normalized size = 1.27 \begin {gather*} \frac {\sqrt [4]{x^2+x^6} \left (8 \sqrt [4]{1+x^4}+8 x^4 \sqrt [4]{1+x^4}+10 \sqrt [4]{2} x^{5/2} \text {ArcTan}\left (\frac {\sqrt [4]{2} \sqrt {x}}{\sqrt [4]{1+x^4}}\right )+5\ 2^{3/4} x^{5/2} \text {ArcTan}\left (\frac {2^{3/4} \sqrt {x} \sqrt [4]{1+x^4}}{\sqrt {2} x-\sqrt {1+x^4}}\right )-10 \sqrt [4]{2} x^{5/2} \tanh ^{-1}\left (\frac {\sqrt [4]{2} \sqrt {x}}{\sqrt [4]{1+x^4}}\right )+5\ 2^{3/4} x^{5/2} \tanh ^{-1}\left (\frac {2 \sqrt [4]{2} \sqrt {x} \sqrt [4]{1+x^4}}{2 x+\sqrt {2} \sqrt {1+x^4}}\right )\right )}{20 x^3 \sqrt [4]{1+x^4}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [C] Result contains higher order function than in optimal. Order 9 vs. order
3.
time = 54.55, size = 631, normalized size = 3.51
method | result | size |
trager | \(\text {Expression too large to display}\) | \(631\) |
risch | \(\text {Expression too large to display}\) | \(1594\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] Leaf count of result is larger than twice the leaf count of optimal. 1099 vs.
\(2 (142) = 284\).
time = 7.04, size = 1099, normalized size = 6.11 \begin {gather*} \frac {20 \cdot 8^{\frac {3}{4}} \sqrt {2} x^{3} \arctan \left (-\frac {8 \, x^{9} + 32 \, x^{7} + 48 \, x^{5} + 4 \cdot 8^{\frac {3}{4}} \sqrt {2} {\left (x^{6} + x^{2}\right )}^{\frac {3}{4}} {\left (x^{4} - 6 \, x^{2} + 1\right )} + 32 \, x^{3} + 16 \cdot 8^{\frac {1}{4}} \sqrt {2} {\left (3 \, x^{6} - 2 \, x^{4} + 3 \, x^{2}\right )} {\left (x^{6} + x^{2}\right )}^{\frac {1}{4}} + 32 \, \sqrt {2} \sqrt {x^{6} + x^{2}} {\left (x^{5} + 2 \, x^{3} + x\right )} - \sqrt {2} {\left (128 \, \sqrt {2} {\left (x^{6} + x^{2}\right )}^{\frac {3}{4}} x^{2} + 8^{\frac {3}{4}} \sqrt {2} {\left (x^{9} - 16 \, x^{7} - 2 \, x^{5} - 16 \, x^{3} + x\right )} + 8 \cdot 8^{\frac {1}{4}} \sqrt {2} \sqrt {x^{6} + x^{2}} {\left (x^{5} - 6 \, x^{3} + x\right )} + 32 \, {\left (x^{6} + 2 \, x^{4} + x^{2}\right )} {\left (x^{6} + x^{2}\right )}^{\frac {1}{4}}\right )} \sqrt {\frac {8^{\frac {3}{4}} \sqrt {2} {\left (x^{6} + x^{2}\right )}^{\frac {1}{4}} x^{2} + 2 \cdot 8^{\frac {1}{4}} \sqrt {2} {\left (x^{6} + x^{2}\right )}^{\frac {3}{4}} + \sqrt {2} {\left (x^{5} + 2 \, x^{3} + x\right )} + 8 \, \sqrt {x^{6} + x^{2}} x}{x^{5} + 2 \, x^{3} + x}} + 8 \, x}{8 \, {\left (x^{9} - 28 \, x^{7} + 6 \, x^{5} - 28 \, x^{3} + x\right )}}\right ) - 20 \cdot 8^{\frac {3}{4}} \sqrt {2} x^{3} \arctan \left (-\frac {8 \, x^{9} + 32 \, x^{7} + 48 \, x^{5} - 4 \cdot 8^{\frac {3}{4}} \sqrt {2} {\left (x^{6} + x^{2}\right )}^{\frac {3}{4}} {\left (x^{4} - 6 \, x^{2} + 1\right )} + 32 \, x^{3} - 16 \cdot 8^{\frac {1}{4}} \sqrt {2} {\left (3 \, x^{6} - 2 \, x^{4} + 3 \, x^{2}\right )} {\left (x^{6} + x^{2}\right )}^{\frac {1}{4}} + 32 \, \sqrt {2} \sqrt {x^{6} + x^{2}} {\left (x^{5} + 2 \, x^{3} + x\right )} - \sqrt {2} {\left (128 \, \sqrt {2} {\left (x^{6} + x^{2}\right )}^{\frac {3}{4}} x^{2} - 8^{\frac {3}{4}} \sqrt {2} {\left (x^{9} - 16 \, x^{7} - 2 \, x^{5} - 16 \, x^{3} + x\right )} - 8 \cdot 8^{\frac {1}{4}} \sqrt {2} \sqrt {x^{6} + x^{2}} {\left (x^{5} - 6 \, x^{3} + x\right )} + 32 \, {\left (x^{6} + 2 \, x^{4} + x^{2}\right )} {\left (x^{6} + x^{2}\right )}^{\frac {1}{4}}\right )} \sqrt {-\frac {8^{\frac {3}{4}} \sqrt {2} {\left (x^{6} + x^{2}\right )}^{\frac {1}{4}} x^{2} + 2 \cdot 8^{\frac {1}{4}} \sqrt {2} {\left (x^{6} + x^{2}\right )}^{\frac {3}{4}} - \sqrt {2} {\left (x^{5} + 2 \, x^{3} + x\right )} - 8 \, \sqrt {x^{6} + x^{2}} x}{x^{5} + 2 \, x^{3} + x}} + 8 \, x}{8 \, {\left (x^{9} - 28 \, x^{7} + 6 \, x^{5} - 28 \, x^{3} + x\right )}}\right ) + 5 \cdot 8^{\frac {3}{4}} \sqrt {2} x^{3} \log \left (\frac {8 \, {\left (8^{\frac {3}{4}} \sqrt {2} {\left (x^{6} + x^{2}\right )}^{\frac {1}{4}} x^{2} + 2 \cdot 8^{\frac {1}{4}} \sqrt {2} {\left (x^{6} + x^{2}\right )}^{\frac {3}{4}} + \sqrt {2} {\left (x^{5} + 2 \, x^{3} + x\right )} + 8 \, \sqrt {x^{6} + x^{2}} x\right )}}{x^{5} + 2 \, x^{3} + x}\right ) - 5 \cdot 8^{\frac {3}{4}} \sqrt {2} x^{3} \log \left (-\frac {8 \, {\left (8^{\frac {3}{4}} \sqrt {2} {\left (x^{6} + x^{2}\right )}^{\frac {1}{4}} x^{2} + 2 \cdot 8^{\frac {1}{4}} \sqrt {2} {\left (x^{6} + x^{2}\right )}^{\frac {3}{4}} - \sqrt {2} {\left (x^{5} + 2 \, x^{3} + x\right )} - 8 \, \sqrt {x^{6} + x^{2}} x\right )}}{x^{5} + 2 \, x^{3} + x}\right ) + 40 \cdot 8^{\frac {3}{4}} x^{3} \arctan \left (\frac {16 \cdot 8^{\frac {1}{4}} {\left (x^{6} + x^{2}\right )}^{\frac {1}{4}} x^{2} + 2^{\frac {3}{4}} {\left (8^{\frac {3}{4}} {\left (x^{5} + 2 \, x^{3} + x\right )} + 8 \cdot 8^{\frac {1}{4}} \sqrt {x^{6} + x^{2}} x\right )} + 4 \cdot 8^{\frac {3}{4}} {\left (x^{6} + x^{2}\right )}^{\frac {3}{4}}}{8 \, {\left (x^{5} - 2 \, x^{3} + x\right )}}\right ) - 10 \cdot 8^{\frac {3}{4}} x^{3} \log \left (-\frac {4 \, \sqrt {2} {\left (x^{6} + x^{2}\right )}^{\frac {1}{4}} x^{2} + 8^{\frac {3}{4}} \sqrt {x^{6} + x^{2}} x + 8^{\frac {1}{4}} {\left (x^{5} + 2 \, x^{3} + x\right )} + 4 \, {\left (x^{6} + x^{2}\right )}^{\frac {3}{4}}}{x^{5} - 2 \, x^{3} + x}\right ) + 10 \cdot 8^{\frac {3}{4}} x^{3} \log \left (-\frac {4 \, \sqrt {2} {\left (x^{6} + x^{2}\right )}^{\frac {1}{4}} x^{2} - 8^{\frac {3}{4}} \sqrt {x^{6} + x^{2}} x - 8^{\frac {1}{4}} {\left (x^{5} + 2 \, x^{3} + x\right )} + 4 \, {\left (x^{6} + x^{2}\right )}^{\frac {3}{4}}}{x^{5} - 2 \, x^{3} + x}\right ) + 128 \, {\left (x^{6} + x^{2}\right )}^{\frac {1}{4}} {\left (x^{4} + 1\right )}}{320 \, x^{3}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {\sqrt [4]{x^{2} \left (x^{4} + 1\right )} \left (x^{8} + 1\right )}{x^{4} \left (x - 1\right ) \left (x + 1\right ) \left (x^{2} + 1\right )}\, dx \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*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int \frac {{\left (x^6+x^2\right )}^{1/4}\,\left (x^8+1\right )}{x^4\,\left (x^4-1\right )} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________