Prove the equation $\ln(x) = \frac1 {x-1}$ has exactly 2 real solutions.
Hello all. I thought of defining the function $f(x)=x-e^{\frac 1 {x-1}}$ and showing it has only 2 single roots, though I am not sure on how to show it and I understand it is better to prove using Lagrange's theorem. Would be happy to get some help on that question, thanks in advance :)
Consider the function $f$ defined on $(0,1)\cup(1,\infty)$ by $$f(x) = (x-1)\ln x\,.$$ We have $\lim_{x\to 0^+} f(x) = +\infty$, $\lim_{x\to 1^-} f(x)=\lim_{x\to 1^+} f(x) = 0$, and $\lim_{x\to +\infty} f(x) =+\infty$. Further, $f$ is differentiable twice on its domain, with $$ f''(x) = \frac{x+1}{x^2} > 0 $$ and $$ f'(x) = 1+\ln x - \frac{1}{x} $$ which has limit $0$ at $x=1$ (on both sides), $-\infty$ at $0^+$ and $+\infty$ at $\infty$.Combining the two (the limits of $f'$ and the fact that $f'$ is strictly increasing on $(0,1)$, and strictly increasing on $(1,\infty)$), $f' <0$ on $(0,1)$ and $f'>0$ on $(1,\infty)$, i.e. you have strict monotonicity of $f$ on both parts of its domain.
From this last thing, along with the limits of $f$, you get the result: $f$ takes the value $1$ exactly once on $(0,1)$, and exactly once on $(1,\infty)$.