Why is $\frac{7 \cosh(\sqrt 6)}{13}$ near $\pi$?

Solution 1:

People still want to have something. This is not really even about $e$, let alone $\cosh(x)=\frac{e^x+e^{-x}}{2}$.

When you unpack $\cosh(x)$ use $e^x=\sum\limits_{k=0}^{\infty}\frac{x^k}{k!}$ you get in the end that is stops being magical at about $M=8$ or $9$

$$\frac{13}{7}\pi-\sum\limits_{k=0}^{M}\frac{1}{(2k)!}6^k$$

Say we take 8:

$$\frac{13}{7}\pi-\sum_{k=0}^{8}\frac{1}{(2k)!}6^k$$

after that we start getting slowly away from best possible accuracy (and that is part of the magic, we can add more elements so it would look like $\cosh(\sqrt{6})$). This is giving:

$$\frac{-654104729 + 208208000 \pi}{112112000} \approx -5 \cdot 10^8$$

The part that is actually affecting the precision is $112112000$ while

$$-654104729 + 208208000 \pi \approx -5.78$$

The only surprising element is the fractional structure of:

$$\sum_{k=1}^{8}\frac{1}{(2k)!}6^k$$

What you are asking then is why some $\frac{p}{q}\pi$ for small $p$ and $q$ may have a nice series expression that resembles or starts as known functions in form of Taylor polinomial to a high accuracy at some particular integer value.

The only real explanation is that there are way too many such functions to choose from.

But yes your case is surprising since we had to reach $M=8$ before getting close enough and then on, the accuracy of the sum would not change the accuracy of the surprise effect.

Based on this I can create a program that will give anything like that. Notice just how little is $\pi$ involved and what poor accuracy we actually need.

Recipe:

Find

$$\pi = \frac{p}{q}$$

with quite wide and surprise accuracy, i.e. desired one to create a magical effect. There has to be some $a$ so that you can reduce fraction to very small values of $r$ and $s$.

$$\frac{q}{a}=\frac{r}{s}$$

and you have to be able to use some nice Taylor at some integer $t$ for known function and sufficiently large $M$ so that the missing accuracy does not affect our result:

$$\frac{p}{a}=\sum_{k=0}^{M}f_k(t)$$

Because the accuracy of $\pi$ is almost of no importance and you can do the same procedure over whatever other constant you want, I call this pure magic. Not even an accident. Just a nice trick.

Explanation of the trick: once you get a very high accuracy for rational approximation of $\pi$ you have a large number of $p$ and $q$ to choose from and reduce your accuracy to a level of surprise. Say you want $10$ digit accuracy. Well take $15$ and then you will have a couple of million values for the pair of $p$ and $q$ to choose from without violating intended $10$ digit accuracy. And then you are free to choose the Taylor expansion over, again, couple of different integer values, anything bellow $20$ you can call a surprise.

Solution 2:

$$\pi\simeq 3.141592653589793$$ $$\frac{7}{13}\cosh(\sqrt{6})\simeq 3.141592682218231$$ 8 digits coincide. This is not bad but not sufficient. Clearly both are not equal as already pointed out in comments.

So this is a coincidence. For example, see a lot of formulas approximating $\pi$ with various accuracies in : http://www.contestcen.com/pi.htm

Don't be surprised. Such coincidences are frequent, even with much higher precision. One can easily find numerical coincidences thanks for some software built for this use. A paper for the general public on this subject : https://fr.scribd.com/doc/14161596/Mathematiques-experimentales (in French).

For these kind of search one can also use the ISC : http://wayback.cecm.sfu.ca/projects/ISC/ISCmain.html .

IN ADDITION after Alex Peter's answer.

Citation from https://fr.scribd.com/doc/14161596/Mathematiques-experimentales (Page 2. Rough English translation) :

It is interesting to think about the approach of the researcher confronted with a question which he does not know if the answer will be possible with the actual mathematical knowledge. His exploratory work can make him observe a coincidence or a relationship which is only a conjecture at this stage. The necessary demonstration can be difficult and time-consuming. He can't even know if the game is worth the candle since the conjecture could be wrong. A correct numerical result reinforces the expectation that the conjecture is valid especially as the precision of the calculation is high. It is not a proof but it will avoid wasting efforts on a grossly erroneous conjecture, which is no small thing.

A well known historical example is the infinite series of sum 1/n^2. By an approximate calculation Euler noticed a good proximity with pi^2 / 6 , which reinforced him in the research and finally the discovery of the demonstration of the equality with zeta(2), particular value of the zeta function according to the current writing.

In the same way, let us evoke C.F.Gauss who observed that the number of prime numbers less than n is approximately n/ln(n), which will be confirmed only much later.

End of citation.

The question raised by TOM is an interesting example. In this case it was easy to see that the conjecture is wrong thanks to numerical calculus only. Thus no need to waste time in trying to prove the supposed formula.