Choosing an integration method begins with reading the integrand. The same product can become straightforward after a substitution, awkward under integration by parts, or simpler after an algebraic rewrite. A useful method exposes a derivative pattern that is already present, or replaces the problem with an easier one.
Worked examples show how the integrand’s structure guides the choice of method. They also distinguish finding an antiderivative from approximating a definite integral, which are related tasks with different outputs.
On this page
Choosing an integration method
Before introducing a new variable, simplify what is already there. Expand a short polynomial product, split a sum using linearity, or divide polynomials when the numerator has at least the denominator's degree. For instance, for . That algebra is enough to reduce its integral to two familiar terms.
A composition together with its inner derivative suggests substitution. A product in which one factor becomes simpler when differentiated may suit integration by parts. A quotient of polynomials may suit partial fractions. Powers of sine and cosine sometimes need an identity before either method becomes useful.
Choose a technique that makes the transformed integral easier to evaluate. For , substitution handles the inner square. For , integration by parts removes the factor from the remaining integral. Similar-looking products can require different reasoning.
An integrand such as has no elementary antiderivative. That does not prevent its definite integral from existing or being approximated accurately. Here, numerical integration or a convergent series is a useful alternative to forcing an elementary formula.
Substitution reverses the chain rule
The chain rule explains the method. If , then differentiating gives . Therefore, on an interval where these expressions are defined,
In substitution notation, set and write . This records the change in variable and its derivative factor. The OpenStax substitution chapter develops this connection for both indefinite and definite integrals.
Work through an indefinite integral
For , choose . Then , which accounts for the entire factor outside the cosine:
Differentiate the answer: . This checks both the outer function and the inner derivative. A leftover in an integral written entirely in would signal that the substitution was not finished.
Change the bounds as well as the variable
The example becomes . Its endpoints happen to keep the same numerical values. That coincidence does not mean bounds should normally be copied unchanged.
With different bounds, the change is visible. When , ; when , . Hence
Either change the bounds and remain in , or substitute back to before using the original bounds. Do not combine an antiderivative in one variable with endpoints from the other.
Trigonometric integrals and substitutions
These names describe two different operations. A trigonometric integral already contains trigonometric functions. Trigonometric substitution introduces them to simplify an algebraic expression, usually a radical.
Integrating trigonometric powers
In , the derivative of is present. With and ,
When that derivative factor is missing, an identity may help. Since ,
The factor matters: integrating contributes an additional factor . Angles are in radians in these derivative and integral formulas.
Replacing a radical with a trigonometric expression
Consider the reciprocal radical integral . It is not the same problem as integrating . Choose with . This interval corresponds to and makes positive.
In general, . The chosen interval justifies removing the absolute value. The substitution therefore gives
The result holds on . An integral reaching needs a one-sided improper-integral treatment because the integrand is unbounded there. The trigonometric-substitution reference explains the corresponding substitutions for other quadratic radicals.
When approximation is the right technique
A numerical rule samples a function over a specified interval. Let and . The composite trapezoidal rule joins neighbouring sample values by straight segments. For equal spacing, it gives
Composite Simpson's rule instead uses quadratic interpolation over pairs of subintervals. It requires an even positive number of equally spaced subintervals. For four subintervals,
Reproduce the Gaussian example
For , take and . Use the unrounded function values in the calculation; the table shows six-decimal approximations for reading.
| Input | , approximately | Trapezoidal weight | Simpson weight |
|---|---|---|---|
Apply the weights and multiply by or . The results are and . A higher-precision reference calculation gives .
| Method | Estimate, rounded to six decimals | Absolute error, approximately |
|---|---|---|
| Trapezoidal, | ||
| Simpson, |
Simpson's result is closer for this function and this grid. This numerical comparison is an observed error, not a universal guarantee that one rule always wins.
A bound is different from a measured error
When has a continuous second derivative and throughout , the trapezoidal error satisfies
For Simpson's rule, a continuous fourth derivative bounded by gives
These hypotheses and bounds, detailed in OpenStax's numerical-integration chapter, allow a tolerance to be justified before the exact answer is known. Merely increasing the sample count without examining a singularity does not justify applying these smooth-function bounds.
A practical decision sequence
First identify whether the task asks for an antiderivative, a definite value or convergence of an improper integral. Then inspect the domain and simplify the integrand. Test a proposed method against the structure you want to remove.
| Structure | Useful starting point | Completion check |
|---|---|---|
| Inner expression with its derivative | Substitution | Every variable and bound is accounted for. |
| Polynomial times exponential or trigonometric function | Integration by parts | The remaining polynomial degree falls. |
| Quotient of polynomials | Division, then partial fractions where useful | Decomposition recombines to the original rational function. |
| Trigonometric powers | Identity followed by substitution | The derivative factor and angle scale are correct. |
| Quadratic radical | Trigonometric substitution | The substitution interval justifies root signs. |
| Definite integral without a convenient elementary antiderivative | Numerical rule or convergent series | The approximation has a stated method and defensible error control. |
Finally, differentiate an indefinite answer or check the scale, sign and bounds of a definite one. If a substitution or parts choice produces a harder integral, return to the original expression rather than continuing only because a method has been started.
Related topics
Develop the product-rule method in Integration by Parts and the algebraic method in Partial Fractions and Rational Functions. Before evaluating an integral with an infinite bound or an unbounded integrand, use the limiting definitions in Improper Integrals. For approximation methods and error control, continue to Numerical Integration.
Practice questions
What substitution is suggested by ?
Evaluate .
Why can numerical integration be useful for , and what should accompany its answer?
Check your answers
-
Choose , so . Integrating and substituting back gives .
-
The substitution maps the endpoints to . Thus the value is .
-
The integrand has no elementary antiderivative, but the definite integral exists. Report the numerical method, its sample spacing or count, and an error bound or a clearly labelled comparison with a more accurate calculation.
Sources and further reading
- OpenStax Calculus Volume 2: Substitution. Indefinite and definite substitution.
- OpenStax: Trigonometric Substitution. Radical substitutions and interval choices.
- OpenStax: Numerical Integration. Composite rules, hypotheses and error bounds.
- Wolfram Language: Calculus. Independent symbolic calculation reference; not a substitute for the reasoning shown here.
