What should I assume when I see log?

  • Context: Undergrad 
  • Thread starter Thread starter Permanence
  • Start date Start date
  • Tags Tags
    Log
Click For Summary

Discussion Overview

The discussion revolves around the assumptions made regarding the base of logarithms when the term "log" is used, particularly in mathematical and engineering contexts. Participants explore the conventions of using base e versus base 10, and the implications of these conventions in different fields such as mathematics, physics, and computer science.

Discussion Character

  • Debate/contested
  • Conceptual clarification
  • Technical explanation

Main Points Raised

  • Some participants assert that mathematicians typically assume "log" refers to base e, while others have learned to assume base 10 and use "ln" for base e.
  • One participant mentions that in math and physics, log10 is rarely used, suggesting that base e is the standard assumption.
  • Context is highlighted as a determining factor, with some suggesting that base e is assumed in analysis and base 10 in calculations.
  • There is a recognition that calculator buttons often label log and ln differently, and that programming languages may use log() for base e and log10() for base 10.
  • Another participant notes that computer scientists often mean log base 2 when using "log," adding to the ambiguity.
  • In specific professional fields, such as fluid mechanics, there are traditions that use log10 constants, although this is not common in other areas.

Areas of Agreement / Disagreement

Participants express differing views on what base should be assumed when "log" is mentioned, indicating that there is no consensus on a single standard. The discussion reflects multiple competing perspectives based on context and field of study.

Contextual Notes

Participants note that the interpretation of "log" can depend on context, and there are variations in usage across different disciplines and educational backgrounds. The discussion does not resolve the ambiguity surrounding the base of logarithms.

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 15 ·
Replies
15
Views
18K
  • Poll Poll
  • · Replies 17 ·
Replies
17
Views
7K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 11 ·
Replies
11
Views
18K
  • · Replies 3 ·
Replies
3
Views
6K
  • · Replies 7 ·
Replies
7
Views
3K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
Replies
28
Views
3K
  • · Replies 40 ·
2
Replies
40
Views
7K