TExcelTAD
Home › School Calculus: Limits, Derivatives & Integrals › Integration by Parts: The LIATE Strategy on Paper

Integration by Parts: The LIATE Strategy on Paper

When you face an integral whose integrand is a product of two completely different families of functions—such as a polynomial multiplied by a trigonometric function (xcos⁡xx \cos x), or a polynomial multiplied by an exponential (xexx e^x), or a lone logarithm (ln⁡x\ln x)—ordinary substitution fails because no derivative factor is available to cancel out variables.

To crack these products, mathematicians reverse the Product Rule of Differentiation. This technique is called Integration by Parts. By organizing your paper calculations into a structured 2×22 \times 2 grid and following the famous LIATE mnemonic, you can systematically break down complicated product integrals into elementary calculations.


1. Concepts & Paper Visuals

Reversing the Product Rule

Recall the Product Rule for differentiating two differentiable functions u(x)u(x) and v(x)v(x):

ddx[u(x)⋅v(x)]=u′(x)v(x)+u(x)v′(x)\frac{d}{dx} \Big[ u(x) \cdot v(x) \Big] = u'(x) v(x) + u(x) v'(x)

In differential notation, this is written as:

d(uv)=v du+u dvd(uv) = v \, du + u \, dv

Integrate both sides with respect to xx:

∫d(uv)=∫u dv+∫v du\int d(uv) = \int u \, dv + \int v \, du

Since the integral of the differential d(uv)d(uv) is simply the product uvuv, we rearrange the equation to isolate ∫u dv\int u \, dv:

∫u dv=uv−∫v du\int u \, dv = uv - \int v \, du
                 Original Integral:             Easier Trade-Off:
                    ⌠                              ⌠
                    │   u   dv    =    u · v   -   │   v   du
                    ⌡                              ⌡
                        ▲   ▲          ▲   ▲           ▲   ▲
             Differentiate  Integrate  Boundary terms  Simpler integral!

Integration by parts does not solve the integral in one jump; instead, it trades a difficult integral ∫u dv\int u \, dv for an easier one, ∫v du\int v \, du.


2. The LIATE Priority Strategy

How do you decide which factor is uu and which factor is dvdv? You use the LIATE priority rule. The function type that appears higher on this list is your choice for uu:

┌─────────────────────────────────────────────────────────────────────────────┐
│                           THE LIATE PRIORITY LIST                           │
│                                                                             │
│  L ── Logarithmic functions:         ln x, log₁₀ x, log₂ x                  │
│  I ── Inverse trigonometric:         arcsin x, arctan x, arccos x           │
│  A ── Algebraic functions:           x, x², 3x - 1, √x                      │
│  T ── Trigonometric functions:       sin x, cos x, sec² x                   │
│  E ── Exponential functions:         eˣ, 2ˣ, 5^(-x)                         │
│                                                                             │
│  Top priority  ──>  Choose as u (gets differentiated: du = u' dx)           │
│  Lower priority ─>  Choose as dv (gets integrated: v = ∫ dv)                │
└─────────────────────────────────────────────────────────────────────────────┘

Why LIATE works:

  • Logarithmic and inverse trigonometric functions become simpler polynomials or rational functions when differentiated (ddxln⁡x=1x\frac{d}{dx}\ln x = \frac{1}{x}), but are difficult to integrate directly.
  • Algebraic functions (xnx^n) drop in power when differentiated (x2→2x→2x^2 \to 2x \to 2).
  • Exponential and trigonometric functions do not drop in power, but they are trivial to integrate (ex→exe^x \to e^x, cos⁡x→sin⁡x\cos x \to \sin x).

3. The 2x2 Paper Grid Setup

Whenever you perform integration by parts on paper, draw this compact 2×22 \times 2 box in the right-hand margin of your notebook:

┌─────────────────────────┬─────────────────────────┐
│  u  = [ picked via LIATE ]│  dv = [ remaining part ]│
│                         │                         │
│  du = u' dx (differentiate) v = ∫ dv (integrate)  │
└─────────────────────────┴─────────────────────────┘

[!NOTE] When integrating dvdv to find vv, you do not need to add a constant +C+ C inside the box (we choose C=0C = 0 for convenience). The single master constant +C+ C is appended at the very end of the problem.


4. Step-by-Step Notebook Examples

Example 1: Classic Product (Algebraic ×\times Trigonometric)

Problem: Evaluate the indefinite integral on paper:

∫xcos⁡x dx\int x \cos x \, dx

Solution:

Step 1: Apply LIATE

  • The integrand has two factors: xx (Algebraic) and cos⁡x\cos x (Trigonometric).
  • In LIATE, A comes before T.
  • Therefore, choose u=xu = x and dv=cos⁡x dxdv = \cos x \, dx.

Step 2: Construct the 2×22 \times 2 Grid

┌─────────────────────────┬─────────────────────────┐
│  u = x                  │  dv = cos x dx          │
│  du = 1 dx = dx         │  v = sin x              │
└─────────────────────────┴─────────────────────────┘

Step 3: Apply the Formula ∫u dv=uv−∫v du\int u \, dv = uv - \int v \, du

∫xcos⁡x dx=(x)(sin⁡x)−∫(sin⁡x) dx\begin{aligned} \int x \cos x \, dx &= (x)(\sin x) - \int (\sin x) \, dx \end{aligned}

Step 4: Evaluate the remaining integral Recall that ∫sin⁡x dx=−cos⁡x\int \sin x \, dx = -\cos x:

=xsin⁡x−(−cos⁡x)+C=xsin⁡x+cos⁡x+C\begin{aligned} &= x \sin x - (-\cos x) + C \\ &= x \sin x + \cos x + C \end{aligned}

Step 5: Check by differentiating

ddx(xsin⁡x+cos⁡x)=(1⋅sin⁡x+xcos⁡x)−sin⁡x=xcos⁡x✓\frac{d}{dx}(x \sin x + \cos x) = (1 \cdot \sin x + x \cos x) - \sin x = x \cos x \quad \checkmark

Example 2: The "Hidden Factor" 1⋅dx1 \cdot dx (Integrating ln⁡x\ln x)

Problem: Evaluate the indefinite integral:

∫ln⁡x dx\int \ln x \, dx

Solution:

At first glance, ln⁡x\ln x does not look like a product. But on paper, every integral contains the differential factor 1⋅dx1 \cdot dx!

Step 1: Apply LIATE

  • Factors: ln⁡x\ln x (Logarithmic) and 1 dx1 \, dx (Algebraic constant).
  • In LIATE, L comes before A.
  • Choose u=ln⁡xu = \ln x and dv=1 dx=dxdv = 1 \, dx = dx.

Step 2: Construct the 2×22 \times 2 Grid

┌─────────────────────────┬─────────────────────────┐
│  u = ln x               │  dv = dx                │
│  du = (1 / x) dx        │  v = x                  │
└─────────────────────────┴─────────────────────────┘

Step 3: Apply the Formula

∫ln⁡x dx=uv−∫v du=(ln⁡x)(x)−∫x(1x dx)\begin{aligned} \int \ln x \, dx &= u v - \int v \, du \\ &= (\ln x)(x) - \int x \left(\frac{1}{x} \, dx\right) \end{aligned}

Step 4: Simplify and Integrate Notice that x⋅1x=1x \cdot \frac{1}{x} = 1:

=xln⁡x−∫1 dx=xln⁡x−x+C\begin{aligned} &= x \ln x - \int 1 \, dx \\ &= x \ln x - x + C \end{aligned}

Factoring out xx:

=x(ln⁡x−1)+C= x(\ln x - 1) + C

Example 3: The Looping ("Boomerang") Integral

Problem: Evaluate the indefinite integral:

I=∫exsin⁡x dxI = \int e^x \sin x \, dx

Solution:

This is a classic exam favorite. The exponential exe^x and trigonometric sin⁡x\sin x reproduce each other indefinitely when differentiated or integrated. Watch how we solve for the unknown integral II algebraically!

Pass 1: First Integration by Parts

  • By LIATE, T (Trigonometric: sin⁡x\sin x) comes before E (Exponential: exe^x).
  • Set u=sin⁡xu = \sin x and dv=ex dxdv = e^x \, dx.
┌─────────────────────────┬─────────────────────────┐
│  u = sin x              │  dv = eˣ dx             │
│  du = cos x dx          │  v = eˣ                 │
└─────────────────────────┴─────────────────────────┘

Apply the formula:

I=exsin⁡x−∫excos⁡x dx— (Equation 1)I = e^x \sin x - \int e^x \cos x \, dx \qquad \text{--- (Equation 1)}

Pass 2: Second Integration by Parts To evaluate the new integral ∫excos⁡x dx\int e^x \cos x \, dx, we apply integration by parts a second time.

[!CRITICAL] You must keep the same hierarchy! Choose u=cos⁡xu = \cos x (Trigonometric) and dv=ex dxdv = e^x \, dx (Exponential). If you swap them now, you will undo your previous step and get 0=00 = 0.

┌─────────────────────────┬─────────────────────────┐
│  u = cos x              │  dv = eˣ dx             │
│  du = -sin x dx         │  v = eˣ                 │
└─────────────────────────┴─────────────────────────┘

Evaluate the second integral:

∫excos⁡x dx=excos⁡x−∫ex(−sin⁡x) dx=excos⁡x+∫exsin⁡x dx\int e^x \cos x \, dx = e^x \cos x - \int e^x (-\sin x) \, dx = e^x \cos x + \int e^x \sin x \, dx

Pass 3: Substitute Back into Equation 1 Substitute this result into Equation 1, paying close attention to parentheses:

I=exsin⁡x−[excos⁡x+∫exsin⁡x dx]I=exsin⁡x−excos⁡x−∫exsin⁡x dx\begin{aligned} I &= e^x \sin x - \left[ e^x \cos x + \int e^x \sin x \, dx \right] \\ I &= e^x \sin x - e^x \cos x - \int e^x \sin x \, dx \end{aligned}

Notice that the integral on the right-hand side is our original integral II!

I=ex(sin⁡x−cos⁡x)−II = e^x (\sin x - \cos x) - I

Pass 4: Solve for II Algebraically Add II to both sides of the equation:

2I=ex(sin⁡x−cos⁡x)2I = e^x (\sin x - \cos x)

Divide both sides by 22 and append +C+ C:

I=ex2(sin⁡x−cos⁡x)+CI = \frac{e^x}{2}(\sin x - \cos x) + C

5. Common Mistakes & Paper Traps

[!CAUTION] Trap 1: The Minus Sign Distribution Disaster. When performing repeated integration by parts, the outer negative sign must distribute across both terms of the inner bracket:

uv1−(u2v2−∫v2 du2)=uv1−u2v2+∫v2 du2uv_1 - \left( u_2 v_2 - \int v_2 \, du_2 \right) = uv_1 - u_2 v_2 + \int v_2 \, du_2

Missing the sign flip inside the brackets is the single most common calculation error on paper.

[!WARNING] Trap 2: Flipping Choices in Repeated Parts. If you pick uu to be trigonometric in the first pass, you must pick uu to be trigonometric in the second pass. If you pick uu as exponential in the second pass, the terms will cancel completely, leaving you with I=II = I (or 0=00 = 0).

[!WARNING] Trap 3: Mixing up the directions in the 2×22 \times 2 grid. Remember: The left column goes DOWN by differentiation (u→du=u′dxu \to du = u' dx). The right column goes UP by integration (dv→v=∫dvdv \to v = \int dv). Never integrate uu or differentiate dvdv!


6. Pencil & Paper Practice

Solve these problems on paper before reading the step-by-step solutions below.

Practice 1

Evaluate the indefinite integral on paper:

∫xe2x dx\int x e^{2x} \, dx

Practice 2

Evaluate the indefinite integral on paper:

∫x2ln⁡x dx\int x^2 \ln x \, dx

Solutions to Practice Problems

Solution to Practice 1:

  1. Apply LIATE:
    • xx is Algebraic (A), e2xe^{2x} is Exponential (E).
    • Let u=xu = x and dv=e2x dxdv = e^{2x} \, dx.
  2. Build the 2×22 \times 2 grid:
    • du=dxdu = dx
    • v=∫e2x dx=12e2xv = \int e^{2x} \, dx = \frac{1}{2} e^{2x}
  3. Apply the Formula:
    ∫xe2x dx=(x)(12e2x)−∫(12e2x) dx=12xe2x−12∫e2x dx=12xe2x−12(12e2x)+C=12xe2x−14e2x+C=14e2x(2x−1)+C\begin{aligned} \int x e^{2x} \, dx &= (x)\left(\frac{1}{2} e^{2x}\right) - \int \left(\frac{1}{2} e^{2x}\right) \, dx \\ &= \frac{1}{2} x e^{2x} - \frac{1}{2} \int e^{2x} \, dx \\ &= \frac{1}{2} x e^{2x} - \frac{1}{2} \left(\frac{1}{2} e^{2x}\right) + C \\ &= \frac{1}{2} x e^{2x} - \frac{1}{4} e^{2x} + C = \frac{1}{4} e^{2x}(2x - 1) + C \end{aligned}

Solution to Practice 2:

  1. Apply LIATE:
    • ln⁡x\ln x is Logarithmic (L), x2x^2 is Algebraic (A).
    • In LIATE, L comes before A!
    • Therefore, choose u=ln⁡xu = \ln x and dv=x2 dxdv = x^2 \, dx.
  2. Build the 2×22 \times 2 grid:
    • du=1x dxdu = \frac{1}{x} \, dx
    • v=∫x2 dx=x33v = \int x^2 \, dx = \frac{x^3}{3}
  3. Apply the Formula:
    ∫x2ln⁡x dx=(ln⁡x)(x33)−∫(x33)(1x dx)=x33ln⁡x−13∫x2 dx=x33ln⁡x−13(x33)+C=13x3ln⁡x−19x3+C=x39(3ln⁡x−1)+C\begin{aligned} \int x^2 \ln x \, dx &= (\ln x)\left(\frac{x^3}{3}\right) - \int \left(\frac{x^3}{3}\right) \left(\frac{1}{x} \, dx\right) \\ &= \frac{x^3}{3} \ln x - \frac{1}{3} \int x^2 \, dx \\ &= \frac{x^3}{3} \ln x - \frac{1}{3}\left(\frac{x^3}{3}\right) + C \\ &= \frac{1}{3} x^3 \ln x - \frac{1}{9} x^3 + C = \frac{x^3}{9}(3\ln x - 1) + C \end{aligned}

Test yourself

According to the LIATE rule, what should be chosen as uu for the integral ∫xsin⁡(3x) dx\int x \sin(3x) \, dx?

  1. u=sin⁡(3x)u = \sin(3x) because trigonometric functions are easy to differentiate.
  2. u=xu = x because algebraic functions rank higher than trigonometric functions in LIATE.
  3. u=3xu = 3x as an inner substitution.
  4. u=xsin⁡(3x)u = x \sin(3x)

What is the result of evaluating ∫ln⁡(x) dx\int \ln(x) \, dx?

  1. 1x+C\frac{1}{x} + C
  2. xln⁡x−x+Cx \ln x - x + C
  3. xln⁡x+x+Cx \ln x + x + C
  4. (ln⁡x)22+C\frac{(\ln x)^2}{2} + C

When evaluating ∫x2ex dx\int x^2 e^x \, dx using integration by parts, how many times must the by-parts formula be applied?

  1. Once
  2. Twice
  3. Three times
  4. It cannot be solved by parts