3.85 \(\int x^2 \cot ^{-1}(\sqrt {x}) \, dx\)

Optimal. Leaf size=51 \[ \frac {x^{5/2}}{15}-\frac {x^{3/2}}{9}+\frac {1}{3} x^3 \cot ^{-1}\left (\sqrt {x}\right )+\frac {\sqrt {x}}{3}-\frac {1}{3} \tan ^{-1}\left (\sqrt {x}\right ) \]

[Out]

-1/9*x^(3/2)+1/15*x^(5/2)+1/3*x^3*arccot(x^(1/2))-1/3*arctan(x^(1/2))+1/3*x^(1/2)

________________________________________________________________________________________

Rubi [A]  time = 0.01, antiderivative size = 51, normalized size of antiderivative = 1.00, number of steps used = 6, number of rules used = 4, integrand size = 10, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.400, Rules used = {5034, 50, 63, 203} \[ \frac {x^{5/2}}{15}-\frac {x^{3/2}}{9}+\frac {1}{3} x^3 \cot ^{-1}\left (\sqrt {x}\right )+\frac {\sqrt {x}}{3}-\frac {1}{3} \tan ^{-1}\left (\sqrt {x}\right ) \]

Antiderivative was successfully verified.

[In]

Int[x^2*ArcCot[Sqrt[x]],x]

[Out]

Sqrt[x]/3 - x^(3/2)/9 + x^(5/2)/15 + (x^3*ArcCot[Sqrt[x]])/3 - ArcTan[Sqrt[x]]/3

Rule 50

Int[((a_.) + (b_.)*(x_))^(m_)*((c_.) + (d_.)*(x_))^(n_), x_Symbol] :> Simp[((a + b*x)^(m + 1)*(c + d*x)^n)/(b*
(m + n + 1)), x] + Dist[(n*(b*c - a*d))/(b*(m + n + 1)), Int[(a + b*x)^m*(c + d*x)^(n - 1), x], x] /; FreeQ[{a
, b, c, d}, x] && NeQ[b*c - a*d, 0] && GtQ[n, 0] && NeQ[m + n + 1, 0] &&  !(IGtQ[m, 0] && ( !IntegerQ[n] || (G
tQ[m, 0] && LtQ[m - n, 0]))) &&  !ILtQ[m + n + 2, 0] && IntLinearQ[a, b, c, d, m, n, x]

Rule 63

Int[((a_.) + (b_.)*(x_))^(m_)*((c_.) + (d_.)*(x_))^(n_), x_Symbol] :> With[{p = Denominator[m]}, Dist[p/b, Sub
st[Int[x^(p*(m + 1) - 1)*(c - (a*d)/b + (d*x^p)/b)^n, x], x, (a + b*x)^(1/p)], x]] /; FreeQ[{a, b, c, d}, x] &
& NeQ[b*c - a*d, 0] && LtQ[-1, m, 0] && LeQ[-1, n, 0] && LeQ[Denominator[n], Denominator[m]] && IntLinearQ[a,
b, c, d, m, n, x]

Rule 203

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

Rule 5034

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

Rubi steps

\begin {align*} \int x^2 \cot ^{-1}\left (\sqrt {x}\right ) \, dx &=\frac {1}{3} x^3 \cot ^{-1}\left (\sqrt {x}\right )+\frac {1}{6} \int \frac {x^{5/2}}{1+x} \, dx\\ &=\frac {x^{5/2}}{15}+\frac {1}{3} x^3 \cot ^{-1}\left (\sqrt {x}\right )-\frac {1}{6} \int \frac {x^{3/2}}{1+x} \, dx\\ &=-\frac {x^{3/2}}{9}+\frac {x^{5/2}}{15}+\frac {1}{3} x^3 \cot ^{-1}\left (\sqrt {x}\right )+\frac {1}{6} \int \frac {\sqrt {x}}{1+x} \, dx\\ &=\frac {\sqrt {x}}{3}-\frac {x^{3/2}}{9}+\frac {x^{5/2}}{15}+\frac {1}{3} x^3 \cot ^{-1}\left (\sqrt {x}\right )-\frac {1}{6} \int \frac {1}{\sqrt {x} (1+x)} \, dx\\ &=\frac {\sqrt {x}}{3}-\frac {x^{3/2}}{9}+\frac {x^{5/2}}{15}+\frac {1}{3} x^3 \cot ^{-1}\left (\sqrt {x}\right )-\frac {1}{3} \operatorname {Subst}\left (\int \frac {1}{1+x^2} \, dx,x,\sqrt {x}\right )\\ &=\frac {\sqrt {x}}{3}-\frac {x^{3/2}}{9}+\frac {x^{5/2}}{15}+\frac {1}{3} x^3 \cot ^{-1}\left (\sqrt {x}\right )-\frac {1}{3} \tan ^{-1}\left (\sqrt {x}\right )\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]  time = 0.02, size = 40, normalized size = 0.78 \[ \frac {1}{45} \left (15 x^3 \cot ^{-1}\left (\sqrt {x}\right )+\left (3 x^2-5 x+15\right ) \sqrt {x}-15 \tan ^{-1}\left (\sqrt {x}\right )\right ) \]

Antiderivative was successfully verified.

[In]

Integrate[x^2*ArcCot[Sqrt[x]],x]

[Out]

(Sqrt[x]*(15 - 5*x + 3*x^2) + 15*x^3*ArcCot[Sqrt[x]] - 15*ArcTan[Sqrt[x]])/45

________________________________________________________________________________________

fricas [A]  time = 1.39, size = 27, normalized size = 0.53 \[ \frac {1}{3} \, {\left (x^{3} + 1\right )} \operatorname {arccot}\left (\sqrt {x}\right ) + \frac {1}{45} \, {\left (3 \, x^{2} - 5 \, x + 15\right )} \sqrt {x} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^2*arccot(x^(1/2)),x, algorithm="fricas")

[Out]

1/3*(x^3 + 1)*arccot(sqrt(x)) + 1/45*(3*x^2 - 5*x + 15)*sqrt(x)

________________________________________________________________________________________

giac [A]  time = 0.12, size = 33, normalized size = 0.65 \[ \frac {1}{3} \, x^{3} \arctan \left (\frac {1}{\sqrt {x}}\right ) - \frac {1}{45} \, x^{\frac {5}{2}} {\left (\frac {5}{x} - \frac {15}{x^{2}} - 3\right )} + \frac {1}{3} \, \arctan \left (\frac {1}{\sqrt {x}}\right ) \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^2*arccot(x^(1/2)),x, algorithm="giac")

[Out]

1/3*x^3*arctan(1/sqrt(x)) - 1/45*x^(5/2)*(5/x - 15/x^2 - 3) + 1/3*arctan(1/sqrt(x))

________________________________________________________________________________________

maple [A]  time = 0.04, size = 32, normalized size = 0.63 \[ -\frac {x^{\frac {3}{2}}}{9}+\frac {x^{\frac {5}{2}}}{15}+\frac {x^{3} \mathrm {arccot}\left (\sqrt {x}\right )}{3}-\frac {\arctan \left (\sqrt {x}\right )}{3}+\frac {\sqrt {x}}{3} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(x^2*arccot(x^(1/2)),x)

[Out]

-1/9*x^(3/2)+1/15*x^(5/2)+1/3*x^3*arccot(x^(1/2))-1/3*arctan(x^(1/2))+1/3*x^(1/2)

________________________________________________________________________________________

maxima [A]  time = 0.56, size = 31, normalized size = 0.61 \[ \frac {1}{3} \, x^{3} \operatorname {arccot}\left (\sqrt {x}\right ) + \frac {1}{15} \, x^{\frac {5}{2}} - \frac {1}{9} \, x^{\frac {3}{2}} + \frac {1}{3} \, \sqrt {x} - \frac {1}{3} \, \arctan \left (\sqrt {x}\right ) \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^2*arccot(x^(1/2)),x, algorithm="maxima")

[Out]

1/3*x^3*arccot(sqrt(x)) + 1/15*x^(5/2) - 1/9*x^(3/2) + 1/3*sqrt(x) - 1/3*arctan(sqrt(x))

________________________________________________________________________________________

mupad [B]  time = 0.65, size = 31, normalized size = 0.61 \[ \frac {x^3\,\mathrm {acot}\left (\sqrt {x}\right )}{3}-\frac {\mathrm {atan}\left (\sqrt {x}\right )}{3}+\frac {\sqrt {x}}{3}-\frac {x^{3/2}}{9}+\frac {x^{5/2}}{15} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(x^2*acot(x^(1/2)),x)

[Out]

(x^3*acot(x^(1/2)))/3 - atan(x^(1/2))/3 + x^(1/2)/3 - x^(3/2)/9 + x^(5/2)/15

________________________________________________________________________________________

sympy [A]  time = 2.00, size = 39, normalized size = 0.76 \[ \frac {x^{\frac {5}{2}}}{15} - \frac {x^{\frac {3}{2}}}{9} + \frac {\sqrt {x}}{3} + \frac {x^{3} \operatorname {acot}{\left (\sqrt {x} \right )}}{3} - \frac {\operatorname {atan}{\left (\sqrt {x} \right )}}{3} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x**2*acot(x**(1/2)),x)

[Out]

x**(5/2)/15 - x**(3/2)/9 + sqrt(x)/3 + x**3*acot(sqrt(x))/3 - atan(sqrt(x))/3

________________________________________________________________________________________