LECTURE 18

Integration Techniques

The toolkit for harder integrals

The normalization integral for the quantum harmonic oscillator ground state:

$$\int_{-\infty}^{\infty} x^2 e^{-\alpha x^2} \, dx = \, ?$$

This isn't a simple substitution. The $x^2$ and $e^{-\alpha x^2}$ are tangled together.

You need integration by parts.

Or consider consecutive reactions A → B → C requiring partial fractions decomposition.

You need partial fractions.

When to Use Which Technique

Integrand looks like... Technique
Product of two different types Integration by parts
(polynomial) × (exp, sin, cos, ln) Integration by parts
Rational function P(x)/Q(x) Partial fractions
√(a² - x²) Trig sub: x = a sin θ
√(a² + x²) Trig sub: x = a tan θ
√(x² - a²) Trig sub: x = a sec θ
Powers of sin and cos Trig identities

Integration by Parts

The Formula

From the product rule: $(uv)' = u'v + uv'$

Rearrange and integrate:

$$\int u \, dv = uv - \int v \, du$$

The LIATE Rule

Choose u in this priority order (earlier = better choice for u):

  • L Logarithmic (ln x, log x)
  • I Inverse trig (arctan, arcsin)
  • A Algebraic (x, x², polynomials)
  • T Trigonometric (sin, cos, tan)
  • E Exponential (eˣ, aˣ)

Example 1: ∫ x eˣ dx

Identify: x (algebraic) × eˣ (exponential)

By LIATE: A comes before E → u = x, dv = eˣ dx

u = xdv = eˣ dx
du = dxv = eˣ

$$\int x e^x dx = xe^x - \int e^x dx = xe^x - e^x + C = e^x(x-1) + C$$

Interactive: Integration by Parts for ∫ xⁿ eˣ dx
Antiderivative will appear here

The Tabular Method

For integrals like $\int x^n e^x dx$, use a table to organize repeated by parts:

Example: ∫ x³ eˣ dx using Tabular Method

Derivatives (u) Integrals (dv) Sign
+
3x²
6x +
6
0 +

Result: $e^x(x^3 - 3x^2 + 6x - 6) + C$

Multiply diagonally, alternating signs!

Example: ∫ ln x dx

Clever trick: write as ln x · 1

u = ln x, dv = dx → du = (1/x)dx, v = x

$$\int \ln x \, dx = x\ln x - \int x \cdot \frac{1}{x} dx = x\ln x - x + C = x(\ln x - 1) + C$$

Partial Fractions

For rational functions $\frac{P(x)}{Q(x)}$ where degree(P) < degree(Q).

Factor the denominator, then decompose into simpler fractions.
Each simple fraction is easy to integrate.

Case 1: Distinct Linear Factors

$$\frac{1}{(x-a)(x-b)} = \frac{A}{x-a} + \frac{B}{x-b}$$

Interactive: Partial Fraction Decomposition
Decomposition will appear here

Case 2: Repeated Linear Factors

$(x-a)^n$ in denominator requires:

$$\frac{A_1}{x-a} + \frac{A_2}{(x-a)^2} + \cdots + \frac{A_n}{(x-a)^n}$$

Case 3: Irreducible Quadratic Factors

$(x^2 + bx + c)$ in denominator:

$$\frac{Ax + B}{x^2 + bx + c}$$

Example: ∫ (2x+3)/(x²+1) dx

Split into two parts:

$$= \int \frac{2x}{x^2+1} dx + \int \frac{3}{x^2+1} dx$$

$$= \ln(x^2+1) + 3\arctan(x) + C$$

Trigonometric Substitution

For integrands containing square roots of quadratics:

Expression Substitution Identity used
√(a² - x²) x = a sin θ 1 - sin²θ = cos²θ
√(a² + x²) x = a tan θ 1 + tan²θ = sec²θ
√(x² - a²) x = a sec θ sec²θ - 1 = tan²θ
Interactive: Trig Substitution Geometry
Triangle relationships will appear here

Example: ∫ 1/(x² + a²) dx

Let x = a tan θ, dx = a sec²θ dθ

x² + a² = a²tan²θ + a² = a²sec²θ

$$\int \frac{1}{x^2 + a^2} dx = \int \frac{a\sec^2\theta}{a^2\sec^2\theta} d\theta = \frac{1}{a}\int d\theta = \frac{1}{a}\arctan\left(\frac{x}{a}\right) + C$$

Chemistry Application: Second-Order Kinetics

For 2A → products with $-\frac{d[A]}{dt} = k[A]^2$:

Interactive: Second-Order Kinetics
Integrated rate law: 1/[A] = 1/[A]₀ + kt
Half-life: t₁/₂ = 20.0 s

Derivation

$$\int \frac{d[A]}{[A]^2} = -k\int dt$$

$$-\frac{1}{[A]} = -kt + C$$

At t = 0: $C = -\frac{1}{[A]_0}$

$$\frac{1}{[A]} = \frac{1}{[A]_0} + kt$$

Half-life: $t_{1/2} = \frac{1}{k[A]_0}$ — depends on initial concentration!

Chemistry Application: Gaussian Integrals

The integral $\int x^2 e^{-\alpha x^2} dx$ appears in quantum mechanics for expectation values.

Interactive: Gaussian x² Integral
∫₀^∞ x² e^(-αx²) dx = √π/(4α^(3/2)) = 0.4431

Derivation by Parts

Let u = x, dv = xe^(-αx²)dx → v = -1/(2α)e^(-αx²)

$$\int_0^{\infty} x^2 e^{-\alpha x^2} dx = \left[-\frac{x}{2\alpha}e^{-\alpha x^2}\right]_0^{\infty} + \frac{1}{2\alpha}\int_0^{\infty} e^{-\alpha x^2} dx$$

Boundary terms vanish. Using $\int_0^{\infty} e^{-\alpha x^2} dx = \frac{1}{2}\sqrt{\frac{\pi}{\alpha}}$:

$$= \frac{1}{2\alpha} \cdot \frac{1}{2}\sqrt{\frac{\pi}{\alpha}} = \frac{\sqrt{\pi}}{4\alpha^{3/2}}$$

Summary: Strategy

  1. Simplify first (algebra, trig identities)
  2. Substitution works? Try it.
  3. By parts for products of different types
  4. Partial fractions for rational functions
  5. Trig substitution for square roots of quadratics
  6. Trig identities for powers of sin/cos
  7. Tables for standard forms
  8. Numerical if all else fails

Quick Reference

Integral Result
∫ xeˣ dx eˣ(x-1) + C
∫ x sin x dx -x cos x + sin x + C
∫ ln x dx x(ln x - 1) + C
∫ 1/(x²+a²) dx (1/a) arctan(x/a) + C
∫ 1/((x-a)(x-b)) dx (1/(a-b)) ln|(x-a)/(x-b)| + C