Mister Exam

Other calculators

Integral of cos(pi*x)/2*(cos(2*n+1)*pi*x)/6 dx

Limits of integration:

from to
v

The graph:

from to

Piecewise:

The solution

You have entered [src]
  3                               
  /                               
 |                                
 |  cos(pi*x)*cos(2*n + 1)*pi*x   
 |  --------------------------- dx
 |              2*6               
 |                                
/                                 
0                                 
$$\int\limits_{0}^{3} \frac{\pi x \cos{\left(\pi x \right)} \cos{\left(2 n + 1 \right)}}{2 \cdot 6}\, dx$$
Integral(cos(pi*x)*cos(2*n + 1)*pi*x/(2*6), (x, 0, 3))
Detail solution
  1. The integral of a constant times a function is the constant times the integral of the function:

    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:

    So, the result is:

  2. Now simplify:

  3. Add the constant of integration:


The answer is:

The answer (Indefinite) [src]
                                           /cos(pi*x)   x*sin(pi*x)\             
  /                                     pi*|--------- + -----------|*cos(2*n + 1)
 |                                         |     2           pi    |             
 | cos(pi*x)*cos(2*n + 1)*pi*x             \   pi                  /             
 | --------------------------- dx = C + -----------------------------------------
 |             2*6                                          12                   
 |                                                                               
/                                                                                
$${{\cos \left(2\,n+1\right)\,\left(\pi\,x\,\sin \left(\pi\,x\right)+ \cos \left(\pi\,x\right)\right)}\over{12\,\pi}}$$
The answer [src]
-cos(1 + 2*n) 
--------------
     6*pi     
$${{\cos \left(2\,n+1\right)\,\pi\,\left({{3\,\pi\,\sin \left(3\,\pi \right)+\cos \left(3\,\pi\right)}\over{\pi^2}}-{{1}\over{\pi^2}} \right)}\over{12}}$$
=
=
-cos(1 + 2*n) 
--------------
     6*pi     
$$- \frac{\cos{\left(2 n + 1 \right)}}{6 \pi}$$

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