# Homework Help: Incomplet notes on integration by parts

1. Mar 26, 2005

i'm trying to complete my notets from my calculus II class. my professor showed us how to do the following integral using integration by parts but i'm not following his reasoning could some one fill me in on what i'm missing. thx in advance.

$$\int^{\pi}_03x\sin\frac{x}{2}\\{dx}$$

let $$\ u=3x$$ so that $$\ du=3dx$$

let $$\ dv= \sin\frac{x}{2}$$ so that $$\ v= -2\cos\frac{x}{2}$$

now $$\int^{\pi}_03x\sin\frac{x}{2}\\{dx} = -6x\cos\frac{x}{2} \right]]^{\pi}_0\\+ 12\sin\frac{x}{2}\right]]_0^{\pi}$$

what is the intermediate step that i'm missing?

2. Mar 26, 2005

### Gamma

If the integand is of the form of udv then this is how integration by parts goes:

$$\int u dv = uv - \int v du$$

Integration by parts is possible only when dv can be integrated to get v.
For example in your problem, dv = sin x/2. integrating this gives v=-2 cos x/2.

If you are interested in how the above formula is derived,

start from d(uv)

d(uv) = u dv + v du

Integrating this in both sides, gives

$$\int d(uv) = \int u dv - \int v du$$

$$uv = \int u dv - \int v du$$

rearrange to get

$$\int u dv = uv - \int v du$$

3. Mar 26, 2005

### whozum

The product rule for derivatives is:

$$udv + vdu = duv$$

Integrating both sides gives:

$$\int{u}{dv} + \int{v}{du} = uv$$

Rearranging by subtracting $$\int{v}{du}$$ from both sides:

$$\int{u}{dv} = uv - \int{v}{du}$$

If you plug in your u's and v's, you'll get what he has.

4. Mar 26, 2005

### Gamma

By the way, honestly, your picture scares me. Specially when everyone else is sleeping and I am all alone here.

5. Mar 26, 2005

thank you. and er... i'll change the pic. lol

6. Mar 26, 2005

### dextercioby

A little ammendment

$$dv=\sin\frac{x}{2} \ dx$$ (!!)

Daniel.

7. Mar 26, 2005

### BobG

You're missing the actual $$\int{u}{dv} = uv - \int{v}{du}$$ part.

In this case, $$\int{v}{du} = \int{3 *-2 \cos \frac{x}{2}}{dx}=\int{-6 \cos \frac{x}{2}}{dx}$$

8. Mar 26, 2005

### Gamma

He has not missed it. He has this already integrated

$$\int{v}{du} = \int{3 *-2 \cos \frac{x}{2}}{dx}=\int{-6 \cos \frac{x}{2}}{dx} = 12\sin\frac{x}{2}$$