Integration Techniques

2.1 Trigonometric Integrals
Sine and cosine
These integrals are of the form
where and are non-negative integers. There are two cases:
(i). either or (or both) are odd;
(ii). both and are even.
For (i). suppose that is odd. Then, we can use the substitution with the identity
to evaluate the integral.
Example. Evaluate the integral
We use the substitution to yield
If is odd then we use the substitution . If both and are odd, then either substitution will work.
Example. Evaluate the integral .
This time we use .
For (ii). where both and are even we use an entirely different approach. This time we use the identities
to change the integrals into the form
We can then repeat the methods of either case until the integral in the sum is easy to compute.
Example. Evaluate .
Using the identities,
The first integrand of is an even power of and is evaluated using the first identity:
The second integrand of (2.3) is an odd power of . The substitution
gives
Thus we obtain
Integrating multiple angles of sine and cosine
These integrals consist of integrals in the form:
where and are real numbers.
Note
Lemma
Suppose that and are real numbers. Then,
Example. Evaluate
Using the identity,
Example. Evaluate .
Using the third identity with and ,
Therefore, the integral is — no heavy algebra required. In fact, whenever and are distinct positive integers (and the same happens for ); basically the two waves are "orthogonal" over a full period, which is the starting point of Fourier series in second year. Checking whether the multiple-angle terms vanish at the limits before grinding through the algebra can save you a lot of time in an exam.
Integrating powers of and
This section is too easy so imma just paste an image

2.2 Reduction Formulae
For non-obvious trigonometric reductions, you're more likely to just use integration by parts.
A reduction formula expresses an integral that depends on a parameter in terms of a 'smaller' integral of the same type (usually or ). Once you have one, big powers get knocked down step by step until you land on a base case like or , which has to be computed directly. Occasionally an identity alone does the job, as in the first example below; every other derivation in this section needs integration by parts.
Example. Suppose that whenever . Show that
and hence evaluate .
By the identity ,
where the first integral was done by inspection, since it is of the form with . Now apply the formula repeatedly:
Therefore, . It is important to remember that the base case must be evaluated directly, since the reduction formula is only valid when .
Powers of sine and cosine
Note
Theorem (Reduction formula for )
Suppose that whenever . Then
Proof. Apply integration by parts with
Then
using in the third line. Gathering the terms on the left-hand side gives
and dividing both sides by gives the result.
Basically, you peel one factor of off to integrate by parts, and the Pythagorean identity smuggles back onto the right-hand side; "solving for the integral" is what produces the formula. It is the same trick used for . Swapping the roles of and gives the analogous formula
Over the boundary term vanishes at both ends (since and ), so both formulae collapse to
and identically for .
Example. Evaluate .
Applying the boxed formula twice,
Therefore, ; notice how the odd power stops at the base case , which is integrated directly.
Example. Find .
The reduction formula gives
Substituting into ,
This is exactly what the double-angle identities of 2.1 would give (up to trig identities), but with far less algebra; for something like the reduction formula is basically the only sane option.
Two-parameter reduction formulae
Some reduction formulae carry two parameters instead of one.
Note
Theorem
Suppose that whenever and are nonnegative integers. Then
Proof. For the first formula, apply integration by parts with
Then
since the boundary term vanishes at both ends and . Gathering the terms to the left (the same trick as the sine formula) gives
and multiplying both sides by gives the first formula. The second formula is proved similarly.
Example. Evaluate .
Use the first formula to reduce , then the second to reduce :
Therefore, the integral equals . Do not forget that the recursion bottoms out at , which must be evaluated directly. As a sanity check, the substitution swaps and , so ; evaluating gives the same .
Reduction formulae beyond trigonometry
Nothing about reduction formulae is specifically trigonometric; any integrand with a power of in it is fair game, and exam questions like using or here.
Example. Suppose that . Show that
and hence evaluate .
Integration by parts with , , and gives
as required. The base case is
Now iterate upwards:
Therefore, .
A reduction formula for powers of
This one connects back to the and section of 2.1; powers of appear constantly after a substitution (see 2.3), so it is worth knowing how to derive this.
Example. Show that if , then
and hence find .
Write and integrate by parts with
where comes from ; differentiating a power of conveniently keeps everything in powers of and . Then
Gathering the terms gives
and dividing by gives the formula. Applying it with ,
Therefore, .
As a short remark: reduction formulae are the key ingredient in a famous proof that is irrational. Assuming for positive integers and , one defines , proves the reduction formula by two applications of integration by parts, and deduces by induction that every is an integer. But since , we also get for large — a contradiction. This is [X] (extension) material, so it is not examinable.
2.3 Trigonometric and Hyperbolic Substitutions
There is no systematic way of finding the right substitution for a general integral; however, integrals containing the square root of a quadratic (i.e. surds of the form ) almost always yield to a trigonometric or hyperbolic substitution. The table below tells you which one to try.
| Expression in integrand | Trigonometric substitution | Hyperbolic substitution |
|---|---|---|
Basically, each substitution is chosen so that a Pythagorean-type identity turns the expression under the root into a perfect square:
Whether the trigonometric or hyperbolic option is faster depends on the particular integral, but in general the trigonometric ones are favoured because once the integration is done in , it is easier to restate the answer in terms of (you just draw a right triangle).
Example. Evaluate .
The substitution , yields
using the double angle formulae for and then . To state the answer in terms of , draw a right triangle containing the angle : since , put on the side opposite and on the hypotenuse, so the adjacent side is by Pythagoras. Reading off the triangle, and , hence
This triangle trick is how you convert back at the end of almost every trigonometric substitution, so make sure you are comfortable with it.
Example. Evaluate .
Since , this is still a surd of a quadratic in disguise, so we use , together with :
Now the triangle: , so put opposite, adjacent, and the hypotenuse is . Thus and
Example. Use the substitution to evaluate .
With , , the identity gives . Hence
where the odd power of was handled with the substitution , — exactly like odd powers of back in 2.1. Since ,
Notice how with hyperbolic substitutions you convert back to through the identity itself (), no triangle needed. The same integral can also be done with ; it is a good exercise to check you get the same answer.
Example. Evaluate .
The quadratic does not match the table until we complete the square:
This is now the pattern (with playing the role of ), so substitute , :
Using , the answer can also be written as . This is a case where the hyperbolic option beats the trigonometric one: leads to , which is doable but uglier. If the quadratic under the root has a linear term, always complete the square first; none of the standard substitutions apply until you do.
Example. Evaluate .
Substitute , , and convert the limits: when , ; when , so . Then
Therefore, the integral equals . When substituting in a definite integral, convert the limits of integration as well; then there is no need to convert the antiderivative back to at all.
2.4 Integrating Rational Functions
The punchline of this section: every rational function has an antiderivative among the elementary functions, and there is a completely systematic procedure for finding it. First, some terminology.
Note
Definition
A rational function is a function of the form
where and are polynomials. We say that is proper if , and improper if . A quadratic polynomial is irreducible if it has no real linear factors; equivalently, is irreducible if its discriminant is negative.
Basically, proper means bottom-heavy (like ) and improper means top-heavy (like ); just as , an improper rational function splits into a polynomial plus a proper part via polynomial division. Irreducible quadratics are the ones that refuse to factorise over the reals, like or ; they are the reason shows up in the answers.
Before the general strategy, a warm-up that revises the two key tactics for irreducible quadratic denominators.
Example. Evaluate .
The first tactic is to force the derivative of the denominator () onto the numerator:
The first integral is of the form and becomes a . For the second, the second tactic: complete the square in the denominator,
Hence
Every proper rational function with an irreducible quadratic denominator is integrated exactly like this; part of it becomes a and the rest becomes a .
The overall strategy
- If the rational function is improper, use polynomial division to write as a polynomial plus a proper rational function. The polynomial is trivial to integrate, so we only ever need to worry about proper rational functions.
- Every proper rational function can be written as a unique sum of functions of the form
where is irreducible. This sum is called the partial fractions decomposition of .
3. Integrate each term of the decomposition using (after completing the square or a simple substitution) the standard formulae
Do not forget the factor of in front of ; it is probably the single most commonly dropped term in this whole topic.
Partial fraction decompositions
To find the decomposition of a proper rational function , factorise the denominator as far as possible into real linear factors and real irreducible quadratic factors; the factorisation determines the form of the decomposition, and then the constants are found by algebra. There are a few cases.
Case 1: distinct linear factors. Each factor contributes one term with a constant on top:
Example. Find the partial fractions decomposition of .
Factorising, , so the decomposition takes the form
Multiplying through by gives the polynomial identity
Since this holds for all , we may substitute the root of each linear factor to isolate one constant at a time:
Hence
which you can (and should) verify by putting the right-hand side back over a common denominator.
Case 2: repeated linear factors. A factor contributes terms, one for each power up to :
Note carefully that every power of the repeated factor appears in the decomposition, not just the highest one.
Example. Find the partial fractions decomposition of .
The decomposition takes the form
Multiplying through by ,
The roots determine and :
There is no third root to substitute, so pick any other small integer (or compare coefficients of ):
Hence
Case 3: irreducible quadratic factors. Each irreducible quadratic contributes a term with a linear numerator:
The numerator over an irreducible quadratic is , not just a constant; forgetting the is a classic mistake.
Example. Find the partial fractions decomposition of .
The quadratic has discriminant , so it is irreducible and the decomposition takes the form
Multiplying through by ,
Substituting suitable values of :
Hence
Case 4: repeated irreducible quadratic factors. The pattern combines Cases 2 and 3: each power gets a linear numerator, e.g.
This case basically never shows up in first year (way too much arithmetic), so knowing the form is enough.
Example. Write down the form of the partial fractions decomposition of
(No need to evaluate the constants.) The repeated linear factor contributes three terms, the distinct linear factor contributes one, contributes two linear-numerator terms and the irreducible (discriminant ) contributes one:
where are real constants.
Before writing down the form of a decomposition, check that the denominator is completely factorised and that every quadratic factor really is irreducible; is not irreducible — it factorises as and contributes two linear terms, not a term.
Putting it all together: two full examples
Example. Find .
Step 1. The integrand is improper (degree over degree ), so we divide. Polynomial division gives
and hence
Step 2. Factorise the denominator: , so
Multiplying through,
and substituting the roots:
Step 3. Combining everything,
Do not forget the in ; the derivative of is , not .
Example. Find .
The integrand is proper and the denominator is completely factorised ( has discriminant , so it is irreducible), so we go straight to the decomposition:
Multiplying through,
and hence
The first term integrates immediately to , so we focus on the second. Writing to get the derivative of the denominator on top,
Putting everything together,
Notice how all three standard forms (power rule aside, and ) show up in the one integral; that is the typical exam experience.
Example. Find .
It is tempting to jump straight to partial fractions, but the numerator and denominator have the same degree, so the integrand is improper and we must divide first:
Also note that is not irreducible, so no will appear; instead we decompose
Multiplying through, ; substituting gives and gives . Hence
An integrand whose numerator and denominator have equal degrees is still improper; always compare degrees before decomposing. Compare this with ; a single sign in the denominator completely changes which standard form you land on.
2.5 Other Substitutions
Since we can now integrate any rational function, a sound plan of attack for a 'non-standard' integral is to hunt for a substitution that converts it into the integral of a rational function. These are called rationalising substitutions. There is no recipe for choosing a good one; you develop a feel for it with practice, but the guiding principle is: substitute away the ugliest part of the integrand (a fractional power, a square root, an exponential) in one hit.
Example. Evaluate .
The aim is to replace the fractional power with something usable, so let , :
which is a rational function (improper, so divide). Rather than long division, notice that
so . Consequently,
If several fractional powers appear, take to the lowest common multiple of the denominators of the exponents; e.g. for the LCM of is , and turns it into , which polynomial division handles.
Example. Evaluate .
One option is , which leads to and then a or substitution on top — it works, but it is slow. The better approach removes the square root in the very first substitution: let . Differentiating both sides,
which gives . Hence
The moral: when a square root is the ugliest thing in sight, try making the whole root your new variable.
The substitution
When the integrand is a rational function of and (things like , where none of the 2.1 tricks apply), the half-angle substitution — sometimes called the Weierstrass substitution — is guaranteed to produce a rational function of .
Note
Theorem ( identities)
If , then
Proof. Since , we have . The double angle formulae then give
and differentiating gives , i.e. .
Basically, every trigonometric function of is a rational function of , so this substitution always rationalises the integral. The price you pay is that the algebra can get heavy, so treat it as the last resort once the simpler tricks have failed.
Example. Evaluate .
With ,
so
Notice how the factors cancelled; this happens a lot and is what keeps the method manageable.
Example. Evaluate .
With ,
so
Therefore, the integral is ; the factor from the standard formula strikes again.
Which substitution wins?
Often several substitutions will work on the same integral, and part of the skill is picking the cheapest one.
Example. Evaluate .
The substitution table suggests or , and a rationalising substitution would also work. But the humble is best here: the odd power hands you the spare that needs, and mops up the rest. Converting the limits (, ),
Therefore, the integral equals . For comparison: eventually reduces the integrand to , which needs the odd-power trick from 2.1 and a limit conversion; it gets the same answer with about triple the work. Before reaching for a trigonometric or hyperbolic substitution, check whether an ordinary -substitution already works; an odd power of next to a function of is the classic giveaway.
Which technique? A decision drill
The real exam skill is not executing any single method, it is diagnosing which one applies. Cover the solutions and classify each of the following before evaluating it.
Example. Evaluate each of the following integrals.
(i).
(ii).
(iii).
(iv).
(v).
For (i). the on top is (up to a constant) the derivative of , so despite the , no trigonometric substitution is needed — an ordinary -substitution does it. With , :
For (ii). the numerator is now , which cannot pair up with , so the -substitution fails and we genuinely need , :
converting back with the usual triangle (, ). Compare (i) and (ii) carefully; one power of is the entire difference between a one-line -substitution and a full trigonometric substitution.
For (iii). the denominator has discriminant , so it is an irreducible quadratic: split off the derivative of the denominator, then complete the square. Writing and :
For (iv). this is a product of multiple angles, so use the product-to-sum lemma from 2.1 with , :
For (v). the calls for a rationalising substitution: , :
The pattern to internalise: look for a derivative pair (for a plain -substitution) first; surds of quadratics go to trigonometric or hyperbolic substitutions; rational functions go to partial fractions, dividing first if improper; products of sines and cosines go to the product-to-sum identities; fractional powers and roots go to rationalising substitutions; and a rational function of and goes to the substitution as a last resort.