Question 229537: Evaluate the following indefinite integral:
x sin(x) cos(x) dx
(use the formula sin(2x) = 2sin(x) cos(x)) Found 2 solutions by vleith, jsmallt9:Answer by vleith(2983) (Show Source):
You can put this solution on YOUR website! See this --> http://www.wolframalpha.com/input/?i=x+sin(x)+cos(x)+
Scroll down to indefinate integral and click shows steps.
wolframalpha is a great tool, use it to help check your answers when needed
We're given that . But we do not have that expression in our integral. We're missing the 2 in front. If we multiply both sides by 1/2 we can match what we have: . now we can substitute into our integral:
Now we have an integral of a product of functions. (We started with a product of 3 functions so we have made progress.) A common way to find an integral of this type is integration by parts: When integrating by parts it is often important to choose your u and dv wisely. Often the key is to pick dv well. Since we need to figure out v from dv, it helps a lot if v is easy to integrate.
In this problem, both x and sin(2x) are not difficult to integrate so it is hard to know which one to choose as dv. It is tempting to pick x for dv because of how extremely easy it is to find the integral of x. For this very reason, I initially chose x for dv. But it turns out that the integral we get is not easier than the integral we had to start. (I'll leave it up to you to try this if you want to see for yourself.) When this happens, try switching your choices for u and dv. This is what I did and that made an easier integral than the one we now have.
So we're using
u = (1/2)x
dv = sin(2x)*dx
This makes
du = (1/2)dx
Substituting these into our integral:
From the formula for integration by parts we know:
so
Substituting back in for u, v and du:
Simplifying we get:
The integral we now have is relatively easy:
You can check this by finding the derivative and seeing if you end up with your original integrand.