# Integration by parts

1. May 4, 2009

### aleao

Formula for integration by parts:

$$\int f(x)dx = \int u dv = uv - \int v du$$

Use integration by parts to find the following integrals:

a) $$\int x e^{1-x} dx$$

b) $$\int_1^4 \frac {ln \sqrt x} {\sqrt x} dx$$

c) $$\int_{-2}^1 (2x+1)(x+3)^{3/2} dx$$

d) $$\int x^3 \sqrt{3x^2+2} dx$$

Answers in back of the book:

a) $$-e^{1-x}(x+1)+C$$

b) 4 ln 2 - 2

c) $$\frac{74}{4}$$

d) $$\frac {1}{9}x^2(3x^2+2)^{\frac {3}{2}}-\frac{2}{135}(3x^2+2)^{\frac {5}{2}} +C$$

My attempts:

a) $$\int xe^{(1-x)} dx$$

$$u = x$$

$$dv = e^{1-x} dx$$

$$du = 1$$

$$v = -e^{1-x}$$

which gives:

$$-xe^{1-x} - \int -e^{1-x}(1)$$

$$-xe^{1-x} - e^{1-x}$$

$$-e^{1-x}(x+1) +C$$

GOT IT! Thanks Melawrghk and dx!

b) $$\int_1^4 \frac {ln \sqrt x} {\sqrt x} dx$$

$$u = ln x^{{1}{2}}$$

$$dv = x^{\frac {-1}{2}}$$

$$du = \frac { \frac {1}{2}\sqrt x}{\sqrt x} = \frac {1}{2x}$$

$$v = 2x^{\frac{1}{2}}$$

which gives:

$$ln x^{\frac {1}{2}} 2x^{\frac{1}{2}} - \int 2x^{\frac{1}{2}} \frac {1}{2x}$$

$$ln x^{\frac {1}{2}} 2x^{\frac{1}{2}} - \int \frac{x^{\frac {1}{2}}}{x}$$

$$ln x^{\frac {1}{2}} 2x^{\frac{1}{2}} - \int x^{\frac {-1}{2}}$$

$$ln x^{\frac {1}{2}} 2x^{\frac{1}{2}} - 2x^{\frac{1}{2}}$$

$$2x^{\frac{1}{2}}(ln x^{\frac {1}{2}}-1)$$

Plug in 4 and 1:

$$4(ln2-1)-2(ln1-1)$$

$$= 4ln2-4+2$$

$$= 4ln2-2$$

GOT IT! Thanks again dx!!

I'm looking at the other two and I'm blanking.

I've been out of school for three years, and jumped right into business calculus since it's a requirement. So I apologize if this is elementary, but I've been banging my head on this for hours now... and of course the teacher is nowhere to be found.

EDIT: Got a correct now, thanks to Melawrghk and dx.

Last edited: May 4, 2009
2. May 4, 2009

### Melawrghk

For a), switch your u and dv and try again :)

EDIT: and for b), check your derivative of ln(sqrt(x)). sqrt(x) can be written as x^(1/2), so when you take the derivative you'll get (1/2)x^(3/2). Coupled with the square root of x on the bottom it will cancel nicely.

3. May 4, 2009

### dx

For part (a), v = e1-x would be a better choice.

4. May 4, 2009

### aleao

Is $$\int e^{1-x} = e^{1-x}$$ ?

Edit: I'm only assuming this because

$$\int e^{x} = e^{x}$$

... but now that I think about it...

$$\int e^{1-x} = \frac {1}{1-x} e^{1-x+1} = \frac {1}{1-x} e^{x}$$

right?

Last edited: May 4, 2009
5. May 4, 2009

### aleao

Wouldn't the derivative of x^(1/2) = (1/2)x^(-1/2)?

6. May 4, 2009

### dx

Nope. ∫ e1-x dx = -e1-x. Use the substitution t = 1-x to see why.

7. May 4, 2009

### dx

Yes, that's correct.

8. May 4, 2009

### aleao

Aha! Great, now I got part a and edited up there. Thanks :)

9. May 4, 2009

### dx

For part (b), use v = √x.

10. May 4, 2009

### aleao

Could you walk me through this method, please?

I'm taught to look at the equation and assign u and dv. Then derive u to get du and integrate dv to get v.

The book says:

Step 1: Choose functions u and v so that f(x)dx = u dv. Try to pick u so that du is simpler than u and a dv that is easy to integrate.

Step 2: Organize the computation... (they put it in a neat box :tongue:)

Step 3: Complete the integration by finding ∫f(x) dx = ∫ u dv = uv - ∫ v du

So I'm not sure how I assign v = √x directly.

Here's the problem again:

$$\int_1^4 \frac {ln \sqrt x} {\sqrt x} dx$$

11. May 4, 2009

### dx

Hint: If v = √x, then

$$dv = \frac{dx}{2\sqrt{x}}$$

12. May 4, 2009

### aleao

Got part b! Dx, you rock!

13. May 4, 2009

### aleao

OK so for part d I'm running into a seemingly basic problem. I'm not sure how to integrate √(3x2+2)

I'm just fried....

14. May 4, 2009

### FedEx

You have a direct formula for that.

15. May 4, 2009

### aleao

What is the formula? I'm trying to study for tomorrow morning's final, doing these practice questions and papers are everywhere.

16. May 5, 2009

### FedEx

http://planetmath.org/encyclopedia/IntegrationFormulas.html [Broken]

Last edited by a moderator: May 4, 2017
17. May 5, 2009

### Cyosis

Don't use a formula, splitting it up in x^3 and the root is a poor way to split things. Do it like this instead.

$$x^3 \sqrt{3x^2+2}=x^2*x\sqrt{3x^2+2}$$. Now use partial integration and note that $x\sqrt{3x^2+2}$ is really easy to integrate by substituting u=3x^2+2, or even "guessing" the primitive.

Last edited: May 5, 2009
18. May 5, 2009

### FedEx

Oops.. My apologies... I just read the post no 13 and not the original post. So i just thought its $sqrt{3x^2+2}$ and didnt notice the x cube