3.149 \(\int x^3 \cot ^{-1}(a+b x^4) \, dx\)

Optimal. Leaf size=42 \[ \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} \]

[Out]

((a + b*x^4)*ArcCot[a + b*x^4])/(4*b) + Log[1 + (a + b*x^4)^2]/(8*b)

________________________________________________________________________________________

Rubi [A]  time = 0.0435711, antiderivative size = 42, normalized size of antiderivative = 1., 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 = {6715, 5040, 4847, 260} \[ \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} \]

Antiderivative was successfully verified.

[In]

Int[x^3*ArcCot[a + b*x^4],x]

[Out]

((a + b*x^4)*ArcCot[a + b*x^4])/(4*b) + Log[1 + (a + b*x^4)^2]/(8*b)

Rule 6715

Int[(u_)*(x_)^(m_.), x_Symbol] :> Dist[1/(m + 1), Subst[Int[SubstFor[x^(m + 1), u, x], x], x, x^(m + 1)], x] /
; FreeQ[m, x] && NeQ[m, -1] && FunctionOfQ[x^(m + 1), u, x]

Rule 5040

Int[((a_.) + ArcCot[(c_) + (d_.)*(x_)]*(b_.))^(p_.), x_Symbol] :> Dist[1/d, Subst[Int[(a + b*ArcCot[x])^p, x],
 x, c + d*x], x] /; FreeQ[{a, b, c, d}, x] && IGtQ[p, 0]

Rule 4847

Int[((a_.) + ArcCot[(c_.)*(x_)]*(b_.))^(p_.), x_Symbol] :> Simp[x*(a + b*ArcCot[c*x])^p, x] + Dist[b*c*p, Int[
(x*(a + b*ArcCot[c*x])^(p - 1))/(1 + c^2*x^2), x], x] /; FreeQ[{a, b, c}, x] && IGtQ[p, 0]

Rule 260

Int[(x_)^(m_.)/((a_) + (b_.)*(x_)^(n_)), x_Symbol] :> Simp[Log[RemoveContent[a + b*x^n, x]]/(b*n), x] /; FreeQ
[{a, b, m, n}, x] && EqQ[m, n - 1]

Rubi steps

\begin{align*} \int x^3 \cot ^{-1}\left (a+b x^4\right ) \, dx &=\frac{1}{4} \operatorname{Subst}\left (\int \cot ^{-1}(a+b x) \, dx,x,x^4\right )\\ &=\frac{\operatorname{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{\operatorname{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.0160148, size = 37, normalized size = 0.88 \[ \frac{\log \left (\left (a+b x^4\right )^2+1\right )+2 \left (a+b x^4\right ) \cot ^{-1}\left (a+b x^4\right )}{8 b} \]

Antiderivative was successfully verified.

[In]

Integrate[x^3*ArcCot[a + b*x^4],x]

[Out]

(2*(a + b*x^4)*ArcCot[a + b*x^4] + Log[1 + (a + b*x^4)^2])/(8*b)

________________________________________________________________________________________

Maple [A]  time = 0.039, size = 46, normalized size = 1.1 \begin{align*}{\frac{{\rm arccot} \left (b{x}^{4}+a\right ){x}^{4}}{4}}+{\frac{{\rm arccot} \left (b{x}^{4}+a\right )a}{4\,b}}+{\frac{\ln \left ( 1+ \left ( b{x}^{4}+a \right ) ^{2} \right ) }{8\,b}} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(x^3*arccot(b*x^4+a),x)

[Out]

1/4*arccot(b*x^4+a)*x^4+1/4/b*arccot(b*x^4+a)*a+1/8*ln(1+(b*x^4+a)^2)/b

________________________________________________________________________________________

Maxima [A]  time = 0.973675, size = 47, normalized size = 1.12 \begin{align*} \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{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^3*arccot(b*x^4+a),x, algorithm="maxima")

[Out]

1/8*(2*(b*x^4 + a)*arccot(b*x^4 + a) + log((b*x^4 + a)^2 + 1))/b

________________________________________________________________________________________

Fricas [A]  time = 2.5196, size = 130, normalized size = 3.1 \begin{align*} \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{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^3*arccot(b*x^4+a),x, algorithm="fricas")

[Out]

1/8*(2*b*x^4*arccot(b*x^4 + a) - 2*a*arctan(b*x^4 + a) + log(b^2*x^8 + 2*a*b*x^4 + a^2 + 1))/b

________________________________________________________________________________________

Sympy [A]  time = 5.6283, size = 60, normalized size = 1.43 \begin{align*} \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{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x**3*acot(b*x**4+a),x)

[Out]

Piecewise((a*acot(a + b*x**4)/(4*b) + x**4*acot(a + b*x**4)/4 + log(a**2 + 2*a*b*x**4 + b**2*x**8 + 1)/(8*b),
Ne(b, 0)), (x**4*acot(a)/4, True))

________________________________________________________________________________________

Giac [A]  time = 1.09646, size = 80, normalized size = 1.9 \begin{align*} \frac{1}{4} \, x^{4} \arctan \left (\frac{1}{b x^{4} + a}\right ) - \frac{1}{8} \, b{\left (\frac{2 \, a \arctan \left (b x^{4} + a\right )}{b^{2}} - \frac{\log \left (b^{2} x^{8} + 2 \, a b x^{4} + a^{2} + 1\right )}{b^{2}}\right )} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^3*arccot(b*x^4+a),x, algorithm="giac")

[Out]

1/4*x^4*arctan(1/(b*x^4 + a)) - 1/8*b*(2*a*arctan(b*x^4 + a)/b^2 - log(b^2*x^8 + 2*a*b*x^4 + a^2 + 1)/b^2)