Is there an explicit way to write the solution of nx = e^x?

In summary, there is a function called the Lambert W-function that can be used to find the explicit solution for nx = e^x, which is x = -W(-1/n). However, it may not be as readily available on hand-held calculators or standard spreadsheets, but can be easily computed using computer algebra systems.
  • #1
Hiero
322
68
(Not homework, just curious)

Homework Statement


Is there an explicit way to write the x which solves nx = e^x for constant n?

Homework Equations


nx = e^x
Or equivalently,
x = ln(x) + m

The Attempt at a Solution


For any n we could just find x numerically, but is there an explicit expression for x(n)?
 
Physics news on Phys.org
  • #2
Been poking around the internet, but as far as I can see this has not been done :/
 
  • #4
Hiero said:
(Not homework, just curious)

Homework Statement


Is there an explicit way to write the x which solves nx = e^x for constant n?

Homework Equations


nx = e^x
Or equivalently,
x = ln(x) + m

The Attempt at a Solution


For any n we could just find x numerically, but is there an explicit expression for x(n)?

It depends on what you mean by "explicit". Mathematicians have invented and named a function designed to deal with problems of that type; it is called the Lambert W-function, ##W##. In terms of ##W## the solution is ##x = -W(-1/n)##. The function ##W## is non-elementary, but has well-developed algorithms and procedures available for it---perhaps not on hand-held calculators or standard spreadsheets, but certainly in computer algebra systems. If you have such a system available to you, computing ##W## is no more exotic than computing a sine or a cosine---just newer and less familiar.
 
  • Like
Likes Hiero and SammyS

FAQ: Is there an explicit way to write the solution of nx = e^x?

What is the equation nx = e^x used for?

The equation nx = e^x is used to solve for the value of x in an exponential function where the base is e.

Is there a general formula for solving nx = e^x?

Yes, the general formula for solving nx = e^x is x = W(n), where W(n) is the Lambert W function.

How do you solve nx = e^x using the Lambert W function?

To solve nx = e^x using the Lambert W function, take the natural logarithm of both sides and rearrange the equation to get x = ln(n)/W(n).

Can you give an example of solving nx = e^x using the Lambert W function?

Sure, for the equation 2x = e^x, we can take the natural logarithm of both sides to get ln(2x) = x. Rearranging the equation gives us x = ln(2)/W(2) ≈ 0.8526.

Are there any other methods for solving nx = e^x?

Yes, there are other numerical methods for solving nx = e^x, such as using a graphing calculator or iterative methods like Newton's method.

Similar threads

Replies
17
Views
1K
Replies
21
Views
3K
Replies
6
Views
2K
Replies
11
Views
2K
Replies
13
Views
2K
Replies
8
Views
2K
Replies
2
Views
3K
Back
Top