Step by step
The question
Question: find the integral of sin x cos² x.
1 Choose u
Let u = cos x.
Its derivative is minus sin x: du = −sin x dx.
So sin x dx is −du.
2 Write it with u
cos x becomes u, and sin x dx becomes −du.
Careful!
The derivative of cos x is minus sin x.
So sin x dx is minus du: keep the minus.
3 Integrate
The power rule: add 1 to each power, divide by the new power.
4 Put x back
Put cos x back in place of u.
So the answer is −cos³ x/3 + C.
5 Check
Let's check: the slope of our answer F near x = 1, with a calculator in radians: about 0.246.
The question at x = 1 gives 0.246.
The same: the slope of the answer is the question.
Right!
Let's look back.
First: choose u.
Then: write it with u.
Then: integrate.
Then: put x back.
Last: check.