\(\int \frac {1}{(\cot ^2(x)-\csc ^2(x))^3} \, dx\) [495]

   Optimal result
   Rubi [A] (verified)
   Mathematica [A] (verified)
   Maple [A] (verified)
   Fricas [A] (verification not implemented)
   Sympy [F(-1)]
   Maxima [A] (verification not implemented)
   Giac [A] (verification not implemented)
   Mupad [B] (verification not implemented)

Optimal result

Integrand size = 13, antiderivative size = 3 \[ \int \frac {1}{\left (\cot ^2(x)-\csc ^2(x)\right )^3} \, dx=-x \]

[Out]

-x

Rubi [A] (verified)

Time = 0.01 (sec) , antiderivative size = 3, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 2, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.154, Rules used = {4467, 8} \[ \int \frac {1}{\left (\cot ^2(x)-\csc ^2(x)\right )^3} \, dx=-x \]

[In]

Int[(Cot[x]^2 - Csc[x]^2)^(-3),x]

[Out]

-x

Rule 8

Int[a_, x_Symbol] :> Simp[a*x, x] /; FreeQ[a, x]

Rule 4467

Int[((a_.) + cot[(d_.) + (e_.)*(x_)]^2*(b_.) + csc[(d_.) + (e_.)*(x_)]^2*(c_.))^(p_.)*(u_.), x_Symbol] :> Dist
[(a + c)^p, Int[ActivateTrig[u], x], x] /; FreeQ[{a, b, c, d, e, p}, x] && EqQ[b + c, 0]

Rubi steps \begin{align*} \text {integral}& = -\int 1 \, dx \\ & = -x \\ \end{align*}

Mathematica [A] (verified)

Time = 0.00 (sec) , antiderivative size = 3, normalized size of antiderivative = 1.00 \[ \int \frac {1}{\left (\cot ^2(x)-\csc ^2(x)\right )^3} \, dx=-x \]

[In]

Integrate[(Cot[x]^2 - Csc[x]^2)^(-3),x]

[Out]

-x

Maple [A] (verified)

Time = 37.71 (sec) , antiderivative size = 4, normalized size of antiderivative = 1.33

method result size
risch \(-x\) \(4\)
default \(-\arctan \left (\tan \left (x \right )\right )\) \(6\)

[In]

int(1/(cot(x)^2-csc(x)^2)^3,x,method=_RETURNVERBOSE)

[Out]

-x

Fricas [A] (verification not implemented)

none

Time = 0.23 (sec) , antiderivative size = 3, normalized size of antiderivative = 1.00 \[ \int \frac {1}{\left (\cot ^2(x)-\csc ^2(x)\right )^3} \, dx=-x \]

[In]

integrate(1/(cot(x)^2-csc(x)^2)^3,x, algorithm="fricas")

[Out]

-x

Sympy [F(-1)]

Timed out. \[ \int \frac {1}{\left (\cot ^2(x)-\csc ^2(x)\right )^3} \, dx=\text {Timed out} \]

[In]

integrate(1/(cot(x)**2-csc(x)**2)**3,x)

[Out]

Timed out

Maxima [A] (verification not implemented)

none

Time = 0.29 (sec) , antiderivative size = 3, normalized size of antiderivative = 1.00 \[ \int \frac {1}{\left (\cot ^2(x)-\csc ^2(x)\right )^3} \, dx=-x \]

[In]

integrate(1/(cot(x)^2-csc(x)^2)^3,x, algorithm="maxima")

[Out]

-x

Giac [A] (verification not implemented)

none

Time = 0.27 (sec) , antiderivative size = 3, normalized size of antiderivative = 1.00 \[ \int \frac {1}{\left (\cot ^2(x)-\csc ^2(x)\right )^3} \, dx=-x \]

[In]

integrate(1/(cot(x)^2-csc(x)^2)^3,x, algorithm="giac")

[Out]

-x

Mupad [B] (verification not implemented)

Time = 26.51 (sec) , antiderivative size = 3, normalized size of antiderivative = 1.00 \[ \int \frac {1}{\left (\cot ^2(x)-\csc ^2(x)\right )^3} \, dx=-x \]

[In]

int(1/(cot(x)^2 - 1/sin(x)^2)^3,x)

[Out]

-x