3.8 \(\int \cot (x) \csc ^2(x) \, dx\)

Optimal. Leaf size=8 \[ -\frac {1}{2} \csc ^2(x) \]

[Out]

-1/2*csc(x)^2

________________________________________________________________________________________

Rubi [A]  time = 0.01, antiderivative size = 8, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 2, integrand size = 7, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.286, Rules used = {2606, 30} \[ -\frac {1}{2} \csc ^2(x) \]

Antiderivative was successfully verified.

[In]

Int[Cot[x]*Csc[x]^2,x]

[Out]

-Csc[x]^2/2

Rule 30

Int[(x_)^(m_.), x_Symbol] :> Simp[x^(m + 1)/(m + 1), x] /; FreeQ[m, x] && NeQ[m, -1]

Rule 2606

Int[((a_.)*sec[(e_.) + (f_.)*(x_)])^(m_.)*((b_.)*tan[(e_.) + (f_.)*(x_)])^(n_.), x_Symbol] :> Dist[a/f, Subst[
Int[(a*x)^(m - 1)*(-1 + x^2)^((n - 1)/2), x], x, Sec[e + f*x]], x] /; FreeQ[{a, e, f, m}, x] && IntegerQ[(n -
1)/2] &&  !(IntegerQ[m/2] && LtQ[0, m, n + 1])

Rubi steps

\begin {align*} \int \cot (x) \csc ^2(x) \, dx &=-\operatorname {Subst}(\int x \, dx,x,\csc (x))\\ &=-\frac {1}{2} \csc ^2(x)\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]  time = 0.01, size = 8, normalized size = 1.00 \[ -\frac {1}{2} \csc ^2(x) \]

Antiderivative was successfully verified.

[In]

Integrate[Cot[x]*Csc[x]^2,x]

[Out]

-1/2*Csc[x]^2

________________________________________________________________________________________

fricas [A]  time = 0.41, size = 10, normalized size = 1.25 \[ \frac {1}{2 \, {\left (\cos \relax (x)^{2} - 1\right )}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(cos(x)/sin(x)^3,x, algorithm="fricas")

[Out]

1/2/(cos(x)^2 - 1)

________________________________________________________________________________________

giac [A]  time = 0.01, size = 6, normalized size = 0.75 \[ -\frac {1}{2 \, \sin \relax (x)^{2}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(cos(x)/sin(x)^3,x, algorithm="giac")

[Out]

-1/2/sin(x)^2

________________________________________________________________________________________

maple [A]  time = 0.02, size = 7, normalized size = 0.88 \[ -\frac {1}{2 \sin \relax (x )^{2}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(cos(x)/sin(x)^3,x)

[Out]

-1/2/sin(x)^2

________________________________________________________________________________________

maxima [A]  time = 0.49, size = 6, normalized size = 0.75 \[ -\frac {1}{2 \, \sin \relax (x)^{2}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(cos(x)/sin(x)^3,x, algorithm="maxima")

[Out]

-1/2/sin(x)^2

________________________________________________________________________________________

mupad [B]  time = 0.42, size = 6, normalized size = 0.75 \[ -\frac {{\mathrm {cot}\relax (x)}^2}{2} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(cos(x)/sin(x)^3,x)

[Out]

-cot(x)^2/2

________________________________________________________________________________________

sympy [A]  time = 0.07, size = 8, normalized size = 1.00 \[ - \frac {1}{2 \sin ^{2}{\relax (x )}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(cos(x)/sin(x)**3,x)

[Out]

-1/(2*sin(x)**2)

________________________________________________________________________________________