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