Optimal. Leaf size=526 \[ \frac {\sqrt [3]{b^2 x^2+a^3 x^3}}{a}+\frac {\left (3 a^2 b-b^2\right ) \text {ArcTan}\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}} \sqrt [3]{a^2-b} b \text {ArcTan}\left (\frac {\sqrt {3} \sqrt [3]{a} \sqrt [3]{a^2-b} x}{\sqrt [3]{a} \sqrt [3]{a^2-b} x-2 \sqrt [3]{-1} \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 {\left (\sqrt [3]{a^2-b} b-i \sqrt {3} \sqrt [3]{a^2-b} b\right ) \log \left (\sqrt [3]{a} \sqrt [3]{a^2-b} x+\sqrt [3]{-1} \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 {i \left (i \sqrt [3]{a^2-b} b+\sqrt {3} \sqrt [3]{a^2-b} b\right ) \log \left (a^{2/3} \left (a^2-b\right )^{2/3} x^2-\sqrt [3]{-1} \sqrt [3]{a} \sqrt [3]{a^2-b} x \sqrt [3]{b^2 x^2+a^3 x^3}+(-1)^{2/3} \left (b^2 x^2+a^3 x^3\right )^{2/3}\right )}{4 a^{5/3}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.21, antiderivative size = 524, normalized size of antiderivative = 1.00, number of steps
used = 5, number of rules used = 5, integrand size = 27, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.185, Rules used = {2081, 103, 163,
61, 93} \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} \text {ArcTan}\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 \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 {\sqrt {3} b \sqrt [3]{a^2-b} \sqrt [3]{a^3 x^3+b^2 x^2} \text {ArcTan}\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}}+\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}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 61
Rule 93
Rule 103
Rule 163
Rule 2081
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 \left (3 a^2-b\right ) b 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 (\left (3 a^2-b\right ) b \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 {\left (\left (a^2-b\right ) b^2 \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 {\sqrt [3]{b^2 x^2+a^3 x^3}}{a}+\frac {\left (3 a^2-b\right ) b \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} \sqrt [3]{a^2-b} 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 {\sqrt [3]{a^2-b} 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 {\left (3 a^2-b\right ) b \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 {\left (3 a^2-b\right ) b \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 \sqrt [3]{a^2-b} 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 [A]
time = 1.92, size = 495, normalized size = 0.94 \begin {gather*} \frac {x^{4/3} \left (b^2+a^3 x\right )^{2/3} \left (12 a^2 x^{2/3} \sqrt [3]{b^2+a^3 x}+4 \sqrt {3} \left (3 a^2-b\right ) b \text {ArcTan}\left (\frac {\sqrt {3} a \sqrt [3]{x}}{a \sqrt [3]{x}+2 \sqrt [3]{b^2+a^3 x}}\right )+6 \left (3+i \sqrt {3}\right ) a^{4/3} \sqrt [3]{a^2-b} b \tanh ^{-1}\left (\frac {i+\frac {\left (-i+\sqrt {3}\right ) \sqrt [3]{b^2+a^3 x}}{\sqrt [3]{a} \sqrt [3]{a^2-b} \sqrt [3]{x}}}{\sqrt {3}}\right )+4 \left (3 a^2-b\right ) b \log \left (-a \sqrt [3]{x}+\sqrt [3]{b^2+a^3 x}\right )+6 \left (1-i \sqrt {3}\right ) a^{4/3} \sqrt [3]{a^2-b} b \log \left (2 \sqrt [3]{a} \sqrt [3]{a^2-b} \sqrt [3]{x}+\left (1+i \sqrt {3}\right ) \sqrt [3]{b^2+a^3 x}\right )+3 i \left (i+\sqrt {3}\right ) a^{4/3} \sqrt [3]{a^2-b} b \log \left (\left (-\sqrt [3]{a} \sqrt [3]{a^2-b} \sqrt [3]{x}+\sqrt [3]{b^2+a^3 x}\right ) \left (2 i \sqrt [3]{a} \sqrt [3]{a^2-b} \sqrt [3]{x}+\left (i+\sqrt {3}\right ) \sqrt [3]{b^2+a^3 x}\right )\right )-2 \left (3 a^2-b\right ) b \log \left (a^2 x^{2/3}+a \sqrt [3]{x} \sqrt [3]{b^2+a^3 x}+\left (b^2+a^3 x\right )^{2/3}\right )\right )}{12 a^3 \left (x^2 \left (b^2+a^3 x\right )\right )^{2/3}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F]
time = 0.00, 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*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.43, size = 437, normalized size = 0.83 \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]
________________________________________________________________________________________
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]
________________________________________________________________________________________
Giac [A]
time = 16.92, size = 339, normalized size = 0.64 \begin {gather*} -\frac {{\left (a^{3} - a b\right )}^{\frac {1}{3}} {\left (a^{2} b - b^{2}\right )} \log \left ({\left | -{\left (a^{3} - a b\right )}^{\frac {1}{3}} + {\left (a^{3} + \frac {b^{2}}{x}\right )}^{\frac {1}{3}} \right |}\right )}{a^{4} - a^{2} b} + \frac {\sqrt {3} {\left (a^{3} - a b\right )}^{\frac {1}{3}} b \arctan \left (\frac {\sqrt {3} {\left ({\left (a^{3} - a b\right )}^{\frac {1}{3}} + 2 \, {\left (a^{3} + \frac {b^{2}}{x}\right )}^{\frac {1}{3}}\right )}}{3 \, {\left (a^{3} - a b\right )}^{\frac {1}{3}}}\right )}{a^{2}} + \frac {{\left (a^{3} + \frac {b^{2}}{x}\right )}^{\frac {1}{3}} x}{a} + \frac {{\left (a^{3} - a b\right )}^{\frac {1}{3}} b \log \left ({\left (a^{3} - a b\right )}^{\frac {2}{3}} + {\left (a^{3} - a b\right )}^{\frac {1}{3}} {\left (a^{3} + \frac {b^{2}}{x}\right )}^{\frac {1}{3}} + {\left (a^{3} + \frac {b^{2}}{x}\right )}^{\frac {2}{3}}\right )}{2 \, a^{2}} - \frac {\sqrt {3} {\left (3 \, a^{2} b - b^{2}\right )} \arctan \left (\frac {\sqrt {3} {\left (a + 2 \, {\left (a^{3} + \frac {b^{2}}{x}\right )}^{\frac {1}{3}}\right )}}{3 \, a}\right )}{3 \, a^{3}} - \frac {{\left (3 \, a^{2} b - b^{2}\right )} \log \left (a^{2} + {\left (a^{3} + \frac {b^{2}}{x}\right )}^{\frac {1}{3}} a + {\left (a^{3} + \frac {b^{2}}{x}\right )}^{\frac {2}{3}}\right )}{6 \, a^{3}} + \frac {{\left (3 \, a^{2} b - b^{2}\right )} \log \left ({\left | -a + {\left (a^{3} + \frac {b^{2}}{x}\right )}^{\frac {1}{3}} \right |}\right )}{3 \, a^{3}} \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]
________________________________________________________________________________________