Integrating a complex function can often be done by substituting a simpler function and it’s derivative, known as derivative substitution (sometimes called u-substitution) or change of variable. It can be thought as of a counterpart (of sorts) to the Chain Rule.

Definition

Assume we have two differentiable functions, and . Then these two integrals are equivalent:

Note the change of variables, the left hand side is an integral with respect to instead of .

Why? If we substitute , and it follows that , then we can simplify the integral:

In other words, if we have a product of a function and it’s derivative, we can simplify the entire integral. This also applies to indefinite integrals

#todo WHY DOES THIS WORK?!

Examples

1: Sin(x) with polynomials

Solve the following integral:

We can rewrite the question as , where and Let . Then Using the substitution method:

2: Definite Integral

Solve the following integral:
We can begin by rewriting the integral in the form . Here and .

Since it is known that , we can let , knowing that . Hence the integral can be expressed in the form:

We need to ensure the bounds of the integral, and are replaced with and . and

So our final integral is: