Both good answers, and im not trying to take over this thread, but a question i have been meaning to ask is how do u know when u can use substitution and not. In the first method to integrate cos^3x substitution was used, it gives the correct answer.
What im getting around too is why cant u use substitution when integrating something like cosxsinx? It wont give the correct answer. (u = sinx) (du = cosx).
Leading to my next question, in an exam should u only use substitution when asked to (When the questions is related to trig functions, ive never run into problems with other functions)?
Hope im not asking a stupid question.
Thanks all.
Nick