How do you integrate #int x^2 cos x^2 dx # using integration by parts?
When we integrate by parts a function of the form:
we normally choose
In this case however
is not the differential of an «easy» function, so we first reduce the degree of the trigonometric function using the identity:
Now we can solve the first integral directly:
and the second by parts:
Putting it together: