Mister Exam

Integral of tgx-sinx dx

Limits of integration:

from to
v

The graph:

from to

Piecewise:

The solution

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

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

      1. The integral of sine is negative cosine:

      So, the result is:

    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]
  /                                               
 |                                                
 | (tan(x) - sin(x)) dx = C - log(cos(x)) + cos(x)
 |                                                
/                                                 
$$\int \left(- \sin{\left(x \right)} + \tan{\left(x \right)}\right)\, dx = C - \log{\left(\cos{\left(x \right)} \right)} + \cos{\left(x \right)}$$
The graph
The answer [src]
-1/2 + log(2)
$$- \frac{1}{2} + \log{\left(2 \right)}$$
=
=
-1/2 + log(2)
$$- \frac{1}{2} + \log{\left(2 \right)}$$
-1/2 + log(2)
Numerical answer [src]
0.193147180559945
0.193147180559945

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