Skip to main content

Thomas’ Calculus · Chapter 08 · Section 8.2

By Muhammad Abdullah Athar · SymPy Verified

Integration by Parts

❦

Read this page the way you would a book: first the notes, then the key ideas, then every worked example in order — each step explains not only what to do, but why it works.

Part One

Section Notes

❧

Section 8.2: Integration by Parts

Integration by parts evaluates integrals containing products of algebraic and transcendental functions.


1. LIATE Selection Guide for uu

  1. L - Logarithmic functions (ln⁡x\ln x)
  2. I - Inverse trigonometric functions (arcsin⁡x,arctan⁡x\arcsin x, \arctan x)
  3. A - Algebraic powers (xnx^n)
  4. T - Trigonometric functions (sin⁡x,cos⁡x\sin x, \cos x)
  5. E - Exponential functions (exe^x)

2. Definite Integral by Parts

∫abu dv=[uv]ab−∫abv du\int_a^b u \, dv = [u v]_a^b - \int_a^b v \, du

Part Two

Key Ideas to Remember

2 essential statements for this section, each with a plain-words explanation.

Theorem #1Sec 8.2

Integration by Parts Formula

∫u dv=uv−∫v du\int u \, dv = u v - \int v \, du

Derived from the Product Rule of differentiation d(uv) = u dv + v du. Enables transforming an integral of a product into an easier integral by differentiating u and integrating dv.

Conditions: u and v are continuously differentiable

In plain words: Priority for choosing u follows LIATE rule: Logarithmic, Inverse trig, Algebraic, Trigonometric, Exponential.

Remember — Integration by parts is the integral calculus reversal of the product rule.

Rule #2Sec 8.2

Tabular Integration by Parts

∫f(x)g(x)dx=f(x)G1(x)−f′(x)G2(x)+f′′(x)G3(x)−…\int f(x) g(x) dx = f(x) G_1(x) - f'(x) G_2(x) + f''(x) G_3(x) - \dots

A rapid systematic algorithm for repeated integration by parts where polynomial f(x) is repeatedly differentiated until 0, and g(x) is repeatedly integrated.

Conditions: f(x) is a polynomial; g(x) is repeatedly integrable (sin, cos, exp)

In plain words: Eliminates repetitive bookkeeping and sign errors.

Remember — Tabular method executes repeated integration by parts instantly.

Part Three

Worked Examples

5 exercises, solved in full. Every answer has been checked symbolically with SymPy before printing.

Example 01(Section 8.2, Exercise 1)

Warm-up

Problem. Evaluate int x e^(2x) dx.

Step-by-Step Derivation (3 steps)

1

Choose u and dv

u=x  ⟹  du=dx;dv=e2xdx  ⟹  v=12e2xu = x \implies du = dx; \quad dv = e^{2x} dx \implies v = \frac{1}{2} e^{2x}

Apply LIATE rule: algebraic u = x, exponential dv = e^(2x) dx.

Why this works: Integration by parts setup.
2

Apply Integration by Parts Formula

∫u dv=uv−∫v du=x2e2x−12∫e2xdx\int u \, dv = uv - \int v \, du = \frac{x}{2} e^{2x} - \frac{1}{2} \int e^{2x} dx

Substitute u, v, du, dv.

Why this works: Formula application.
3

Integrate Remaining Term and Factor

x2e2x−14e2x+C=e2x4(2x−1)+C\frac{x}{2} e^{2x} - \frac{1}{4} e^{2x} + C = \frac{e^{2x}}{4}(2x - 1) + C

Integrate e^(2x) and factor out e^(2x)/4.

Why this works: Final simplified antiderivative.

Answer: x2e2x−14e2x+C=e2x4(2x−1)+C\frac{x}{2} e^{2x} - \frac{1}{4} e^{2x} + C = \frac{e^{2x}}{4}(2x - 1) + C

✓ Verified by SymPy CAS

Example 02(Section 8.2, Exercise 2)

Warm-up

Problem. Evaluate int ln(x) dx.

Step-by-Step Derivation (3 steps)

1

Choose u = ln(x) and dv = dx

u=ln⁡(x)  ⟹  du=1xdx;dv=dx  ⟹  v=xu = \ln(x) \implies du = \frac{1}{x} dx; \quad dv = dx \implies v = x

Treat integrand as ln(x) * 1 dx.

Why this works: Standard strategy for single transcendental functions.
2

Apply Parts Formula

∫ln⁡(x)dx=xln⁡(x)−∫x(1x)dx=xln⁡(x)−∫1 dx\int \ln(x) dx = x \ln(x) - \int x \left(\frac{1}{x}\right) dx = x \ln(x) - \int 1 \, dx

x and 1/x cancel to 1.

Why this works: Algebraic cancellation.
3

Integrate 1

xln⁡(x)−x+Cx \ln(x) - x + C

Antiderivative of 1 is x.

Why this works: Final standard antiderivative of natural log.

Answer: xln⁡(x)−x+Cx \ln(x) - x + C

✓ Verified by SymPy CAS

Example 03(Section 8.2, Exercise 3)

Core practice

Problem. Evaluate int x^2 sin(x) dx using tabular integration.

Step-by-Step Derivation (3 steps)

1

Build Differentiation and Integration Columns

SignDI+x2sin⁡(x)−2x−cos⁡(x)+2−sin⁡(x)−0cos⁡(x)\begin{array}{ccc} \text{Sign} & D & I \\ + & x^2 & \sin(x) \\ - & 2x & -\cos(x) \\ + & 2 & -\sin(x) \\ - & 0 & \cos(x) \end{array}

Repeatedly differentiate x^2 to 0 and repeatedly integrate sin(x).

Why this works: Tabular method construction.
2

Sum Diagonal Products

(+)(x2)(−cos⁡(x))+(−)(2x)(−sin⁡(x))+(+)(2)(cos⁡(x))(+)(x^2)(-\cos(x)) + (-)(2x)(-\sin(x)) + (+)(2)(\cos(x))

Multiply along descending diagonals with alternating signs.

Why this works: Tabular evaluation rule.
3

State Result

−x2cos⁡(x)+2xsin⁡(x)+2cos⁡(x)+C-x^2 \cos(x) + 2x \sin(x) + 2\cos(x) + C

Combine terms and add integration constant.

Why this works: Final evaluated antiderivative.

Answer: −x2cos⁡(x)+2xsin⁡(x)+2cos⁡(x)+C-x^2 \cos(x) + 2x \sin(x) + 2\cos(x) + C

✓ Verified by SymPy CAS

Example 04(Section 8.2, Exercise 4)

Core practice

Problem. Evaluate int e^x cos(x) dx.

Step-by-Step Derivation (3 steps)

1

First Integration by Parts

I=∫excos⁡(x)dx;u=cos⁡(x),  dv=exdx  ⟹  I=excos⁡(x)+∫exsin⁡(x)dxI = \int e^x \cos(x) dx; \quad u = \cos(x), \; dv = e^x dx \implies I = e^x \cos(x) + \int e^x \sin(x) dx

du = -sin(x) dx, v = e^x.

Why this works: First step.
2

Second Integration by Parts on Remaining Integral

u=sin⁡(x),  dv=exdx  ⟹  ∫exsin⁡(x)dx=exsin⁡(x)−∫excos⁡(x)dx=exsin⁡(x)−Iu = \sin(x), \; dv = e^x dx \implies \int e^x \sin(x) dx = e^x \sin(x) - \int e^x \cos(x) dx = e^x \sin(x) - I

The original integral I reappears on the right side.

Why this works: Cyclic reproduction of integrand.
3

Solve Algebraically for I

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

Add I to both sides and divide by 2.

Why this works: Algebraic solution for cyclic integral.

Answer: ex2(cos⁡(x)+sin⁡(x))+C\frac{e^x}{2}(\cos(x) + \sin(x)) + C

✓ Verified by SymPy CAS

Example 05(Section 8.2, Exercise 5)

Core practice

Problem. Evaluate int_0^1 arctan(x) dx.

Step-by-Step Derivation (3 steps)

1

Set Up Parts Formulation

u=arctan⁡(x)  ⟹  du=11+x2dx;dv=dx  ⟹  v=xu = \arctan(x) \implies du = \frac{1}{1 + x^2} dx; \quad dv = dx \implies v = x

Differentiate arctan and integrate 1.

Why this works: LIATE rule.
2

Apply Definite Parts Formula

∫01arctan⁡(x)dx=[xarctan⁡(x)]01−∫01x1+x2dx\int_0^1 \arctan(x) dx = [x \arctan(x)]_0^1 - \int_0^1 \frac{x}{1 + x^2} dx

Evaluate boundary term and set up remaining integral.

Why this works: Definite integration by parts.
3

Evaluate Both Terms

(1⋅arctan⁡(1)−0)−[12ln⁡(1+x2)]01=π4−12ln⁡(2)(1 \cdot \arctan(1) - 0) - \left[ \frac{1}{2} \ln(1 + x^2) \right]_0^1 = \frac{\pi}{4} - \frac{1}{2}\ln(2)

Compute arctan(1) = pi/4 and ln(2) - ln(1) = ln(2).

Why this works: Final exact value.

Answer: ∫01arctan⁡(x)dx=π4−12ln⁡(2)\int_0^1 \arctan(x) dx = \frac{\pi}{4} - \frac{1}{2}\ln(2)

✓ Verified by SymPy CAS