1 / | | -x*sin(x) dx | / 0
Integral((-x)*sin(x), (x, 0, 1))
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:
Add the constant of integration:
The answer is:
/ | | -x*sin(x) dx = C - sin(x) + x*cos(x) | /
-sin(1) + cos(1)
=
-sin(1) + cos(1)
-sin(1) + cos(1)
Use the examples entering the upper and lower limits of integration.