# integrate problem

• Nov 1st 2008, 09:56 PM
jvignacio
integrate problem
hi just confused on this integration.

$
\int xcosx
$

how would i go about solving?
• Nov 1st 2008, 10:00 PM
mr fantastic
Quote:

Originally Posted by jvignacio
hi just confused on this integration.

$
\int xcosx
$

how would i go about solving?

There are many techniques. One such is integration by parts. You'll find it done as an example somewhere in here: http://en.wikipedia.org/wiki/Integra...#More_examples.
• Nov 1st 2008, 10:10 PM
jvignacio
Quote:

Originally Posted by mr fantastic
There are many techniques. One such is integration by parts. You'll find it done as an example somewhere in here: Integration by parts - Wikipedia, the free encyclopedia.

whats the other way besides integration by parts? coz we dont learn that technique in my course. Its in the next course up from mine.
• Nov 1st 2008, 10:13 PM
mr fantastic
Quote:

Originally Posted by jvignacio
whats the other way besides integration by parts? coz we dont learn that technique in my course. Its in the next course up from mine.

Try integration by recognition:

Differentiate y = x sin x.

Hence find the integral of x cos x.
• Nov 1st 2008, 10:21 PM
jvignacio
Quote:

Originally Posted by mr fantastic
Try integration by recognition:

Differentiate y = x sin x.

Hence find the integral of x cos x.

well thats exactly what the tutorial question was . find diff of xsinx and then using that answer integrate xcosx...

i found the diff of xsinx.. it was sinx + xcosx but im not sure how this can lead me to the integral of xcosx
• Nov 1st 2008, 10:30 PM
mr fantastic
Quote:

Originally Posted by jvignacio
well thats exactly what the tutorial question was . find diff of xsinx and then using that answer integrate xcosx...

i found the diff of xsinx.. it was sinx + xcosx but im not sure how this can lead me to the integral of xcosx

$\frac{dy}{dx} = \sin x + x \cos x$

Integrate both sides with respect to x:

$y = \int \sin x + x \cos x \, dx = \int \sin x \, dx + \int x \cos x \, dx = - \cos x + \int x \cos x \, dx$

Substitute $y = x \sin x$:

$x \sin x = - \cos x + \int x \cos x \, dx$

Now re-arrange to make $\int x \cos x \, dx$ the subject and add a "+ C".

Next time post the whole question - as you can now see the first part was essential to answering the second part.