Optimal. Leaf size=127 \[ 384 b^4 x+\frac {192 b^3 \sqrt {-2 d x^2-d^2 x^4} \left (a+b \text {ArcCos}\left (1+d x^2\right )\right )}{d x}-48 b^2 x \left (a+b \text {ArcCos}\left (1+d x^2\right )\right )^2-\frac {8 b \sqrt {-2 d x^2-d^2 x^4} \left (a+b \text {ArcCos}\left (1+d x^2\right )\right )^3}{d x}+x \left (a+b \text {ArcCos}\left (1+d x^2\right )\right )^4 \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.02, antiderivative size = 127, normalized size of antiderivative = 1.00, number of steps
used = 3, number of rules used = 2, integrand size = 14, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.143, Rules used = {4899, 8}
\begin {gather*} \frac {192 b^3 \sqrt {-d^2 x^4-2 d x^2} \left (a+b \text {ArcCos}\left (d x^2+1\right )\right )}{d x}-48 b^2 x \left (a+b \text {ArcCos}\left (d x^2+1\right )\right )^2-\frac {8 b \sqrt {-d^2 x^4-2 d x^2} \left (a+b \text {ArcCos}\left (d x^2+1\right )\right )^3}{d x}+x \left (a+b \text {ArcCos}\left (d x^2+1\right )\right )^4+384 b^4 x \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 8
Rule 4899
Rubi steps
\begin {align*} \int \left (a+b \cos ^{-1}\left (1+d x^2\right )\right )^4 \, dx &=-\frac {8 b \sqrt {-2 d x^2-d^2 x^4} \left (a+b \cos ^{-1}\left (1+d x^2\right )\right )^3}{d x}+x \left (a+b \cos ^{-1}\left (1+d x^2\right )\right )^4-\left (48 b^2\right ) \int \left (a+b \cos ^{-1}\left (1+d x^2\right )\right )^2 \, dx\\ &=\frac {192 b^3 \sqrt {-2 d x^2-d^2 x^4} \left (a+b \cos ^{-1}\left (1+d x^2\right )\right )}{d x}-48 b^2 x \left (a+b \cos ^{-1}\left (1+d x^2\right )\right )^2-\frac {8 b \sqrt {-2 d x^2-d^2 x^4} \left (a+b \cos ^{-1}\left (1+d x^2\right )\right )^3}{d x}+x \left (a+b \cos ^{-1}\left (1+d x^2\right )\right )^4+\left (384 b^4\right ) \int 1 \, dx\\ &=384 b^4 x+\frac {192 b^3 \sqrt {-2 d x^2-d^2 x^4} \left (a+b \cos ^{-1}\left (1+d x^2\right )\right )}{d x}-48 b^2 x \left (a+b \cos ^{-1}\left (1+d x^2\right )\right )^2-\frac {8 b \sqrt {-2 d x^2-d^2 x^4} \left (a+b \cos ^{-1}\left (1+d x^2\right )\right )^3}{d x}+x \left (a+b \cos ^{-1}\left (1+d x^2\right )\right )^4\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.15, size = 249, normalized size = 1.96 \begin {gather*} \frac {\left (a^4-48 a^2 b^2+384 b^4\right ) d x^2-8 a b \left (a^2-24 b^2\right ) \sqrt {-d x^2 \left (2+d x^2\right )}+4 b \left (a^3 d x^2-24 a b^2 d x^2-6 a^2 b \sqrt {-d x^2 \left (2+d x^2\right )}+48 b^3 \sqrt {-d x^2 \left (2+d x^2\right )}\right ) \text {ArcCos}\left (1+d x^2\right )+6 b^2 \left (a^2 d x^2-8 b^2 d x^2-4 a b \sqrt {-d x^2 \left (2+d x^2\right )}\right ) \text {ArcCos}\left (1+d x^2\right )^2+4 b^3 \left (a d x^2-2 b \sqrt {-d x^2 \left (2+d x^2\right )}\right ) \text {ArcCos}\left (1+d x^2\right )^3+b^4 d x^2 \text {ArcCos}\left (1+d x^2\right )^4}{d x} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F]
time = 0.07, size = 0, normalized size = 0.00 \[\int \left (a +b \arccos \left (d \,x^{2}+1\right )\right )^{4}\, 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 \begin {gather*} \text {Exception raised: RuntimeError} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 1.01, size = 207, normalized size = 1.63 \begin {gather*} \frac {b^{4} d x^{2} \arccos \left (d x^{2} + 1\right )^{4} + 4 \, a b^{3} d x^{2} \arccos \left (d x^{2} + 1\right )^{3} + 6 \, {\left (a^{2} b^{2} - 8 \, b^{4}\right )} d x^{2} \arccos \left (d x^{2} + 1\right )^{2} + 4 \, {\left (a^{3} b - 24 \, a b^{3}\right )} d x^{2} \arccos \left (d x^{2} + 1\right ) + {\left (a^{4} - 48 \, a^{2} b^{2} + 384 \, b^{4}\right )} d x^{2} - 8 \, {\left (b^{4} \arccos \left (d x^{2} + 1\right )^{3} + 3 \, a b^{3} \arccos \left (d x^{2} + 1\right )^{2} + a^{3} b - 24 \, a b^{3} + 3 \, {\left (a^{2} b^{2} - 8 \, b^{4}\right )} \arccos \left (d x^{2} + 1\right )\right )} \sqrt {-d^{2} x^{4} - 2 \, d x^{2}}}{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 \left (a + b \operatorname {acos}{\left (d x^{2} + 1 \right )}\right )^{4}\, dx \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 {\left (a+b\,\mathrm {acos}\left (d\,x^2+1\right )\right )}^4 \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________