3.9 \(\int \frac {\cot ^{-1}(a x)}{x^3} \, dx\)

Optimal. Leaf size=31 \[ \frac {1}{2} a^2 \tan ^{-1}(a x)-\frac {\cot ^{-1}(a x)}{2 x^2}+\frac {a}{2 x} \]

[Out]

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

________________________________________________________________________________________

Rubi [A]  time = 0.01, antiderivative size = 31, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 3, integrand size = 8, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.375, Rules used = {4853, 325, 203} \[ \frac {1}{2} a^2 \tan ^{-1}(a x)-\frac {\cot ^{-1}(a x)}{2 x^2}+\frac {a}{2 x} \]

Antiderivative was successfully verified.

[In]

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

[Out]

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

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 325

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

Rule 4853

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

Rubi steps

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

________________________________________________________________________________________

Mathematica [C]  time = 0.00, size = 36, normalized size = 1.16 \[ \frac {a \, _2F_1\left (-\frac {1}{2},1;\frac {1}{2};-a^2 x^2\right )}{2 x}-\frac {\cot ^{-1}(a x)}{2 x^2} \]

Antiderivative was successfully verified.

[In]

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

[Out]

-1/2*ArcCot[a*x]/x^2 + (a*Hypergeometric2F1[-1/2, 1, 1/2, -(a^2*x^2)])/(2*x)

________________________________________________________________________________________

fricas [A]  time = 0.57, size = 24, normalized size = 0.77 \[ \frac {a x - {\left (a^{2} x^{2} + 1\right )} \operatorname {arccot}\left (a x\right )}{2 \, x^{2}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

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

________________________________________________________________________________________

giac [A]  time = 0.11, size = 40, normalized size = 1.29 \[ \frac {1}{2} \, {\left (a {\left (\frac {1}{a x} - \arctan \left (\frac {1}{a x}\right )\right )} - \frac {\arctan \left (\frac {1}{a x}\right )}{a x^{2}}\right )} a \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

1/2*(a*(1/(a*x) - arctan(1/(a*x))) - arctan(1/(a*x))/(a*x^2))*a

________________________________________________________________________________________

maple [A]  time = 0.04, size = 26, normalized size = 0.84 \[ \frac {a}{2 x}-\frac {\mathrm {arccot}\left (a x \right )}{2 x^{2}}+\frac {a^{2} \arctan \left (a x \right )}{2} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(arccot(a*x)/x^3,x)

[Out]

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

________________________________________________________________________________________

maxima [A]  time = 0.41, size = 23, normalized size = 0.74 \[ \frac {1}{2} \, {\left (a \arctan \left (a x\right ) + \frac {1}{x}\right )} a - \frac {\operatorname {arccot}\left (a x\right )}{2 \, x^{2}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

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

________________________________________________________________________________________

mupad [B]  time = 0.70, size = 44, normalized size = 1.42 \[ \left \{\begin {array}{cl} -\frac {\pi }{4\,x^2} & \text {\ if\ \ }a=0\\ \frac {a^3\,\mathrm {atan}\left (a\,x\right )+\frac {a^2}{x}}{2\,a}-\frac {\mathrm {acot}\left (a\,x\right )}{2\,x^2} & \text {\ if\ \ }a\neq 0 \end {array}\right . \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

piecewise(a == 0, -pi/(4*x^2), a ~= 0, (a^3*atan(a*x) + a^2/x)/(2*a) - acot(a*x)/(2*x^2))

________________________________________________________________________________________

sympy [A]  time = 0.48, size = 24, normalized size = 0.77 \[ - \frac {a^{2} \operatorname {acot}{\left (a x \right )}}{2} + \frac {a}{2 x} - \frac {\operatorname {acot}{\left (a x \right )}}{2 x^{2}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

-a**2*acot(a*x)/2 + a/(2*x) - acot(a*x)/(2*x**2)

________________________________________________________________________________________