Friday, 8 November 2013

calculus - Evaluate the indefinite integral



I=(x2+2x)cos(x)dx



Integration by Parts, choose u:



u=cos(x)dv=(x2+2x)dxdu=sin(x)v=13x3+x2



Substitute into formula:
udu=uvvdu=cos(x)(13x3+x2)(13x3+2x)(sin(x))=cos(x)(13x3+x2)+(13x3+2x)(sin(x))



At this point, it doesn't look like I can use the substitution rule on the the right hand integral, so I decide to use the substitution rule again.



Integration by Parts II, choose u:



u=sinxdv=(13x3+2x)dxdu=cosxv=112x4+x2



Substitute into formula:
udu=uvvdu=(sinx)(112x4+x2)(112x4+x2)(cosx)dx



Combining the two integration by parts together and I feel like I am no closer to evaluating the integral than whence I started...The integral is still there and I feel another parts by integration won't work.
(x2+2x)cos(x)=(cos(x))(13x3+x2)+(sin(x))(112x4+x2)(112x4+x2)(cos(x))dx



Did I do the math wrong and make a mistake somewhere? Or am I supposed to approach this differently?


Answer



I would do this way
(x2+2x)cosx dx




By Integration By Parts: u=(x2+2x),v=cosx
=(x2+2x)sinx(2x+2)sinxdx



Again apply Integration By Parts for (2x+2)sinxdx u=(2x+2),v=sinx
and we get



(2x+2)sinxdx=2sinxcosx(2x+2)



So, we finally get,

=(x2+2x)sinx[2sinxcosx(2x+2)]+C


=(x2+2x2)sinx+2(x+1)+C



(x2+2x)cosx dx=(x2+2x2)sinx+2(x+1)+C


No comments:

Post a Comment

real analysis - How to find limhrightarrow0fracsin(ha)h

How to find limh0sin(ha)h without lhopital rule? I know when I use lhopital I easy get $$ \lim_{h\rightarrow 0}...