Reduction formula for ∫(lnx)^n dx

Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
4 replies · 14K views
privyet
Messages
12
Reaction score
1

Homework Statement



derive a reduction formula for ∫(lnx)n dx and use it to evaluate ∫1e (lnx)3dx

Homework Equations





The Attempt at a Solution



In other examples we've started by saying ∫(lnx)ndx = ∫(lnx)(lnx)n-1dx and using integration by parts. So let:
f = (lnx)n-1
f' = (n-1)(lnx)n-2*1/x
g = x(lnx - 1)
g' = lnx

then ∫(lnx)ndx
= (lnx)n-1x(lnx - 1) - ∫(n-1)(lnx)n-2(lnx - 1) dx
= (lnx)n-1x(lnx - 1) - (n-1)∫(lnx)n-1 - (lnx)n-2 dx
= (lnx)n-1x(lnx - 1) - (n-1)∫(lnx)n-1 + (n-1)∫(lnx)n-2

at this point I get stuck because in all the examples I have seen we get minus the initial integral on the right and side and can add it to both sides to get n∫lnx)n dx = ... so ∫lnx)n dx =1/n[...]

Any help would be very appreciated.
 
Reply
  • Like
Likes   Reactions: Delta2
Physics news on Phys.org
haruspex said:
If ##I_n=\int\ln(x)^n.dx## then you have found the recurrence relation ##I_n=\ln(x)^{n-1}x(\ln(x) - 1) -(n-1)I_{n-1}+(n-1)I_{n-2}##.
You are not asked to solve it, except in the special case cited.
Careful. ##\ln (x)^n \neq (\ln x)^n##.

@privyet
You have solved the problem for ##n\geqslant 2## where ##I_0 :=x## may be assumed. Now use this recursive relation to evaluate the integral you need.
 
Reply
  • Like
Likes   Reactions: Delta2
By setting [tex]\begin{split}<br /> I_n &= \int (\ln x)^n\,dx \\ <br /> &= \int x \frac{(\ln x)^n}{x}\,dx \\<br /> &= \int x \frac{1}{n+1}\frac{d}{dx} (\ln x)^{n+1}\,dx \\<br /> &= \frac{1}{n+1}\left[x(\ln x)^{n+1}\right] - \frac1{n+1}I_{n+1} \\<br /> \end{split}[/tex] (which is a standard trick for dealing with powers of [itex]\ln x[/itex]) I obtain the first-order recurrence [tex] I_{n} = x(\ln x)^n - nI_{n-1},\qquad I_0 = x.[/tex] This seems easier to work with than the second order recurrence given by @haruspex in #2 based on the OP's approach. That second order recurrence can be obtained from the above by subtracting [tex]I_{n-1} = x(\ln x)^{n-1} - (n-1)I_{n-2}[/tex] from both sides.
 
Reply
  • Like
  • Love
Likes   Reactions: Delta2, haruspex and SammyS