Optimal. Leaf size=110 \[ -24 a b^2 x-\frac {6 b \sqrt {-d^2 x^4-2 d x^2} \left (a+b \cos ^{-1}\left (d x^2+1\right )\right )^2}{d x}+x \left (a+b \cos ^{-1}\left (d x^2+1\right )\right )^3+\frac {48 b^3 \sqrt {-d^2 x^4-2 d x^2}}{d x}-24 b^3 x \cos ^{-1}\left (d x^2+1\right ) \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.06, antiderivative size = 110, normalized size of antiderivative = 1.00, number of steps used = 5, number of rules used = 4, integrand size = 14, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.286, Rules used = {4815, 4841, 12, 1588} \[ -24 a b^2 x-\frac {6 b \sqrt {-d^2 x^4-2 d x^2} \left (a+b \cos ^{-1}\left (d x^2+1\right )\right )^2}{d x}+x \left (a+b \cos ^{-1}\left (d x^2+1\right )\right )^3+\frac {48 b^3 \sqrt {-d^2 x^4-2 d x^2}}{d x}-24 b^3 x \cos ^{-1}\left (d x^2+1\right ) \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 12
Rule 1588
Rule 4815
Rule 4841
Rubi steps
\begin {align*} \int \left (a+b \cos ^{-1}\left (1+d x^2\right )\right )^3 \, dx &=-\frac {6 b \sqrt {-2 d x^2-d^2 x^4} \left (a+b \cos ^{-1}\left (1+d x^2\right )\right )^2}{d x}+x \left (a+b \cos ^{-1}\left (1+d x^2\right )\right )^3-\left (24 b^2\right ) \int \left (a+b \cos ^{-1}\left (1+d x^2\right )\right ) \, dx\\ &=-24 a b^2 x-\frac {6 b \sqrt {-2 d x^2-d^2 x^4} \left (a+b \cos ^{-1}\left (1+d x^2\right )\right )^2}{d x}+x \left (a+b \cos ^{-1}\left (1+d x^2\right )\right )^3-\left (24 b^3\right ) \int \cos ^{-1}\left (1+d x^2\right ) \, dx\\ &=-24 a b^2 x-24 b^3 x \cos ^{-1}\left (1+d x^2\right )-\frac {6 b \sqrt {-2 d x^2-d^2 x^4} \left (a+b \cos ^{-1}\left (1+d x^2\right )\right )^2}{d x}+x \left (a+b \cos ^{-1}\left (1+d x^2\right )\right )^3-\left (24 b^3\right ) \int \frac {2 d x^2}{\sqrt {-2 d x^2-d^2 x^4}} \, dx\\ &=-24 a b^2 x-24 b^3 x \cos ^{-1}\left (1+d x^2\right )-\frac {6 b \sqrt {-2 d x^2-d^2 x^4} \left (a+b \cos ^{-1}\left (1+d x^2\right )\right )^2}{d x}+x \left (a+b \cos ^{-1}\left (1+d x^2\right )\right )^3-\left (48 b^3 d\right ) \int \frac {x^2}{\sqrt {-2 d x^2-d^2 x^4}} \, dx\\ &=-24 a b^2 x+\frac {48 b^3 \sqrt {-2 d x^2-d^2 x^4}}{d x}-24 b^3 x \cos ^{-1}\left (1+d x^2\right )-\frac {6 b \sqrt {-2 d x^2-d^2 x^4} \left (a+b \cos ^{-1}\left (1+d x^2\right )\right )^2}{d x}+x \left (a+b \cos ^{-1}\left (1+d x^2\right )\right )^3\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.13, size = 162, normalized size = 1.47 \[ \frac {a d x^2 \left (a^2-24 b^2\right )-6 b \left (a^2-8 b^2\right ) \sqrt {-d x^2 \left (d x^2+2\right )}+3 b \cos ^{-1}\left (d x^2+1\right ) \left (a^2 d x^2-4 a b \sqrt {-d x^2 \left (d x^2+2\right )}-8 b^2 d x^2\right )+3 b^2 \cos ^{-1}\left (d x^2+1\right )^2 \left (a d x^2-2 b \sqrt {-d x^2 \left (d x^2+2\right )}\right )+b^3 d x^2 \cos ^{-1}\left (d x^2+1\right )^3}{d x} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.43, size = 144, normalized size = 1.31 \[ \frac {b^{3} d x^{2} \arccos \left (d x^{2} + 1\right )^{3} + 3 \, a b^{2} d x^{2} \arccos \left (d x^{2} + 1\right )^{2} + 3 \, {\left (a^{2} b - 8 \, b^{3}\right )} d x^{2} \arccos \left (d x^{2} + 1\right ) + {\left (a^{3} - 24 \, a b^{2}\right )} d x^{2} - 6 \, \sqrt {-d^{2} x^{4} - 2 \, d x^{2}} {\left (b^{3} \arccos \left (d x^{2} + 1\right )^{2} + 2 \, a b^{2} \arccos \left (d x^{2} + 1\right ) + a^{2} b - 8 \, b^{3}\right )}}{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int {\left (b \arccos \left (d x^{2} + 1\right ) + a\right )}^{3}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [F] time = 0.28, size = 0, normalized size = 0.00 \[ \int \left (a +b \arccos \left (d \,x^{2}+1\right )\right )^{3}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [F(-2)] time = 0.00, size = 0, normalized size = 0.00 \[ \text {Exception raised: RuntimeError} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [F] time = 0.00, size = -1, normalized size = -0.01 \[ \int {\left (a+b\,\mathrm {acos}\left (d\,x^2+1\right )\right )}^3 \,d x \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \left (a + b \operatorname {acos}{\left (d x^{2} + 1 \right )}\right )^{3}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________