# Selena's question at Yahoo! Answers regarding a definite integral by parts

#### MarkFL

Staff member
Here is the question:

Urgent Integral by parts?

1/pi ∫[limits from 0 to 1] (1-v^2)cos(wv) dv

The answer is 1/(pi*w) [(2/w^2)*sinw - (2/w)*cosw]

Please explain in detail. Thank you.
I have posted a link there to this thread so the OP can see my work.

#### MarkFL

Staff member
Hello Selena,

We are given to evaluate:

$$\displaystyle I=\frac{1}{\pi}\int_0^1\left(1-v^2 \right)\cos(wv)\,dv$$

Using integration by parts, let's let:

$$\displaystyle s=1-v^2\,\therefore\,ds=-2v\,dv$$

$$\displaystyle dt=\cos(wv)\,dv\,\therefore\,t=\frac{1}{w}\sin(wv)$$

Hence:

$$\displaystyle I=\frac{1}{\pi}\left(\left[\frac{1-v^2}{w}\sin(wv) \right]_0^1+\frac{2}{w}\int_0^1 v\sin(wv)\,dv \right)$$

$$\displaystyle I=\frac{2}{\pi w}\int_0^1 v\sin(wv)\,dv$$

Using integration by parts again, let's let:

$$\displaystyle s=v\,\therefore\,ds=dv$$

$$\displaystyle dt=\sin(wv)\,dv\,\therefore\,t=-\frac{1}{w}\cos(wv)$$

Hence:

$$\displaystyle I=\frac{2}{\pi w}\left(\left[-\frac{v}{w}\cos(wv) \right]_0^1+\frac{1}{w}\int_0^1 \cos(wv)\,dv \right)$$

$$\displaystyle I=\frac{2}{\pi w}\left(-\frac{1}{w}\cos(w)+\frac{1}{w^2}\left[\sin(wv) \right]_0^1 \right)$$

$$\displaystyle I=\frac{1}{\pi w}\left(\frac{2}{w^2}\sin(w)-\frac{2}{w}\cos(w) \right)$$