When to use Integration by Parts vs. U-Substitution

Deciding between integration by parts and u-substitution comes down to recognizing specific patterns in the integral.

For the integral xln(1+x)dx\int x \ln(1 + x) \,dx, the correct method is integration by parts.

Here’s a breakdown of how to make that decision.


Key Differences and When to Use Each Method

U-Substitution

The goal of u-substitution is to simplify the integral into a much more basic form, like undu\int u^n \,du or eudu\int e^u \,du.

Look for: A function and its derivative (or a constant multiple of its derivative) present in the integral.

In your problem, xln(1+x)dx\int x \ln(1 + x) \,dx, the derivative of ln(1+x)\ln(1+x) is 11+x\frac{1}{1+x}, which isn't present. The derivative of xx is 11, which doesn't help simplify the logarithm. Therefore, substitution is not the best first step.

Integration by Parts

This method is specifically designed to solve integrals that are a product of two unrelated functions. The formula is udv=uvvdu\int u \,dv = uv - \int v \,du.

Look for: A product of two different function types, such as:

Your integral xln(1+x)dx\int x \ln(1 + x) \,dx is a textbook example of this pattern—it's the product of an algebraic function (xx) and a logarithmic function (ln(1+x)\ln(1+x)).


How to Apply Integration by Parts to Your Problem

To choose which part is 'uu' and which is 'dvdv', a helpful mnemonic is LIATE:

Choose your 'uu' based on whichever function type appears first in the LIATE list.

  1. Identify the function types:

    • ln(1+x)\ln(1+x) is Logarithmic.
    • xx is Algebraic.
  2. Choose u: Since 'L' comes before 'A' in LIATE, we choose:

    • u=ln(1+x)u = \ln(1+x)
    • dv=xdxdv = x \,dx
  3. Differentiate u and integrate dv:

    • du=11+xdxdu = \frac{1}{1+x} \,dx
    • v=x22v = \frac{x^2}{2}
  4. Apply the formula: udv=uvvdu\int u \,dv = uv - \int v \,du xln(1+x)dx=x22ln(1+x)x2211+xdx\int x \ln(1+x) \,dx = \frac{x^2}{2} \ln(1+x) - \int \frac{x^2}{2} \cdot \frac{1}{1+x} \,dx The new integral, x22(1+x)dx\int \frac{x^2}{2(1+x)} \,dx, is now a rational function that can be solved with algebraic manipulation (like polynomial long division) and is simpler than the original problem.

Introducing terms

This technique involves introducing a "1" term into the integral to facilitate integration by parts.

integral_lnx

© 2025 James Yap

Personal Website and Knowledge Base