The Student Room Group
Reply 1
Using integration by parts, the setup for your integral should be:

u = 4x, du = 4dx
dv = sinx dx, v = -cosx

The integral is uv - ∫vdu (basically the product rule for differentiation), so substituting in, you get:

-4xcosx - ∫-4cosx dx

-4xcosx + 4∫cosx dx

-4xcosx + 4sinx + C

Most likely you accidentally omitted one of the negative signs or said the integral of cosx was -sinx.
Reply 2
With regards to sign changes:

(sinx) ---> (cosx) ---> (-sinx) ---> (-cosx) ---> (sinx)

And so it goes on. (For differentiation anyway, follow in reverse for integration.)
Reply 3
pl224
Using integration by parts, the setup for your integral should be:

u = 4x, du = 4dx
dv = sinx dx, v = -cosx

The integral is uv - ∫vdu (basically the product rule for differentiation), so substituting in, you get:

-4xcosx - ∫-4cosx dx

-4xcosx + 4∫cosx dx

-4xcosx + 4sinx + C

Most likely you accidentally omitted one of the negative signs or said the integral of cosx was -sinx.

awesome explanation..cheeers

Latest