Mister Exam

Integral of 2sinx-1 dx

Limits of integration:

from to
v

The graph:

from to

Piecewise:

The solution

You have entered [src]
 pi                  
  /                  
 |                   
 |  (2*sin(x) - 1) dx
 |                   
/                    
0                    
0π(2sin(x)1)dx\int\limits_{0}^{\pi} \left(2 \sin{\left(x \right)} - 1\right)\, dx
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:

      2sin(x)dx=2sin(x)dx\int 2 \sin{\left(x \right)}\, dx = 2 \int \sin{\left(x \right)}\, dx

      1. The integral of sine is negative cosine:

        sin(x)dx=cos(x)\int \sin{\left(x \right)}\, dx = - \cos{\left(x \right)}

      So, the result is: 2cos(x)- 2 \cos{\left(x \right)}

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

      ((1)1)dx=x\int \left(\left(-1\right) 1\right)\, dx = - x

    The result is: x2cos(x)- x - 2 \cos{\left(x \right)}

  2. Add the constant of integration:

    x2cos(x)+constant- x - 2 \cos{\left(x \right)}+ \mathrm{constant}


The answer is:

x2cos(x)+constant- x - 2 \cos{\left(x \right)}+ \mathrm{constant}

The answer (Indefinite) [src]
  /                                    
 |                                     
 | (2*sin(x) - 1) dx = C - x - 2*cos(x)
 |                                     
/                                      
2cosxx-2\,\cos x-x
The graph
0.000.250.500.751.001.251.501.752.002.252.502.753.005-5
The answer [src]
4 - pi
π+4- \pi + 4
=
=
4 - pi
π+4- \pi + 4
Numerical answer [src]
0.858407346410207
0.858407346410207
The graph
Integral of 2sinx-1 dx

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