At the heart of integration is substitution. It is our most powerful and versatile weapon for tackling almost any kind of integral. Pretty much every integral you solve will almost certainly involve some form of substitution. In fact, you’ll come to see that most methods of integration are actually just abstractions upon substitution. Just as chain rule governs the forces of nature, substitution gives rise to the echelons of integration. It truly is the most vital skill for an integrator to nurture.
There are many, many kinds of substitution. Spotting which kind of substitution to use, and what exact substitution to make, is often nontrivial. It takes much practice to build up the intuition for spotting what works in a particular scenario, but with enough experience, it can become almost second nature.
What is Substitution?
A substitution rewrites an integral in terms of a different variable. For instance, if we have the integral
This is an integral with respect to the variable . We can choose to let a new variable denote the expression .
Then we go through our expression, replacing each with the equivalent expression in terms of .
What this has done is made the integral so much nicer to deal with. More importantly, it’s in a form we can now easily integrate. So substitution is a way of simplifying integrals that lets us tackle them in steps.
However, we cannot integrate this quite yet, as we can only integrate with respect to , not . So we also need to replace with the corresponding .
Substituting with Respect
There are many ways to think about this, but the end results are the same. To get our integral in terms of instead of , we’ll find a way to relate to .
Let’s take our substitution, and differentiate both sides with respect to :
Now we can move over to the other side and divide by to obtain our relationship between and :
and here represent differentials, so writing the relationship between them in this way is known as differential form.
And algebraically, everything will work out fine if we simply replace in our integral with this expression of . We end up with an integral only in terms of , which we can then evaluate.
After carrying out the integration, remember to ‘undo’ your substitution by putting back in:
Deriving Substitution
So why exactly does substitution work? It’s perhaps easy to see when the substitution is just a translation (), but things can quickly become unintuitive once we start scaling () or nesting functions ().
Fundamentally, substitution in integration is just the equivalent of chain rule from differentiation (except in reverse of course). When we differentiate nested functions, the derivative ‘pops out’:
The way to prove this is to consider the ’chain’ of variables. Let to denote the nested function, then . We ‘split’ the derivative to incorporate the intermediate variable :
Well, shouldn’t be too hard to go back the other way.
If we find , multiplying the integral by it will cancel , leaving just .
Or, more simply, we can find an expression for in terms of , and replace it directly.