What should I assume when I see log?

  • Thread starter Permanence
  • Start date
  • #1
Permanence
51
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?
 

Answers and Replies

  • #2
phinds
Science Advisor
Insights Author
Gold Member
2021 Award
17,809
9,873
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.
 
  • #3
Integral
Staff Emeritus
Science Advisor
Gold Member
7,224
63
In math and physics log10 is rarely used, assume base e. I also use ln for base e.
 
  • #4
mathman
Science Advisor
8,059
540
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).
 
  • #5
AlephZero
Science Advisor
Homework Helper
7,002
297
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).
 
  • #6
eigenperson
160
21
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.
 
  • #7
arildno
Science Advisor
Homework Helper
Gold Member
Dearly Missed
10,025
135
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.
 

Suggested for: What should I assume when I see log?

  • Last Post
Replies
3
Views
4K
Replies
4
Views
1K
  • Last Post
Replies
15
Views
3K
  • Last Post
Replies
11
Views
37K
  • Last Post
Replies
16
Views
2K
Replies
1
Views
1K
Replies
4
Views
964
Replies
2
Views
629
Replies
3
Views
1K
Top