Calculus Help Now Please

<p><a href="http://i45.photobucket.com/albums/f100/chrisrog88/int.jpg%5B/url%5D"&gt;http://i45.photobucket.com/albums/f100/chrisrog88/int.jpg&lt;/a&gt;&lt;/p>

<p>For the life of me I can't get the right answer- which is x-1/2cos2x+c .</p>

<p>Am I forgetting a trig identity or something? Someone please help!</p>

<p>wow very nice enthusiasm can you just ask teacher tomorrow??
cus i can ask homework in due day in my school..</p>

<p>Factor it:</p>

<p>sin^2(x)+2sinxcosx+cos^2(x)
since sin^2(x)+cos^2(x) equals 1, and 2sinxcosx equals sin2x:
sin2x + 1
some can integrate it just like that, but you can do a U substitution:
u = 2x.</p>

<p>Got it from there?</p>