Hi. I'm trying to find an analytical solution to ln(x) = kx, where k is a constant. I can solve it with numerical methods (Newton-Raphson, etc), but was trying to find an analytical solution. Does anyone have any ideas?
You can solve using the Lambert W-function (http://en.wikipedia.org/wiki/Lambert_W_function. You'll find other links if you search MHF):
.
NB: Obviously there are restrictions on k for a real solution to exist.
OK, I took a look at this, and only get one of the three solutions through this method. The exact equation I was trying to solve was 2^x = x^2, which equates to ln(x) / x = ln(2)/2, and rearranging for the W function, you get -x ln(2) / 2 = W[-ln(2) / 2] = -ln(2), so x=2. However, there are also solutions of x=4 and x=-0.7666.. that are not given by this method. Do you know why this is the case?