3.28 \(\int \frac {x \tan ^{-1}(x)}{\sqrt {1+x^2}} \, dx\)

Optimal. Leaf size=17 \[ \sqrt {x^2+1} \tan ^{-1}(x)-\sinh ^{-1}(x) \]

[Out]

-arcsinh(x)+arctan(x)*(x^2+1)^(1/2)

________________________________________________________________________________________

Rubi [A]  time = 0.03, antiderivative size = 17, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 2, integrand size = 13, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.154, Rules used = {4930, 215} \[ \sqrt {x^2+1} \tan ^{-1}(x)-\sinh ^{-1}(x) \]

Antiderivative was successfully verified.

[In]

Int[(x*ArcTan[x])/Sqrt[1 + x^2],x]

[Out]

-ArcSinh[x] + Sqrt[1 + x^2]*ArcTan[x]

Rule 215

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

Rule 4930

Int[((a_.) + ArcTan[(c_.)*(x_)]*(b_.))^(p_.)*(x_)*((d_) + (e_.)*(x_)^2)^(q_.), x_Symbol] :> Simp[((d + e*x^2)^
(q + 1)*(a + b*ArcTan[c*x])^p)/(2*e*(q + 1)), x] - Dist[(b*p)/(2*c*(q + 1)), Int[(d + e*x^2)^q*(a + b*ArcTan[c
*x])^(p - 1), x], x] /; FreeQ[{a, b, c, d, e, q}, x] && EqQ[e, c^2*d] && GtQ[p, 0] && NeQ[q, -1]

Rubi steps

\begin {align*} \int \frac {x \tan ^{-1}(x)}{\sqrt {1+x^2}} \, dx &=\sqrt {1+x^2} \tan ^{-1}(x)-\int \frac {1}{\sqrt {1+x^2}} \, dx\\ &=-\sinh ^{-1}(x)+\sqrt {1+x^2} \tan ^{-1}(x)\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]  time = 0.02, size = 17, normalized size = 1.00 \[ \sqrt {x^2+1} \tan ^{-1}(x)-\sinh ^{-1}(x) \]

Antiderivative was successfully verified.

[In]

Integrate[(x*ArcTan[x])/Sqrt[1 + x^2],x]

[Out]

-ArcSinh[x] + Sqrt[1 + x^2]*ArcTan[x]

________________________________________________________________________________________

fricas [A]  time = 0.46, size = 23, normalized size = 1.35 \[ \sqrt {x^{2} + 1} \arctan \relax (x) + \log \left (-x + \sqrt {x^{2} + 1}\right ) \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

sqrt(x^2 + 1)*arctan(x) + log(-x + sqrt(x^2 + 1))

________________________________________________________________________________________

giac [A]  time = 0.93, size = 23, normalized size = 1.35 \[ \sqrt {x^{2} + 1} \arctan \relax (x) + \log \left (-x + \sqrt {x^{2} + 1}\right ) \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

sqrt(x^2 + 1)*arctan(x) + log(-x + sqrt(x^2 + 1))

________________________________________________________________________________________

maple [C]  time = 0.17, size = 54, normalized size = 3.18 \[ \sqrt {\left (x -i\right ) \left (x +i\right )}\, \arctan \relax (x )+\ln \left (\frac {i x +1}{\sqrt {x^{2}+1}}-i\right )-\ln \left (\frac {i x +1}{\sqrt {x^{2}+1}}+i\right ) \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(x*arctan(x)/(x^2+1)^(1/2),x)

[Out]

((x-I)*(x+I))^(1/2)*arctan(x)+ln((I*x+1)/(x^2+1)^(1/2)-I)-ln((I*x+1)/(x^2+1)^(1/2)+I)

________________________________________________________________________________________

maxima [A]  time = 0.95, size = 15, normalized size = 0.88 \[ \sqrt {x^{2} + 1} \arctan \relax (x) - \operatorname {arsinh}\relax (x) \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

sqrt(x^2 + 1)*arctan(x) - arcsinh(x)

________________________________________________________________________________________

mupad [F]  time = 0.00, size = -1, normalized size = -0.06 \[ \int \frac {x\,\mathrm {atan}\relax (x)}{\sqrt {x^2+1}} \,d x \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((x*atan(x))/(x^2 + 1)^(1/2),x)

[Out]

int((x*atan(x))/(x^2 + 1)^(1/2), x)

________________________________________________________________________________________

sympy [B]  time = 2.33, size = 29, normalized size = 1.71 \[ \frac {x^{2} \operatorname {atan}{\relax (x )}}{\sqrt {x^{2} + 1}} - \operatorname {asinh}{\relax (x )} + \frac {\operatorname {atan}{\relax (x )}}{\sqrt {x^{2} + 1}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x*atan(x)/(x**2+1)**(1/2),x)

[Out]

x**2*atan(x)/sqrt(x**2 + 1) - asinh(x) + atan(x)/sqrt(x**2 + 1)

________________________________________________________________________________________