What should I assume when I see log?

  • Thread starter Thread starter Permanence
  • Start date Start date
  • Tags Tags
    Log
AI Thread Summary
In mathematical and engineering contexts, "log" typically refers to the natural logarithm (base e), while "ln" explicitly denotes the natural log. The assumption of base 10 is less common, primarily used in calculations rather than analysis. Context plays a crucial role in determining which base is intended, as different fields may have varying conventions. In programming, "log()" often indicates base e, while "log10()" specifies base 10. Overall, clarity in notation is essential to avoid confusion in communication.
Permanence
Messages
53
Reaction score
2
Today in a lecture in one of my engineering courses the professor said that mathematicians assume that when log is written the base is e. I had always learned to assume base 10, and simply write ln when I wanted the base as e.

Is my professor correct or is that a bad habit to adapt?
 
Mathematics news on Phys.org
Permanence said:
Today in a lecture in one of my engineering courses the professor said that mathematicians assume that when log is written the base is e. I had always learned to assume base 10, and simply write ln when I wanted the base as e.

I'm with you.
 
In math and physics log10 is rarely used, assume base e. I also use ln for base e.
 
Context is the main determining factor. When doing analysis, assume e. When doing calculation, assume 10. Often to distinguish, base e is denoted by ln(x) rather than log(x).
 
Permanence said:
I had always learned to assume base 10, and simply write ln when I wanted the base as e.

That's a perfectly reasonable "rule", but don't expect everybody else to use it!

When doing calculation, assume 10

Well, calculator buttons are often labeled log and ln, but computer programming languages tend to use log() for base e and log10() for ... um ... some other base, maybe 42? :biggrin:

Just remember that one way to have a quiet life is use the same notation as your prof.

And number theorists think ##\log_k x## means ##\ln \ln \dots\ \ln x##. (i.e take the natural log k times).
 
In addition to mathematicians, who 99% of the time mean the natural log when they say "log", there are also computer scientists, who usually mean the log base 2.

In most cases, it's either clear from context or doesn't matter.
 
In certain professional fields, such as in some cases in fluid mechanics, established tradition uses log_10 constants in a few, handy formulae (I was in much surprize and consternation when I met them! The author had at least the minimal decency to write, explicitly, log_10, rather than log).
Otherwise, log_10 is basically eliminated from the professional world.
 

Similar threads

Replies
44
Views
4K
Replies
15
Views
3K
Replies
15
Views
17K
Replies
17
Views
6K
Replies
9
Views
10K
Replies
5
Views
2K
Back
Top