Optimal. Leaf size=70 \[ -\frac {\left (1+x^7\right )^{2/3}}{7 x^7}+\frac {2 \tan ^{-1}\left (\frac {1+2 \sqrt [3]{1+x^7}}{\sqrt {3}}\right )}{7 \sqrt {3}}-\frac {\log (x)}{3}+\frac {1}{7} \log \left (1-\sqrt [3]{1+x^7}\right ) \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.03, antiderivative size = 70, normalized size of antiderivative = 1.00, number of steps
used = 6, number of rules used = 6, integrand size = 13, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.462, Rules used = {272, 43, 57,
632, 210, 31} \begin {gather*} \frac {2 \text {ArcTan}\left (\frac {2 \sqrt [3]{x^7+1}+1}{\sqrt {3}}\right )}{7 \sqrt {3}}-\frac {\left (x^7+1\right )^{2/3}}{7 x^7}+\frac {1}{7} \log \left (1-\sqrt [3]{x^7+1}\right )-\frac {\log (x)}{3} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 31
Rule 43
Rule 57
Rule 210
Rule 272
Rule 632
Rubi steps
\begin {align*} \int \frac {\left (1+x^7\right )^{2/3}}{x^8} \, dx &=\frac {1}{7} \text {Subst}\left (\int \frac {(1+x)^{2/3}}{x^2} \, dx,x,x^7\right )\\ &=-\frac {\left (1+x^7\right )^{2/3}}{7 x^7}+\frac {2}{21} \text {Subst}\left (\int \frac {1}{x \sqrt [3]{1+x}} \, dx,x,x^7\right )\\ &=-\frac {\left (1+x^7\right )^{2/3}}{7 x^7}-\frac {\log (x)}{3}-\frac {1}{7} \text {Subst}\left (\int \frac {1}{1-x} \, dx,x,\sqrt [3]{1+x^7}\right )+\frac {1}{7} \text {Subst}\left (\int \frac {1}{1+x+x^2} \, dx,x,\sqrt [3]{1+x^7}\right )\\ &=-\frac {\left (1+x^7\right )^{2/3}}{7 x^7}-\frac {\log (x)}{3}+\frac {1}{7} \log \left (1-\sqrt [3]{1+x^7}\right )-\frac {2}{7} \text {Subst}\left (\int \frac {1}{-3-x^2} \, dx,x,1+2 \sqrt [3]{1+x^7}\right )\\ &=-\frac {\left (1+x^7\right )^{2/3}}{7 x^7}+\frac {2 \tan ^{-1}\left (\frac {1+2 \sqrt [3]{1+x^7}}{\sqrt {3}}\right )}{7 \sqrt {3}}-\frac {\log (x)}{3}+\frac {1}{7} \log \left (1-\sqrt [3]{1+x^7}\right )\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.09, size = 83, normalized size = 1.19 \begin {gather*} \frac {1}{21} \left (-\frac {3 \left (1+x^7\right )^{2/3}}{x^7}+2 \sqrt {3} \tan ^{-1}\left (\frac {1+2 \sqrt [3]{1+x^7}}{\sqrt {3}}\right )+2 \log \left (-1+\sqrt [3]{1+x^7}\right )-\log \left (1+\sqrt [3]{1+x^7}+\left (1+x^7\right )^{2/3}\right )\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [C] Result contains higher order function than in optimal. Order 5 vs. order
3.
time = 6.23, size = 76, normalized size = 1.09
method | result | size |
meijerg | \(-\frac {\sqrt {3}\, \Gamma \left (\frac {2}{3}\right ) \left (\frac {\pi \sqrt {3}}{\Gamma \left (\frac {2}{3}\right ) x^{7}}-\frac {2 \left (-\frac {\pi \sqrt {3}}{6}-\frac {3 \ln \left (3\right )}{2}-1+7 \ln \left (x \right )\right ) \pi \sqrt {3}}{3 \Gamma \left (\frac {2}{3}\right )}+\frac {\pi \sqrt {3}\, x^{7} \hypergeom \left (\left [1, 1, \frac {4}{3}\right ], \left [2, 3\right ], -x^{7}\right )}{9 \Gamma \left (\frac {2}{3}\right )}\right )}{21 \pi }\) | \(76\) |
risch | \(-\frac {\left (x^{7}+1\right )^{\frac {2}{3}}}{7 x^{7}}+\frac {\sqrt {3}\, \Gamma \left (\frac {2}{3}\right ) \left (\frac {2 \left (-\frac {\pi \sqrt {3}}{6}-\frac {3 \ln \left (3\right )}{2}+7 \ln \left (x \right )\right ) \pi \sqrt {3}}{3 \Gamma \left (\frac {2}{3}\right )}-\frac {2 \pi \sqrt {3}\, x^{7} \hypergeom \left (\left [1, 1, \frac {4}{3}\right ], \left [2, 2\right ], -x^{7}\right )}{9 \Gamma \left (\frac {2}{3}\right )}\right )}{21 \pi }\) | \(76\) |
trager | \(-\frac {\left (x^{7}+1\right )^{\frac {2}{3}}}{7 x^{7}}+\frac {2 \ln \left (-\frac {3914010 \RootOf \left (9 \textit {\_Z}^{2}+3 \textit {\_Z} +1\right )^{2} x^{7}-2502441 \RootOf \left (9 \textit {\_Z}^{2}+3 \textit {\_Z} +1\right ) x^{7}-71266 x^{7}+6095754 \left (x^{7}+1\right )^{\frac {2}{3}} \RootOf \left (9 \textit {\_Z}^{2}+3 \textit {\_Z} +1\right )-3914010 \RootOf \left (9 \textit {\_Z}^{2}+3 \textit {\_Z} +1\right )^{2}-770175 \left (x^{7}+1\right )^{\frac {1}{3}} \RootOf \left (9 \textit {\_Z}^{2}+3 \textit {\_Z} +1\right )+1775193 \left (x^{7}+1\right )^{\frac {2}{3}}-6630249 \RootOf \left (9 \textit {\_Z}^{2}+3 \textit {\_Z} +1\right )-2031918 \left (x^{7}+1\right )^{\frac {1}{3}}-178165}{x^{7}}\right )}{21}+\frac {2 \RootOf \left (9 \textit {\_Z}^{2}+3 \textit {\_Z} +1\right ) \ln \left (\frac {320697 \RootOf \left (9 \textit {\_Z}^{2}+3 \textit {\_Z} +1\right )^{2} x^{7}+1625367 \RootOf \left (9 \textit {\_Z}^{2}+3 \textit {\_Z} +1\right ) x^{7}+1304670 x^{7}+6095754 \left (x^{7}+1\right )^{\frac {2}{3}} \RootOf \left (9 \textit {\_Z}^{2}+3 \textit {\_Z} +1\right )-320697 \RootOf \left (9 \textit {\_Z}^{2}+3 \textit {\_Z} +1\right )^{2}-5325579 \left (x^{7}+1\right )^{\frac {1}{3}} \RootOf \left (9 \textit {\_Z}^{2}+3 \textit {\_Z} +1\right )+256725 \left (x^{7}+1\right )^{\frac {2}{3}}-877074 \RootOf \left (9 \textit {\_Z}^{2}+3 \textit {\_Z} +1\right )-2031918 \left (x^{7}+1\right )^{\frac {1}{3}}+1739560}{x^{7}}\right )}{7}\) | \(294\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 4.04, size = 66, normalized size = 0.94 \begin {gather*} \frac {2}{21} \, \sqrt {3} \arctan \left (\frac {1}{3} \, \sqrt {3} {\left (2 \, {\left (x^{7} + 1\right )}^{\frac {1}{3}} + 1\right )}\right ) - \frac {{\left (x^{7} + 1\right )}^{\frac {2}{3}}}{7 \, x^{7}} - \frac {1}{21} \, \log \left ({\left (x^{7} + 1\right )}^{\frac {2}{3}} + {\left (x^{7} + 1\right )}^{\frac {1}{3}} + 1\right ) + \frac {2}{21} \, \log \left ({\left (x^{7} + 1\right )}^{\frac {1}{3}} - 1\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 1.00, size = 79, normalized size = 1.13 \begin {gather*} \frac {2 \, \sqrt {3} x^{7} \arctan \left (\frac {2}{3} \, \sqrt {3} {\left (x^{7} + 1\right )}^{\frac {1}{3}} + \frac {1}{3} \, \sqrt {3}\right ) - x^{7} \log \left ({\left (x^{7} + 1\right )}^{\frac {2}{3}} + {\left (x^{7} + 1\right )}^{\frac {1}{3}} + 1\right ) + 2 \, x^{7} \log \left ({\left (x^{7} + 1\right )}^{\frac {1}{3}} - 1\right ) - 3 \, {\left (x^{7} + 1\right )}^{\frac {2}{3}}}{21 \, x^{7}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [C] Result contains complex when optimal does not.
time = 0.69, size = 34, normalized size = 0.49 \begin {gather*} - \frac {\Gamma \left (\frac {1}{3}\right ) {{}_{2}F_{1}\left (\begin {matrix} - \frac {2}{3}, \frac {1}{3} \\ \frac {4}{3} \end {matrix}\middle | {\frac {e^{i \pi }}{x^{7}}} \right )}}{7 x^{\frac {7}{3}} \Gamma \left (\frac {4}{3}\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 0.65, size = 67, normalized size = 0.96 \begin {gather*} \frac {2}{21} \, \sqrt {3} \arctan \left (\frac {1}{3} \, \sqrt {3} {\left (2 \, {\left (x^{7} + 1\right )}^{\frac {1}{3}} + 1\right )}\right ) - \frac {{\left (x^{7} + 1\right )}^{\frac {2}{3}}}{7 \, x^{7}} - \frac {1}{21} \, \log \left ({\left (x^{7} + 1\right )}^{\frac {2}{3}} + {\left (x^{7} + 1\right )}^{\frac {1}{3}} + 1\right ) + \frac {2}{21} \, \log \left ({\left | {\left (x^{7} + 1\right )}^{\frac {1}{3}} - 1 \right |}\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.37, size = 92, normalized size = 1.31 \begin {gather*} \frac {2\,\ln \left (\frac {4\,{\left (x^7+1\right )}^{1/3}}{49}-\frac {4}{49}\right )}{21}+\ln \left (\frac {4\,{\left (x^7+1\right )}^{1/3}}{49}-9\,{\left (-\frac {1}{21}+\frac {\sqrt {3}\,1{}\mathrm {i}}{21}\right )}^2\right )\,\left (-\frac {1}{21}+\frac {\sqrt {3}\,1{}\mathrm {i}}{21}\right )-\ln \left (\frac {4\,{\left (x^7+1\right )}^{1/3}}{49}-9\,{\left (\frac {1}{21}+\frac {\sqrt {3}\,1{}\mathrm {i}}{21}\right )}^2\right )\,\left (\frac {1}{21}+\frac {\sqrt {3}\,1{}\mathrm {i}}{21}\right )-\frac {{\left (x^7+1\right )}^{2/3}}{7\,x^7} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________