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