Logo
Published on

Ultimate Guide to Integration by Parts

Authors
  • avatar
    Name
    Vu Hung
    Twitter

Introduction

If Integration by Substitution is the reverse of the Chain Rule, then Integration by Parts is the reverse of the Product Rule. When you are faced with an integral multiplying two entirely different types of functions—like an algebraic term and a trigonometric term (e.g., xsinxx \sin x)—standard substitution will fail completely. In HSC Mathematics Extension 2, Integration by Parts is your ultimate weapon for breaking apart these hybrid functions.

Executive Summary

This guide covers the mechanics of Integration by Parts:

  • The Formula: Deriving and applying the formula udv=uvvdu\int u \, dv = uv - \int v \, du.
  • LIATE Rule: A bulletproof mnemonic for choosing which part of the function should be 'uu' and which should be 'dvdv'.
  • Multiple Applications: Applying the formula two or more times when the first attempt doesn't completely clear the integral.
  • The "Boomerang" (Looping) Integral: Solving integrals like exsinxe^x \sin x that loop back into themselves.

What is this about?

When differentiating a product uvuv, the Product Rule is (uv)=uv+uv(uv)' = u'v + uv'. If we integrate both sides with respect to xx, we get a formula that allows us to integrate a product: udv=uvvdu\int u \, dv = uv - \int v \, du

This formula doesn't instantly solve the integral. Instead, it trades one integral (udv\int u \, dv) for a different integral (vdu\int v \, du). The entire goal of Integration by Parts is to choose uu and dvdv strategically so that the new integral is easier to solve than the original one.

Main Content

1. The LIATE Rule (Choosing uu)

The hardest part of the formula is deciding which chunk of the integrand is uu (the part you will differentiate) and which is dvdv (the part you will integrate). You want uu to be something that gets simpler when differentiated, and dvdv to be something that is easy to integrate.

Use the LIATE mnemonic to choose uu. Pick the function that appears first in this list:

  1. Logarithmic functions (lnx\ln x)
  2. Inverse trigonometric functions (sin1x\sin^{-1} x, tan1x\tan^{-1} x)
  3. Algebraic functions (x2x^2, 3x+53x+5)
  4. Trigonometric functions (sinx\sin x, cosx\cos x)
  5. Exponential functions (exe^x)

For example, in xcosxdx\int x \cos x \, dx, we have Algebraic (xx) and Trigonometric (cosx\cos x). A comes before T in LIATE, so u=xu = x, and dv=cosxdxdv = \cos x \, dx.

2. Setting Up the Grid

To prevent mistakes, always set up a 2x2 grid before plugging into the formula: u=[choose]du=[differentiate]u = [ \text{choose} ] \quad \rightarrow \quad du = [ \text{differentiate} ] dv=[choose]v=[integrate]dv = [ \text{choose} ] \quad \leftarrow \quad v = [ \text{integrate} ]

Then multiply diagonally for uvuv, and multiply the bottom row horizontally for vdu\int v \, du.

3. Multiple Applications

Sometimes, one round of parts isn't enough. For example, in x2exdx\int x^2 e^x \, dx, making u=x2u = x^2 will reduce the new integral to 2xexdx\int 2x e^x \, dx. The algebraic term is simpler (2x2x instead of x2x^2), but it's still a product. You simply perform Integration by Parts a second time on the new integral to destroy the xx entirely.

4. The Looping Integral ("Boomerang")

When integrating exponential and trigonometric hybrids, like I=excosxdxI = \int e^x \cos x \, dx, neither function ever "disappears" when differentiated. If you apply parts twice, you will end up with an equation like: I=exsinx+excosxexcosxdxI = e^x \sin x + e^x \cos x - \int e^x \cos x \, dx

Notice that the integral on the right is exactly the same as the original II! You can treat it like an algebra equation: I=exsinx+excosxII = e^x \sin x + e^x \cos x - I 2I=exsinx+excosx2I = e^x \sin x + e^x \cos x I=12ex(sinx+cosx)+CI = \frac{1}{2} e^x (\sin x + \cos x) + C

Simple Worked Example

Question: Evaluate xlnxdx\int x \ln x \, dx.

Solution: Step 1: Choose uu and dvdv using LIATE. We have Algebraic (xx) and Logarithmic (lnx\ln x). L comes before A, so we MUST choose u=lnxu = \ln x. u=lnxu = \ln x dv=xdxdv = x \, dx

Step 2: Create the grid. Differentiate uu: du=1xdxdu = \frac{1}{x} \, dx Integrate dvdv: v=x22v = \frac{x^2}{2}

Step 3: Apply the formula. udv=uvvdu\int u \, dv = uv - \int v \, du xlnxdx=(lnx)(x22)(x22)(1x)dx\int x \ln x \, dx = (\ln x)\left(\frac{x^2}{2}\right) - \int \left(\frac{x^2}{2}\right) \left(\frac{1}{x}\right) \, dx

Step 4: Simplify and solve the new integral. =x22lnxx2dx= \frac{x^2}{2} \ln x - \int \frac{x}{2} \, dx =x22lnx12xdx= \frac{x^2}{2} \ln x - \frac{1}{2} \int x \, dx =x22lnx12(x22)+C= \frac{x^2}{2} \ln x - \frac{1}{2} \left(\frac{x^2}{2}\right) + C =x22lnxx24+C= \frac{x^2}{2} \ln x - \frac{x^2}{4} + C

Final Answer: x22lnxx24+C\frac{x^2}{2} \ln x - \frac{x^2}{4} + C.

mini-FAQ page

Q: What if the integral is just lnxdx\int \ln x \, dx or tan1xdx\int \tan^{-1} x \, dx? There is no product! A: This is a classic trick. You create a product by making dv=1dxdv = 1 \, dx. Let u=lnxu = \ln x and dv=1dxdv = 1 \, dx. Then du=1xdu = \frac{1}{x} and v=xv = x. The formula will magically solve it!

Q: Do I have to write +C+ C during the v=dvv = \int dv step? A: No, you can ignore the constant of integration during the intermediate setup steps. Just remember to add a single +C+ C at the very end of your final answer.

Common mistakes to avoid

  • Ignoring the negative sign in the formula: The formula is uvvduuv - \int v \, du. Many students forget the minus sign, or lose track of it when distributing negative numbers from multiple applications of parts. Use large brackets!
  • Choosing the wrong uu: If you chose u=xu = x and dv=lnxdv = \ln x in the example above, you would immediately get stuck trying to integrate lnx\ln x. If your new integral looks much harder than the original, you likely chose the wrong uu. Follow LIATE!

Practice on Vu's Maths Hub

Integration by parts requires excellent book-keeping with signs and brackets.

Further Readings

Connect with me

Want to master Integration and guarantee top marks in HSC Mathematics Extension 2? Visit Vu's Maths Hub for in-depth booklets, rigorous worked solutions, and expert advice to help you ace your exams!