Optimal. Leaf size=469 \[ -\frac {\tan ^{-1}\left (\frac {3 \sqrt [3]{-1} a^{2/3} \sqrt [3]{c}-2 b x}{\sqrt {3} \sqrt {a} \sqrt {4 b-3 (-1)^{2/3} \sqrt [3]{a} c^{2/3}}}\right )}{9 \sqrt {3} \left (1+\sqrt [3]{-1}\right )^2 a^{13/6} \sqrt {4 b-3 (-1)^{2/3} \sqrt [3]{a} c^{2/3}} \sqrt [3]{c}}-\frac {\tan ^{-1}\left (\frac {3 a^{2/3} \sqrt [3]{c}+2 b x}{\sqrt {3} \sqrt {a} \sqrt {4 b-3 \sqrt [3]{a} c^{2/3}}}\right )}{27 \sqrt {3} a^{13/6} \sqrt {4 b-3 \sqrt [3]{a} c^{2/3}} \sqrt [3]{c}}+\frac {\sqrt [3]{-1} \tan ^{-1}\left (\frac {3 (-1)^{2/3} a^{2/3} \sqrt [3]{c}+2 b x}{\sqrt {3} \sqrt {a} \sqrt {4 b+3 \sqrt [3]{-1} \sqrt [3]{a} c^{2/3}}}\right )}{9 \sqrt {3} \left (1-\sqrt [3]{-1}\right ) \left (1+\sqrt [3]{-1}\right )^2 a^{13/6} \sqrt {4 b+3 \sqrt [3]{-1} \sqrt [3]{a} c^{2/3}} \sqrt [3]{c}}-\frac {\log \left (3 a+3 a^{2/3} \sqrt [3]{c} x+b x^2\right )}{162 a^{7/3} c^{2/3}}+\frac {(-1)^{2/3} \log \left (3 a-3 \sqrt [3]{-1} a^{2/3} \sqrt [3]{c} x+b x^2\right )}{54 \left (1+\sqrt [3]{-1}\right )^2 a^{7/3} c^{2/3}}-\frac {(-1)^{2/3} \log \left (3 a+3 (-1)^{2/3} a^{2/3} \sqrt [3]{c} x+b x^2\right )}{162 a^{7/3} c^{2/3}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.89, antiderivative size = 469, normalized size of antiderivative = 1.00, number of steps
used = 14, number of rules used = 5, integrand size = 44, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.114, Rules used = {2122, 648,
632, 210, 642} \begin {gather*} -\frac {\text {ArcTan}\left (\frac {3 \sqrt [3]{-1} a^{2/3} \sqrt [3]{c}-2 b x}{\sqrt {3} \sqrt {a} \sqrt {4 b-3 (-1)^{2/3} \sqrt [3]{a} c^{2/3}}}\right )}{9 \sqrt {3} \left (1+\sqrt [3]{-1}\right )^2 a^{13/6} \sqrt [3]{c} \sqrt {4 b-3 (-1)^{2/3} \sqrt [3]{a} c^{2/3}}}-\frac {\text {ArcTan}\left (\frac {3 a^{2/3} \sqrt [3]{c}+2 b x}{\sqrt {3} \sqrt {a} \sqrt {4 b-3 \sqrt [3]{a} c^{2/3}}}\right )}{27 \sqrt {3} a^{13/6} \sqrt [3]{c} \sqrt {4 b-3 \sqrt [3]{a} c^{2/3}}}+\frac {\sqrt [3]{-1} \text {ArcTan}\left (\frac {3 (-1)^{2/3} a^{2/3} \sqrt [3]{c}+2 b x}{\sqrt {3} \sqrt {a} \sqrt {3 \sqrt [3]{-1} \sqrt [3]{a} c^{2/3}+4 b}}\right )}{9 \sqrt {3} \left (1-\sqrt [3]{-1}\right ) \left (1+\sqrt [3]{-1}\right )^2 a^{13/6} \sqrt [3]{c} \sqrt {3 \sqrt [3]{-1} \sqrt [3]{a} c^{2/3}+4 b}}-\frac {\log \left (3 a^{2/3} \sqrt [3]{c} x+3 a+b x^2\right )}{162 a^{7/3} c^{2/3}}+\frac {(-1)^{2/3} \log \left (-3 \sqrt [3]{-1} a^{2/3} \sqrt [3]{c} x+3 a+b x^2\right )}{54 \left (1+\sqrt [3]{-1}\right )^2 a^{7/3} c^{2/3}}-\frac {(-1)^{2/3} \log \left (3 (-1)^{2/3} a^{2/3} \sqrt [3]{c} x+3 a+b x^2\right )}{162 a^{7/3} c^{2/3}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 210
Rule 632
Rule 642
Rule 648
Rule 2122
Rubi steps
\begin {align*} \int \frac {x}{27 a^3+27 a^2 b x^2+27 a^2 c x^3+9 a b^2 x^4+b^3 x^6} \, dx &=\left (19683 a^6\right ) \int \left (\frac {-3 a^{2/3} \sqrt [3]{c}-(-1)^{2/3} b x}{531441 \left (1+\sqrt [3]{-1}\right )^2 a^{25/3} c^{2/3} \left (-3 a+3 \sqrt [3]{-1} a^{2/3} \sqrt [3]{c} x-b x^2\right )}+\frac {-3 a^{2/3} \sqrt [3]{c}-b x}{1594323 a^{25/3} c^{2/3} \left (3 a+3 a^{2/3} \sqrt [3]{c} x+b x^2\right )}+\frac {(-1)^{2/3} \left (3 (-1)^{2/3} a^{2/3} \sqrt [3]{c}+b x\right )}{531441 \left (-1+\sqrt [3]{-1}\right ) \left (1+\sqrt [3]{-1}\right )^2 a^{25/3} c^{2/3} \left (3 a+3 (-1)^{2/3} a^{2/3} \sqrt [3]{c} x+b x^2\right )}\right ) \, dx\\ &=\frac {\int \frac {-3 a^{2/3} \sqrt [3]{c}-b x}{3 a+3 a^{2/3} \sqrt [3]{c} x+b x^2} \, dx}{81 a^{7/3} c^{2/3}}-\frac {(-1)^{2/3} \int \frac {3 (-1)^{2/3} a^{2/3} \sqrt [3]{c}+b x}{3 a+3 (-1)^{2/3} a^{2/3} \sqrt [3]{c} x+b x^2} \, dx}{81 a^{7/3} c^{2/3}}+\frac {\int \frac {-3 a^{2/3} \sqrt [3]{c}-(-1)^{2/3} b x}{-3 a+3 \sqrt [3]{-1} a^{2/3} \sqrt [3]{c} x-b x^2} \, dx}{27 \left (1+\sqrt [3]{-1}\right )^2 a^{7/3} c^{2/3}}\\ &=-\frac {\int \frac {3 a^{2/3} \sqrt [3]{c}+2 b x}{3 a+3 a^{2/3} \sqrt [3]{c} x+b x^2} \, dx}{162 a^{7/3} c^{2/3}}-\frac {(-1)^{2/3} \int \frac {3 (-1)^{2/3} a^{2/3} \sqrt [3]{c}+2 b x}{3 a+3 (-1)^{2/3} a^{2/3} \sqrt [3]{c} x+b x^2} \, dx}{162 a^{7/3} c^{2/3}}+\frac {(-1)^{2/3} \int \frac {3 \sqrt [3]{-1} a^{2/3} \sqrt [3]{c}-2 b x}{-3 a+3 \sqrt [3]{-1} a^{2/3} \sqrt [3]{c} x-b x^2} \, dx}{54 \left (1+\sqrt [3]{-1}\right )^2 a^{7/3} c^{2/3}}-\frac {\int \frac {1}{3 a+3 a^{2/3} \sqrt [3]{c} x+b x^2} \, dx}{54 a^{5/3} \sqrt [3]{c}}+\frac {\sqrt [3]{-1} \int \frac {1}{3 a+3 (-1)^{2/3} a^{2/3} \sqrt [3]{c} x+b x^2} \, dx}{54 a^{5/3} \sqrt [3]{c}}-\frac {\int \frac {1}{-3 a+3 \sqrt [3]{-1} a^{2/3} \sqrt [3]{c} x-b x^2} \, dx}{18 \left (1+\sqrt [3]{-1}\right )^2 a^{5/3} \sqrt [3]{c}}\\ &=-\frac {\log \left (3 a+3 a^{2/3} \sqrt [3]{c} x+b x^2\right )}{162 a^{7/3} c^{2/3}}+\frac {(-1)^{2/3} \log \left (3 a-3 \sqrt [3]{-1} a^{2/3} \sqrt [3]{c} x+b x^2\right )}{54 \left (1+\sqrt [3]{-1}\right )^2 a^{7/3} c^{2/3}}-\frac {(-1)^{2/3} \log \left (3 a+3 (-1)^{2/3} a^{2/3} \sqrt [3]{c} x+b x^2\right )}{162 a^{7/3} c^{2/3}}+\frac {\text {Subst}\left (\int \frac {1}{-3 a \left (4 b-3 \sqrt [3]{a} c^{2/3}\right )-x^2} \, dx,x,3 a^{2/3} \sqrt [3]{c}+2 b x\right )}{27 a^{5/3} \sqrt [3]{c}}-\frac {\sqrt [3]{-1} \text {Subst}\left (\int \frac {1}{-3 a \left (4 b+3 \sqrt [3]{-1} \sqrt [3]{a} c^{2/3}\right )-x^2} \, dx,x,3 (-1)^{2/3} a^{2/3} \sqrt [3]{c}+2 b x\right )}{27 a^{5/3} \sqrt [3]{c}}+\frac {\text {Subst}\left (\int \frac {1}{-3 a \left (4 b-3 (-1)^{2/3} \sqrt [3]{a} c^{2/3}\right )-x^2} \, dx,x,3 \sqrt [3]{-1} a^{2/3} \sqrt [3]{c}-2 b x\right )}{9 \left (1+\sqrt [3]{-1}\right )^2 a^{5/3} \sqrt [3]{c}}\\ &=-\frac {\tan ^{-1}\left (\frac {3 \sqrt [3]{-1} a^{2/3} \sqrt [3]{c}-2 b x}{\sqrt {3} \sqrt {a} \sqrt {4 b-3 (-1)^{2/3} \sqrt [3]{a} c^{2/3}}}\right )}{9 \sqrt {3} \left (1+\sqrt [3]{-1}\right )^2 a^{13/6} \sqrt {4 b-3 (-1)^{2/3} \sqrt [3]{a} c^{2/3}} \sqrt [3]{c}}-\frac {\tan ^{-1}\left (\frac {3 a^{2/3} \sqrt [3]{c}+2 b x}{\sqrt {3} \sqrt {a} \sqrt {4 b-3 \sqrt [3]{a} c^{2/3}}}\right )}{27 \sqrt {3} a^{13/6} \sqrt {4 b-3 \sqrt [3]{a} c^{2/3}} \sqrt [3]{c}}+\frac {\sqrt [3]{-1} \tan ^{-1}\left (\frac {3 (-1)^{2/3} a^{2/3} \sqrt [3]{c}+2 b x}{\sqrt {3} \sqrt {a} \sqrt {4 b+3 \sqrt [3]{-1} \sqrt [3]{a} c^{2/3}}}\right )}{27 \sqrt {3} a^{13/6} \sqrt {4 b+3 \sqrt [3]{-1} \sqrt [3]{a} c^{2/3}} \sqrt [3]{c}}-\frac {\log \left (3 a+3 a^{2/3} \sqrt [3]{c} x+b x^2\right )}{162 a^{7/3} c^{2/3}}+\frac {(-1)^{2/3} \log \left (3 a-3 \sqrt [3]{-1} a^{2/3} \sqrt [3]{c} x+b x^2\right )}{54 \left (1+\sqrt [3]{-1}\right )^2 a^{7/3} c^{2/3}}-\frac {(-1)^{2/3} \log \left (3 a+3 (-1)^{2/3} a^{2/3} \sqrt [3]{c} x+b x^2\right )}{162 a^{7/3} c^{2/3}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [C] Result contains higher order function than in optimal. Order 9 vs. order 3 in
optimal.
time = 0.03, size = 95, normalized size = 0.20 \begin {gather*} \frac {1}{3} \text {RootSum}\left [27 a^3+27 a^2 b \text {$\#$1}^2+27 a^2 c \text {$\#$1}^3+9 a b^2 \text {$\#$1}^4+b^3 \text {$\#$1}^6\&,\frac {\log (x-\text {$\#$1})}{18 a^2 b+27 a^2 c \text {$\#$1}+12 a b^2 \text {$\#$1}^2+2 b^3 \text {$\#$1}^4}\&\right ] \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [C] Result contains higher order function than in optimal. Order 9 vs. order
3.
time = 0.03, size = 91, normalized size = 0.19
method | result | size |
default | \(\frac {\left (\munderset {\textit {\_R} =\RootOf \left (b^{3} \textit {\_Z}^{6}+9 a \,b^{2} \textit {\_Z}^{4}+27 a^{2} c \,\textit {\_Z}^{3}+27 a^{2} b \,\textit {\_Z}^{2}+27 a^{3}\right )}{\sum }\frac {\textit {\_R} \ln \left (x -\textit {\_R} \right )}{2 \textit {\_R}^{5} b^{3}+12 \textit {\_R}^{3} a \,b^{2}+27 \textit {\_R}^{2} a^{2} c +18 a^{2} b \textit {\_R}}\right )}{3}\) | \(91\) |
risch | \(\frac {\left (\munderset {\textit {\_R} =\RootOf \left (b^{3} \textit {\_Z}^{6}+9 a \,b^{2} \textit {\_Z}^{4}+27 a^{2} c \,\textit {\_Z}^{3}+27 a^{2} b \,\textit {\_Z}^{2}+27 a^{3}\right )}{\sum }\frac {\textit {\_R} \ln \left (x -\textit {\_R} \right )}{2 \textit {\_R}^{5} b^{3}+12 \textit {\_R}^{3} a \,b^{2}+27 \textit {\_R}^{2} a^{2} c +18 a^{2} b \textit {\_R}}\right )}{3}\) | \(91\) |
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 [F(-2)]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Exception raised: RuntimeError} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] Timed out
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Timed out} \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 [B]
time = 2.90, size = 1057, normalized size = 2.25 \begin {gather*} \sum _{k=1}^6\ln \left (b^{12}\,x+{\mathrm {root}\left (18075490334784\,a^{14}\,b^3\,c^4\,z^6-7625597484987\,a^{15}\,c^6\,z^6+1162261467\,a^{10}\,b\,c^4\,z^4+8503056\,a^7\,b^3\,c^2\,z^3-14348907\,a^8\,c^4\,z^3+177147\,a^5\,b^2\,c^2\,z^2+b^3,z,k\right )}^4\,a^{10}\,b^{11}\,c^3\,1033121304+{\mathrm {root}\left (18075490334784\,a^{14}\,b^3\,c^4\,z^6-7625597484987\,a^{15}\,c^6\,z^6+1162261467\,a^{10}\,b\,c^4\,z^4+8503056\,a^7\,b^3\,c^2\,z^3-14348907\,a^8\,c^4\,z^3+177147\,a^5\,b^2\,c^2\,z^2+b^3,z,k\right )}^5\,a^{12}\,b^{12}\,c^3\,167365651248-{\mathrm {root}\left (18075490334784\,a^{14}\,b^3\,c^4\,z^6-7625597484987\,a^{15}\,c^6\,z^6+1162261467\,a^{10}\,b\,c^4\,z^4+8503056\,a^7\,b^3\,c^2\,z^3-14348907\,a^8\,c^4\,z^3+177147\,a^5\,b^2\,c^2\,z^2+b^3,z,k\right )}^5\,a^{13}\,b^9\,c^5\,94143178827+\mathrm {root}\left (18075490334784\,a^{14}\,b^3\,c^4\,z^6-7625597484987\,a^{15}\,c^6\,z^6+1162261467\,a^{10}\,b\,c^4\,z^4+8503056\,a^7\,b^3\,c^2\,z^3-14348907\,a^8\,c^4\,z^3+177147\,a^5\,b^2\,c^2\,z^2+b^3,z,k\right )\,a^2\,b^{13}\,x\,54+{\mathrm {root}\left (18075490334784\,a^{14}\,b^3\,c^4\,z^6-7625597484987\,a^{15}\,c^6\,z^6+1162261467\,a^{10}\,b\,c^4\,z^4+8503056\,a^7\,b^3\,c^2\,z^3-14348907\,a^8\,c^4\,z^3+177147\,a^5\,b^2\,c^2\,z^2+b^3,z,k\right )}^2\,a^5\,b^{11}\,c^2\,x\,177147+{\mathrm {root}\left (18075490334784\,a^{14}\,b^3\,c^4\,z^6-7625597484987\,a^{15}\,c^6\,z^6+1162261467\,a^{10}\,b\,c^4\,z^4+8503056\,a^7\,b^3\,c^2\,z^3-14348907\,a^8\,c^4\,z^3+177147\,a^5\,b^2\,c^2\,z^2+b^3,z,k\right )}^3\,a^7\,b^{12}\,c^2\,x\,17006112-{\mathrm {root}\left (18075490334784\,a^{14}\,b^3\,c^4\,z^6-7625597484987\,a^{15}\,c^6\,z^6+1162261467\,a^{10}\,b\,c^4\,z^4+8503056\,a^7\,b^3\,c^2\,z^3-14348907\,a^8\,c^4\,z^3+177147\,a^5\,b^2\,c^2\,z^2+b^3,z,k\right )}^3\,a^8\,b^9\,c^4\,x\,14348907+{\mathrm {root}\left (18075490334784\,a^{14}\,b^3\,c^4\,z^6-7625597484987\,a^{15}\,c^6\,z^6+1162261467\,a^{10}\,b\,c^4\,z^4+8503056\,a^7\,b^3\,c^2\,z^3-14348907\,a^8\,c^4\,z^3+177147\,a^5\,b^2\,c^2\,z^2+b^3,z,k\right )}^4\,a^9\,b^{13}\,c^2\,x\,229582512+{\mathrm {root}\left (18075490334784\,a^{14}\,b^3\,c^4\,z^6-7625597484987\,a^{15}\,c^6\,z^6+1162261467\,a^{10}\,b\,c^4\,z^4+8503056\,a^7\,b^3\,c^2\,z^3-14348907\,a^8\,c^4\,z^3+177147\,a^5\,b^2\,c^2\,z^2+b^3,z,k\right )}^4\,a^{10}\,b^{10}\,c^4\,x\,387420489-{\mathrm {root}\left (18075490334784\,a^{14}\,b^3\,c^4\,z^6-7625597484987\,a^{15}\,c^6\,z^6+1162261467\,a^{10}\,b\,c^4\,z^4+8503056\,a^7\,b^3\,c^2\,z^3-14348907\,a^8\,c^4\,z^3+177147\,a^5\,b^2\,c^2\,z^2+b^3,z,k\right )}^5\,a^{12}\,b^{11}\,c^4\,x\,20920706406\right )\,\mathrm {root}\left (18075490334784\,a^{14}\,b^3\,c^4\,z^6-7625597484987\,a^{15}\,c^6\,z^6+1162261467\,a^{10}\,b\,c^4\,z^4+8503056\,a^7\,b^3\,c^2\,z^3-14348907\,a^8\,c^4\,z^3+177147\,a^5\,b^2\,c^2\,z^2+b^3,z,k\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________