This week I assigned my calculus class a problem* which involved the integral

.

If you just dive in and do each term separately, this integral takes 3 applications of integration by parts (IBP). However, if you use your double angle identities, and do IBP on the second term first, then some terms gather up, and you only need one further application of IBP.

I think it is somewhat interesting, or fun, that the very similar integral

can be done with a single IBP. Perhaps it isn’t soo surprising, after you spend enough time trying to integrate these functions in various ways.

Now, in all honesty, the problem I assigned actually needed the definite integral

.

I had thought maybe that since the integral is definite, you can use some other cleverness and not need IBP as many times. My idea was to shift the interval to using the substitution . Then we’ve got a symmetric interval, and odd functions will automatically drop out. Shifting sine or cosine by is not too inconvenient, because it just changes the function to the other (with sign changes in appropriate places).

After shifting, the odd functions drop out, and the remaining functions are even, so you can use symmetry yet again to do the integral over . At some point you also change some ‘s into ‘s. When you think about on the interval , it is odd-symmetric around the mid-point, , so those terms drop out of the integral.

In the whole process so far, we have not used IBP at all. In fact, we’ve not yet done a single anti-derivative. Unfortunately, you’re stuck with a term , and I can’t see how to get rid of it, so I break down and use IBP. Then you’ve still got an , so IBP once more.

So I’ve done a lot of work to end up still doing IBP twice. I don’t know, probably that was all much more trouble than it was worth. But it was fun. Lots of nice applications of symmetry and some trig identities. I’d be delighted to hear any other solutions to this integral, so please share if you’ve got one.

* The problem I assigned: There is a cow tied to a circular silo with a piece of rope whose length is half the circumpherence of the silo. What is the area available to the cow for grazing? This is from Stewart’s Calculus textbook, in the section on parametric curves and areas.