Mister Exam

Other calculators


x^2*sin(x×pi)

Integral of x^2*sin(x×pi) dx

Limits of integration:

from to
v

The graph:

from to

Piecewise:

The solution

You have entered [src]
 pi                
  /                
 |                 
 |   2             
 |  x *sin(x*pi) dx
 |                 
/                  
0                  
$$\int\limits_{0}^{\pi} x^{2} \sin{\left(\pi x \right)}\, dx$$
Detail solution
  1. Use integration by parts:

    Let and let .

    Then .

    To find :

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

        So, the result is:

      Now substitute back in:

    Now evaluate the sub-integral.

  2. Use integration by parts:

    Let and let .

    Then .

    To find :

    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:

    Now evaluate the sub-integral.

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

        So, the result is:

      Now substitute back in:

    So, the result is:

  4. Now simplify:

  5. Add the constant of integration:


The answer is:

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

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