I was in a math class today and we were learning about logarithms. The teacher explained that:
$$\log(x+y) \neq \log(x) + \log(y)$$
And to prove this, decided to solve these two equations for the class:
$$\ln(1) + \ln(2) + \ln(3)$$
and
$$\ln(1+2+3).$$
For some reason, these two ln equations exactly equal each other. I divided one by the other with my calculator and the answer was 1. Is this pure coincidence? Or is there something interesting going on under the hood?
We know that by the proprieties of $\ln(x)$: $$\ln(n!)=\sum_{i=1}^{n}\ln(i)$$ Let $n=3$, we have that: $3!=1+2+3=6$, so: $$\ln(3!)=\ln(1)+\ln(2)+\ln(3)$$
Note that is a very special case because it is only verified for $n=\{1,2,3\}$. Namely: $$1+2+\dots+n\leq n!\,\,\,\forall n \geq 4$$