Optimal. Leaf size=187 \[ \frac {3 c d^2 \sqrt [3]{a+b x^3}}{b}+\frac {d^3 x \sqrt [3]{a+b x^3}}{2 b}-\frac {\sqrt {3} c^2 d \tan ^{-1}\left (\frac {1+\frac {2 \sqrt [3]{b} x}{\sqrt [3]{a+b x^3}}}{\sqrt {3}}\right )}{b^{2/3}}+\frac {\left (2 b c^3-a d^3\right ) x \left (1+\frac {b x^3}{a}\right )^{2/3} \, _2F_1\left (\frac {1}{3},\frac {2}{3};\frac {4}{3};-\frac {b x^3}{a}\right )}{2 b \left (a+b x^3\right )^{2/3}}-\frac {3 c^2 d \log \left (\sqrt [3]{b} x-\sqrt [3]{a+b x^3}\right )}{2 b^{2/3}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.12, antiderivative size = 187, normalized size of antiderivative = 1.00, number of steps
used = 8, number of rules used = 7, integrand size = 19, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.368, Rules used = {1902, 1900,
267, 1907, 252, 251, 337} \begin {gather*} -\frac {\sqrt {3} c^2 d \text {ArcTan}\left (\frac {\frac {2 \sqrt [3]{b} x}{\sqrt [3]{a+b x^3}}+1}{\sqrt {3}}\right )}{b^{2/3}}-\frac {3 c^2 d \log \left (\sqrt [3]{b} x-\sqrt [3]{a+b x^3}\right )}{2 b^{2/3}}+\frac {x \left (\frac {b x^3}{a}+1\right )^{2/3} \left (2 b c^3-a d^3\right ) \, _2F_1\left (\frac {1}{3},\frac {2}{3};\frac {4}{3};-\frac {b x^3}{a}\right )}{2 b \left (a+b x^3\right )^{2/3}}+\frac {3 c d^2 \sqrt [3]{a+b x^3}}{b}+\frac {d^3 x \sqrt [3]{a+b x^3}}{2 b} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 251
Rule 252
Rule 267
Rule 337
Rule 1900
Rule 1902
Rule 1907
Rubi steps
\begin {align*} \int \frac {(c+d x)^3}{\left (a+b x^3\right )^{2/3}} \, dx &=\frac {d^3 x \sqrt [3]{a+b x^3}}{2 b}+\frac {\int \frac {2 b c^3-a d^3+6 b c^2 d x+6 b c d^2 x^2}{\left (a+b x^3\right )^{2/3}} \, dx}{2 b}\\ &=\frac {d^3 x \sqrt [3]{a+b x^3}}{2 b}+\frac {\int \frac {2 b c^3-a d^3+6 b c^2 d x}{\left (a+b x^3\right )^{2/3}} \, dx}{2 b}+\left (3 c d^2\right ) \int \frac {x^2}{\left (a+b x^3\right )^{2/3}} \, dx\\ &=\frac {3 c d^2 \sqrt [3]{a+b x^3}}{b}+\frac {d^3 x \sqrt [3]{a+b x^3}}{2 b}+\frac {\int \left (\frac {2 b c^3 \left (1-\frac {a d^3}{2 b c^3}\right )}{\left (a+b x^3\right )^{2/3}}+\frac {6 b c^2 d x}{\left (a+b x^3\right )^{2/3}}\right ) \, dx}{2 b}\\ &=\frac {3 c d^2 \sqrt [3]{a+b x^3}}{b}+\frac {d^3 x \sqrt [3]{a+b x^3}}{2 b}+\left (3 c^2 d\right ) \int \frac {x}{\left (a+b x^3\right )^{2/3}} \, dx+\frac {\left (2 b c^3-a d^3\right ) \int \frac {1}{\left (a+b x^3\right )^{2/3}} \, dx}{2 b}\\ &=\frac {3 c d^2 \sqrt [3]{a+b x^3}}{b}+\frac {d^3 x \sqrt [3]{a+b x^3}}{2 b}+\left (3 c^2 d\right ) \text {Subst}\left (\int \frac {x}{1-b x^3} \, dx,x,\frac {x}{\sqrt [3]{a+b x^3}}\right )+\frac {\left (\left (2 b c^3-a d^3\right ) \left (1+\frac {b x^3}{a}\right )^{2/3}\right ) \int \frac {1}{\left (1+\frac {b x^3}{a}\right )^{2/3}} \, dx}{2 b \left (a+b x^3\right )^{2/3}}\\ &=\frac {3 c d^2 \sqrt [3]{a+b x^3}}{b}+\frac {d^3 x \sqrt [3]{a+b x^3}}{2 b}+\frac {\left (2 b c^3-a d^3\right ) x \left (1+\frac {b x^3}{a}\right )^{2/3} \, _2F_1\left (\frac {1}{3},\frac {2}{3};\frac {4}{3};-\frac {b x^3}{a}\right )}{2 b \left (a+b x^3\right )^{2/3}}+\frac {\left (c^2 d\right ) \text {Subst}\left (\int \frac {1}{1-\sqrt [3]{b} x} \, dx,x,\frac {x}{\sqrt [3]{a+b x^3}}\right )}{\sqrt [3]{b}}-\frac {\left (c^2 d\right ) \text {Subst}\left (\int \frac {1-\sqrt [3]{b} x}{1+\sqrt [3]{b} x+b^{2/3} x^2} \, dx,x,\frac {x}{\sqrt [3]{a+b x^3}}\right )}{\sqrt [3]{b}}\\ &=\frac {3 c d^2 \sqrt [3]{a+b x^3}}{b}+\frac {d^3 x \sqrt [3]{a+b x^3}}{2 b}+\frac {\left (2 b c^3-a d^3\right ) x \left (1+\frac {b x^3}{a}\right )^{2/3} \, _2F_1\left (\frac {1}{3},\frac {2}{3};\frac {4}{3};-\frac {b x^3}{a}\right )}{2 b \left (a+b x^3\right )^{2/3}}-\frac {c^2 d \log \left (1-\frac {\sqrt [3]{b} x}{\sqrt [3]{a+b x^3}}\right )}{b^{2/3}}+\frac {\left (c^2 d\right ) \text {Subst}\left (\int \frac {\sqrt [3]{b}+2 b^{2/3} x}{1+\sqrt [3]{b} x+b^{2/3} x^2} \, dx,x,\frac {x}{\sqrt [3]{a+b x^3}}\right )}{2 b^{2/3}}-\frac {\left (3 c^2 d\right ) \text {Subst}\left (\int \frac {1}{1+\sqrt [3]{b} x+b^{2/3} x^2} \, dx,x,\frac {x}{\sqrt [3]{a+b x^3}}\right )}{2 \sqrt [3]{b}}\\ &=\frac {3 c d^2 \sqrt [3]{a+b x^3}}{b}+\frac {d^3 x \sqrt [3]{a+b x^3}}{2 b}+\frac {\left (2 b c^3-a d^3\right ) x \left (1+\frac {b x^3}{a}\right )^{2/3} \, _2F_1\left (\frac {1}{3},\frac {2}{3};\frac {4}{3};-\frac {b x^3}{a}\right )}{2 b \left (a+b x^3\right )^{2/3}}-\frac {c^2 d \log \left (1-\frac {\sqrt [3]{b} x}{\sqrt [3]{a+b x^3}}\right )}{b^{2/3}}+\frac {c^2 d \log \left (1+\frac {b^{2/3} x^2}{\left (a+b x^3\right )^{2/3}}+\frac {\sqrt [3]{b} x}{\sqrt [3]{a+b x^3}}\right )}{2 b^{2/3}}+\frac {\left (3 c^2 d\right ) \text {Subst}\left (\int \frac {1}{-3-x^2} \, dx,x,1+\frac {2 \sqrt [3]{b} x}{\sqrt [3]{a+b x^3}}\right )}{b^{2/3}}\\ &=\frac {3 c d^2 \sqrt [3]{a+b x^3}}{b}+\frac {d^3 x \sqrt [3]{a+b x^3}}{2 b}-\frac {\sqrt {3} c^2 d \tan ^{-1}\left (\frac {1+\frac {2 \sqrt [3]{b} x}{\sqrt [3]{a+b x^3}}}{\sqrt {3}}\right )}{b^{2/3}}+\frac {\left (2 b c^3-a d^3\right ) x \left (1+\frac {b x^3}{a}\right )^{2/3} \, _2F_1\left (\frac {1}{3},\frac {2}{3};\frac {4}{3};-\frac {b x^3}{a}\right )}{2 b \left (a+b x^3\right )^{2/3}}-\frac {c^2 d \log \left (1-\frac {\sqrt [3]{b} x}{\sqrt [3]{a+b x^3}}\right )}{b^{2/3}}+\frac {c^2 d \log \left (1+\frac {b^{2/3} x^2}{\left (a+b x^3\right )^{2/3}}+\frac {\sqrt [3]{b} x}{\sqrt [3]{a+b x^3}}\right )}{2 b^{2/3}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 10.08, size = 145, normalized size = 0.78 \begin {gather*} \frac {4 b c^3 x \left (1+\frac {b x^3}{a}\right )^{2/3} \, _2F_1\left (\frac {1}{3},\frac {2}{3};\frac {4}{3};-\frac {b x^3}{a}\right )+d \left (6 b c^2 x^2 \, _2F_1\left (\frac {2}{3},1;\frac {5}{3};\frac {b x^3}{a+b x^3}\right )+d \left (12 c \left (a+b x^3\right )+b d x^4 \left (1+\frac {b x^3}{a}\right )^{2/3} \, _2F_1\left (\frac {2}{3},\frac {4}{3};\frac {7}{3};-\frac {b x^3}{a}\right )\right )\right )}{4 b \left (a+b x^3\right )^{2/3}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F]
time = 0.01, size = 0, normalized size = 0.00 \[\int \frac {\left (d x +c \right )^{3}}{\left (b \,x^{3}+a \right )^{\frac {2}{3}}}\, 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 [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]
________________________________________________________________________________________
Sympy [A]
time = 2.12, size = 153, normalized size = 0.82 \begin {gather*} 3 c d^{2} \left (\begin {cases} \frac {x^{3}}{3 a^{\frac {2}{3}}} & \text {for}\: b = 0 \\\frac {\sqrt [3]{a + b x^{3}}}{b} & \text {otherwise} \end {cases}\right ) + \frac {c^{3} x \Gamma \left (\frac {1}{3}\right ) {{}_{2}F_{1}\left (\begin {matrix} \frac {1}{3}, \frac {2}{3} \\ \frac {4}{3} \end {matrix}\middle | {\frac {b x^{3} e^{i \pi }}{a}} \right )}}{3 a^{\frac {2}{3}} \Gamma \left (\frac {4}{3}\right )} + \frac {c^{2} d x^{2} \Gamma \left (\frac {2}{3}\right ) {{}_{2}F_{1}\left (\begin {matrix} \frac {2}{3}, \frac {2}{3} \\ \frac {5}{3} \end {matrix}\middle | {\frac {b x^{3} e^{i \pi }}{a}} \right )}}{a^{\frac {2}{3}} \Gamma \left (\frac {5}{3}\right )} + \frac {d^{3} x^{4} \Gamma \left (\frac {4}{3}\right ) {{}_{2}F_{1}\left (\begin {matrix} \frac {2}{3}, \frac {4}{3} \\ \frac {7}{3} \end {matrix}\middle | {\frac {b x^{3} e^{i \pi }}{a}} \right )}}{3 a^{\frac {2}{3}} \Gamma \left (\frac {7}{3}\right )} \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 (c+d\,x\right )}^3}{{\left (b\,x^3+a\right )}^{2/3}} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________