Integration by parts? What parts?
Integration by parts comes from rewriting the product rule for derivatives and then integrating. So the “parts” are the fact that we’re going to work with two functions and treat them separately.
Let’s remember the product rule:
Once we rearrange and take integrals we can see that we get
or for definite integrals
This is all very well and good, but it can feel like we’re just pushing symbols around. Let’s look at what would happen if we did this with a real function…
Example
Let
Solution
To start we observe that
We can integrate this equation on both sides to get:
Notice that we only need the
We obviously won’t always know the magic function
Example
Use integration by parts (1) to evaluate the integral
Solution
We start by computing
Plugging this in we get
Example
Use integration by parts (2) to evaluate the integral
Solution
We start by computing
(If finding
Plugging this in we get
Now you try it!
Like learning by solving problems? Try this and more in the Dogl Calculus app 😃
Yet another notation...
Maybe this looks different then what your teacher does in class or how your book writes integration by parts. That’s because there is another really common notation involving
where we’re using the shorthand
Let’s look at an example of how we use this notation:
Example
Use integration by parts (3) to evaluate the integral
Solution
We can compute directly that
Choose your weapons! What the is ?
We’ve done a few examples at this point, but when we have to use integration by parts in the wild (e.g. on a quiz) we won’t usually be told what to use as
Tips
1) Whatever function you choose as your
2) The function
You might notice that these tips aren’t super specific. It’s common to try and learn many different ‘types’ of integration by parts and memorize the best choices for
Example
Suppose you want to integrate
This is a product of functions.
Let’s say we choose
We notice that
Now we have
Lastly we get
Let’s check out a few more examples
Example
Compute the integral
(Try this with
Solution
We start by noticing that
Yes!
Let’s take
Then
To finish it off we just need to plug everything into the integration by parts formula
Example
Determine if Integration by Parts is a good strategy to compute the integral
Solution
We see that
Let’s look at the other choice:
In this case
Putting this together we have
From this we see that we can compute this integral via integration by parts, but it doesn’t follow that this is the easiest solution. If we took the u-substitution
It’s up to you which of these methods you find easier. The substitution required to do it directly is a bit more complicated, but needs to be done only once.
When once isn't enough
All of the examples we have considered up to this point could be computed using only one iteration of integration by parts, but sometimes this isn’t enough. Let’s consider a couple of examples.
Example – eliminating by applying IBP times
Compute
Solution
We start by noting that
Take
We now can use integration by parts on
Putting these together we get
Lastly we apply integration by parts one more time to
Putting everything together we get
Example – mixing trig functions and exponentials
Compute
Solution
If we have a product of an exponential with
We have
Now we apply IBP again to
Putting this together we get:
Dividing by
- The integral you need to compute gets simpler in some way with every application.
- After the first application of integration by parts your integrand looks basically the same except with
instead of or vice-versa.