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