p / | | x*sin(x + y) dx | / 0
Integral(x*sin(x + y), (x, 0, p))
Use integration by parts:
Let and let .
Then .
To find :
Let .
Then let and substitute :
The integral of sine is negative cosine:
Now substitute back in:
Now evaluate the sub-integral.
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 cosine is sine:
Now substitute back in:
So, the result is:
Add the constant of integration:
The answer is:
/ | | x*sin(x + y) dx = C - x*cos(x + y) + sin(x + y) | /
-sin(y) - p*cos(p + y) + sin(p + y)
=
-sin(y) - p*cos(p + y) + sin(p + y)
-sin(y) - p*cos(p + y) + sin(p + y)
Use the examples entering the upper and lower limits of integration.