### 3.10 $$\int \cot (x) \csc (x) \, dx$$

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

[Out]

-Csc[x]

________________________________________________________________________________________

Rubi [A]  time = 0.0078946, antiderivative size = 4, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 2, integrand size = 5, $$\frac{\text{number of rules}}{\text{integrand size}}$$ = 0.4, Rules used = {2606, 8} $-\csc (x)$

Antiderivative was successfully veriﬁed.

[In]

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

[Out]

-Csc[x]

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])

Rule 8

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

Rubi steps

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

Mathematica [A]  time = 0.0015108, size = 4, normalized size = 1. $-\csc (x)$

Antiderivative was successfully veriﬁed.

[In]

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

[Out]

-Csc[x]

________________________________________________________________________________________

Maple [A]  time = 0.005, size = 5, normalized size = 1.3 \begin{align*} -\csc \left ( x \right ) \end{align*}

Veriﬁcation of antiderivative is not currently implemented for this CAS.

[In]

int(cot(x)*csc(x),x)

[Out]

-csc(x)

________________________________________________________________________________________

Maxima [A]  time = 0.91894, size = 8, normalized size = 2. \begin{align*} -\frac{1}{\sin \left (x\right )} \end{align*}

Veriﬁcation 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 = 1.8661, size = 15, normalized size = 3.75 \begin{align*} -\frac{1}{\sin \left (x\right )} \end{align*}

Veriﬁcation 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.062908, size = 5, normalized size = 1.25 \begin{align*} - \frac{1}{\sin{\left (x \right )}} \end{align*}

Veriﬁcation of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

-1/sin(x)

________________________________________________________________________________________

Giac [A]  time = 1.0601, size = 8, normalized size = 2. \begin{align*} -\frac{1}{\sin \left (x\right )} \end{align*}

Veriﬁcation of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

-1/sin(x)