Is there an algebraic method for finding roots involving logarithms?

  • Thread starter Thread starter Telemachus
  • Start date Start date
  • Tags Tags
    Logarithms Roots
Telemachus
Messages
820
Reaction score
30

Homework Statement


Perhaps this is trivial, but working in thermodynamics oftenly requires of handling with logarithms. For example, in an exercise I'm trying to solve, I need the roots for something like:
x+ln (x)=constant
The thing is I don't know how to find this kind of roots. I mean, I can use some approximation methods from calculus, like the Newton method for the roots approximation, but I thought that maybe there is other way of doing this, a more algebraic way. Does anyone know if there is some algebraic way of getting this kind off roots?
 
Physics news on Phys.org
Telemachus said:

Homework Statement


Perhaps this is trivial, but working in thermodynamics oftenly requires of handling with logarithms. For example, in an exercise I'm trying to solve, I need the roots for something like:
x+ln (x)=constant
The thing is I don't know how to find this kind of roots. I mean, I can use some approximation methods from calculus, like the Newton method for the roots approximation, but I thought that maybe there is other way of doing this, a more algebraic way. Does anyone know if there is some algebraic way of getting this kind off roots?

There is a Lambert-W function, just for this problem (see wikipedia), which offers the "algebraic" solution to your problem.

The solution for your problem is then:

x=W(econstant)

However, I'm afraid this doesn't help you much, since you would still need to calculate the W-function. So you remain stuck with a numerical approximation.
 
Thanks Serena, that's good enough for me.
 
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...
Back
Top