Integration Techniques and Improper Integrals
Integration techniques are pattern-recognition tools for finding antiderivatives and evaluating definite integrals. Substitution reverses the chain rule. Integration by parts reverses the product rule. Partial fractions break rational functions into simpler pieces. Improper integrals extend definite integrals to infinite intervals and unbounded integrands through limits.
No single technique solves every integral. The work is to identify structure, transform the integral without changing its value, and check whether the result is an antiderivative, a convergent improper integral, or a divergent expression.
Definitions
Substitution uses a new variable and . It is most useful when the integrand contains a composite function and a constant multiple of the inside derivative.
Integration by parts is
It follows from the product rule:
Partial fractions apply to rational functions
after polynomial division if necessary. The denominator is factored, and the fraction is written as a sum of simpler rational terms.
An improper integral over an infinite interval is defined by a limit:
An integral with an infinite discontinuity at is also improper:
If the defining limit exists as a finite number, the improper integral converges. Otherwise it diverges.
Key results
Substitution for definite integrals changes the limits as well as the integrand. If , then
Changing limits prevents accidental substitution back to .
Integration by parts is useful when the integrand is a product and differentiating one factor makes it simpler. A common guideline for choosing is LIATE: logarithmic, inverse trigonometric, algebraic, trigonometric, exponential. This is only a heuristic; the real test is whether the remaining integral becomes simpler.
For rational functions, factor the denominator into linear and irreducible quadratic factors. Repeated factors require repeated terms. For example,
The -integral test for improper integrals states:
Near zero,
Comparison tests extend these facts. If and converges, then converges. If and diverges, then diverges.
Trigonometric integrals often use identities such as
Trigonometric substitution converts radicals such as using , but it must be paired with triangle-based back-substitution or careful inverse trigonometric notation.
A useful first step is to decide whether the goal is an antiderivative or a definite value. Some definite integrals are easiest through symmetry, geometry, or a substitution that changes the bounds. Some antiderivatives are not elementary at all, even though the corresponding definite integral can be approximated accurately. For example, has no elementary antiderivative, but definite integrals involving are central in probability.
Substitution should be checked by differentiating the chosen . If , then . The integrand must contain up to a constant factor, or it must be transformed in another way. If the remaining expression still contains both and , the substitution has not completed the conversion.
Integration by parts may need to be repeated. Integrals such as reduce the power of one step at a time. Integrals such as cycle back to the original integral; in that case, apply parts twice and solve algebraically for the original integral.
Improper integrals require checking every problematic point. If an integral is improper at both endpoints, split it:
Each piece must converge. If either piece diverges, the original improper integral diverges. Cancellation across an infinite discontinuity is not allowed unless the problem specifically asks for a Cauchy principal value, which is a different concept.
Comparison tests usually need nonnegative functions. If the integrand changes sign, absolute convergence may be studied by applying comparison to . Conditional convergence is more subtle and appears again in series.
Partial fractions require careful algebra before integration starts. If the denominator has an irreducible quadratic such as , the numerator over that factor should be linear:
If the denominator contains , include both
Missing repeated-factor terms is a common reason partial fraction systems fail.
For trigonometric integrals, parity guides the method. If a power of sine is odd, save one sine factor and convert the remaining even power using . If a power of cosine is odd, save one cosine factor and convert the remaining even power using . If both powers are even, half-angle identities are often the cleanest route.
Numerical integration is also a legitimate technique when an exact antiderivative is unavailable or unnecessary. Midpoint, trapezoidal, and Simpson rules approximate definite integrals from function values. They do not replace convergence checks for improper integrals, but they are useful after the interval has been made finite and the integrand is well behaved.
Visual
| Integral pattern | Likely technique | Reason |
|---|---|---|
| Composite with inside derivative | substitution | reverses chain rule |
| Product where one factor simplifies | integration by parts | reverses product rule |
| Rational function | partial fractions | decomposes denominator factors |
| Powers of sine and cosine | trig identities or substitution | uses parity and identities |
| Radical | trig substitution | matches sine/cosine identity |
| Infinite interval or vertical asymptote | improper limit | integral defined by convergence |
Worked example 1: integration by parts
Problem. Evaluate
Method.
- Choose
- Then
- Apply integration by parts:
- Substitute:
- Integrate the remaining term:
- Factor if desired:
Checked answer. Differentiate:
So the antiderivative is correct.
Worked example 2: improper integral convergence
Problem. Determine whether
converges, and evaluate it if it does.
Method.
- Write the integral as a limit:
- Find an antiderivative:
- Evaluate from to :
- Simplify:
- Take the limit:
Checked answer. The improper integral converges and equals . This agrees with the -integral test because .
The finite value has a geometric interpretation: the tail from to infinity has total area even though the interval is infinitely long. The function decreases fast enough that the accumulated area remains finite. In contrast, decreases too slowly:
diverges.
The comparison with is one of the most important benchmarks in calculus. Powers just larger than converge on , while and slower decays diverge. On the other hand, near the inequality reverses: is integrable near , but is not.
A final verification step is to differentiate any proposed antiderivative. For definite integrals, also check whether the numerical sign and size are plausible. A positive integrand on a positive-length interval cannot have a negative integral, and a bounded integrand satisfies simple area bounds such as
when throughout the interval under consideration carefully.
Code
def midpoint_integral(f, a, b, n=10000):
h = (b - a) / n
total = 0.0
for i in range(n):
total += f(a + (i + 0.5) * h)
return total * h
def improper_tail_estimate(B):
return midpoint_integral(lambda x: 1 / x**3, 1, B) + 1 / (2 * B**2)
for B in [5, 10, 50]:
print(B, improper_tail_estimate(B))
Common pitfalls
- Using substitution without changing into .
- Forgetting to change bounds in a definite integral after substitution.
- Choosing in integration by parts so the remaining integral becomes harder.
- Skipping polynomial division before partial fractions when the numerator degree is at least the denominator degree.
- Treating an improper integral as ordinary endpoint substitution. The limit is part of the definition.
- Assuming a decreasing positive integrand always has a finite area over an infinite interval.
- Forgetting absolute values in antiderivatives such as .
Connections
- Definite Integrals and the Fundamental Theorem: techniques depend on antiderivatives and definite integral evaluation.
- Applications of Integrals: applied problems often require selecting an integration technique.
- Sequences and Series: improper integral comparison supports the integral test.
- Power Series and Taylor Polynomials: series can approximate difficult integrals.