Mister Exam

Integral of ctg(2x) dx

Limits of integration:

from to
v

The graph:

from to

Piecewise:

The solution

You have entered [src]
  1            
  /            
 |             
 |  cot(2*x) dx
 |             
/              
0              
01cot(2x)dx\int\limits_{0}^{1} \cot{\left(2 x \right)}\, dx
Detail solution
  1. Rewrite the integrand:

    cot(2x)=cos(2x)sin(2x)\cot{\left(2 x \right)} = \frac{\cos{\left(2 x \right)}}{\sin{\left(2 x \right)}}

  2. There are multiple ways to do this integral.

    Method #1

    1. Let u=sin(2x)u = \sin{\left(2 x \right)}.

      Then let du=2cos(2x)dxdu = 2 \cos{\left(2 x \right)} dx and substitute du2\frac{du}{2}:

      14udu\int \frac{1}{4 u}\, du

      1. The integral of a constant times a function is the constant times the integral of the function:

        12udu=1udu2\int \frac{1}{2 u}\, du = \frac{\int \frac{1}{u}\, du}{2}

        1. The integral of 1u\frac{1}{u} is log(u)\log{\left(u \right)}.

        So, the result is: log(u)2\frac{\log{\left(u \right)}}{2}

      Now substitute uu back in:

      log(sin(2x))2\frac{\log{\left(\sin{\left(2 x \right)} \right)}}{2}

    Method #2

    1. Let u=2xu = 2 x.

      Then let du=2dxdu = 2 dx and substitute du2\frac{du}{2}:

      cos(u)4sin(u)du\int \frac{\cos{\left(u \right)}}{4 \sin{\left(u \right)}}\, du

      1. The integral of a constant times a function is the constant times the integral of the function:

        cos(u)2sin(u)du=cos(u)sin(u)du2\int \frac{\cos{\left(u \right)}}{2 \sin{\left(u \right)}}\, du = \frac{\int \frac{\cos{\left(u \right)}}{\sin{\left(u \right)}}\, du}{2}

        1. Let u=sin(u)u = \sin{\left(u \right)}.

          Then let du=cos(u)dudu = \cos{\left(u \right)} du and substitute dudu:

          1udu\int \frac{1}{u}\, du

          1. The integral of 1u\frac{1}{u} is log(u)\log{\left(u \right)}.

          Now substitute uu back in:

          log(sin(u))\log{\left(\sin{\left(u \right)} \right)}

        So, the result is: log(sin(u))2\frac{\log{\left(\sin{\left(u \right)} \right)}}{2}

      Now substitute uu back in:

      log(sin(2x))2\frac{\log{\left(\sin{\left(2 x \right)} \right)}}{2}

  3. Add the constant of integration:

    log(sin(2x))2+constant\frac{\log{\left(\sin{\left(2 x \right)} \right)}}{2}+ \mathrm{constant}


The answer is:

log(sin(2x))2+constant\frac{\log{\left(\sin{\left(2 x \right)} \right)}}{2}+ \mathrm{constant}

The answer (Indefinite) [src]
  /                               
 |                   log(sin(2*x))
 | cot(2*x) dx = C + -------------
 |                         2      
/                                 
logsin(2x)2{{\log \sin \left(2\,x\right)}\over{2}}
The answer [src]
oo
%a{\it \%a}
=
=
oo
\infty
Numerical answer [src]
21.6511079586689
21.6511079586689

    Use the examples entering the upper and lower limits of integration.