I found in some integral equations where they use $\log(n)$ and in some other with $\ln(n)$.
Suppose
$$ \int_{n_0}^{\large\frac{n_0}{2}} \frac{1}{n}dn $$
Which formula should I use ?
$$ \log(n)\ \mbox{or}\ \ln(n) $$
I found in some integral equations where they use $\log(n)$ and in some other with $\ln(n)$.
Suppose
$$ \int_{n_0}^{\large\frac{n_0}{2}} \frac{1}{n}dn $$
Which formula should I use ?
$$ \log(n)\ \mbox{or}\ \ln(n) $$
It depends who you talk to. For example, a mathematician would say that $$ \log x = \log_e x = \ln x$$ But a computer scientist would sat that $$ \log x = \log_{10} x $$ I avoid these issues by writing $\ln x$ for the natural logarithm. I also explicitly write the base in all other situations, for example $\log_a x$. As for your integral, here are the steps $$ \int_{n_0}^{\frac{n_0}{2}} \frac{1}{n}dn = \ln \left|\frac{n_0}{2}\right|-\ln |n_0|=\ln \left|n_0\right|-\ln |2|-\ln |n_0|=-\ln 2 $$