Integrating 1/(x+ln(x))

  • Thread starter zeroseven
  • Start date
  • #1
16
0
I've been trying to figure out how to integrate 1/(x+ln(x)) but am not getting anywhere. Mathematica can't do it, and I haven't found it in lists of integrals.

Does anyone know if this integral exists in closed form?

Same goes for (x+ln(x))/(1+x+ln(x))

Thanks!
zeroseven
 

Answers and Replies

  • #2
22,089
3,286
If mathematica can't do it, then it means there is no solution in terms of standard integrals. This is because the algorithm employed by mathematica is a very good one. If a solution exist, then the algorithm finds it. And if the algorithm fails, then that implies that a solution doesn't exist. So it goes both ways.
 
  • #3
16
0
Thanks, that's helpful and very interesting.

I have no idea how I would even begin to go about proving that a solution doesn't exist for an integral! Is this something that can only be done by computer algorithms?
 
  • #4
22,089
3,286
Thanks, that's helpful and very interesting.

I have no idea how I would even begin to go about proving that a solution doesn't exist for an integral! Is this something that can only be done by computer algorithms?
No, it can be done by hand too.

See http://en.wikipedia.org/wiki/Liouville's_theorem_(differential_algebra) and http://en.wikipedia.org/wiki/Risch_algorithm

A good book on the topic is Geddes: https://www.amazon.com/dp/0792392590/?tag=pfamazon01-20&tag=pfamazon01-20 (despite its name, it's a math book and not a programming book)
 
  • #5
16
0
Thanks again, I always wondered how we could be sure that the integral of exp(-x^2) doesn't exist!

So does this mean that when Mathematica works on an integral, it's actually running a rigorous mathematical proof on whether that integral exists or not? Does it use the Risch algorithm that you just linked to?

This leads me to a follow-up question.. if these algorithms work for elementary functions, does it extend to non-elementary functions? For example, if I ask Mathematica to
Integrate[1/(x + ProductLog[x]), x]
and it can't do it, does this prove that an integral doesn't exist in terms of the function ProductLog?
 
  • #6
22,089
3,286
Thanks again, I always wondered how we could be sure that the integral of exp(-x^2) doesn't exist!

So does this mean that when Mathematica works on an integral, it's actually running a rigorous mathematical proof on whether that integral exists or not? Does it use the Risch algorithm that you just linked to?
It uses an implementation of the Rish algorithm, yes. So if mathematica can't calculate an integral, then it actually proves that it can't be calculated. Of course, the proof is never shown, because it's not very interesting. But in principle, mathematica could be used to prove that integrals can't be calculated.

But be aware that the practical situation is a bit more complicated. The wiki on Rish algorithm already shows you that there is a certain dependence on initial conditions. Also, the Rish assumes that polynomials can be factored exactly, this might not be true in practice.

This leads me to a follow-up question.. if these algorithms work for elementary functions, does it extend to non-elementary functions? For example, if I ask Mathematica to
Integrate[1/(x + ProductLog[x]), x]
and it can't do it, does this prove that an integral doesn't exist in terms of the function ProductLog?
I don't know about what the Rish algorithm does with these. But Liousville's theorem seems to be able answer questions like those. I don't know about mathematica's implementation to say with confidence whether it proves the non-existence of this integral. It is however something you can certainly do in theory (by hand).
 
  • #7
16
0
Thanks again micromass.
That solves my problem (or actually shows that it is unsolvable), and makes me appreciate Mathematica a bit more!

Cheers,
zeroseven
 
  • #8
pwsnafu
Science Advisor
1,080
85
This leads me to a follow-up question.. if these algorithms work for elementary functions, does it extend to non-elementary functions? For example, if I ask Mathematica to
Integrate[1/(x + ProductLog[x]), x]
and it can't do it, does this prove that an integral doesn't exist in terms of the function ProductLog?
Not in general. For example applying Richardson's theorem we see that "elementary functions + absolute value function" has no equivalent to Risch.
 

Related Threads on Integrating 1/(x+ln(x))

  • Last Post
Replies
12
Views
5K
  • Last Post
2
Replies
36
Views
4K
Replies
5
Views
3K
  • Last Post
Replies
6
Views
29K
  • Last Post
2
Replies
25
Views
32K
Replies
1
Views
26K
  • Last Post
Replies
2
Views
2K
  • Last Post
Replies
2
Views
3K
  • Last Post
Replies
5
Views
1K
  • Last Post
Replies
9
Views
6K
Top