Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

How to figure out answer to logarithm

  1. Mar 17, 2012 #1
  2. jcsd
  3. Mar 17, 2012 #2
    My guess is that using Newton's Method would be the easiest. I don't see any easy way to isolate x in that equation.
  4. Mar 17, 2012 #3


    User Avatar

    Staff: Mentor

    Is log = log10? Then I'd guess about, oh, let's see, .... 10? :smile:
  5. Mar 17, 2012 #4


    User Avatar
    Science Advisor

    First, of course, x= 0 is not a solution because log(0) is not defined. So you can divide both sides by x to get log(x)= 0.1 x. You can now write this as [itex]x= e^{0.1x}[/itex]. If you let y= -0.1x, that becomes [itex]-y/0.1= e^{-y}[/itex]. Now multiply on both sides by [itex]-0.1e^y[/itex] to get [itex]ye^y= -0.1[/itex].

    Now we can take the Lambert W function of both sides:
    y= -0.1x= W(-0.1) so x= -10W(-0.1)= -10(-0.111833)= 1.11833 (to six significant figures).

    (The Lambert W function is defined as the inverse function to [itex]f(x)= xe^x[/itex]. It is also known as the "ProductLog" function. Mathematica evaluates that function and it can be evaluated at http://functions.wolfram.com/webMathematica/FunctionEvaluation.jsp?name=ProductLog. That's what I used to get the value above.)
    Last edited by a moderator: Mar 17, 2012
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook