# Easy question du= cos(x)dx

1. Jul 2, 2008

### daudaudaudau

We know that

$$\cos{x}\sin{x}=\frac{\sin{2x}}{2}$$

so why isnt

$$\int\cos{(x)}\sin{(x)}dx=\int\frac{\sin{(2x)}}{2}dx$$

?

2. Jul 2, 2008

### HallsofIvy

They are the same. Why do you think they aren't? It's easy to integrate both sides and then show that the integrals are the same.

For example, on the left side, you can let u= sin(x) so that du= cos(x)dx and the integral becomes $\int u du= (1/2)u^2+ C= (1/2)sin^2(x)+ C$

The integral on the right is simply $-(1/4)cos(2x)+ C'$. Not obvious that those are the same? cos(2x)= cos2(x)- sin2(x)= (1- sin2(x))- sin2(x)= 1- 2sin2(x) so $-(1/4)cos(2x)+ C'= 1+ (1/2)sin^2(x)+ C'$ which is exactly the same as the first with C= 1+ C'.

3. Jul 2, 2008

### daudaudaudau

Ah okay, I see. Thank you.