Calculus Examples

Evaluate the Integral integral from 0 to pi of xcos(x) with respect to x
Step 1
Integrate by parts using the formula , where and .
Step 2
The integral of with respect to is .
Step 3
Simplify the answer.
Tap for more steps...
Step 3.1
Substitute and simplify.
Tap for more steps...
Step 3.1.1
Evaluate at and at .
Step 3.1.2
Evaluate at and at .
Step 3.1.3
Simplify.
Tap for more steps...
Step 3.1.3.1
Multiply by .
Step 3.1.3.2
Add and .
Step 3.2
The exact value of is .
Step 3.3
Simplify.
Tap for more steps...
Step 3.3.1
Apply the reference angle by finding the angle with equivalent trig values in the first quadrant.
Step 3.3.2
The exact value of is .
Step 3.3.3
Multiply by .
Step 3.3.4
Apply the reference angle by finding the angle with equivalent trig values in the first quadrant. Make the expression negative because cosine is negative in the second quadrant.
Step 3.3.5
The exact value of is .
Step 3.3.6
Multiply by .
Step 3.3.7
Multiply by .
Step 3.3.8
Add and .
Step 3.3.9
Multiply by .
Step 3.3.10
Subtract from .