1 / | | x*sin(x)*cos(2*x) dx | / 0
Integral((x*sin(x))*cos(2*x), (x, 0, 1))
Use integration by parts:
Let and let .
Then .
To find :
Rewrite the integrand:
Integrate term-by-term:
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 is when :
So, the result is:
Now substitute back in:
So, the result is:
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:
The result is:
Now evaluate the sub-integral.
Integrate term-by-term:
The integral of a constant times a function is the constant times the integral of the function:
Rewrite the integrand:
There are multiple ways to do this integral.
Let .
Then let and substitute :
Integrate term-by-term:
The integral of a constant is the constant times the variable of integration:
The integral of a constant times a function is the constant times the integral of the function:
The integral of is when :
So, the result is:
The result is:
Now substitute back in:
Rewrite the integrand:
Integrate term-by-term:
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 is when :
Now substitute back in:
So, the result is:
The integral of cosine is sine:
The result is:
Rewrite the integrand:
Integrate term-by-term:
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 is when :
Now substitute back in:
So, the result is:
The integral of cosine is sine:
The result is:
So, the result is:
The integral of cosine is sine:
The result is:
Now simplify:
Add the constant of integration:
The answer is:
/ 3 / 3 \ | 2*sin (x) sin(x) | 2*cos (x) | | x*sin(x)*cos(2*x) dx = C - --------- - ------ + x*|- --------- + cos(x)| | 9 3 \ 3 / /
4*cos(1)*sin(2) cos(1)*cos(2) 2*sin(1)*sin(2) 5*cos(2)*sin(1) - --------------- + ------------- + --------------- + --------------- 9 3 3 9
=
4*cos(1)*sin(2) cos(1)*cos(2) 2*sin(1)*sin(2) 5*cos(2)*sin(1) - --------------- + ------------- + --------------- + --------------- 9 3 3 9
-4*cos(1)*sin(2)/9 + cos(1)*cos(2)/3 + 2*sin(1)*sin(2)/3 + 5*cos(2)*sin(1)/9
Use the examples entering the upper and lower limits of integration.