# Underlying question about u-substitution

ehchandler
So This problem arose from a homework problem, but this is a more underlying question about u-substitution since I understood completely how to do the problem the way the book wanted. The teacher was stumped too when I asked. There was an equation f(x)=cos^4(x)sin(x). We were supposed to take the integral of f(x) with [0,pi]. My inital intuition was just to make u=cos^4(x). Thus -du/4=cos^3(x)sin(x)dx. Then you get (-1/4)int(u^(1/4)) [1,1], which is obviously zero. This was wrong. I saw that this was strange, so I did way the book wanted, u=cos(x), but why are the two different. The bounds are in the positive range, so the ^4 shouldn't loose an answer or anything, and yet one comes out to be zero, while the other is a positive number. Why? Is there something underlying in the numbers themselves, or is it right in front of me. Thanks in advance.

## Answers and Replies

Mentor
Your substitution u=cos^4(x) is not injective - multiple x-values are mapped to the same u-value. You would have to split the integral into several parts to do that.