TITLE: Compare $\ln(\pi)$ and $\pi-2$ without calculator
QUESTION [11 upvotes]: Unlike the famous question of comparing $e^\pi$ and $\pi^e$, which I solved almost instantly, I am stuck with this problem.  My thought was the following.
Since exponential function is order-preserving, we exponentiate both terms and get $\pi$ and $e^{\pi-2}$.  Then we study the function $f(x) = e^{x-2} - x$ or the function $g(x) = \frac{e^{x-2}}{x}$, and compare them with zero and one respectively.  I tried both.  But both involve solving the equation
$$e^{x-2} = x.$$
I tried Lagrange error terms and have
$$f(x) = -1 + \frac{(x-2)^2}{2!} + R_2(x-2),$$
where
$$\frac{(x-2)^3}{3!} \le R_2(x-2) \le \frac{e^{x-2}}{3!} (x-2)^3.$$
It is easy to see that the equation have a root between $3$ and $2 + \sqrt2$.  But I don't know how close it is to $\pi$.  It is to provide some lower bounds since we can plug in some values and calculate to show that $f(x) > 0$ for such values.  But for the upper bound, it is hard to calculate by hands since it has the $e^{x-2}$ factor.  At my best attempt by hand, I showed that $f(3.15) > 0$.  All it entails is that for all $x \ge 3.15$, $e^{x-2}$ is greater than $x$.  But it tells nothing about the other side.
Then I looked at the calculator and find that $e^{\pi-2} < \pi$.
I also tried Newton-Raphson iteration, but it involves a lot of exponentiation which is hard to calculate by hand and also involves approximation by themselves.  And I don't know how fast and close the iteration converges to the true root of the equation.
Any other hint for comparing these two number purely by hand?

REPLY [3 votes]: All the logarithms I know by heart are
$$\begin{align}\log_{10}2&=0.30103\\
\ln10&=2.303\\
\ln2&=0.693\end{align}$$
Using the second fact alone we can solve this problem! We know that
$$\frac12\ln\left(\frac{1+x}{1-x}\right)=x+R_2(x)$$
Where
$$|R_2(x)|\le\frac{|x|^3}{3(1-|x|)^3}$$
for $|x|<1$. Then let $x=\frac{-3}{487}$ so
$$\frac12\ln\left(\frac{1+x}{1-x}\right)=\ln\left(\frac{22}{7\sqrt{10}}\right)=\frac{-3}{487}+R_2\left(\frac{-3}{487}\right)$$
So we have
$$\begin{align}\ln\left(\frac{22}7\right)&=\frac12\ln10-\frac3{487}+R_2\left(\frac{-3}{487}\right)\gt\frac{2.3025}2-\frac1{160}-\frac1{100^3}\\
&=1.15125-0.00625-10^{-6}=1.145-10^{-6}\gt1.143\gt\frac{22}7-2\end{align}$$
And since $f(x)=\ln x-x+2$ is decreasing for $x\gt1$ and it has been known since the
time of Archimedes that $\frac{22}7\gt\pi$ we have established the result.
But if you didn't know that $\ln10=2.303$ to $3$ decimals you might
be in for a tougher slog. You could say, for example, that
$$\ln10=10\ln\frac54+3\ln\frac{128}{125}\gt20\left(\frac19+\frac1{3\times9^3}\right)+6\left(\frac3{253}\right)$$
So that
$$\begin{align}\ln\left(\frac{22}7\right)&\gt\frac{10}9+\frac{10}{2187}+\frac9{253}-\frac3{487}-10^{-6}\\
&\gt1.1111+0.004+0.035-0.007-10^{-6}\gt1.143\\
&\gt\frac{22}7-2\end{align}$$
Where we actually had to carry out one of the long divisions to $2$ significant figures.