How to solve log(x)+2x=2 for x?

  • Context: High School 
  • Thread starter Thread starter cakeroot
  • Start date Start date
Click For Summary

Discussion Overview

The discussion revolves around solving the equation log(x) + 2x + 2 = 0, with participants exploring various methods, including the Lambert W function. The conversation touches on the challenges of finding a closed-form solution and the iterative nature of solving transcendental equations.

Discussion Character

  • Exploratory
  • Mathematical reasoning
  • Debate/contested

Main Points Raised

  • Some participants suggest that the Lambert W function can be applied to the equation, while others express skepticism about its applicability.
  • One participant notes that a closed-form solution is unlikely to exist for the equation.
  • Another participant mentions that for similar equations, iterative methods may be necessary due to their transcendental nature.
  • There is a discussion about the nature of the Lambert W function, with some participants emphasizing that it is not inherently more complex than other transcendental functions like sine and cosine.
  • Participants express confusion regarding the initial problem statement, noting discrepancies between the title and the first post.
  • One participant outlines their derivation process but struggles to apply the Lambert W function correctly, leading to further questions about the solution approach.

Areas of Agreement / Disagreement

Participants do not reach a consensus on the applicability of the Lambert W function to the problem, and there are multiple competing views regarding the solution methods. The discussion remains unresolved with respect to the best approach to solving the equation.

Contextual Notes

There are limitations in the discussion, including missing assumptions and unresolved mathematical steps related to the application of the Lambert W function. The initial problem statement is also noted to be inconsistent, which may affect the clarity of the discussion.

cakeroot
Hello:
could anyone know how to solve this equation?
log(x)+2x+2=0
I found the similar problem on another thread, https://www.physicsforums.com/threads/how-to-solve-log-x-x-2-0-for-x.537411/
it can be solve by lambert w function,
but in this equation we can't reshape it to xe^x that I can't solve by lambert w function.

Thanks!
 
Last edited by a moderator:
Mathematics news on Phys.org
Yes you can apply the W function to this. It is perfectly possible to rewrite your equation in terms of it.

Apart from that, you will not find a closed form solution.
 
You can guess that x=1, but for some other numbers like log(x)+1.5x=4 you have to solve it iteratively because it's a transcendental equation. Lambert W is just a name that has been given to the results of that kind of iterations.
 
hilbert2 said:
Lambert W is just a name that has been given to the results of that kind of iterations.
Like sin and cos are also just names that we have given other transcendental functions. Just to point out that it is not something strange and magical about the W.
 
Orodruin said:
Yes you can apply the W function to this. It is perfectly possible to rewrite your equation in terms of it.

Apart from that, you will not find a closed form solution.

thanks for your respond!

but I still encountered difficulties in this problem,

the following is my derivation process:

##log(x)=-2x-2##

##x = e^{-2-2x}##

##xe^{2+2x}=1##

##xe^{2x} = \frac{1}{e^2}##

how can I solve it by lambert w?

or others solutions?
 
Last edited by a moderator:
Orodruin said:
Like sin and cos are also just names that we have given other transcendental functions. Just to point out that it is not something strange and magical about the W.

Yes, I should probably have stressed that fact more. The W function may be said to be a bit more exotic object that sine or cosine, though, as its power series and the differential equation producing it as solution are not as simple as those of sin and cos. Also, it doesn't appear in any fundamental physical model (sin and cos are found in the energy eigenfunctions of a free particle and the trajectory of harmonic oscillator).
 
cakeroot said:
xe^2x = 1/(e^2)

how can I solve it by lambert w?
By definition, ##W(z)e^{W(z)}=z##. Here ##z=\frac{1}{e^2}##, and your solution is W(z).

Edit: Forgot the factor 2. See two posts below.

What exactly is the initial problem statement? Title and first post have two different equations.
 
Last edited:
  • Like
Likes   Reactions: cakeroot
mfb said:
By definition, ##W(z)e^{W(z)}=z##. Here ##z=\frac{1}{e^2}##, and your solution is W(z).

What exactly is the initial problem statement? Title and first post have two different equations.

I apologize for my negligence,

the first post is right => log(x)+2x+2=0,---------------------------------------------------
the left side of equation is ##xe^{2x}##,
and if shift to ##xe^{x}## will cause:
##xe^{x}=\frac{1}{e^{2+x}}##,
then the right side included x that I can't solve it by w function.

please correct me if I am wrong,
thanks
 
Last edited by a moderator:
cakeroot said:
##xe^{2x} = \frac{1}{e^2}##

how can I solve it by lambert w?

or others solutions?

Multiply both sides by 2 ...
 
  • Like
Likes   Reactions: Douglas Sunday and cakeroot
  • #10
mfb said:
By definition, ##W(z)e^{W(z)}=z##. Here ##z=\frac{1}{e^2}##, and your solution is W(z).

What exactly is the initial problem statement? Title and first post have two different equations.
Orodruin said:
Multiply both sides by 2 ...

ah, ok, I think I understand what to do now,
thanks!
 

Similar threads

  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 44 ·
2
Replies
44
Views
5K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 22 ·
Replies
22
Views
3K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 8 ·
Replies
8
Views
1K