Today is going to be the last day where we will focus on integration by parts. We’re going to run through a few more examples, but each of them will be slightly different from what you’ve seen already and will give you a few more insights into some of the tricks you might have to play.
Definite integrals using integration by parts
Let’s look at the following integral:
Where as usual we see that the term becomes simpler if we differentiate it and so we choose:
Using the normal integration parts algorithm we will get the following, and note that now we need to evaluate the result at the limits of integration:
We can’t quite solve this last integral directly so we integrate by parts again. However, we note that the first term in this expression actually evaluates to zero when we plug in both limits, so we are left with just the integral term. We again make a choice for a new and as:
Remembering the factor of we get:
Note that we could quite happily have worked out the whole thing as an indefinite integral and then used the evaluation theorem at the very end. Try it both ways and make sure that you see that they give the same answer.
In this example we’re going to see an integration that looks like it comes to a dead-end, but in fact before we know it we’ve solved it!
In this case neither the exponential nor the trig function get simpler when we differentiate them. We will choose:
plug this in and we get:
This integral looks just as hard as the first, but we’ll plug away at it. Now make a new choice to solve the second integral:
Plug this in and we have:
Disaster!! It looks like our answer includes the thing that we were trying to find in the first place….but there’s a subtle but important difference, and that is in the minus sign! We can now rearrange the above equation by taking the integral on the right hand side to the left:
So we actually have the answer without having to do the second integral…magic!!
Note that it might be a bit surprising that the popped up out of nowhere. The point is that an indefinite integral is only ever defined up to an additive constant and so we are always free to add this.
A cheeky trig integral
Let’s look at something which seems really hard to do but actually using integration by parts becomes pretty easy…
Integration by parts helps us because it allows us to work with the derivatives of functions to simplify things.
We’re going to choose here to have:
To work out what is it’s easiest to invert the expression to get , then take . Thus:
Plugging this into the integration by parts formula:
This last expression we can solve with a substitution: :
Substitution then by parts
How about the following integral:
We start with a simpler substitution: which gives:
And now we use integration by parts on this, choosing (note that I’ve chosen these variable labels so that you have to pay attention to what we’re doing in the integration by parts).
Try them yourself…
Both by choosing and separately by choosing . Make sure that you get the same answer.
Note importantly that:
Though we won’t be able to explain exactly why until you have done complex numbers. What this means though is that in reality you can always convert a into a .
Try this one yourself too:
Hint: you will have to work out how to integrate and this can be done with a simple integration by parts, or by writing this in terms of a double angle formula.
I’m going to try and add a few thoughts on some completely unrelated areas of mathematics to each lecture – just a few moments to get you thinking about some area of maths which I think you might find rather fascinating.
We’ll start with some thoughts on the subject of Number Theory – the study of integers. It might seem like once you’ve learned to count, you know everything there is to know about integers, but this is so far from the truth that you wouldn’t believe how deep this subject gets!
I’m sure you all know what a prime number is: those numbers greater than 1 which are divisible only by themselves and 1. They are in many ways the most fundamental of numbers. All other numbers can be constructed from them.
The Fundamental Theorem of Arithmetic tells us that all numbers can be written as the product of prime numbers. This in itself is not so special – the theorem tells us however that each number can be written like this in only one way – the product is unique for every number. For instance:
There is no other way to write 50 as the product of primes (other than by rearranging the above).
The way we break down each number into its prime factors is called Prime Factorization. It’s actually quite easy to prove this by induction.
There’s a second statement which looks like it should be just as easy to prove:
Every even integer greater than 2 can be written as the sum of two primes.
This is known as Goldbach’s conjecture and we still cannot prove that it is true, although we know that it holds true for integers up to around . Doesn’t that seem strange?
Prime numbers really are the bricks and mortar of all numbers. Next up, how many primes are there and how many twin primes are there?
See a nice video here showing some mysteries of the prime numbers: