I am stuck with solving this equation for $x$:
$$\ln(x)=\frac{x}{1+x}$$
Making exponential both sides I get:
$$x=\exp\left(\frac{x}{1+x}\right)$$
Then I tried to make a change of variable $x=\frac{1}{z}$ and use omega function. But I reached nothing.
Any help please?
I do not think there is a closed form solution. Hence, I will use the Newton-Raphson Method.
One may prove that there exists only one real root.
The process is as follows:
$$x_{n+1}=x_n-\frac{f(x_n)}{f'(x_n)} \tag{1}$$
We choose an initial starting point $x_0=1$, a reasonable estimate of the solution.
We use the functions:
$$f(x)=\ln{x}-\frac{x}{x+1}$$
And find its derivative:
$$f'(x)=\frac{x^2+x+1}{x(x+1)^2}$$
Hence, we obtain the following, after substituting into $(1)$:
$$x_{n+1}=x_n-\frac{\ln(x_n)-\frac{x_n}{x_n+1}}{\left(\frac{{x_n}^2+x_n+1}{x_n(x_n+1)^2}\right)}=x_n-\frac{x_n(x_n+1)((x_n+1)\ln(x_n)-x_n)}{{x_n}^2+x_n+1} \tag{2}$$
Applying this recursively gets us closer and closer to the solution:
$$\begin{array}{c|c}n&x_n\\\hline0&1\\1&1.66667\\2&1.91521\\3&1.93287\\4&1.93295\\5&1.93295\end{array}$$
As the iterations $n \to \infty$, $x_n \to x$, the solution to the equation. Therefore:
$$x \approx 1.932947554905753$$
You can implement this method using a spreadsheet, or by a more sophisticated software such as MATLAB.