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=uv−∫vdu=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=uv−∫vdu=(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=2sinx−cosx(2x+2)
So, we finally get,
=(x2+2x)sinx−[2sinx−cosx(2x+2)]+C
=(x2+2x−2)sinx+2(x+1)+C
∫(x2+2x)cosx dx=(x2+2x−2)sinx+2(x+1)+C
No comments:
Post a Comment