Optimal. Leaf size=58 \[ \frac {a x^3}{3}+\frac {b \left (c+d x^3\right ) \sec ^{-1}\left (c+d x^3\right )}{3 d}-\frac {b \tanh ^{-1}\left (\sqrt {1-\frac {1}{\left (c+d x^3\right )^2}}\right )}{3 d} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.08, antiderivative size = 58, normalized size of antiderivative = 1.00, number of steps used = 7, number of rules used = 6, integrand size = 16, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.375, Rules used = {6715, 5250, 372, 266, 63, 206} \[ \frac {a x^3}{3}+\frac {b \left (c+d x^3\right ) \sec ^{-1}\left (c+d x^3\right )}{3 d}-\frac {b \tanh ^{-1}\left (\sqrt {1-\frac {1}{\left (c+d x^3\right )^2}}\right )}{3 d} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 63
Rule 206
Rule 266
Rule 372
Rule 5250
Rule 6715
Rubi steps
\begin {align*} \int x^2 \left (a+b \sec ^{-1}\left (c+d x^3\right )\right ) \, dx &=\frac {1}{3} \operatorname {Subst}\left (\int \left (a+b \sec ^{-1}(c+d x)\right ) \, dx,x,x^3\right )\\ &=\frac {a x^3}{3}+\frac {1}{3} b \operatorname {Subst}\left (\int \sec ^{-1}(c+d x) \, dx,x,x^3\right )\\ &=\frac {a x^3}{3}+\frac {b \left (c+d x^3\right ) \sec ^{-1}\left (c+d x^3\right )}{3 d}-\frac {1}{3} b \operatorname {Subst}\left (\int \frac {1}{(c+d x) \sqrt {1-\frac {1}{(c+d x)^2}}} \, dx,x,x^3\right )\\ &=\frac {a x^3}{3}+\frac {b \left (c+d x^3\right ) \sec ^{-1}\left (c+d x^3\right )}{3 d}-\frac {b \operatorname {Subst}\left (\int \frac {1}{\sqrt {1-\frac {1}{x^2}} x} \, dx,x,c+d x^3\right )}{3 d}\\ &=\frac {a x^3}{3}+\frac {b \left (c+d x^3\right ) \sec ^{-1}\left (c+d x^3\right )}{3 d}+\frac {b \operatorname {Subst}\left (\int \frac {1}{\sqrt {1-x} x} \, dx,x,\frac {1}{\left (c+d x^3\right )^2}\right )}{6 d}\\ &=\frac {a x^3}{3}+\frac {b \left (c+d x^3\right ) \sec ^{-1}\left (c+d x^3\right )}{3 d}-\frac {b \operatorname {Subst}\left (\int \frac {1}{1-x^2} \, dx,x,\sqrt {1-\frac {1}{\left (c+d x^3\right )^2}}\right )}{3 d}\\ &=\frac {a x^3}{3}+\frac {b \left (c+d x^3\right ) \sec ^{-1}\left (c+d x^3\right )}{3 d}-\frac {b \tanh ^{-1}\left (\sqrt {1-\frac {1}{\left (c+d x^3\right )^2}}\right )}{3 d}\\ \end {align*}
________________________________________________________________________________________
Mathematica [B] time = 0.16, size = 148, normalized size = 2.55 \[ \frac {a x^3}{3}-\frac {b \left (c+d x^3\right ) \sqrt {\frac {c^2+2 c d x^3+d^2 x^6-1}{\left (c+d x^3\right )^2}} \left (\tanh ^{-1}\left (\frac {c+d x^3}{\sqrt {c^2+2 c d x^3+d^2 x^6-1}}\right )-c \tan ^{-1}\left (\sqrt {\left (c+d x^3\right )^2-1}\right )\right )}{3 d \sqrt {c^2+2 c d x^3+d^2 x^6-1}}+\frac {1}{3} b x^3 \sec ^{-1}\left (c+d x^3\right ) \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.80, size = 96, normalized size = 1.66 \[ \frac {b d x^{3} \operatorname {arcsec}\left (d x^{3} + c\right ) + a d x^{3} + 2 \, b c \arctan \left (-d x^{3} - c + \sqrt {d^{2} x^{6} + 2 \, c d x^{3} + c^{2} - 1}\right ) + b \log \left (-d x^{3} - c + \sqrt {d^{2} x^{6} + 2 \, c d x^{3} + c^{2} - 1}\right )}{3 \, d} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.40, size = 100, normalized size = 1.72 \[ \frac {1}{3} \, a x^{3} + \frac {1}{6} \, b d {\left (\frac {2 \, {\left (d x^{3} + c\right )} \arccos \left (-\frac {1}{{\left (d x^{3} + c\right )} {\left (\frac {c}{d x^{3} + c} - 1\right )} - c}\right )}{d^{2}} - \frac {\log \left (\sqrt {-\frac {1}{{\left (d x^{3} + c\right )}^{2}} + 1} + 1\right ) - \log \left (-\sqrt {-\frac {1}{{\left (d x^{3} + c\right )}^{2}} + 1} + 1\right )}{d^{2}}\right )} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.10, size = 81, normalized size = 1.40 \[ \frac {\mathrm {arcsec}\left (d \,x^{3}+c \right ) x^{3} b}{3}+\frac {x^{3} a}{3}+\frac {\mathrm {arcsec}\left (d \,x^{3}+c \right ) b c}{3 d}-\frac {\ln \left (d \,x^{3}+c +\left (d \,x^{3}+c \right ) \sqrt {1-\frac {1}{\left (d \,x^{3}+c \right )^{2}}}\right ) b}{3 d}+\frac {a c}{3 d} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.36, size = 71, normalized size = 1.22 \[ \frac {1}{3} \, a x^{3} + \frac {{\left (2 \, {\left (d x^{3} + c\right )} \operatorname {arcsec}\left (d x^{3} + c\right ) - \log \left (\sqrt {-\frac {1}{{\left (d x^{3} + c\right )}^{2}} + 1} + 1\right ) + \log \left (-\sqrt {-\frac {1}{{\left (d x^{3} + c\right )}^{2}} + 1} + 1\right )\right )} b}{6 \, d} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.77, size = 52, normalized size = 0.90 \[ \frac {a\,x^3}{3}-\frac {b\,\mathrm {atanh}\left (\frac {1}{\sqrt {1-\frac {1}{{\left (d\,x^3+c\right )}^2}}}\right )}{3\,d}+\frac {b\,\mathrm {acos}\left (\frac {1}{d\,x^3+c}\right )\,\left (d\,x^3+c\right )}{3\,d} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F(-1)] time = 0.00, size = 0, normalized size = 0.00 \[ \text {Timed out} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________