3.1.7 \(\int \cot (x) \csc (x) \, dx\) [7]

Optimal. Leaf size=4 \[ -\csc (x) \]

[Out]

-csc(x)

________________________________________________________________________________________

Rubi [A]
time = 0.00, antiderivative size = 4, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 2, integrand size = 5, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.400, Rules used = {2686, 8} \begin {gather*} -\csc (x) \end {gather*}

Antiderivative was successfully verified.

[In]

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

[Out]

-Csc[x]

Rule 8

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

Rule 2686

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 (x) \, dx &=-\text {Subst}(\int 1 \, dx,x,\csc (x))\\ &=-\csc (x)\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]
time = 0.00, size = 4, normalized size = 1.00 \begin {gather*} -\csc (x) \end {gather*}

Antiderivative was successfully verified.

[In]

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

[Out]

-Csc[x]

________________________________________________________________________________________

Maple [A]
time = 0.00, size = 5, normalized size = 1.25

method result size
derivativedivides \(-\csc \left (x \right )\) \(5\)
default \(-\csc \left (x \right )\) \(5\)
risch \(-\frac {2 i {\mathrm e}^{i x}}{{\mathrm e}^{2 i x}-1}\) \(18\)

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(cot(x)*csc(x),x,method=_RETURNVERBOSE)

[Out]

-csc(x)

________________________________________________________________________________________

Maxima [A]
time = 2.31, size = 6, normalized size = 1.50 \begin {gather*} -\frac {1}{\sin \left (x\right )} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(cot(x)*csc(x),x, algorithm="maxima")

[Out]

-1/sin(x)

________________________________________________________________________________________

Fricas [A]
time = 0.88, size = 6, normalized size = 1.50 \begin {gather*} -\frac {1}{\sin \left (x\right )} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(cot(x)*csc(x),x, algorithm="fricas")

[Out]

-1/sin(x)

________________________________________________________________________________________

Sympy [A]
time = 0.03, size = 5, normalized size = 1.25 \begin {gather*} - \frac {1}{\sin {\left (x \right )}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(cot(x)*csc(x),x)

[Out]

-1/sin(x)

________________________________________________________________________________________

Giac [A]
time = 0.99, size = 6, normalized size = 1.50 \begin {gather*} -\frac {1}{\sin \left (x\right )} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(cot(x)*csc(x),x, algorithm="giac")

[Out]

-1/sin(x)

________________________________________________________________________________________

Mupad [B]
time = 0.21, size = 6, normalized size = 1.50 \begin {gather*} -\frac {1}{\sin \left (x\right )} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(cot(x)/sin(x),x)

[Out]

-1/sin(x)

________________________________________________________________________________________