Evaluate the following integral:
First, we make the substitution
Giving us
Then we recall the trig identity to obtain,
We make another substitution,
to arrive at
Now we recall the other double angle trig identity, so we have
It’s a bit more direct if you take
and
.