3.649 \(\int x^3 \csc ^{-1}(x)^2 \, dx\)

Optimal. Leaf size=63 \[ \frac {1}{4} x^4 \csc ^{-1}(x)^2+\frac {x^2}{12}+\frac {1}{3} \sqrt {1-\frac {1}{x^2}} x \csc ^{-1}(x)+\frac {1}{6} \sqrt {1-\frac {1}{x^2}} x^3 \csc ^{-1}(x)+\frac {\log (x)}{3} \]

________________________________________________________________________________________

Rubi [A]  time = 0.07, antiderivative size = 63, normalized size of antiderivative = 1.00, number of steps used = 5, number of rules used = 5, integrand size = 8, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.625, Rules used = {5223, 3758, 4185, 4184, 3475} \[ \frac {x^2}{12}+\frac {1}{4} x^4 \csc ^{-1}(x)^2+\frac {1}{6} \sqrt {1-\frac {1}{x^2}} x^3 \csc ^{-1}(x)+\frac {1}{3} \sqrt {1-\frac {1}{x^2}} x \csc ^{-1}(x)+\frac {\log (x)}{3} \]

Antiderivative was successfully verified.

[In]

Int[x^3*ArcCsc[x]^2,x]

[Out]

x^2/12 + (Sqrt[1 - x^(-2)]*x*ArcCsc[x])/3 + (Sqrt[1 - x^(-2)]*x^3*ArcCsc[x])/6 + (x^4*ArcCsc[x]^2)/4 + Log[x]/
3

Rule 3475

Int[tan[(c_.) + (d_.)*(x_)], x_Symbol] :> -Simp[Log[RemoveContent[Cos[c + d*x], x]]/d, x] /; FreeQ[{c, d}, x]

Rule 3758

Int[Cot[(a_.) + (b_.)*(x_)^(n_.)]^(q_.)*Csc[(a_.) + (b_.)*(x_)^(n_.)]^(p_.)*(x_)^(m_.), x_Symbol] :> -Simp[(x^
(m - n + 1)*Csc[a + b*x^n]^p)/(b*n*p), x] + Dist[(m - n + 1)/(b*n*p), Int[x^(m - n)*Csc[a + b*x^n]^p, x], x] /
; FreeQ[{a, b, p}, x] && IntegerQ[n] && GeQ[m, n] && EqQ[q, 1]

Rule 4184

Int[csc[(e_.) + (f_.)*(x_)]^2*((c_.) + (d_.)*(x_))^(m_.), x_Symbol] :> -Simp[((c + d*x)^m*Cot[e + f*x])/f, x]
+ Dist[(d*m)/f, Int[(c + d*x)^(m - 1)*Cot[e + f*x], x], x] /; FreeQ[{c, d, e, f}, x] && GtQ[m, 0]

Rule 4185

Int[(csc[(e_.) + (f_.)*(x_)]*(b_.))^(n_)*((c_.) + (d_.)*(x_)), x_Symbol] :> -Simp[(b^2*(c + d*x)*Cot[e + f*x]*
(b*Csc[e + f*x])^(n - 2))/(f*(n - 1)), x] + (Dist[(b^2*(n - 2))/(n - 1), Int[(c + d*x)*(b*Csc[e + f*x])^(n - 2
), x], x] - Simp[(b^2*d*(b*Csc[e + f*x])^(n - 2))/(f^2*(n - 1)*(n - 2)), x]) /; FreeQ[{b, c, d, e, f}, x] && G
tQ[n, 1] && NeQ[n, 2]

Rule 5223

Int[((a_.) + ArcCsc[(c_.)*(x_)]*(b_.))^(n_)*(x_)^(m_.), x_Symbol] :> -Dist[(c^(m + 1))^(-1), Subst[Int[(a + b*
x)^n*Csc[x]^(m + 1)*Cot[x], x], x, ArcCsc[c*x]], x] /; FreeQ[{a, b, c}, x] && IntegerQ[n] && IntegerQ[m] && (G
tQ[n, 0] || LtQ[m, -1])

Rubi steps

\begin {align*} \int x^3 \csc ^{-1}(x)^2 \, dx &=-\operatorname {Subst}\left (\int x^2 \cot (x) \csc ^4(x) \, dx,x,\csc ^{-1}(x)\right )\\ &=\frac {1}{4} x^4 \csc ^{-1}(x)^2-\frac {1}{2} \operatorname {Subst}\left (\int x \csc ^4(x) \, dx,x,\csc ^{-1}(x)\right )\\ &=\frac {x^2}{12}+\frac {1}{6} \sqrt {1-\frac {1}{x^2}} x^3 \csc ^{-1}(x)+\frac {1}{4} x^4 \csc ^{-1}(x)^2-\frac {1}{3} \operatorname {Subst}\left (\int x \csc ^2(x) \, dx,x,\csc ^{-1}(x)\right )\\ &=\frac {x^2}{12}+\frac {1}{3} \sqrt {1-\frac {1}{x^2}} x \csc ^{-1}(x)+\frac {1}{6} \sqrt {1-\frac {1}{x^2}} x^3 \csc ^{-1}(x)+\frac {1}{4} x^4 \csc ^{-1}(x)^2-\frac {1}{3} \operatorname {Subst}\left (\int \cot (x) \, dx,x,\csc ^{-1}(x)\right )\\ &=\frac {x^2}{12}+\frac {1}{3} \sqrt {1-\frac {1}{x^2}} x \csc ^{-1}(x)+\frac {1}{6} \sqrt {1-\frac {1}{x^2}} x^3 \csc ^{-1}(x)+\frac {1}{4} x^4 \csc ^{-1}(x)^2+\frac {\log (x)}{3}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]  time = 0.05, size = 42, normalized size = 0.67 \[ \frac {1}{12} \left (3 x^4 \csc ^{-1}(x)^2+x^2+2 \sqrt {1-\frac {1}{x^2}} \left (x^2+2\right ) x \csc ^{-1}(x)+4 \log (x)\right ) \]

Antiderivative was successfully verified.

[In]

Integrate[x^3*ArcCsc[x]^2,x]

[Out]

(x^2 + 2*Sqrt[1 - x^(-2)]*x*(2 + x^2)*ArcCsc[x] + 3*x^4*ArcCsc[x]^2 + 4*Log[x])/12

________________________________________________________________________________________

IntegrateAlgebraic [F]  time = 0.00, size = 0, normalized size = 0.00 \[ \int x^3 \csc ^{-1}(x)^2 \, dx \]

Verification is Not applicable to the result.

[In]

IntegrateAlgebraic[x^3*ArcCsc[x]^2,x]

[Out]

Could not integrate

________________________________________________________________________________________

fricas [A]  time = 0.85, size = 35, normalized size = 0.56 \[ \frac {1}{4} \, x^{4} \operatorname {arccsc}\relax (x)^{2} + \frac {1}{6} \, {\left (x^{2} + 2\right )} \sqrt {x^{2} - 1} \operatorname {arccsc}\relax (x) + \frac {1}{12} \, x^{2} + \frac {1}{3} \, \log \relax (x) \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

1/4*x^4*arccsc(x)^2 + 1/6*(x^2 + 2)*sqrt(x^2 - 1)*arccsc(x) + 1/12*x^2 + 1/3*log(x)

________________________________________________________________________________________

giac [B]  time = 0.96, size = 106, normalized size = 1.68 \[ \frac {1}{4} \, x^{4} \arcsin \left (\frac {1}{x}\right )^{2} + \frac {1}{12} \, x^{2} {\left (\frac {2}{x^{2}} + 1\right )} + \frac {1}{48} \, {\left (x^{3} {\left (\sqrt {-\frac {1}{x^{2}} + 1} - 1\right )}^{3} + 9 \, x {\left (\sqrt {-\frac {1}{x^{2}} + 1} - 1\right )} - \frac {9 \, x^{2} {\left (\sqrt {-\frac {1}{x^{2}} + 1} - 1\right )}^{2} + 1}{x^{3} {\left (\sqrt {-\frac {1}{x^{2}} + 1} - 1\right )}^{3}}\right )} \arcsin \left (\frac {1}{x}\right ) - \frac {1}{6} \, \log \left (\frac {1}{x^{2}}\right ) \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

1/4*x^4*arcsin(1/x)^2 + 1/12*x^2*(2/x^2 + 1) + 1/48*(x^3*(sqrt(-1/x^2 + 1) - 1)^3 + 9*x*(sqrt(-1/x^2 + 1) - 1)
 - (9*x^2*(sqrt(-1/x^2 + 1) - 1)^2 + 1)/(x^3*(sqrt(-1/x^2 + 1) - 1)^3))*arcsin(1/x) - 1/6*log(x^(-2))

________________________________________________________________________________________

maple [A]  time = 0.08, size = 56, normalized size = 0.89




method result size



default \(\frac {x^{4} \mathrm {arccsc}\relax (x )^{2}}{4}+\frac {x^{3} \mathrm {arccsc}\relax (x ) \sqrt {\frac {x^{2}-1}{x^{2}}}}{6}+\frac {x^{2}}{12}+\frac {\mathrm {arccsc}\relax (x ) \sqrt {\frac {x^{2}-1}{x^{2}}}\, x}{3}-\frac {\ln \left (\frac {1}{x}\right )}{3}\) \(56\)



Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

1/4*x^4*arccsc(x)^2+1/6*x^3*arccsc(x)*((x^2-1)/x^2)^(1/2)+1/12*x^2+1/3*arccsc(x)*((x^2-1)/x^2)^(1/2)*x-1/3*ln(
1/x)

________________________________________________________________________________________

maxima [A]  time = 1.23, size = 95, normalized size = 1.51 \[ \frac {1}{4} \, x^{4} \operatorname {arccsc}\relax (x)^{2} + \frac {2 \, x^{4} \arctan \left (1, \sqrt {x + 1} \sqrt {x - 1}\right ) + 2 \, x^{2} \arctan \left (1, \sqrt {x + 1} \sqrt {x - 1}\right ) + {\left (x^{2} + 2 \, \log \left (x^{2}\right )\right )} \sqrt {x + 1} \sqrt {x - 1} - 4 \, \arctan \left (1, \sqrt {x + 1} \sqrt {x - 1}\right )}{12 \, \sqrt {x + 1} \sqrt {x - 1}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

1/4*x^4*arccsc(x)^2 + 1/12*(2*x^4*arctan2(1, sqrt(x + 1)*sqrt(x - 1)) + 2*x^2*arctan2(1, sqrt(x + 1)*sqrt(x -
1)) + (x^2 + 2*log(x^2))*sqrt(x + 1)*sqrt(x - 1) - 4*arctan2(1, sqrt(x + 1)*sqrt(x - 1)))/(sqrt(x + 1)*sqrt(x
- 1))

________________________________________________________________________________________

mupad [F]  time = 0.00, size = -1, normalized size = -0.02 \[ \int x^3\,{\mathrm {asin}\left (\frac {1}{x}\right )}^2 \,d x \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(x^3*asin(1/x)^2,x)

[Out]

int(x^3*asin(1/x)^2, x)

________________________________________________________________________________________

sympy [F]  time = 0.00, size = 0, normalized size = 0.00 \[ \int x^{3} \operatorname {acsc}^{2}{\relax (x )}\, dx \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x**3*acsc(x)**2,x)

[Out]

Integral(x**3*acsc(x)**2, x)

________________________________________________________________________________________