How to compare the values $\sqrt 2$ and $\ln(3).$

"Argument" 1

Compute: $\sqrt{2}\approx 1.41421356237$ (source) and $\ln(3) \approx 1.09861228867$ (source)

There's no way floating point arithmetic is that inaccurate, so the desired inequality is true by direct computation. :)

But beware floating point arithmetic when you desire high levels of precision!

$python
>>> .1 + .2 == .3
False
>>> .1 + .2
0.30000000000000004

Argument 2

Surely we can do better than a black box calculator. Motivated by how a calculator might carry out a direct computation, we argue via numerical approximation ...

As the exponential function is monotone, the desired comparison is equivalent to comparing $e^{\sqrt{2}}$ to $3$. The number $3$ is easy to compute, so we focus on the left side of the equation. From the calculator, we suspect that $e^\sqrt{2} > 3$, so we are led to truncate the exponential series: \begin{align*} e^\sqrt{2} &= 1 + \sqrt{2} + \frac{1}{2!}\sqrt{2}^2 + \frac{1}{3!}\sqrt{2}^3 + \cdots \\ &\geq 1 + \sqrt{2} + \frac{1}{2}\sqrt{2}^2 \\ &= 2 + \sqrt{2} \\ &> 2 + 1 \\ &= 3 \end{align*}


Argument 3

Motivated by graphing the functions: graphing often provides insight The square root starts ahead of the logarithm and doesn't look back -- it not only is greater, its rate of increase is also greater, and so we can reason from their derivatives.

Let $F(x) = \sqrt{x}$ and $G(x) = \ln(1+x)$. Notice that both functions are smooth on $(0,\infty)$ and have $$F(x) = \int_0^x\frac{1}{2\sqrt{t}}\ dt$$ and $$G(x) = \int_0^x \frac{1}{t+1}\ dt $$ Now observe that $$ 2\sqrt{t} \leq t+1 $$ with equality achieved at $t=1$, as $2\sqrt{t}$ is concave down and the function $t\mapsto t+1$ is the equation of the tangent line of $2\sqrt{t}$ at $t=1$.

Therefore $\frac{1}{2\sqrt{t}} \geq \frac{1}{t+1} > 0$ for all $t>0$. As integrating positive functions preserves inequality, we have $F(x) \geq G(x)$ for all $x>0$. In particular, $F(2) \geq G(2)$, so $\sqrt{2}\geq \ln(3)$.


With simple numerical calculation we can show $\ln(3)< \frac75<\sqrt2$.

First calculate $e^{7/5}$ using the series expansion for exponential function.

Taking just three terms of the series: $e^{7/5}> 1+ 7/5 + 7^2/(2!5^2)=169/50>3$ This shows natural log for 3 is less than 7/5.

Now $7^2/5^2=49/25<2$ And we are done.


The trick is to look at $f(x) = \sqrt{x} - \ln(1+x)$.

Note that for $x = 1$,

$$1 - \ln(2) > 0$$

This is true since $\ln(x)$ is an increasing function and $1 < 2 < e$ implies

$$0 = \ln(1) < \ln(2) < \ln(e) = 1$$

Now look at the derivative

$$f'(x) = \frac{1}{2\sqrt{x}} - \frac{1}{x+1}$$

We would like to show that $f'(x) \ge 0$ for $x > 1$, which means $f(x)$ is increasing and must therefore be positive for $x > 1$ (since it is already positive at $x=1$ per above).

Consider the following equivalent inequalities (when $x > 1$):

$$\begin{eqnarray} \frac{1}{2\sqrt{x}} - \frac{1}{x+1} &\ge& 0\\ \frac{1}{2\sqrt{x}} &\ge& \frac{1}{x+1}\\ x + 1 &\ge& 2\sqrt{x} \end{eqnarray}$$

For the last inequality, $1+1 = 2 = 2\sqrt{1}$ and for $x > 1$, taking the derivatives agains shows that the left side grows at a rate of $1$ and the right side grows at the rate of $\frac{2}{2\sqrt{x}} = \frac{1}{\sqrt{x}} < 1$ when $x > 1$.

Thus the last equivalent inequality holds for $x > 1$, which implies $f'(x) \ge 0$ for $x > 1$ which implies $f(x)$ is positive for $x > 1$. In particular, $f(2) = \sqrt{2} - \ln(3) > 0$. Therefore $\sqrt{2} > \ln(3)$.