Integration Techniques


Integration Techniques

Anna
Today we’re looking at several integration techniques for expressions that don’t yield easily to a first attempt at substitution. We’ll build from rewriting fractions to multiplying by one, then use polynomial long division and completing the square.

Corey
The common theme is to change the form of the integrand without changing its value. Once it’s in a form whose antiderivative we recognize, the integration becomes much more manageable.

Anna
First up: splitting a fraction. Consider the definite integral from 2 to 4 of the quantity x plus 2, all over x. A substitution like u equals x plus 2 gives us du equals dx, but leaves x in the denominator; rewriting x as u minus 2 doesn’t make the integral any easier.

Corey
Instead, because the numerator has two terms, split them over the denominator: x over x plus 2 over x. That simplifies to 1 plus 2 over x, so we’ve turned one awkward-looking fraction into two familiar pieces.

Anna
Now integrate: an antiderivative is x plus 2 natural log of the absolute value of x. Evaluating from 2 to 4 gives 4 plus 2 ln 4, minus 2 plus 2 ln 2.

Corey
The constants give 2, and the logarithm terms give 2 ln 4 minus 2 ln 2. Using log rules, that’s ln 16 minus ln 4, or ln 4. So the definite integral is 2 plus ln 4, equivalently 2 plus 2 ln 2.

Anna
Here’s a trigonometric example where splitting the fraction reveals the useful pieces. Integrate the quantity sine x plus cosine cubed x, all over cosecant x. Since cosecant x is 1 over sine x, dividing by cosecant is the same as multiplying by sine.

Corey
Split the numerator terms first, then use that reciprocal identity on each one. The integrand becomes sine squared x plus sine x cosine cubed x. We’ll integrate those separately, because each calls for a different technique.

Anna
For sine squared x, a direct substitution doesn’t fit: if u were sine x, its derivative would introduce cosine x, which isn’t present. Instead, use the half-angle identity: sine squared x equals one half times one minus cosine of 2x.

Corey
Then an antiderivative of sine squared x is one half x minus one quarter sine of 2x. The factor of one half outside is important, and integrating cosine of 2x gives one half sine of 2x.

Anna
For the other term, substitution does work. Let u equal cosine x, so du equals negative sine x dx. That sine x dx is present, and the remaining cosine cubed becomes u cubed.

Corey
So the integral is negative the integral of u cubed du, which gives negative one quarter u to the fourth. Substituting back, the combined antiderivative is one half x minus one quarter sine 2x minus one quarter cosine to the fourth x, plus C.

Anna
Our next technique is called multiplying by one. For a fraction, we multiply both its numerator and denominator by the same expression. That leaves its value unchanged, but can create a form that’s much easier to integrate.

Corey
Take the integral of 1 over e to the x plus e to the negative x. Substitution isn’t immediately helpful: choosing either exponential or the whole denominator doesn’t give us a matching factor that makes the integral straightforward.

Anna
Multiply the numerator and denominator by e to the x. The numerator becomes e to the x, and the denominator becomes e to the 2x plus 1. We can also view that denominator as the quantity e to the x squared, plus 1.

Corey
Now let u equal e to the x, so du equals e to the x dx—the exact factor in the numerator. The integral becomes the integral of du over u squared plus 1, which is the inverse-tangent form.

Anna
In the formula, the integral of 1 over a squared plus u squared is one over a times inverse tangent of u over a, plus C. Here a is 1, so substituting back gives inverse tangent of e to the x, plus C.

Corey
A second example combines multiplying by one with fraction splitting and trig identities. We want the definite integral from pi over 3 to 2 pi over 3 of 1 over 1 plus cosine theta.

Anna
Multiply top and bottom by 1 minus cosine theta. In the denominator, the cross terms cancel, leaving 1 minus cosine squared theta. The identity sine squared theta plus cosine squared theta equals 1 lets us rewrite that denominator as sine squared theta.

Corey
Now split the fraction: one over sine squared theta, minus cosine theta over sine squared theta. The first term is cosecant squared theta. For the second, write it as cosine theta over sine theta times one over sine theta—that is cotangent theta times cosecant theta.

Anna
So the integrand is cosecant squared theta minus cosecant theta cotangent theta. The antiderivative of cosecant squared theta is negative cotangent theta, and the antiderivative of cosecant theta cotangent theta is negative cosecant theta.

Corey
Because the second term in our integrand has a minus sign, its antiderivative contributes positive cosecant theta. An antiderivative for the whole expression is therefore negative cotangent theta plus cosecant theta.

Anna
Evaluating at 2 pi over 3 gives the value square root of 3, while evaluating at pi over 3 gives 1 over square root of 3. Subtracting the lower value from the upper gives 2 over square root of 3.

Corey
That example shows how the techniques can work in sequence: multiply by a clever version of one, use an identity, split the fraction, and then apply familiar antiderivatives.

Anna
Next, consider the integral of x squared plus 3x minus 2, all over x plus 7. A substitution doesn’t naturally match the denominator, so we can use polynomial long division to rewrite the rational expression.

Corey
Divide x squared plus 3x minus 2 by x plus 7. First, x times x gives x squared, so put x in the quotient. Multiplying x by x plus 7 gives x squared plus 7x; subtracting leaves negative 4x minus 2.

Anna
Now negative 4 times x gives negative 4x, so put negative 4 in the quotient. Multiply to get negative 4x minus 28, then subtract: the remainder is 26. The quotient and remainder tell us the original fraction is x minus 4 plus 26 over x plus 7.

Corey
That rewritten form is easy to integrate term by term. An antiderivative is one half x squared minus 4x plus 26 times the natural log of the absolute value of x plus 7, plus C.

Anna
Long division is useful here because the numerator’s degree is greater than the denominator’s. It also works when their degrees are equal, allowing us to separate a polynomial part from a remainder fraction.

Corey
For our last technique, consider the integral of 1 over x squared minus 6x plus 13. Substitution doesn’t supply a matching factor, and long division isn’t appropriate for this fraction. We can instead complete the square in the denominator.

Anna
Take the coefficient of x, which is negative 6, divide it by 2, and square the result: negative 3 squared is 9. Add 9 and subtract 9 so the expression doesn’t change. Grouping the first three terms gives x squared minus 6x plus 9, and 13 minus 9 leaves 4.

Corey
The grouped quadratic is a perfect square: x squared minus 6x plus 9 equals the quantity x minus 3 squared. So the denominator becomes the quantity x minus 3 squared plus 4, and 4 is 2 squared.

Anna
Let u equal x minus 3, so du equals dx. Now the integral matches the form 1 over u squared plus a squared, whose antiderivative is one over a times inverse tangent of u over a, plus C. Here a is 2.

Corey
Substitute back for u, and the answer is one half inverse tangent of the quantity x minus 3 over 2, plus C. Completing the square made a quadratic denominator match a standard inverse-tangent formula.

Anna
So keep these transformations in mind: split a fraction when its numerator has multiple terms, multiply by one when that reveals a useful structure, use long division for suitable rational functions, and complete the square when a quadratic can be put into a familiar form.

Ask anything
We've read this whole study set, so questions about it get the best answers.