Skip to main content
ExamExplained
SA · Specialist Mathematics
Specialist Mathematics study scene
§-Syllabus dot point
SASpecialist MathematicsSyllabus dot point

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.

Reviewed by: AI editorial process; not yet individually human-reviewed

Have a quick question? Jump to the Q&A page

Jump to a section
  1. What this dot point is asking
  2. The formula
  3. Choosing u and dv
  4. A first example
  5. Why the choice of u matters
  6. Integrating the logarithm
  7. Applying the method twice
  8. The cyclic case

What this dot point is asking

You need to evaluate integrals using integration by parts, choosing uu and dvdv sensibly and applying the method repeatedly when required.

The formula

Starting from the product rule ddx(uv)=udvdx+vdudx\dfrac{d}{dx}(uv) = u\dfrac{dv}{dx} + v\dfrac{du}{dx} 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\int u\,dv for a new one vdu\int v\,du. The method only helps if that new integral is easier, which happens when uu becomes simpler on differentiation. A power of xx differentiates toward a lower power and eventually a constant, so it is usually a good uu when paired with an exponential or trig dvdv. 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 uu. 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\int \ln x\,dx, where there is seemingly no product. Take u=lnxu = \ln x and dv=dxdv = dx:

lnxdx=xlnxx1xdx=xlnx1dx=xlnxx+C.\int \ln x\,dx = x\ln x - \int x\cdot\frac{1}{x}\,dx = x\ln x - \int 1\,dx = x\ln x - 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\int e^x\cos x\,dx, 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+excosxII = e^x\sin x + e^x\cos x - I, so 2I=ex(sinx+cosx)2I = e^x(\sin x + \cos x) and I=12ex(sinx+cosx)+CI = \tfrac{1}{2}e^x(\sin x + \cos x) + 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\displaystyle\int x e^{2x}\,dx.
Show worked answer →

Integration by parts: udv=uvvdu\int u\,dv = uv - \int v\,du.

Choose u=xu = x (so du=dxdu = dx) and dv=e2xdxdv = e^{2x}\,dx (so v=12e2xv = \tfrac{1}{2}e^{2x}), taking the algebraic factor as uu. [1 mark]

xe2xdx=x12e2x12e2xdx=12xe2x12e2xdx.  [1 mark]\int x e^{2x}\,dx = x\cdot\tfrac{1}{2}e^{2x} - \int \tfrac{1}{2}e^{2x}\,dx = \tfrac{1}{2}x e^{2x} - \tfrac{1}{2}\int e^{2x}\,dx. \;[\text{1 mark}]

The remaining integral is 12e2x\tfrac{1}{2}e^{2x}, so =12xe2x14e2x+c= \tfrac{1}{2}x e^{2x} - \tfrac{1}{4}e^{2x} + c. [1 mark]

SACE 20233 marksCalculator-free. Given xe2xdx=12xe2x14e2x+c\displaystyle\int x e^{2x}\,dx = \tfrac{1}{2}x e^{2x} - \tfrac{1}{4}e^{2x} + c, use integration by parts to show that x2e2xdx=e2x(12x212x+14)+k\displaystyle\int x^2 e^{2x}\,dx = e^{2x}\left(\tfrac{1}{2}x^2 - \tfrac{1}{2}x + \tfrac{1}{4}\right) + k.
Show worked answer →

Choose u=x2u = x^2 (so du=2xdxdu = 2x\,dx) and dv=e2xdxdv = e^{2x}\,dx (so v=12e2xv = \tfrac{1}{2}e^{2x}). [1 mark]

x2e2xdx=12x2e2x12e2x(2x)dx=12x2e2xxe2xdx.  [1 mark]\int x^2 e^{2x}\,dx = \tfrac{1}{2}x^2 e^{2x} - \int \tfrac{1}{2}e^{2x}(2x)\,dx = \tfrac{1}{2}x^2 e^{2x} - \int x e^{2x}\,dx. \;[\text{1 mark}]

Substitute the given result: =12x2e2x(12xe2x14e2x)+k=e2x(12x212x+14)+k= \tfrac{1}{2}x^2 e^{2x} - \left(\tfrac{1}{2}x e^{2x} - \tfrac{1}{4}e^{2x}\right) + k = e^{2x}\left(\tfrac{1}{2}x^2 - \tfrac{1}{2}x + \tfrac{1}{4}\right) + k. [1 mark]

SACE 20212 marksCalculator-free. Find lnxdx\displaystyle\int \ln x\,dx.
Show worked answer →

There is no obvious product, so take u=lnxu = \ln x and dv=dxdv = dx, giving du=1xdxdu = \tfrac{1}{x}\,dx and v=xv = x:

lnxdx=xlnxx1xdx=xlnx1dx=xlnxx+C.\int \ln x\,dx = x\ln x - \int x\cdot\tfrac{1}{x}\,dx = x\ln x - \int 1\,dx = x\ln x - x + C.

Marks: one for the choice u=lnxu = \ln x, dv=dxdv = dx, one for the answer xlnxx+Cx\ln x - x + C.

ExamExplained