How does reversing the product rule let us integrate products such as x times e to the x?
Evaluate integrals using integration by parts, including choosing u and dv and applying the method more than once where needed.
Integration by parts as the reverse of the product rule, choosing u and dv with the LIATE guide, repeated application, and the standard trick for integrating the natural logarithm.
✦ Generated by Claude Opus 4.8·8 min answer·
Reviewed by: AI editorial process; not yet individually human-reviewed
You need to evaluate integrals using integration by parts, choosing u and dv sensibly and applying the method repeatedly when required.
The formula
Starting from the product rule dxd(uv)=udxdv+vdxdu and integrating both sides gives
Choosing u and dv
A first example
Why the choice of u matters
The formula trades the original integral ∫udv for a new one ∫vdu. The method only helps if that new integral is easier, which happens when u becomes simpler on differentiation. A power of x differentiates toward a lower power and eventually a constant, so it is usually a good u when paired with an exponential or trig dv. A logarithm or inverse trig function, by contrast, has no elementary antiderivative of its own but a tidy derivative, so it should almost always be chosen as u. The LIATE order encodes exactly this reasoning, which is why following it so reliably produces a simpler second integral.
Integrating the logarithm
A classic case is ∫lnxdx, where there is seemingly no product. Take u=lnx and dv=dx:
∫lnxdx=xlnx−∫x⋅x1dx=xlnx−∫1dx=xlnx−x+C.
Applying the method twice
When the algebraic factor is a higher power, one pass reduces it but leaves another integral by parts.
The cyclic case
A special situation arises with integrals such as ∫excosxdx, where applying integration by parts twice returns a multiple of the original integral. Rather than continuing forever, you set the original integral equal to the expression you have derived, treat it as an unknown, and solve algebraically. For example, two passes give I=exsinx+excosx−I, so 2I=ex(sinx+cosx) and I=21ex(sinx+cosx)+C. Recognising when the integral reappears, and solving for it instead of integrating again, is the trick this type of question rewards.
Exam-style practice questions
Practice questions written in the style of SACE Board exam questions on this dot point, with worked answer explainers. The year tag is the paper they imitate, not the source.
SACE 20223 marksCalculator-free. Use integration by parts to find ∫xe2xdx.
Show worked answer →
Integration by parts: ∫udv=uv−∫vdu.
Choose u=x (so du=dx) and dv=e2xdx (so v=21e2x), taking the algebraic factor as u. [1 mark]