Techniques of Integration

AP Calculus AB/BC · Advanced Placement

Techniques of Integration: the big picture

Most integrals arising in practice need more than the basic table, and this chapter collects the standard tools. Integration by parts, ∫u dv = uv − ∫v du, reverses the product rule; it handles products such as x eˣ, x sin x and ln x (with dv = dx), and repeated or cyclic use evaluates integrals like ∫eˣ sin x dx. Trigonometric integrals of powers of sine, cosine, tangent and secant are tamed with identities: save one factor for du and convert the rest using sin² + cos² = 1 or the half-angle formulas. Trigonometric substitution replaces √(a² − x²), √(a² + x²) and √(x² − a²) with a sin θ, a tan θ and a sec θ, turning roots into trigonometric functions. Partial fractions split a rational function into simple pieces (linear and irreducible quadratic denominators) whose integrals are logarithms and arctangents. A strategy for integration combines these with simplification and substitution, and computer algebra systems decide when an elementary antiderivative exists at all. When none does — as for e^(−x²) — numerical methods take over: the midpoint, trapezoidal and Simpson's rules with error bounds that shrink like 1/n² or 1/n⁴. Improper integrals extend integration to infinite intervals and to integrands with vertical asymptotes, defined as limits; they converge or diverge, and comparison tests decide which without computing them.

Integration by Parts & Trigonometric Integrals

Integration by parts undoes the product rule: ∫u dv = uv − ∫v du. Choose u to be something that gets simpler when differentiated (a polynomial or ln x) and dv something you can integrate (eˣ, sin x, cos x). For ∫x eˣ dx take u = x, dv = eˣ dx to get x eˣ − eˣ + C. Sometimes you use parts twice and the original integral reappears, so you solve for it algebraically. Integrals of powers of sine and cosine yield to identities: save one factor to pair with the derivative, and convert the rest with sin²x + cos²x = 1 or the half-angle formulas.

{{illustration:calc-l07-f1}}

{{illustration:calc-l07-f2}}

Key relations

- Integration by parts. ∫ u dv = uv − ∫ v du ; ∫ₐ^b u dv = [uv]ₐ^b − ∫ₐ^b v du

Trigonometric Substitution & Partial Fractions

Square roots like √(a² − x²) come from circles, and trigonometric substitution exploits that: put x = a sin θ and the root becomes a cos θ. Likewise √(a² + x²) uses x = a tan θ and √(x² − a²) uses x = a sec θ. Afterwards, convert back with a right-triangle sketch. Partial fractions handle rational functions: factor the denominator and split the fraction into simple pieces, such as 1/((x − 1)(x + 2)) = (1/3)/(x − 1) − (1/3)/(x + 2). Each piece integrates to a logarithm (or an arctangent for irreducible quadratics).

{{illustration:calc-l07-f3}}

{{illustration:calc-l07-f4}}

Key relations

- Substitutions and decompositions. √(a² − x²) : x = asinθ ; 1/((x − p)(x − q)) = A/(x − p) + B/(x − q)

Approximate Integration & Improper Integrals

When no antiderivative is available — or you only have data — approximate. The trapezoidal rule joins sample points with straight lines; the midpoint rule uses the height in the middle of each strip; Simpson's rule fits parabolas through triples of points and is far more accurate. Doubling n cuts the trapezoid and midpoint errors by about 4 and Simpson's error by about 16. An improper integral has an infinite limit or an integrand that blows up; it is defined as a limit. ∫₁^∞ dx/xᵖ converges when p > 1 and diverges when p ≤ 1 — the basis for comparison tests.

{{illustration:calc-l07-f5}}

{{illustration:calc-l07-f6}}

Key relations

- Simpson's rule and improper integrals. Sₙ = (Δx)/3[f₀ + 4f₁ + 2f₂ + ⋯ + 4f_(n−1) + fₙ] ; ∫₁^(∞)dx/(x^p) = 1/(p − 1) (p > 1)