Log(x) do you assume base 10 or base e?

  • Context: High School 
  • Thread starter Thread starter Matterwave
  • Start date Start date
  • Tags Tags
    Base
Click For Summary

Discussion Overview

The discussion revolves around the interpretation of the notation "log(x)" and whether it is assumed to be base 10 or base e. Participants share their experiences and conventions across different fields, including mathematics, engineering, chemistry, and astronomy, highlighting the potential for confusion in problem-solving due to differing assumptions about logarithmic bases.

Discussion Character

  • Debate/contested
  • Conceptual clarification

Main Points Raised

  • Some participants suggest that "log(x)" typically implies base 10, especially in chemistry and engineering contexts, while "ln(x)" is used for base e.
  • Others argue that mathematicians often default to base e when using "log(x)" without a subscript, leading to confusion when different conventions are applied.
  • A participant mentions that programming languages like FORTRAN default to base e, while Google defaults to base 10.
  • One participant recounts a specific problem involving metallicity in astronomy, where the assumption of base e led to significant errors in calculations.
  • There is a discussion about the importance of context in determining the base of logarithms, with some emphasizing the need to clarify conventions in different academic and professional settings.
  • Some participants express frustration over the lack of a standardized notation, noting that without a specified base, the logarithm's value is ambiguous.
  • A few participants highlight that in mathematics classes, "log" is often understood as base 10 up to a certain level, after which it is more commonly interpreted as base e.

Areas of Agreement / Disagreement

Participants generally agree that the interpretation of "log(x)" depends on context, but there is no consensus on a single convention. Multiple competing views remain regarding the default base for logarithms in various fields.

Contextual Notes

Participants note that assumptions about logarithmic bases can vary widely based on discipline, audience, and educational background, leading to potential misunderstandings in problem-solving.

Matterwave
Science Advisor
Homework Helper
Gold Member
Messages
3,971
Reaction score
329
So, out of curiosity, when you guys see log(x) do you assume base 10 or base e?

Because I just wasted 2 hours of my life wondering how I got a problem wrong due to the fact that I assumed base e and the problem assumes base 10...:cry:
 
Mathematics news on Phys.org
In my experience the base e usually goes with ln , and other bases go with log.
 
  • Like
Likes   Reactions: symbolipoint
WWGD said:
In my experience the base e usually goes with ln , and other bases go with log.


Right, but if you just saw "log(x)" with no subscripts? I think in high school I would have defaulted to base 10 but now I default to base e.

I think google defaults to base 10 while Wolfram defaults to base e. FORTRAN defaults to base e, I'm not sure about other programming languages.
 
Matterwave said:
So, out of curiosity, when you guys see log(x) do you assume base 10 or base e?
I'd consider the context/audience.

Mathematicians, usually log is base e. Engineers and chemists, often base 10.
 
Matterwave said:
So, out of curiosity, when you guys see log(x) do you assume base 10 or base e?

Because I just wasted 2 hours of my life wondering how I got a problem wrong due to the fact that I assumed base e and the problem assumes base 10...:cry:


What was the problem you were working? Choose the base that makes sense for the situation or problem.
 
symbolipoint said:
What was the problem you were working? Choose the base that makes sense for the situation or problem.

It was a semi-long problem about numerically modeling the metalicity content of a galaxy. The log appeared in just one part of the problem. Astronomers are particularly icky when it comes to conventions. The part of the problem asked me to compute the fractional metalicity in terms of a log function:

$$[Fe/H](t)=12-\log\left(\frac{g_{Fe}(t)/55.845}{g_H(t)/1.008}\right) - 7.52$$

As an aside, notice that the astronomer put a 12 in front and a -7.52 at the end without combining it into a 4.48 because of convention... because the 12 and the -7.52 adjustments are made for 2 different reasons (which I do not know).

I suppose if I had thought about it enough, I might have figured out he meant log base 10, but I assumed log base e without thinking and proceeded to the next step. It took me roughly 2 hours to figure out that's where I went wrong.
 
Last edited:
It greatly depends on the context. ln(x) should be used instead of log(x) when in base e. But I know that a lot of mathemathicians write log(x) when they should write ln(x).
log(x) without subscript usually means log base 10 (widely used in chemistry for instance).
When I have to do a computation with a log simply written as log(x) an I assume it's in base 10, but I always check the context.
 
NathanaelNolk said:
It greatly depends on the context. ln(x) should be used instead of log(x) when in base e. But I know that a lot of mathemathicians write log(x) when they should write ln(x).
Why "should be"? One could just as easily say people should write log10 if that's what they mean. :wink:
 
I always think of the base as e, and I think most mathematicians are. Logarithms in any other base can be cleanly expressed in terms of log with base e as a quotient: log_a(x) = log_e(x)/log_e(a), and as a mathematical function log(x) with base e have the neatest behavior (just like e^x).
 
  • #10
I meant with this thread to just ask about first instincts haha. I know one should look at the context, but this problem arose because I had the instinct to treat the log as base e and did not question this instinct...and that led to a large waste of time on my part.
 
  • #11
I am a chemist. For me log means base 10, ln means base e.

Not that I am going to argue about this convention being the right one (even if it IS the right one :wink:).
 
  • #12
What is the typical practice for that application? What is the typical practice in business or industrial situations? What is the typical practice in academic situations? If you have found that application in your current schooling or academic work, then lesson instruction should make the implication clear for you.
 
  • #13
If I'm reading math: ##e##.
If I'm reading economics: ##e##.
If I'm reading CS: ##2##.
 
  • #14
olivermsun said:
Why "should be"? One could just as easily say people should write log10 if that's what they mean. :wink:
They also should use log10 in base 10. In my opinion, writing log(x) is okay and understandable, but still wrong.
 
  • #15
NathanaelNolk said:
They also should use log10 in base 10. In my opinion, writing log(x) is okay and understandable, but still wrong.
Right because without a base as a subscript you don't know what the base is, whether it is base 2, base e, base 10, base 12, or even something like base 1/2 or base pi.

And if you don't know what the base is than how can you do the logarithm? It would be undefined without a base and even with some bases(like base 1 or any negative base).

Now if you had the radical or exponential equivalent of the logarithm then you could deduce from that what the base of the logarithm is.
 
  • #16
As others have suggested, it depends upon the class. Generally speaking, in mathematics classes up to "PreCalculus" (I am tempted to say "pre-college") "log" generally means "log base 10". Past that, log base 10 is almost never used and "log" means natural logarithm.
 

Similar threads

  • · Replies 44 ·
2
Replies
44
Views
5K
  • · Replies 10 ·
Replies
10
Views
3K
  • · Replies 6 ·
Replies
6
Views
7K
  • · Replies 105 ·
4
Replies
105
Views
12K
  • · Replies 13 ·
Replies
13
Views
3K
  • · Replies 5 ·
Replies
5
Views
3K
  • Poll Poll
  • · Replies 17 ·
Replies
17
Views
7K
  • · Replies 11 ·
Replies
11
Views
4K
  • · Replies 20 ·
Replies
20
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K