Math · Calculus II · Worked example
Integrate xeˣ by parts
Find the integral of xeˣ with respect to x.
Choose u and dv
x gets simpler when differentiated, and eˣ is easy to integrate.
| Part | Choice | Then |
|---|---|---|
| u | x | du = dx |
| dv | eˣ dx | v = eˣ |
Apply the formula
uv − ∫v du, with the new integral simpler than the old.
Finish the integral
The integral of eˣ is eˣ.
Check by differentiating
The product rule gives eˣ + xeˣ, and subtracting the derivative of eˣ leaves xeˣ.
Result
xeˣ − eˣ + C.
Your turn
Find the integral of x cos x.
Show the answer and explanation
x sin x + cos x + C.
u = x and dv = cos x dx give du = dx and v = sin x, so the integral is x sin x minus the integral of sin x, which is x sin x + cos x + C.
Keep exploring
In Derivative & antiderivative checks, enter xeˣ + eˣ instead, a common sign slip. The checker reports that it does not agree: its derivative is xeˣ + 2eˣ.
Return to the concept →Sources and scope
Authored study material. Tool results depend on the stated inputs and model assumptions.
Try in the workspace
Open the example inputs, change a value and keep a useful result on your board.
Check it in Derivative & antiderivative checks Check it in Math Open worked example on a board Product rule in Math ReferenceYour existing work stays on this device. Examples open as editable copies.