How can Lambert's equation be used to solve for x?

  • Context: Graduate 
  • Thread starter Thread starter psyclone
  • Start date Start date
Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
2 replies · 1K views
psyclone
Messages
16
Reaction score
0
Hi,

I had a little problem which I'd like to have answered by anyone who has a-little time to spend!

How to solve for x, given the following;

2Ln(x+4)+1=x ?

the solutions are x= -3.91.. & 5.50..

Wolfram-alpha solves the problem using 'Lamberts W-function', which makes sense because using the inverse property of logs with exponents will not simplify this problem at all.

But by using Using Lambert's Transcendental Equation, with the correct substitution of 'x' for another variable say 'u', I think it can be solved.

Ln u = a u^b {b = 1}

solution: u = exp [ -W(-a*b)/b ] , where W( ) is Lambert's W-function.

Your thoughts?

{http://mathworld.wol...W-Function.html }
{http://mathworld.wol...alEquation.html }
 
Physics news on Phys.org
Since the given equation involves "ln" and Lambert's W function solves [itex]xe^x= constant[/itex], I would get the logarithm alone, then take the exponential of both sides. First simplify: 2ln(x+ 4)= x- 1 so ln(x+ 4)= (x- 1)/2. Then [itex]x+ 4= e^{(x- 1)/2}= e^{x/2}e^{-1/2}[/itex] and write that as [itex](x+ 4)e^{-x/2}= e^{-1/2}[/itex].

Now, let u= x+ 4 so that x= u- 4 and [itex]e^{-x/2}= e^{-(u- 4)/2}= e^{-u/2}e^{2}[/itex]. In terms of u, the equation is now [itex]ue^{-u/2}e^{2}= e^{-1/2}[/itex] or [itex]ue^{-u/2}= e^{-2- 1/2}= e^{-5/2}[/itex]. Finally, let v= -u/2. Then u= -2v so we have [itex]-2ve^v= e^{-5/2}[/itex] or [itex]ve^v= -\frac{e^{-3/2}}{2}[/itex] and [itex]v= W\left(-\frac{e^{-3/2}}{2}\right)[/itex]
 
Last edited by a moderator:
Thx for your post.
but..
W(-1/(2e^(-3/2))) should be W(-1/(2e^(-5/2))),
but your working is correct!