Mister Exam

Integral of tg(3x)+ctg(3x) dx

Limits of integration:

from to
v

The graph:

from to

Piecewise:

The solution

You have entered [src]
  1                         
  /                         
 |                          
 |  (tan(3*x) + cot(3*x)) dx
 |                          
/                           
0                           
$$\int\limits_{0}^{1} \left(\tan{\left(3 x \right)} + \cot{\left(3 x \right)}\right)\, dx$$
Detail solution
  1. Integrate term-by-term:

    1. Rewrite the integrand:

    2. There are multiple ways to do this integral.

      Method #1

      1. Let .

        Then let and substitute :

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

          1. The integral of is .

          So, the result is:

        Now substitute back in:

      Method #2

      1. Let .

        Then let and substitute :

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

          1. Let .

            Then let and substitute :

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

              1. The integral of is .

              So, the result is:

            Now substitute back in:

          So, the result is:

        Now substitute back in:

    1. Rewrite the integrand:

    2. Let .

      Then let and substitute :

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

        1. The integral of is .

        So, the result is:

      Now substitute back in:

    The result is:

  2. Add the constant of integration:


The answer is:

The answer (Indefinite) [src]
  /                                                            
 |                                log(cos(3*x))   log(sin(3*x))
 | (tan(3*x) + cot(3*x)) dx = C - ------------- + -------------
 |                                      3               3      
/                                                              
$${{\log \sin \left(3\,x\right)}\over{3}}+{{\log \sec \left(3\,x \right)}\over{3}}$$
The answer [src]
nan
$${\it \%a}$$
=
=
nan
$$\text{NaN}$$
Numerical answer [src]
9.37062759303838
9.37062759303838

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