How do you integrate (ln(x))^2? dx

  • Thread starter Thread starter maxfails
  • Start date Start date
  • Tags Tags
    Dx Integrate
maxfails
Messages
10
Reaction score
0
it seems you can't use the property ln x^n = n ln x.

I'm thinking there's integration by parts involved but not sure.
 
Physics news on Phys.org
maxfails said:
I'm thinking there's integration by parts involved but not sure.

Hi maxfails! :smile:

Yes, use integration by parts with 1 as the function. :wink:
 
ln xn = t
x = et
dx = et dt

so initial eqn becomes

\int t^n e^t dt

and now integrate by parts
 
ln xn = t
x = et
dx = et dt

so initial eqn becomes

\int t^n e^t dt

ln \ x^n = t

e^{ln \ x^n} = e^t

x^n=e^t

\frac{d}{dt} \ (x^n)=\frac{d}{dt} \ (e^t)

0=e^t

remember that:

x=exp \ y \Leftrightarrow y=ln \ x

So

0=e^t \Leftrightarrow t = ln \ 0

Since ln 0 is undefined, so t is undefined too...

:confused:
 
maxfails said:
it seems you can't use the property ln x^n = n ln x.

The problem is that this formula is \ln(x^n)=n\ln(x), but you are now interested in (\ln(x))^n which is different. You probably knew this, but didn't sound very sure about it.

I'm thinking there's integration by parts involved but not sure.

Well tiny-tim of course answered quite sufficiently already, but I thought I would like to say that personally I like writing recursive formulas such as this:

<br /> (\ln(x))^n = D_x \big(x(\ln(x))^n\big) - n(\ln(x))^{n-1}<br />

fundoo, optics.tech, those were quite confusing comments :bugeye:
 
Umm there's a difference between (ln(x))^2 and ln(x^2). The first is what you seem to have, the latter is 2*ln(x).
 
There are two things I don't understand about this problem. First, when finding the nth root of a number, there should in theory be n solutions. However, the formula produces n+1 roots. Here is how. The first root is simply ##\left(r\right)^{\left(\frac{1}{n}\right)}##. Then you multiply this first root by n additional expressions given by the formula, as you go through k=0,1,...n-1. So you end up with n+1 roots, which cannot be correct. Let me illustrate what I mean. For this...

Similar threads

Replies
6
Views
2K
Replies
14
Views
2K
Replies
54
Views
13K
Replies
3
Views
2K
Replies
3
Views
7K
Replies
1
Views
1K
Replies
2
Views
2K
Back
Top