3 / | | cos(pi*x)*cos(2*n + 1)*pi*x | --------------------------- dx | 2*6 | / 0
Integral(cos(pi*x)*cos(2*n + 1)*pi*x/(2*6), (x, 0, 3))
The integral of a constant times a function is the constant times the integral of the function:
Use integration by parts:
Let and let .
Then .
To find :
Let .
Then let and substitute :
The integral of a constant times a function is the constant times the integral of the function:
The integral of cosine is sine:
So, the result is:
Now substitute back in:
Now evaluate the sub-integral.
The integral of a constant times a function is the constant times the integral of the function:
Let .
Then let and substitute :
The integral of a constant times a function is the constant times the integral of the function:
The integral of sine is negative cosine:
So, the result is:
Now substitute back in:
So, the result is:
So, the result is:
Now simplify:
Add the constant of integration:
The answer is:
/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(1 + 2*n) -------------- 6*pi
=
-cos(1 + 2*n) -------------- 6*pi
Use the examples entering the upper and lower limits of integration.