The calculators usually use $\log x,ドル while articles on wikipedia and other websites often use $\log_{10} x,ドル finally the ISO-80000-2:2009 uses $\lg x$.
Which one of these is correct? Or at least expected? If there isn't one, is any considered incorrect or discouraged?
Is the convention varied by regions perhaps?
-
3$\begingroup$ See also math.stackexchange.com/questions/1499094/… and math.stackexchange.com/questions/293783/… and math.stackexchange.com/questions/552038/… and math.stackexchange.com/questions/2071963/… and probably many, many more. $\endgroup$Gerry Myerson– Gerry Myerson2017年11月29日 08:21:59 +00:00Commented Nov 29, 2017 at 8:21
-
$\begingroup$ See Common logarithm as well as Logarithm: Particular bases. $\endgroup$Mauro ALLEGRANZA– Mauro ALLEGRANZA2017年11月29日 08:22:04 +00:00Commented Nov 29, 2017 at 8:22
1 Answer 1
Definitely not $\log(x)$. That is reserved for natural log. I would say use $\log_{10}(x)$.
Edit: This answer is more complete and correct. In computer science $\log(x)$ often means $\log_2(x)$. (Thanks also to @Qudit for mentioning this.)
-
1$\begingroup$ Isn't $\mathrm{ln}$ for natural $\log$? $\endgroup$B. Pasternak– B. Pasternak2017年11月29日 08:22:11 +00:00Commented Nov 29, 2017 at 8:22
-
$\begingroup$ I thought that $\log(x)$ is too ambiguous. But saw it few times used with no explanation. $\endgroup$user1561358– user15613582017年11月29日 08:22:22 +00:00Commented Nov 29, 2017 at 8:22
-
$\begingroup$ @user1561358 $\log x$ is commonly used for $\ln x$ in analysis. In theoretical computer science, $\log x$ usually means $\log_2 x$. $\endgroup$Qudit– Qudit2017年11月29日 08:23:00 +00:00Commented Nov 29, 2017 at 8:23