Optimal. Leaf size=42 \[ \frac {\left (a+b x^4\right ) \cot ^{-1}\left (a+b x^4\right )}{4 b}+\frac {\log \left (1+\left (a+b x^4\right )^2\right )}{8 b} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.03, antiderivative size = 42, normalized size of antiderivative = 1.00, number of steps
used = 4, number of rules used = 4, integrand size = 12, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.333, Rules used = {6847, 5148,
4931, 266} \begin {gather*} \frac {\log \left (\left (a+b x^4\right )^2+1\right )}{8 b}+\frac {\left (a+b x^4\right ) \cot ^{-1}\left (a+b x^4\right )}{4 b} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 266
Rule 4931
Rule 5148
Rule 6847
Rubi steps
\begin {align*} \int x^3 \cot ^{-1}\left (a+b x^4\right ) \, dx &=\frac {1}{4} \text {Subst}\left (\int \cot ^{-1}(a+b x) \, dx,x,x^4\right )\\ &=\frac {\text {Subst}\left (\int \cot ^{-1}(x) \, dx,x,a+b x^4\right )}{4 b}\\ &=\frac {\left (a+b x^4\right ) \cot ^{-1}\left (a+b x^4\right )}{4 b}+\frac {\text {Subst}\left (\int \frac {x}{1+x^2} \, dx,x,a+b x^4\right )}{4 b}\\ &=\frac {\left (a+b x^4\right ) \cot ^{-1}\left (a+b x^4\right )}{4 b}+\frac {\log \left (1+\left (a+b x^4\right )^2\right )}{8 b}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.02, size = 37, normalized size = 0.88 \begin {gather*} \frac {2 \left (a+b x^4\right ) \cot ^{-1}\left (a+b x^4\right )+\log \left (1+\left (a+b x^4\right )^2\right )}{8 b} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.13, size = 37, normalized size = 0.88
method | result | size |
derivativedivides | \(\frac {\mathrm {arccot}\left (b \,x^{4}+a \right ) \left (b \,x^{4}+a \right )+\frac {\ln \left (1+\left (b \,x^{4}+a \right )^{2}\right )}{2}}{4 b}\) | \(37\) |
default | \(\frac {\mathrm {arccot}\left (b \,x^{4}+a \right ) \left (b \,x^{4}+a \right )+\frac {\ln \left (1+\left (b \,x^{4}+a \right )^{2}\right )}{2}}{4 b}\) | \(37\) |
risch | \(\frac {i x^{4} \ln \left (1+i \left (b \,x^{4}+a \right )\right )}{8}-\frac {i x^{4} \ln \left (1-i \left (b \,x^{4}+a \right )\right )}{8}+\frac {\pi \,x^{4}}{8}-\frac {a \arctan \left (\frac {x^{4} b}{a^{2}+1}+\frac {a^{2} b \,x^{4}}{a^{2}+1}+\frac {a^{3}}{a^{2}+1}+\frac {a}{a^{2}+1}\right )}{4 b}+\frac {a \arctan \left (a \right )}{4 b}+\frac {\ln \left (a^{2} b^{2} x^{8}+b^{2} x^{8}+2 a^{3} b \,x^{4}+2 a b \,x^{4}+a^{4}+2 a^{2}+1\right )}{8 b}\) | \(158\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.26, size = 35, normalized size = 0.83 \begin {gather*} \frac {2 \, {\left (b x^{4} + a\right )} \operatorname {arccot}\left (b x^{4} + a\right ) + \log \left ({\left (b x^{4} + a\right )}^{2} + 1\right )}{8 \, b} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 2.85, size = 51, normalized size = 1.21 \begin {gather*} \frac {2 \, b x^{4} \operatorname {arccot}\left (b x^{4} + a\right ) - 2 \, a \arctan \left (b x^{4} + a\right ) + \log \left (b^{2} x^{8} + 2 \, a b x^{4} + a^{2} + 1\right )}{8 \, b} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 0.77, size = 60, normalized size = 1.43 \begin {gather*} \begin {cases} \frac {a \operatorname {acot}{\left (a + b x^{4} \right )}}{4 b} + \frac {x^{4} \operatorname {acot}{\left (a + b x^{4} \right )}}{4} + \frac {\log {\left (a^{2} + 2 a b x^{4} + b^{2} x^{8} + 1 \right )}}{8 b} & \text {for}\: b \neq 0 \\\frac {x^{4} \operatorname {acot}{\left (a \right )}}{4} & \text {otherwise} \end {cases} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [B] Leaf count of result is larger than twice the leaf count of optimal. 127 vs.
\(2 (38) = 76\).
time = 0.47, size = 127, normalized size = 3.02 \begin {gather*} -\frac {\arctan \left (\frac {1}{b x^{4} + a}\right ) \tan \left (\frac {1}{2} \, \arctan \left (\frac {1}{b x^{4} + a}\right )\right )^{2} + \log \left (\frac {16 \, \tan \left (\frac {1}{2} \, \arctan \left (\frac {1}{b x^{4} + a}\right )\right )^{2}}{\tan \left (\frac {1}{2} \, \arctan \left (\frac {1}{b x^{4} + a}\right )\right )^{4} + 2 \, \tan \left (\frac {1}{2} \, \arctan \left (\frac {1}{b x^{4} + a}\right )\right )^{2} + 1}\right ) \tan \left (\frac {1}{2} \, \arctan \left (\frac {1}{b x^{4} + a}\right )\right ) - \arctan \left (\frac {1}{b x^{4} + a}\right )}{8 \, b \tan \left (\frac {1}{2} \, \arctan \left (\frac {1}{b x^{4} + a}\right )\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.76, size = 230, normalized size = 5.48 \begin {gather*} \frac {\ln \left (a^2+2\,a\,b\,x^4+b^2\,x^8+1\right )}{8\,b}+\frac {x^4\,\mathrm {acot}\left (b\,x^4+a\right )}{4}-\frac {a\,\mathrm {atan}\left (\frac {a}{a^6+3\,a^4+3\,a^2+1}+\frac {3\,a^3}{a^6+3\,a^4+3\,a^2+1}+\frac {3\,a^5}{a^6+3\,a^4+3\,a^2+1}+\frac {a^7}{a^6+3\,a^4+3\,a^2+1}+\frac {b\,x^4}{a^6+3\,a^4+3\,a^2+1}+\frac {3\,a^2\,b\,x^4}{a^6+3\,a^4+3\,a^2+1}+\frac {3\,a^4\,b\,x^4}{a^6+3\,a^4+3\,a^2+1}+\frac {a^6\,b\,x^4}{a^6+3\,a^4+3\,a^2+1}\right )}{4\,b} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________