I have $x=2^x-1$. How do I isolate x? I tried to take the log of both sides of $x-1=2^x$, but then there's a $ln(x-1)$.
2026-04-11 19:29:00.1775935740
Isolate x in an exponential function?
645 Views Asked by Bumbble Comm https://math.techqa.club/user/bumbble-comm/detail At
2
There are two trivial solutions: $x=0,x=1$. There are no other real solutions.
For complex numbers:
Solving with the Lambert W function, I get
$$x-1=2^x$$
$x-1=u$
$$u=2^{u+1}$$
$$u=2e^{\ln(2)u}$$
$$ue^{-\ln(2)u}=2$$
$$-\ln(2)ue^{-\ln(2)u}=-2\ln(2)=-\ln(4)$$
$$-\ln(2)u=W(-\ln(4))$$
$$u=\frac{W(-\ln(4))}{-\ln(2)}$$
$$x=\frac{W(-\ln(4))}{-\ln(2)}+1$$
where $W(z)$ is the inverse of $ze^z$ and $e$ is Euler's number. Choosing different branches will give you different answers, and two of the branches should admit $x=0,x=1$.