Mister Exam

Other calculators

Integral of y=2(lnx-cos3x) dx

Limits of integration:

from to
v

The graph:

from to

Piecewise:

The solution

You have entered [src]
  1                         
  /                         
 |                          
 |  2*(log(x) - cos(3*x)) dx
 |                          
/                           
0                           
$$\int\limits_{0}^{1} 2 \left(\log{\left(x \right)} - \cos{\left(3 x \right)}\right)\, dx$$
Integral(2*(log(x) - cos(3*x)), (x, 0, 1))
Detail solution
  1. The integral of a constant times a function is the constant times the integral of the function:

    1. Integrate term-by-term:

      1. Use integration by parts:

        Let and let .

        Then .

        To find :

        1. The integral of a constant is the constant times the variable of integration:

        Now evaluate the sub-integral.

      2. The integral of a constant is the constant times the variable of integration:

      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 cosine is sine:

            So, the result is:

          Now substitute back in:

        So, the result is:

      The result is:

    So, the result is:

  2. Add the constant of integration:


The answer is:

The answer (Indefinite) [src]
  /                                                            
 |                                      2*sin(3*x)             
 | 2*(log(x) - cos(3*x)) dx = C - 2*x - ---------- + 2*x*log(x)
 |                                          3                  
/                                                              
$$\int 2 \left(\log{\left(x \right)} - \cos{\left(3 x \right)}\right)\, dx = C + 2 x \log{\left(x \right)} - 2 x - \frac{2 \sin{\left(3 x \right)}}{3}$$
The answer [src]
     2*sin(3)
-2 - --------
        3    
$$-2 - \frac{2 \sin{\left(3 \right)}}{3}$$
=
=
     2*sin(3)
-2 - --------
        3    
$$-2 - \frac{2 \sin{\left(3 \right)}}{3}$$
Numerical answer [src]
-2.09408000537324
-2.09408000537324

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