Mister Exam

Other calculators

Integral of x^2-3x+2sinx dx

Limits of integration:

from to
v

The graph:

from to

Piecewise:

The solution

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

    1. Integrate term-by-term:

      1. The integral of is when :

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

        1. The integral of is when :

        So, the result is:

      The result is:

    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:

    The result is:

  2. Add the constant of integration:


The answer is:

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

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