27

In many U.S. middle schools and high schools, $\ln$ and $\log$ are treated differently, with the intent that $\log$ is equivalent to $\log_{10}$. However, in undergraduate courses and in the academic world, $\log$ always means $\log_{e}$, and $\ln$ is rarely, if ever used.

Is there a compelling reason to teach younger students the "notation convention" of $\log = \log_{10}$? Or should logarithms be taught always with a base so that students don't fall into this notation trap when they grow up?

It seems to be that there is no need to teach the notation $\ln$, and we should just teach $\log_{e}$ as $\log$ and use $\log_{10}$ if we need base-ten logarithm.

Nahmid
  • 403
  • 1
  • 4
  • 5
  • 3
    I think there are plenty of good reasons to use $\exp_b(x)$ to mean $b^x$ and $\log_b(x)$ to means its inverse, and to always specify that base $b$. – Brendan W. Sullivan Dec 16 '19 at 19:09
  • 48
    You are wrong about undergraduate courses. log is used for log base 10. Also, almost every calculator I've ever seen uses the log button to mean log base 10. – Sue VanHattum Dec 16 '19 at 19:50
  • 33
    In college, it is not true that $\log = \log_e.$ . Rarely is it used that way. $\ln$ is by far more pervasive in undergrad and grad students, meaning $\log_e$. In fact, any undergraduate student overlapping computer science and math will suggest that $\log$ should be interpreted to mean $\log_2$. It is possible that in a few nations, the preference at the undergraduate level deviate from this, but if that's the case, you should understand that doing so is an exception, not the rule. – amWhy Dec 16 '19 at 19:52
  • 12
    Hm, perhaps my empirical data is wrong... in all the undergraduate math/statistics/physics classes that my peers and I have taken, $\log$ has always been used to imply $\log_e$. – Nahmid Dec 16 '19 at 19:57
  • 2
    $\log$ is just a log, base is undefined. $\log_{10}$ is $\lg$, $\log_{e}$ is $\ln$. – Rusty Core Dec 16 '19 at 20:18
  • 4
    @RustyCore Hmmm. My experience is log is base 10, ln is base e, and lg is base 2 (which is used relatively frequently in computer science). – Matthew Daly Dec 16 '19 at 20:35
  • 1
    @NickC The document you linked to clearly says on page 24/47, section 12: $\ln x$ - natural logarithm of x, or $\log_{e}x$; $\lg x$ - decimal logarithm of x, or $\log_{10}x$; lb x - binary logarithm of x, or $\log_{2}x$ – Rusty Core Dec 16 '19 at 21:09
  • 7
    @MatthewDaly — This international standards document disagrees with you on this, instead using lg for base-10 and lb for base-2 logarithms. I have never seen lg or lb used in a math textbook, though I know they are used elsewhere. (Thanks to RustyCore for catching my missing prefix in this comment version 1.0) – Nick C Dec 16 '19 at 22:15
  • 1
    @MatthewDaly Note that I am not saying it disagrees with your experience, only with the meaning of “lg”. – Nick C Dec 16 '19 at 22:17
  • 20
    We already have two answers along this vein, but for my entire undergraduate career as an an engineer, ln was base e, log was base 10. For basically my entire engineering career, log is base 10. Only recently have I started dabbling in worlds where log means anything else. – Cort Ammon Dec 16 '19 at 22:46
  • 2
    Bit in my discrete mathematics book, any appearance of $\log$ is intended to be understood as $\log_2$. – Daniel R. Collins Dec 17 '19 at 05:15
  • 3
    At my university's algorithms course (when time/space complexity was being learnt), the lecturer used the log n notation (n was the length of the input), so naturally, we asked what is the base of that logarithm. The lecturer replied that it didn't matter, as using sentences about logarithms (dunno what's the correct english phrase), you could easily convert logarithm of base a to logarithm with base b. Maybe that's also a reason for ambiguity. However, I understand that in CS, when learning complexities, it really doesn't matter whether the alg is in O(ln n) or O(log n). – Maroš Šeleng Dec 17 '19 at 10:33
  • 4
    The only times that my undergraduate courses didn't specify the base (so ln, log_10, log_2, et cetera) was when it didn't matter - for example, ln(300)/ln(500) is the same as log_10(300)/log_10(500), is the same as log_521(300)/log_521(500). – Chronocidal Dec 17 '19 at 10:35
  • 12
    The extensive discussion this question has provoked shows that it is clearly a good question about pedagogical practice, whose answer is not clear nor universally agreed. – Dan Fox Dec 17 '19 at 12:10
  • 2
    @NickC In my electrical engineering curriculum, lg has always been used for base 2, ln for base e, and log for "we definitely mean a specific base here but we're not telling you whether it's 10, 2, or e" – Hearth Dec 17 '19 at 13:28
  • @RustyCore's comment ($\lg=\log_{10}$ and $\ln=\log_{e}$) certainly applies to many cases in university physics. Physics doesn't often use $\log_{10}$, but we need to be clear when we do – Chris H Dec 17 '19 at 13:31
  • 6
  • 6
  • 4
    @DanielR.Collins An amusing typo (?) there. – Richard Ward Dec 17 '19 at 16:13
  • 1
    I am amused by this big-endian vs. little-endian discussion. One has to know both: the standard ISO notation as well as notation specific to one's field. But when it comes to usage in one's own writings, I think that everyone should move towards the ISO standard—which is the whole point of having a standard. – Rusty Core Dec 17 '19 at 17:23
  • I agree, @Rusty. We all need to get on the same page! – amWhy Dec 17 '19 at 18:45
  • 1
    Once, somewhere, I ran across a textbook in which lc meant "common log," or log base 10. Made sense so long as you knew ln means "natural log" – Carl Witthoft Dec 17 '19 at 19:34
  • 2
    It's worth noting that Google uses log with base 10, ln with base e, and lg with base 2. – Mooing Duck Dec 18 '19 at 01:04
  • 4
    The answer will be very geographically- and context-dependent. The 'we' in the title is overly vague, but the first sentence implies the context is "U.S. middle schools and high schools", which is overly specific. Not university. Not engineering, CS or sciences.(Is 'we' only educators? only second-level educators?) If the context is science or engineering, then an unqualified 'log' means log_10, but if it's information theory, then it means log_2; in other contexts, it might be 'some base that we don't state'. – smci Dec 18 '19 at 09:22
  • In my computer-science courses, log always meant log base 2, because computers. I found the omitted base to be annoying and a regular source of confusion. – Seldom 'Where's Monica' Needy Dec 19 '19 at 00:54
  • 1
    I think that it varies a lot across fields. In economics and finance people usually use $log(x)$ to mean $ln(x)$. Actually, in these areas it is very uncommon to see any notation other than $log(x)$. If I recall correctly, in my undergraduate statistics courses we used $log(x)$ to mean $ln(x)$. I think this practice is very unfortunate and confusing and would prefer to use only $ln(x)$ to denote natural logarithm. – Moysey Abramowitz May 24 '21 at 15:12

6 Answers6

46

Unrelated to US, in Germany the notation through school and university was quite consistent:

  • $\ln$ using base $e$
  • $\log$ using base $10$
  • $\log_x$ using base $x$

I may not know enough about the US education system, but if the definitions are not clearly homogeneous throughout the country, I would teach all three at school plus add a note that in some places the notations might differ.

In my opinion, telling students that a certain notation is set in stone, when it really isn't, might lead to more confusion later.

amWhy
  • 2,095
  • 1
  • 17
  • 34
Apfelsaft
  • 629
  • 4
  • 2
  • 7
    It's the same in the US. Outside of pure mathematical contexts or tools like Matlab, log(100) = 2. It's also a useful distinguisher for engineers, since most representations of power or frequency use base-10, whereas the actual time-domain signal analysis uses base-e. – MooseBoys Dec 17 '19 at 07:58
  • 6
    I went to school in Germany too, and we didn't use $\log$ for $\log_{10}$. We either wrote it out explicitly, or used $\operatorname{lg}$ for that. Then at university, we generally used $\ln$, hardly ever anything else. When we used $\log_2$ we wrote that out explicitly again. $\log_{10}$ was never needed. – leftaroundabout Dec 17 '19 at 10:46
  • 14
    @MooseBoys: Type $\log(100)$ on Matlab and you get $4.6052$. In Python, math.log$(100)$ returns $4.605170185988092$ (specifying a different base requires an optional second argument). In C the same. So outside pure math contexts the use of log to mean natural logarithm is quite common. – Dan Fox Dec 17 '19 at 12:04
  • 8
    @DanFox yes, though the historical reason for that is probably: Fortran had LOG=ln because maths, then C followed Fortran, then everybody followed C. So it does come from “pure maths” (actually rather from applied maths, physics simulations etc.), but it does make sense as I said in my answer. – leftaroundabout Dec 17 '19 at 13:23
  • 1
    @leftaroundabout dunno which school and university you attended but our math teachers at least gave during the introduction to logarithms the explanation that you usually write the base next to log - and then showing the 2 "exceptions" for their prominent and wide spread use .. lg / ln . AND NEVER I have seen the shortcut of log = logarithmus naturalis .. which is in fact ln That programming languages follow their own principles is well known. At least you can easily transform logarithms. – eagle275 Dec 17 '19 at 14:27
  • thanks for reformatting :) – Apfelsaft Dec 17 '19 at 22:48
  • @leftaroundabout: That has been my experience as well, outside of computer science subjects (in my experience, computer science people can be rather liberal in substituting $\log$ for $\log_{2}$). – hoffmale Dec 18 '19 at 00:36
  • 1
    For what it's worth, this exact convention was used in my university in France. – Eric Duminil Dec 18 '19 at 07:47
  • @leftaroundabout Odd. I've only ever seen $\lg$ to mean $\log_2$. – chrylis -cautiouslyoptimistic- Dec 18 '19 at 12:59
  • I'm a US student. Minored in Math. This is exactly what I have always seen. It was the same in high school and in college. – Eric G Dec 18 '19 at 19:47
  • @DanFox The reason why C didn't use 2letters for log rather than 3; is because 2 is VERY undescriptive; it could represent any 2 words; not just " logarithmus nātūrālis". It's a bit like asking why max, min; avg, abs aren't 2 letters. Programming has a very different set of requirements; and you'll find that the documentation as a result is always very explicit. – UKMonkey Dec 19 '19 at 17:45
  • Throughout my UC Berkeley EECS undergraduate courses, Answer' OP's response was the convention. log_2, while common in CS courses, was usually still denoted as such. – acidnbass Dec 19 '19 at 22:38
22

You are wrong about undergraduate courses always treating $\log$ as $\ln$. To my memory, all of my undergrad chemistry and physics (not just general, but majors texts), engineering, calculus, diffyQs, and engine maths books use $\ln$\ for natural log and log for base 10. Add onto that everything I've seen professionally in oil exploration and the military. I have about 100 books like that on my shelves. Just picked ten of them at random and none of the ten used $\log$\ for Napierian logarithm.

Note also Sue's point on calculator buttons. This is a huge, common, commercial usage pattern.

Yes, I have occasionally seen the use of "log" to mean natural log, usually being able to detect it by something being "off" in the explication. I reviewed a recent paper from two writers from the Fed, who were using $\log$\ for natural log (without clarification) and recommended that they note their usage at the beginning. (I didn't need them to change their preferred notation, but did need them to clarify what they were doing.)

Personally, I find most equations to be based on natural logs anyhow. So in that case, use of $\ln$\ avoids any ambiguity. If you are planning to use $\log$ for base $10$ logs, it is probably also best to clarify your usage initially. Or if you insist on using $\log$ to mean natural log, clarify that on first usage. (But I would avoid, as less frequent.)

quid
  • 7,692
  • 2
  • 32
  • 63
guest
  • 237
  • 1
  • 2
21

I would argue that we should never use $\log$ for $\log_{10}$ anymore, only warn that this was historically often done. Sticking to the ISO convention is probably safest: $$\begin{aligned} \log_{e} \equiv \ln \\ \log_2 \equiv \operatorname{lb} \\ \log_{10} \equiv \lg \end{aligned}$$ I personally would use of the shorthands only $\ln$, and write out all other logarithms explicitly.

Further I would remark that most programming languages use log to mean $\ln$. This does make some sense, because

  • In a programming context you have lots more variable names so standard functions don't stand out the way they do in maths formulas; in particular something two-letter like ln would be not as clear to read.
  • The natural logarithm is by far the most important in serious applications. Computer scientists may disagree (in discrete maths, base-2 tends to turn up more), but then, they mostly write logarithms in big-O notation and there the basis doesn't actually matter because it is equivalent to a constant factor.
    The reason base-10 used to be common is that it makes calculation by hand easier, especially with a slide rule. But this is completely obsolete; today the base-10 logarithm is essentially irrelevant.
  • exp is generally understood to mean $x\mapsto e^x$, so using log for $\log_e$ gives a nice symmetry.

Still, in a maths context I'd continue to write $\ln$ for the natural logarithm, and only ever use $\log$ with an explicit base annotation.

leftaroundabout
  • 693
  • 4
  • 9
  • 13
    Has "lb" ever been used outside the standards document? It seems like a standard that exists mainly to acknowledge that some people use base-2 logarithms. – chepner Dec 17 '19 at 13:14
  • @chepner I have never seen it myself, but IMO this is one of the more sensible ones. In school I actually learned it as $\operatorname{ld}$ (logarithmus dualis), but that isn't as good because “logarithmus decimalis” would also be plausible. – leftaroundabout Dec 17 '19 at 13:20
  • 1
    "in particular something two-letter like ln would be not as clear to read" - What about $ function in jQuery? It is a single-letter name. A name is just a name, it just has to be unique. – Rusty Core Dec 17 '19 at 17:29
  • @RustyCore the $ function in jQuery is used more as a special syntax / keyword element. And, for functions / operators that are used everywhere all the time, very short identifier are fine. I also don't mind single-letter variables, if they are the arguments of a very small function. But if you have a big codebase and somewhere in the midst of it something like ln or mp or di turns up, it can be very confusing. Admittedly log isn't much better either in this regard. More important is really to have one clear standard version, so people don't need to memorise more than needed. – leftaroundabout Dec 17 '19 at 17:54
  • 3
    I downvoted because I disagree. Calculators use log as a button, and it means log base 10. I think it's useful to keep that notation for as long as calculators do. – Sue VanHattum Dec 17 '19 at 19:03
  • 7
    @SueVanHattum then we should encourage calculator manufacturers to stop doing that. That doesn't happen by further perpetuating this stupid convention. – leftaroundabout Dec 17 '19 at 20:30
  • Aside from the fact that I don't see why anybody uses calculators anymore anyway – a simple Python REPL is so much more powerful, not to speak of what a full CAS can offer. (And all of those also generally use the $\log \equiv \log_e$ convention.) – leftaroundabout Dec 17 '19 at 20:33
  • 2
    @leftaroundabout Because some people like having a dedicated device for calculations or for when they don't have access to a computer or smartphone with the appropriate applications installed. Additionally, doing calculations and graphing programmatically can require more in-depth work than using a dedicated device for that purpose. – JAB Dec 18 '19 at 01:14
  • @leftaroundabout: I love https://qalculate.github.io/ as a calculator. It can be simpler and more powerful than a plain Python REPL (i.e. without simpy, pandas, numpy, ...). – Eric Duminil Dec 18 '19 at 07:58
19

In mathematics, $\log$ means natural logarithm. So, as you become a mathematician, sometime during that process you must learn this.

That standards document is for natural sciences, not for mathematics. I guess mathematicians are too independent-minded for such things.

This would be seen, for example, in complex analysis and in real analysis.


Note: Of course we do not claim $\log$ is always used for natural logarithm (except perhaps among mathematicians). But neither can it be claimed that $\log$ is never used for natural logarithm.


Example:
W. Rudin, Principles of Mathematical Analysis ... 3rd edition, page 181.


Another example: the C++ draft standard

template complex log(const complex& x);
Notes: the branch cuts are along the negative real axis.
Returns: the complex natural (base e) logarithm of x, in the range of a strip mathematically unbounded along the real axis and in the interval [-i times pi, i times pi ] along the imaginary axis. When x is a nega- tive real number, imag(log(x)) is pi.
template complex log10(const complex& x);
Notes:
the branch cuts are along the negative real axis. Returns: the complex common (base 10)logarithm of x, defined as log(x)/log(10).

amWhy
  • 2,095
  • 1
  • 17
  • 34
Gerald Edgar
  • 7,489
  • 1
  • 21
  • 33
  • 4
    I got an MA in Math and I don't believe I ever saw this usage. What is the first course in which it's common? – Sue VanHattum Dec 16 '19 at 21:23
  • 8
    @SueVanHattum Most (but probably not all) working researchers in real or complex analysis will use $\log$ for $\log_e$, and rarely write $\ln$. I would guess this convention is introduced in graduate level real and complex analysis courses. – Steven Gubkin Dec 16 '19 at 23:31
  • 21
    -1 for lack of perspective. Different mathematical fields and textbooks use $\log$ in different ways. – Daniel R. Collins Dec 17 '19 at 05:18
  • 9
    I think the point is more that mathematicians don't tend to use anything other than base $e$, so use $\log$ and $\ln$ interchangeably. But other subject do use base $10$. – Jessica B Dec 17 '19 at 06:25
  • 6
    @SueVanHattum Coming through the UK system and studying maths, I was never really taught anything other than base $e$. At school, when we first met logarithms, we learned to work out other bases using base $e$, and then we used the subscript notation. – Jessica B Dec 17 '19 at 06:27
  • 13
    In professional mathematical usage, $\log$ essentially always means the natural logarithm. More precisely, it means the restriction to the real numbers of a branch of the complex logarithm. It's not just a question of choices of base. What occurs naturally is the entire function $e^{z} = \sum_{i = 0}^{\infty}\tfrac{z^{i}}{i!}$ and the problem of inverting this function. On the other hand, in engineering or economics, $\log$ often means the base $10$ (real) logarithm. – Dan Fox Dec 17 '19 at 12:00
  • 17
    However, that professional mathematicians use $\log$ to mean the natural logarithm does not entail that one should do the same when teaching students who are not future mathematicians, e.g. engineers. For such students, I find it causes fewer difficulties for students to write $\ln$. It costs me little, and requires less reeducation in a context where not much is to be gained by such reeducation. – Dan Fox Dec 17 '19 at 12:08
  • 2
    Indeed log should always mean natural logarithm. As a pure mathematician I have never seen it being used as log base ten (which to me is highly unnatural). But it seems like everyone else thinks the opposite... – shalop Dec 18 '19 at 01:29
  • 3
    You might want to use a weaker assertion in your first sentence. – Eric Duminil Dec 18 '19 at 07:52
  • 3
    @Shalop As someone who's not a pure mathematician, I've only ever really seen it used as base 10. To assert your way is right just because it's what you're used to would mean I could also assert that your way is wrong, because in my experience it is always base 10. It's good to recognize that this notation isn't remotely universal, and would depend on your field and location. – JMac Dec 18 '19 at 13:11
  • I was a mathematics major in college and took many math courses. Other than in some programming languages such as C (where ln was being used for a different thing and therefore that name was unavailable) I've never seen log be used for anything other than base 10 logarithm. In fact, the very existence of this question surprises me. I had no clue anyone else ever used a different notation (outside of a few programmers getting around name conflict). – user64742 Dec 19 '19 at 04:11
  • 1
    @ Dan Fox In around twenty economics and finance courses I have taken or taught in 2 North American universities nobody ever used $log$ to mean base-10 logarithm. Whenever economist writes $log(x)$, he always means $ln(x)$. – Moysey Abramowitz May 24 '21 at 15:27
15

My perspective on this (as a British computer scientist) is slightly different to the others already mentioned: my default expectation is that $\ln$ is the natural logarithm, $\lg$ is the binary logarithm, and $\log$ is used when the base is unimportant. Since I usually see logarithms inside a Landau $O$, the irrelevancy of the base is the most common case.

Peter Taylor
  • 623
  • 3
  • 10
  • 7
    I have seen “lg” being used for base 10, “ln” for the natural one and “log” for a general one. – Martin Ueding Dec 17 '19 at 08:49
  • 9
    Knuth used lg for binary logarithm in The Art of Computer Programming. So there's always going to be some tension between ISO and seminal textbook as far as canonical notation. In the end, mathematicians will define the specific notation they will use in the context of their work, and mathematical readers would be well-advised to check for those notations before jumping to conclusions. – Matthew Daly Dec 17 '19 at 14:20
  • 4
    "$\log$ is used when the base is unimportant.": That's a really good point worth stressing. Because I think a lot of people make the mistake of assuming that there must be a specific base for the notation to be meaningful, causing them to miss the fact that logs are often base-agnostic. Indeterminate bases would be a great point to teach students early on, as the concept itself seems broadening. – Nat Dec 19 '19 at 17:58
  • @Nat: Interesting point. If one writes something like log(x)/log(2.0), any base for log will be essentially as good as any other provided both calls to log use the same one. I suspect the use of log as base 10 has to do with the fact that the easiest way to compute the natural logarithm was to compute a base-ten logarithm and multiply that by the the reciprocal of the base-ten log of e. – supercat Dec 19 '19 at 22:39
8

This question is more difficult to answer than it appears. Part of the difficulty is that usage varies from area to area, from country to country, and from teacher to teacher. Part of the problem is that the answer might depend on the audience being taught. The summary of what follows is that: a. when teaching one should be up front about and make one's conventions clear; b. when teaching anyone other than future mathematicians one should either use $\ln$ or be very clear that one is using $\log$ to mean $\log_{e}$ (very clear means repeating endlessly); c. that the issue in professional practice is one of context - in mathematics there is not much need for other bases, while in contexts where the reference scale is important and it is natural to use some integer base such as $2$ or $10$, it is natural and convenient to write $\log$ to mean the logarithm in this base; d. in purely mathematical contexts $\log$ means the natural logarithm.

First, what is the logarithm? Among professional mathematicians, $\log$ means an inverse of the exponential function $e^{z} = \sum_{k \geq 0}\tfrac{z^{k}}{k!}$. More precisely, one calls any solution of $e^{z} = w$ a logarithm of $w$, and one writes $\log w$ for any such number. If $z = x + iy$, then $w$ solves the equations $e^{x} = |w|$ and $e^{iy} = w/|w|$. The equation $e^{x} = |w|$ has a unique solution given by the real logarithm, $\log|w|$. In general, $\log w = \log |w| + i \arg w$ where the definition of $\arg$ involves the choice of a branch cut in the complex plane. Here I have just paraphrased the definitions from the book of Ahlfors, which must be a reference as standard as any.

From a conceptual standpoint, over the real numbers, what are naturally defined are the exponential, as the aforementioned power series or as the solution of the initial value problem $\dot{x} = x$, $x(0) = 1$, and the real logarithm, as the integral $\log x = \int_{1}^{x}\tfrac{1}{t}\,dt$. These functions are inverses, and proving that is somehow the heart of a mathematically oriented calculus class. Which is the better starting point is perhaps a matter of preference. Personally, I like to start with the definition of the real logarithm as an integral, but on this point I change my mind every time I teach calculus.

If one goes through these proofs, one sees that working with another base is not terribly natural as it amounts to sticking some ad hoc constant factor in the initial value problem or integral. From this point of view, one has to do some work to define $a^{b}$ (or equivalently, $\log_{a}$), and this work amounts to the standard functional relations for either the exponential or the logarithm (the integral definition of the logarithm makes these straightforward). From a mathematical viewpoint there is no need to introduce any other notation than $\log$, nor is there often need to work with logarithms in other bases. Consequently, the mathematician often has difficulty seeing any need for introducing such things at all, and resists using notations such as $\ln$, and in some cases cannot understand why engineers and students and other lower forms of life like economists insist on writing such barbarities all the time.

The change in the base of the logarithm is natural when one thinks about scales, measurement, and the like, concepts where are nonmathematical or extramathematical in the sense that there is no logical necessity for them (one can always write $\log(b)/\log(a)$). Moreover, since $e$ is irrational, it is not a good choice operationally as a scale. Numbers such as $2$ and $10$ are better, more useful, more operational choices (are there any others?). In a context where $\log_{2}$ or $\log_{10}$ is used repeatedly, and no other choice is used, it is natural and convenient to drop the subscript and write simply $\log$ to mean the logarithm in the given base, and this is precisely what has happened quite generally. In such a context it sometimes becomes necessary to compute, and when doing so, the natural logarithm somehow creeps back because everyone writes $e^{x}$, and something like $\ln$ becomes standard to distinguish the natural logarithm (or does the notation abbreviate Naperian logarithm?) from the other in common use.

When teaching small children, it is impossible to speak of initial value problems and integrals, much less branch cuts and arguments, and there is no reasonable way to define $e$ or $\log_{e}$. On the other hand, ever small child knows $3^{2} = 9$ and $10^{2} = 100$, so it makes sense to define things like $\log_{2}9 = 3$ and $\log_{10}(100) = 2$, and more generally, logarithms with integer bases of integers make sense and are easy to define, and this is the natural starting point for working with logarithms when dealing with children. In such a context, it is entirely unnatural to write $\log$ to mean $\log_{e}$, since on the one hand one is not mentioning $e$, and on the other hand one cannot make any sense of it in any case. Worse, in high school, one tries to make sense of $e$ via some limiting procedure that usually starts from understanding exponentials/logarithms with rational bases. So high school teachers find the insistence of professional mathematicians that there is one true logarithm, $\log$, to be a bit difficult, and write $\log$ to mean $\log_{10}$, and $\ln$ to mean $\log_{e}$, when they get around to trying to give some meaning to the latter expression (if they ever do that at all).

Of course there are countries where $\log$ is written for $\log_{e}$ all along, and there are probably other countries where something else is written entirely.

And then along comes some signal processing engineer who wants to write $\lg$ for $\log_{2}$ because it is all she uses, and $\log$ already means $\log_{10}$ ... As a professional (hopefully) mathematician, this unnecessary barbarous new notation makes my blood boil, but latex already has the command \lg defined so it must be in common use whether I know it or not ... And electrical engineers outnumber mathematicians, so I am fighting a losing battle - and for what gain?

Now the student who has learned that $\log$ means $\log_{10}$ and $\ln$ means $\log_{e}$ gets to the university and the math professor keeps writing $\log$ to mean $\ln$ and it gets very confusing. The professor has three approaches:

  1. Write $\log$ to mean $\log_{e}$ and not worry about the matter further.
  2. Observe that mathematicians use $\log$ to mean $\log_{e}$, acknowledge that this can be confusing at first, and use $\log$ to mean $\log_{e}$.
  3. Observe that mathematicians use $\log$ to mean $\log_{e}$, but write $\ln$ because it causes less confusion and the engineering students in the room are never going to study complex analysis or Fourier series anyway (some of them should, but that's a different matter).

1 Is quite common, but not a good idea. In the past I always did 2, and think it is a perfectly defensible position. In recent years I have tended towards $3$, simply because it costs me nothing and I think costs the student nothing either (I am not teaching mathematics students, rather engineers). If I use $\log$ to mean $\log_{e}$, which I sometimes do because for me this usage is reflexive, I always mention that it means the base $e$ log not the base $10$ log. Students assimilate this rapidly. Were I teaching complex numbers, of course I would use $\log$ to mean the natural logarithm; in that context there's no other practice that makes much sense. Were I teaching in a context (physics, engineering, etc.) where the values of numbers had interpretations that mattered, then I would always specify the base, and would use $\ln$ when referring to the natural base.

amWhy
  • 2,095
  • 1
  • 17
  • 34
Dan Fox
  • 5,839
  • 18
  • 32