Note that the last example I gave in class today can be done in a much simpler way which doesn’t involve a trig substitution. I will include both the way we did it in class as well as the simpler way below. Thank you to the student who came and pointed this out!
Today we looked at integrals of non-trigonometric functions for which substituting in some trig expression makes the undoable doable. Let’s start with the example:
I drew a quick sketch of this function, just because it’s good exercise to do that. You see that the denominator is the expression for a unit upper half semi-circle centred at the origin. Inverting this (ie. gives a graph which passes through the point and asymptotes to infinity at .
Whenever we see something of the form we should be reminded of the trig identity because this will simplify things. In order to get the expression into this form we will make the substitution and thus . We also restrict . This means that the substitution is one to one and thus invertible, and that is positive. Note that we could have chosen instead of . This would give an equivalent (though slightly different looking) answer in the end. Substituting this into the integral gives:
Because of the region of that we have chosen and we are left with:
Note that had we chosen to use we would have arrived at the answer which is the same, up to a constant.
Example involving a substitution:
We start by writing this as:
(Make sure that you can do this). Now, again we want to use our most basic of trig identities, but to do this we have to let , ie. . In this case we need to make the choice that or . Substituting this in, we get:
We’re now going to use a trick, because I can’t usually remember this integral off hand. We will add and subtract 1:
But our original substitution was in terms of so it would be useful to write in terms of . We have:
Now we can substitute directly for to get:
An example with an unspecified constant
Let’s look at an example with:
Where is a constant. Again, we see that to use our normal trig identity we will want to set , again with . Substituting this in we get:
Now we use the double angle formula for to get:
Now we again use a double angle formula, this time for to get:
Now substitute back in to get:
An integral the easy way or the hard way
In class we did this integral the hard way, but as pointed out, there’s a much better route. We’ll start off the hard way and then see the clear shortcut. In fact this is going to be an example of a method that we’ll use in the coming lecture on integration by partial fractions.
We start by completing the square in the denominator:
We’ll now make life a bit trickier for ourselves by letting with . This gives us:
We can now rewrite these trig functions in terms of to give:
We can now square what’s inside the logarithm and then take the square root, which is equivalent to multiplying the log by . Remember that :
Now we substitute back in to get:
Now in fact we could have solved this an easier way by spotting that:
The trick to get the penultimate step is something that we will see next time in a lot more detail!
An example we didn’t see in class
How about:
to get this into the form where we can use our trig identity we will need to identify with . This substitution will then lead to:
Again, writing everything in terms of we can manipulate the final expression into (show this, I’m not going to fill in all the steps on this one…):
Where we used a very similar trick to the previous example.
Try this one:
For general and .
More exercises
For more examples take a look at:
http://tutorial.math.lamar.edu/Classes/CalcII/TrigSubstitutions.aspx
http://tutorial.math.lamar.edu/Problems/CalcII/TrigSubstitutions.aspx
See here for other, more intuitive ways to evaluate the integral which was asked about last time.
There will be more bonus material on prime numbers next time, too!
Hi there
Just with regard to your second example with the sec substitution:
in the step” Now we can substitute directly for cos u to get”:
should it not be arccos(1/x) not arccos(x)?
Hey there Rohin, many thanks – yes, you’re absolutely right – that was a typo – well spotted!
J
In your example with an unspecified constant I believe the double angle identity formula that you make reference to is missing a +1
Shouldn’t it read (Cos u)^2 =1/2 [Cos(2u)+1]?
Cheers Lonny, well spotted! I’ve added your name to the list of typo correctees!
Cheers, J
Thank you so much for this,,, it doesnt really feel like a magic trick anymore,,, it actually mathematically makes sense from step one.
Great!!
[…] Integrals using trig substitutionsHow to choose a substitution […]