3.1.75 \(\int x^3 \cot ^{-1}(a x^2) \, dx\) [75]

Optimal. Leaf size=37 \[ \frac {x^2}{4 a}+\frac {1}{4} x^4 \cot ^{-1}\left (a x^2\right )-\frac {\text {ArcTan}\left (a x^2\right )}{4 a^2} \]

[Out]

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

________________________________________________________________________________________

Rubi [A]
time = 0.02, antiderivative size = 37, normalized size of antiderivative = 1.00, number of steps used = 4, number of rules used = 4, integrand size = 10, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.400, Rules used = {4947, 281, 327, 209} \begin {gather*} -\frac {\text {ArcTan}\left (a x^2\right )}{4 a^2}+\frac {x^2}{4 a}+\frac {1}{4} x^4 \cot ^{-1}\left (a x^2\right ) \end {gather*}

Antiderivative was successfully verified.

[In]

Int[x^3*ArcCot[a*x^2],x]

[Out]

x^2/(4*a) + (x^4*ArcCot[a*x^2])/4 - ArcTan[a*x^2]/(4*a^2)

Rule 209

Int[((a_) + (b_.)*(x_)^2)^(-1), x_Symbol] :> Simp[(1/(Rt[a, 2]*Rt[b, 2]))*ArcTan[Rt[b, 2]*(x/Rt[a, 2])], x] /;
 FreeQ[{a, b}, x] && PosQ[a/b] && (GtQ[a, 0] || GtQ[b, 0])

Rule 281

Int[(x_)^(m_.)*((a_) + (b_.)*(x_)^(n_))^(p_), x_Symbol] :> With[{k = GCD[m + 1, n]}, Dist[1/k, Subst[Int[x^((m
 + 1)/k - 1)*(a + b*x^(n/k))^p, x], x, x^k], x] /; k != 1] /; FreeQ[{a, b, p}, x] && IGtQ[n, 0] && IntegerQ[m]

Rule 327

Int[((c_.)*(x_))^(m_)*((a_) + (b_.)*(x_)^(n_))^(p_), x_Symbol] :> Simp[c^(n - 1)*(c*x)^(m - n + 1)*((a + b*x^n
)^(p + 1)/(b*(m + n*p + 1))), x] - Dist[a*c^n*((m - n + 1)/(b*(m + n*p + 1))), Int[(c*x)^(m - n)*(a + b*x^n)^p
, x], x] /; FreeQ[{a, b, c, p}, x] && IGtQ[n, 0] && GtQ[m, n - 1] && NeQ[m + n*p + 1, 0] && IntBinomialQ[a, b,
 c, n, m, p, x]

Rule 4947

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

Rubi steps

\begin {align*} \int x^3 \cot ^{-1}\left (a x^2\right ) \, dx &=\frac {1}{4} x^4 \cot ^{-1}\left (a x^2\right )+\frac {1}{2} a \int \frac {x^5}{1+a^2 x^4} \, dx\\ &=\frac {1}{4} x^4 \cot ^{-1}\left (a x^2\right )+\frac {1}{4} a \text {Subst}\left (\int \frac {x^2}{1+a^2 x^2} \, dx,x,x^2\right )\\ &=\frac {x^2}{4 a}+\frac {1}{4} x^4 \cot ^{-1}\left (a x^2\right )-\frac {\text {Subst}\left (\int \frac {1}{1+a^2 x^2} \, dx,x,x^2\right )}{4 a}\\ &=\frac {x^2}{4 a}+\frac {1}{4} x^4 \cot ^{-1}\left (a x^2\right )-\frac {\tan ^{-1}\left (a x^2\right )}{4 a^2}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]
time = 0.01, size = 37, normalized size = 1.00 \begin {gather*} \frac {x^2}{4 a}+\frac {1}{4} x^4 \cot ^{-1}\left (a x^2\right )-\frac {\text {ArcTan}\left (a x^2\right )}{4 a^2} \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[x^3*ArcCot[a*x^2],x]

[Out]

x^2/(4*a) + (x^4*ArcCot[a*x^2])/4 - ArcTan[a*x^2]/(4*a^2)

________________________________________________________________________________________

Maple [A]
time = 0.08, size = 36, normalized size = 0.97

method result size
default \(\frac {x^{4} \mathrm {arccot}\left (a \,x^{2}\right )}{4}+\frac {a \left (\frac {x^{2}}{2 a^{2}}-\frac {\arctan \left (a \,x^{2}\right )}{2 a^{3}}\right )}{2}\) \(36\)
risch \(\frac {i x^{4} \ln \left (i a \,x^{2}+1\right )}{8}-\frac {i x^{4} \ln \left (-i a \,x^{2}+1\right )}{8}+\frac {\pi \,x^{4}}{8}+\frac {x^{2}}{4 a}-\frac {\arctan \left (a \,x^{2}\right )}{4 a^{2}}+\frac {1}{8 \pi \,a^{2}}\) \(67\)

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(x^3*arccot(a*x^2),x,method=_RETURNVERBOSE)

[Out]

1/4*x^4*arccot(a*x^2)+1/2*a*(1/2*x^2/a^2-1/2*arctan(a*x^2)/a^3)

________________________________________________________________________________________

Maxima [A]
time = 0.47, size = 34, normalized size = 0.92 \begin {gather*} \frac {1}{4} \, x^{4} \operatorname {arccot}\left (a x^{2}\right ) + \frac {1}{4} \, a {\left (\frac {x^{2}}{a^{2}} - \frac {\arctan \left (a x^{2}\right )}{a^{3}}\right )} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^3*arccot(a*x^2),x, algorithm="maxima")

[Out]

1/4*x^4*arccot(a*x^2) + 1/4*a*(x^2/a^2 - arctan(a*x^2)/a^3)

________________________________________________________________________________________

Fricas [A]
time = 2.09, size = 27, normalized size = 0.73 \begin {gather*} \frac {a x^{2} + {\left (a^{2} x^{4} + 1\right )} \operatorname {arccot}\left (a x^{2}\right )}{4 \, a^{2}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^3*arccot(a*x^2),x, algorithm="fricas")

[Out]

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

________________________________________________________________________________________

Sympy [A]
time = 0.27, size = 36, normalized size = 0.97 \begin {gather*} \begin {cases} \frac {x^{4} \operatorname {acot}{\left (a x^{2} \right )}}{4} + \frac {x^{2}}{4 a} + \frac {\operatorname {acot}{\left (a x^{2} \right )}}{4 a^{2}} & \text {for}\: a \neq 0 \\\frac {\pi x^{4}}{8} & \text {otherwise} \end {cases} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x**3*acot(a*x**2),x)

[Out]

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

________________________________________________________________________________________

Giac [A]
time = 0.41, size = 38, normalized size = 1.03 \begin {gather*} \frac {1}{4} \, {\left (\frac {x^{4} \arctan \left (\frac {1}{a x^{2}}\right )}{a} + \frac {x^{2}}{a^{2}} + \frac {\arctan \left (\frac {1}{a x^{2}}\right )}{a^{3}}\right )} a \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^3*arccot(a*x^2),x, algorithm="giac")

[Out]

1/4*(x^4*arctan(1/(a*x^2))/a + x^2/a^2 + arctan(1/(a*x^2))/a^3)*a

________________________________________________________________________________________

Mupad [B]
time = 0.61, size = 31, normalized size = 0.84 \begin {gather*} \frac {x^4\,\mathrm {acot}\left (a\,x^2\right )}{4}-\frac {\mathrm {atan}\left (a\,x^2\right )}{4\,a^2}+\frac {x^2}{4\,a} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(x^3*acot(a*x^2),x)

[Out]

(x^4*acot(a*x^2))/4 - atan(a*x^2)/(4*a^2) + x^2/(4*a)

________________________________________________________________________________________