Hmm. In such case,
[tex]2 \int \sin \frac{x}{2} \cos \frac{x}{2} dx = \int 2 \sin \frac{x}{2} \cos \frac{x}{2} dx = \int \sin x dx = -\cos x + C_1[/tex]
But what about the first integral ? I know:
[tex]\sin^2 x + \cos^2 x = 1[/tex]
But I have:
[tex]\int\sin^2 \frac{x}{2} + \cos^2\frac{x}{2} dx[/tex]
Can I simply get around that with substitution ? Say,
[tex]\frac{x}{2} = t, \frac{1}{2} = dt[/tex]
Then I get
[tex]\sin^2 t + \cos^2 t[/tex]
Does it equal 1 ?
--------------------------
The solution, according to the book:
[tex]x + \cos x + C[/tex]
Yes, that's a plus.
---------------
You people are scary. I'm a CS graduate and I came here to defeat my arch-nemesis, math. This time, without time pressure. You rob me of any excuses I might have to procrastinate solving examples.