If $\frac{x-1}{e^x-1} = y$ then $x=?$

135 Views Asked by At

I have following equation:

$$\frac{x-1}{e^x-1} = y$$

I want to solve this equation such that I have the value of $x$ in the term of $y.$ i.e. inverse of the equation

1

There are 1 best solutions below

2
On BEST ANSWER

Hint. You may transform the equation $$ \frac{x-1}{e^x-1} = y \tag1 $$ with a little algebra into $$ -(x+y-1)e^{-(x+y-1)}=-ye^{1-y},\tag2 $$ set $X:=-(x+y-1)$ obtaining $$ Xe^X=-ye^{1-y} \tag3 $$ then use the Lambert function W to get

$$ x=1-y-W\left(-ye^{1-y}\right). \tag4 $$