# Using Integration by parts

• november1992
In summary: You will then be able to reduce this to a standard integral. By standard integral, I mean an integral which cannot be reduced any further.

## Homework Statement

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

## Homework Equations

∫udv = uv-∫vdu

u=ln(x)
du = $\frac{1}{x}$dx
dv = $x^{2}$dx
v = $\frac{x^{3}}{3}$

## The Attempt at a Solution

Using the above formula I got $\frac{x^{3}}{3}$*ln(x) - $\frac{x^{3}}{9}$ + C

Am I doing this correctly or do I have to input u= $\frac{1}{ln(x)}$ and dv = $\frac{1}{x^{2}}$

november1992 said:

## Homework Statement

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

## Homework Equations

∫udv = uv-∫vdu

u=ln(x)
du = $\frac{1}{x}$dx
dv = $x^{2}$dx
v = $\frac{x^{3}}{3}$

## The Attempt at a Solution

Using the above formula I got $\frac{x^{3}}{3}$*ln(x) - $\frac{x^{3}}{9}$ + C

Am I doing this correctly or do I have to input u= $\frac{1}{ln(x)}$ and dv = $\frac{1}{x^{2}}$
First of all, you should include a dx with your integral, $\displaystyle \int \frac{dx}{x^{2}\ln(x)}\ .$

Your dv is wrong. It should be $\displaystyle dv=\frac{1}{x^2}\,dx\ .$
.

SammyS said:
First of all, you should include a dx with your integral, $\displaystyle \int \frac{dx}{x^{2}\ln(x)}\ .$

Your dv is wrong. It should be $\displaystyle dv=\frac{1}{x^2}\,dx\ .$
.

Follow this with a substitution: y = f(x). Think what f(x) should be so that your equations take a simpler form.

SammyS said:
First of all, you should include a dx with your integral, $\displaystyle \int \frac{dx}{x^{2}\ln(x)}\ .$

Your dv is wrong. It should be $\displaystyle dv=\frac{1}{x^2}\,dx\ .$
.

I don't understand, why is $\displaystyle dv=\frac{1}{x^2}\,dx\ .$ and u = ln(x) and not u = $\frac{1}{ln(x)}$

Sourabh N said:
Follow this with a substitution: y = f(x). Think what f(x) should be so that your equations take a simpler form.

I'm sorry, I don't understand what this means.

november1992 said:
I don't understand, why is $\displaystyle dv=\frac{1}{x^2}\,dx\ .$ and u = ln(x) and not u = $\frac{1}{ln(x)}$
I'm sorry, I don't understand what this means.

$u =\frac{1}{ln(x)}$ and $dv=\frac{1}{x^2}\,dx\$ are the correct forms. The reason for this is that integration by parts is ∫udv = uv-∫vdu. Thus, when you multiply u and dv together it has to come out to the original integrand.

november1992 said:
I don't understand, why is $\displaystyle dv=\frac{1}{x^2}\,dx\ .$ and u = ln(x) and not u = $\frac{1}{ln(x)}$
Well, you're right that you would also need $\displaystyle u=\frac{1}{\ln(x)} .$

But that scheme for integration by parts was yours.

Simple substitution seems to do better, but this integral cannot expressed in terms of elementary functions.

SammyS said:
Well, you're right that you would also need $\displaystyle u=\frac{1}{\ln(x)} .$

But that scheme for integration by parts was yours.

Simple substitution seems to do better, but this integral cannot expressed in terms of elementary functions.

Are you saying that there is an easier way to do this?

november1992 said:
Are you saying that there is an easier way to do this?

I think he's saying that the solution is messy because you can't write the solution in terms of elementary functions (i.e. finite number of terms using exponents, trig functions, constants, etc).

I'm not sure this can be solved.

with:

u = $\frac{1}{ln(x)}$
du = -$\frac{1}{xln^{2}(x)}$ dx
dv = $\frac{1}{x^{2}}$dx
v = -$\frac{1}{x}$

i get: -$\frac{1}{xln(x)}$ - ∫-$\frac{1}{x}$ * $\frac{1}{xln^{2}(x)}$ dx

so then I would have to do integration by parts again because I have x * the natural log

this seems like it would go on for a while.

edit: Am I doing this correctly?

Last edited:
Hint: In the original integral, substitute y = 1/x.

You will then be able to reduce this to a standard integral. By standard integral, I mean an integral which cannot be reduced any further.

∫$\frac{dx}{x^{2}*ln(x)}$

I'm afraid I don't understand what you mean by that.

I dont' see a y in this equation.

Do you mean make $\frac{1}{x}$ = y ?

november1992 said:
Do you mean make $\frac{1}{x}$ = y ?

Yes! I don't know if you are familiar with the method of substitution, so have a look. It's a very useful technique

∫$\frac{y^{2}dx}{ln(x)}$

Would i use integration by parts now?

november1992 said:
∫$\frac{y^{2}dx}{ln(x)}$

Would i use integration by parts now?

You need to convert all x's to y's. That means:
1. ln(x) becomes some function of y (after replacing 1/x by y),
2. dx becomes some function*dy (after replacing 1/x by y).

Please look at the link I sent in previous reply to see an example of how this is done. I'll repeat it here: http://en.wikipedia.org/wiki/Integration_by_substitution#Examples

So you have y=1/x. When you take the derivative, you get dy/dx=-1/x^2, which can be written as dy=-dx/x^2. Then substitute for all x's.

y = 1/x

dy = -$\frac{1}{x^{2}}$dx

dx = $\frac{-1}{y^{2}}$dy

∫$\frac{y^{2}\frac{-1}{y^{2}}dy}{ln(\frac{1}{y})}$

∫$\frac{dy}{ln\frac{1}{y}}$

well i replaced everything and now if I do integration by parts It won't end well because I can't integrate 1/ln, and if I integrate dy i'll end up with y in the integral again.

november1992 said:
dx = $\frac{-1}{y^{2}}$dy
∫$\frac{y^{2}\frac{-1}{y^{2}}dy}{ln(\frac{1}{y})}$

∫$\frac{dy}{ln\frac{1}{y}}$

You forgot a minus sign in the second expression there. Also, do you think you can relate ln(1/y) and ln(y)? This will reduce your expression to a 'standard integral'.

well i replaced everything and now if I do integration by parts It won't end well because I can't integrate 1/ln, and if I integrate dy i'll end up with y in the integral again.

As I said before, you will end up with a 'standard integral', an integral which *cannot* be reduced further. It is known as the 'Logarithmic Integral'.

I haven't learned about logarithmic integrals. Do you think I should be using a technique my teacher hasn't taught?

This whole problem started out as a separable differential equation. My teacher did the left hand side and asked us to do the right hand side which was the integral I posted.

november1992 said:
I haven't learned about logarithmic integrals. Do you think I should be using a technique my teacher hasn't taught?

Here you go then: http://mathworld.wolfram.com/LogarithmicIntegral.html

This whole problem started out as a separable differential equation. My teacher did the left hand side and asked us to do the right hand side which was the integral I posted.

It might be possible that you did a mistake before arriving at the integral (so the integrand is wrong). Otherwise, maybe this is the solution.

He wrote the integral for us to solve.

Thanks for the link, I don't think I'll have time to read it now because my class starts in 6 hours and I think I should sleep before then. Should I just turn in what I've done so far even though it's wrong?

Turn in the final expression you got, following the suggestions here. It's not wrong.

Maybe he didn't write it down correctly, or maybe he wanted you to look up Logarithmic Integral by yourself.

Alright, thanks for the help!

You're welcome!

## 1. How do you know when to use integration by parts?

Integration by parts is typically used when you have a product of functions in the integrand, such as a polynomial times a trigonometric function or an exponential function. It is also useful when you have an integral that is difficult to evaluate using other methods, such as substitution or partial fractions.

## 2. What is the formula for integration by parts?

The formula for integration by parts is ∫u dv = uv - ∫v du, where u and v are functions of x and dv and du are their respective derivatives with respect to x.

## 3. What is the process for using integration by parts?

The process for using integration by parts is as follows:1. Identify u and dv in the integrand.2. Differentiate u to get du and integrate dv to get v.3. Plug u, du, v, and dv into the integration by parts formula to obtain the new integral.4. Solve for the new integral, which should be simpler than the original one.5. If necessary, use integration by parts again on the new integral to simplify it further.

## 4. What is the purpose of using integration by parts?

The purpose of using integration by parts is to simplify integrals that are difficult to evaluate using other methods. It can also help to break down complicated integrals into smaller, more manageable parts.

## 5. Are there any special cases where integration by parts is particularly useful?

Yes, there are a few special cases where integration by parts is particularly useful. One example is when the integrand contains logarithmic functions. Another is when the integrand contains inverse trigonometric functions. In these cases, choosing u and dv strategically can simplify the integral significantly.