Mister Exam

Other calculators

Integral of xcos(x/2)*dx dx

Limits of integration:

from to
v

The graph:

from to

Piecewise:

The solution

You have entered [src]
  pi            
  --            
  2             
   /            
  |             
  |       /x\   
  |  x*cos|-| dx
  |       \2/   
  |             
 /              
-pi             
----            
 2              
$$\int\limits_{- \frac{\pi}{2}}^{\frac{\pi}{2}} x \cos{\left(\frac{x}{2} \right)}\, dx$$
Integral(x*cos(x/2), (x, -pi/2, pi/2))
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 cosine is sine:

        So, the result is:

      Now substitute back in:

    Now evaluate the sub-integral.

  2. 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:

  3. Add the constant of integration:


The answer is:

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

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