3
$\begingroup$

How could we solve $\sqrt{x} + \ln(x) -1 = 0$ without using Mathematica? Obviously a solution is $x = 1$, but what are the other exact solutions?

2 Answers 2

14

Both $\sqrt x$ and $\ln x$ are increasing functions of $x$, so $\sqrt x+\ln x=1$ can have at most one solution. As you note, it does have one, namely $x=1$, but that must be the only one: $\sqrt x+\ln x<1$ when $0, and $\sqrt x+\ln x>1$ when $x>1$.

  • 0
    Thank you. This inspired a followup where the situation is not as clear: Any ideas are welcome!2012-06-06
4

$\sqrt{x} + \ln(x) -1 = 0$

$x=e^u$

$e^{u/2} + u -1 = 0$

$1-u=e^{u/2}$

$(1-u)e^{-u/2}=1$

$\frac{(1-u)}{2}e^{-u/2}e^{1/2}=\frac{e^{1/2}}{2}$

$\frac{(1-u)}{2}e^{\frac{(1-u)}{2}}=\frac{e^{1/2}}{2}$

$\frac{(1-u)}{2}=p$

$pe^{p}=\frac{1}{2}e^{1/2}$

We can see easily that $p=1/2$

$\frac{(1-u)}{2}=1/2$

$u=0$

$x=e^u=e^0=1$

Sometimes we cannot find p easily. If we continue to solve general way for such equations from $pe^{p}=m$

$p=W(m)$

where $W(x)$ is Lambert W function

$\frac{(1-u)}{2}=W(\frac{e^{1/2}}{2})$

$u=1-2W(\frac{e^{1/2}}{2})$

$x=e^u=e^{1-2W(\frac{\sqrt{e}}{2})}=1$

Also wolframalpha verified that result