Optimal. Leaf size=506 \[ \frac {\sqrt [3]{a^3 x^3+b^2 x^2}}{a}+\frac {\left (-3 a^2 b-b^2\right ) \log \left (\sqrt [3]{a^3 x^3+b^2 x^2}-a x\right )}{3 a^3}+\frac {\left (3 a^2 b+b^2\right ) \log \left (a x \sqrt [3]{a^3 x^3+b^2 x^2}+\left (a^3 x^3+b^2 x^2\right )^{2/3}+a^2 x^2\right )}{6 a^3}-\frac {\left (3 a^2 b+b^2\right ) \tan ^{-1}\left (\frac {\sqrt {3} a x}{2 \sqrt [3]{a^3 x^3+b^2 x^2}+a x}\right )}{\sqrt {3} a^3}+\frac {i \left (\sqrt {3} b \sqrt [3]{a^2+b}+i b \sqrt [3]{a^2+b}\right ) \log \left (\sqrt [3]{-1} \sqrt [3]{a^3 x^3+b^2 x^2}+\sqrt [3]{a} x \sqrt [3]{a^2+b}\right )}{2 a^{5/3}}+\frac {\left (b \sqrt [3]{a^2+b}-i \sqrt {3} b \sqrt [3]{a^2+b}\right ) \log \left ((-1)^{2/3} \left (a^3 x^3+b^2 x^2\right )^{2/3}+a^{2/3} x^2 \left (a^2+b\right )^{2/3}-\sqrt [3]{-1} \sqrt [3]{a} x \sqrt [3]{a^2+b} \sqrt [3]{a^3 x^3+b^2 x^2}\right )}{4 a^{5/3}}-\frac {\sqrt {-3-3 i \sqrt {3}} b \sqrt [3]{a^2+b} \tan ^{-1}\left (\frac {\sqrt {3} \sqrt [3]{a} x \sqrt [3]{a^2+b}}{\sqrt [3]{a} x \sqrt [3]{a^2+b}-2 \sqrt [3]{-1} \sqrt [3]{a^3 x^3+b^2 x^2}}\right )}{\sqrt {2} a^{5/3}} \]
________________________________________________________________________________________
Rubi [A] time = 0.27, antiderivative size = 510, normalized size of antiderivative = 1.01, number of steps used = 5, number of rules used = 5, integrand size = 29, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.172, Rules used = {2056, 101, 157, 59, 91} \begin {gather*} \frac {\sqrt [3]{a^3 x^3+b^2 x^2}}{a}-\frac {b \left (3 a^2+b\right ) \sqrt [3]{a^3 x^3+b^2 x^2} \log \left (a^3 x+b^2\right )}{6 a^3 x^{2/3} \sqrt [3]{a^3 x+b^2}}-\frac {b \left (3 a^2+b\right ) \sqrt [3]{a^3 x^3+b^2 x^2} \log \left (\frac {a \sqrt [3]{x}}{\sqrt [3]{a^3 x+b^2}}-1\right )}{2 a^3 x^{2/3} \sqrt [3]{a^3 x+b^2}}-\frac {b \left (3 a^2+b\right ) \sqrt [3]{a^3 x^3+b^2 x^2} \tan ^{-1}\left (\frac {2 a \sqrt [3]{x}}{\sqrt {3} \sqrt [3]{a^3 x+b^2}}+\frac {1}{\sqrt {3}}\right )}{\sqrt {3} a^3 x^{2/3} \sqrt [3]{a^3 x+b^2}}-\frac {b \sqrt [3]{a^2+b} \sqrt [3]{a^3 x^3+b^2 x^2} \log (a x-b)}{2 a^{5/3} x^{2/3} \sqrt [3]{a^3 x+b^2}}+\frac {3 b \sqrt [3]{a^2+b} \sqrt [3]{a^3 x^3+b^2 x^2} \log \left (\sqrt [3]{a} \sqrt [3]{x} \sqrt [3]{a^2+b}-\sqrt [3]{a^3 x+b^2}\right )}{2 a^{5/3} x^{2/3} \sqrt [3]{a^3 x+b^2}}+\frac {\sqrt {3} b \sqrt [3]{a^2+b} \sqrt [3]{a^3 x^3+b^2 x^2} \tan ^{-1}\left (\frac {2 \sqrt [3]{a} \sqrt [3]{x} \sqrt [3]{a^2+b}}{\sqrt {3} \sqrt [3]{a^3 x+b^2}}+\frac {1}{\sqrt {3}}\right )}{a^{5/3} x^{2/3} \sqrt [3]{a^3 x+b^2}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 59
Rule 91
Rule 101
Rule 157
Rule 2056
Rubi steps
\begin {align*} \int \frac {\sqrt [3]{b^2 x^2+a^3 x^3}}{-b+a x} \, dx &=\frac {\sqrt [3]{b^2 x^2+a^3 x^3} \int \frac {x^{2/3} \sqrt [3]{b^2+a^3 x}}{-b+a x} \, dx}{x^{2/3} \sqrt [3]{b^2+a^3 x}}\\ &=\frac {\sqrt [3]{b^2 x^2+a^3 x^3}}{a}-\frac {\sqrt [3]{b^2 x^2+a^3 x^3} \int \frac {-\frac {2 b^3}{3}-\frac {1}{3} a b \left (3 a^2+b\right ) x}{\sqrt [3]{x} (-b+a x) \left (b^2+a^3 x\right )^{2/3}} \, dx}{a x^{2/3} \sqrt [3]{b^2+a^3 x}}\\ &=\frac {\sqrt [3]{b^2 x^2+a^3 x^3}}{a}+\frac {\left (b^2 \left (a^2+b\right ) \sqrt [3]{b^2 x^2+a^3 x^3}\right ) \int \frac {1}{\sqrt [3]{x} (-b+a x) \left (b^2+a^3 x\right )^{2/3}} \, dx}{a x^{2/3} \sqrt [3]{b^2+a^3 x}}+\frac {\left (b \left (3 a^2+b\right ) \sqrt [3]{b^2 x^2+a^3 x^3}\right ) \int \frac {1}{\sqrt [3]{x} \left (b^2+a^3 x\right )^{2/3}} \, dx}{3 a x^{2/3} \sqrt [3]{b^2+a^3 x}}\\ &=\frac {\sqrt [3]{b^2 x^2+a^3 x^3}}{a}-\frac {b \left (3 a^2+b\right ) \sqrt [3]{b^2 x^2+a^3 x^3} \tan ^{-1}\left (\frac {1}{\sqrt {3}}+\frac {2 a \sqrt [3]{x}}{\sqrt {3} \sqrt [3]{b^2+a^3 x}}\right )}{\sqrt {3} a^3 x^{2/3} \sqrt [3]{b^2+a^3 x}}+\frac {\sqrt {3} b \sqrt [3]{a^2+b} \sqrt [3]{b^2 x^2+a^3 x^3} \tan ^{-1}\left (\frac {1}{\sqrt {3}}+\frac {2 \sqrt [3]{a} \sqrt [3]{a^2+b} \sqrt [3]{x}}{\sqrt {3} \sqrt [3]{b^2+a^3 x}}\right )}{a^{5/3} x^{2/3} \sqrt [3]{b^2+a^3 x}}-\frac {b \sqrt [3]{a^2+b} \sqrt [3]{b^2 x^2+a^3 x^3} \log (-b+a x)}{2 a^{5/3} x^{2/3} \sqrt [3]{b^2+a^3 x}}-\frac {b \left (3 a^2+b\right ) \sqrt [3]{b^2 x^2+a^3 x^3} \log \left (b^2+a^3 x\right )}{6 a^3 x^{2/3} \sqrt [3]{b^2+a^3 x}}-\frac {b \left (3 a^2+b\right ) \sqrt [3]{b^2 x^2+a^3 x^3} \log \left (-1+\frac {a \sqrt [3]{x}}{\sqrt [3]{b^2+a^3 x}}\right )}{2 a^3 x^{2/3} \sqrt [3]{b^2+a^3 x}}+\frac {3 b \sqrt [3]{a^2+b} \sqrt [3]{b^2 x^2+a^3 x^3} \log \left (\sqrt [3]{a} \sqrt [3]{a^2+b} \sqrt [3]{x}-\sqrt [3]{b^2+a^3 x}\right )}{2 a^{5/3} x^{2/3} \sqrt [3]{b^2+a^3 x}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [C] time = 0.14, size = 158, normalized size = 0.31 \begin {gather*} \frac {3 x^2 \left (\left (a^3 b x+b^3\right ) \, _2F_1\left (-\frac {1}{3},\frac {2}{3};\frac {5}{3};-\frac {a^3 x}{b^2}\right )+a^2 \left (a^3 x+b^2\right ) \, _2F_1\left (\frac {2}{3},\frac {2}{3};\frac {5}{3};-\frac {a^3 x}{b^2}\right )-b^2 \left (a^2+b\right ) \sqrt [3]{\frac {a^3 x}{b^2}+1} \, _2F_1\left (\frac {2}{3},1;\frac {5}{3};\frac {a \left (a^2+b\right ) x}{x a^3+b^2}\right )\right )}{2 a b \left (x^2 \left (a^3 x+b^2\right )\right )^{2/3} \sqrt [3]{\frac {a^3 x}{b^2}+1}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
IntegrateAlgebraic [A] time = 4.06, size = 551, normalized size = 1.09 \begin {gather*} \frac {\sqrt [3]{b^2 x^2+a^3 x^3}}{a}-\frac {\left (3 a^2 b+b^2\right ) \tan ^{-1}\left (\frac {\sqrt {3} a x}{a x+2 \sqrt [3]{b^2 x^2+a^3 x^3}}\right )}{\sqrt {3} a^3}-\frac {\sqrt {-3-3 i \sqrt {3}} b \sqrt [3]{a^2+b} \tan ^{-1}\left (\frac {3 \sqrt [3]{a} \sqrt [3]{a^2+b} x}{\sqrt {3} \sqrt [3]{a} \sqrt [3]{a^2+b} x-3 i \sqrt [3]{b^2 x^2+a^3 x^3}-\sqrt {3} \sqrt [3]{b^2 x^2+a^3 x^3}}\right )}{\sqrt {2} a^{5/3}}+\frac {\left (-3 a^2 b-b^2\right ) \log \left (-a x+\sqrt [3]{b^2 x^2+a^3 x^3}\right )}{3 a^3}+\frac {i \left (i b \sqrt [3]{a^2+b}+\sqrt {3} b \sqrt [3]{a^2+b}\right ) \log \left (2 \sqrt [3]{a} \sqrt [3]{a^2+b} x+\left (1+i \sqrt {3}\right ) \sqrt [3]{b^2 x^2+a^3 x^3}\right )}{2 a^{5/3}}+\frac {\left (3 a^2 b+b^2\right ) \log \left (a^2 x^2+a x \sqrt [3]{b^2 x^2+a^3 x^3}+\left (b^2 x^2+a^3 x^3\right )^{2/3}\right )}{6 a^3}+\frac {\left (b \sqrt [3]{a^2+b}-i \sqrt {3} b \sqrt [3]{a^2+b}\right ) \log \left (-2 i a^{2/3} \left (a^2+b\right )^{2/3} x^2+\sqrt [3]{a} \sqrt [3]{a^2+b} \left (i x-\sqrt {3} x\right ) \sqrt [3]{b^2 x^2+a^3 x^3}+\left (i+\sqrt {3}\right ) \left (b^2 x^2+a^3 x^3\right )^{2/3}\right )}{4 a^{5/3}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 1.28, size = 408, normalized size = 0.81 \begin {gather*} -\frac {6 \, \sqrt {3} a^{2} b \left (\frac {a^{2} + b}{a^{2}}\right )^{\frac {1}{3}} \arctan \left (\frac {\sqrt {3} {\left (a^{2} + b\right )} x + 2 \, \sqrt {3} {\left (a^{3} x^{3} + b^{2} x^{2}\right )}^{\frac {1}{3}} a \left (\frac {a^{2} + b}{a^{2}}\right )^{\frac {2}{3}}}{3 \, {\left (a^{2} + b\right )} x}\right ) - 6 \, a^{2} b \left (\frac {a^{2} + b}{a^{2}}\right )^{\frac {1}{3}} \log \left (-\frac {a x \left (\frac {a^{2} + b}{a^{2}}\right )^{\frac {1}{3}} - {\left (a^{3} x^{3} + b^{2} x^{2}\right )}^{\frac {1}{3}}}{x}\right ) + 3 \, a^{2} b \left (\frac {a^{2} + b}{a^{2}}\right )^{\frac {1}{3}} \log \left (\frac {a^{2} x^{2} \left (\frac {a^{2} + b}{a^{2}}\right )^{\frac {2}{3}} + {\left (a^{3} x^{3} + b^{2} x^{2}\right )}^{\frac {1}{3}} a x \left (\frac {a^{2} + b}{a^{2}}\right )^{\frac {1}{3}} + {\left (a^{3} x^{3} + b^{2} x^{2}\right )}^{\frac {2}{3}}}{x^{2}}\right ) - 2 \, \sqrt {3} {\left (3 \, a^{2} b + b^{2}\right )} \arctan \left (\frac {\sqrt {3} a x + 2 \, \sqrt {3} {\left (a^{3} x^{3} + b^{2} x^{2}\right )}^{\frac {1}{3}}}{3 \, a x}\right ) - 6 \, {\left (a^{3} x^{3} + b^{2} x^{2}\right )}^{\frac {1}{3}} a^{2} + 2 \, {\left (3 \, a^{2} b + b^{2}\right )} \log \left (-\frac {a x - {\left (a^{3} x^{3} + b^{2} x^{2}\right )}^{\frac {1}{3}}}{x}\right ) - {\left (3 \, a^{2} b + b^{2}\right )} \log \left (\frac {a^{2} x^{2} + {\left (a^{3} x^{3} + b^{2} x^{2}\right )}^{\frac {1}{3}} a x + {\left (a^{3} x^{3} + b^{2} x^{2}\right )}^{\frac {2}{3}}}{x^{2}}\right )}{6 \, a^{3}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [F(-1)] 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]
________________________________________________________________________________________
maple [F] time = 0.01, size = 0, normalized size = 0.00 \[\int \frac {\left (a^{3} x^{3}+b^{2} x^{2}\right )^{\frac {1}{3}}}{a x -b}\, dx\]
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*} \int \frac {{\left (a^{3} x^{3} + b^{2} x^{2}\right )}^{\frac {1}{3}}}{a x - b}\,{d x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [F] time = 0.00, size = -1, normalized size = -0.00 \begin {gather*} -\int \frac {{\left (a^3\,x^3+b^2\,x^2\right )}^{1/3}}{b-a\,x} \,d x \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 [3]{x^{2} \left (a^{3} x + b^{2}\right )}}{a x - b}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________