Doubt about the domain in logarithmic functions. According to my book, the logarithmic function log_(a)x=y is defined if both x and a are positive and x!=0 and a!=1.

Marilyn Cameron

Marilyn Cameron

Answered question

2022-10-16

Doubt about the domain in logarithmic functions.
According to my book, the logarithmic function
log a x = y
is defined if both x and a are positive and x 0 and a 1.
So are these not correct?
log 3 9 = 2
log 2 8 = 3

Answer & Explanation

DoryErrofbi

DoryErrofbi

Beginner2022-10-17Added 12 answers

The easy argument is that the two equations are incorrect because they violate the definition. The logarithm function permits a base that is strictly positive and not equal to one, and a domain that is strictly positive.
Another way to see that your two examples can lead us to trouble is that you lose two very important properties of the logarithm. Namely,
log a ( x y ) = log a ( x ) + log a ( y ) and log a ( x p ) = p log a ( x )
To put this into practice, let's start with the first equation you provided, log 3 ( 9 ) = 2. Supposing for the sake of contradiction that that equation is valid, we should also be able to apply the logarithm property
log 3 ( 9 ) = log 3 ( 3 2 ) = 2 log 3 ( 3 )
This means we should find that log 3 ( 3 ) = 1. Yet clearly it is not true that ( 3 ) 1 = 3, so log 3 ( 3 ) = 1 is an invalid equation, meaning we have the following contradiction:
2 log 3 ( 3 ) 2 = log 3 ( 9 ) = 2 log 3 ( 3 )
At this point we can either choose to allow negative values of a (which if we do will almost assuredly mean the logarithm will produce complex numbers), or choose to keep the logarithm property log a ( x p ) = p log a ( x ). But we cannot have both. You can derive a similar contradiction with your second equation as well. Ultimately it is much more beneficial to keep a positive and not equal to one than it is to lose those nice logarithm properties. The same can be said for allowing negative arguments in the logarithm. This is all from the perspective that you are working with real numbers, as things must be handled differently with complex numbers.

Do you have a similar question?

Recalculate according to your conditions!

Ask your question.
Get an expert answer.

Let our experts help you. Answer in as fast as 15 minutes.

Didn't find what you were looking for?