Understanding Negative Logs: Why Can't They Exist?

  • Context: High School 
  • Thread starter Thread starter Acnhduy
  • Start date Start date
  • Tags Tags
    Negative
Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
2 replies · 2K views
Acnhduy
Messages
31
Reaction score
1
Why is it not possible to have the log of a negative number?
Examples would be greatly appreciated.

Furthermore, is it the base that cannot be negative?

Like log-bx

or is it that when you have a number and you log it, the number cannot be negative. log(-x)
 
Last edited:
Physics news on Phys.org
Both really.

If we have a negative number in the base, such as

[tex]y=\log_{-2}{x}[/tex]

then this is equivalent to [itex]x=(-2)^y[/itex]. What's wrong with this though?

Well, let's try and see what happens when we graph [itex]y=(-1)^x[/itex]. For all even integers x, we get a result of y=1, and for all odd integers, we get -1. What about all the rationals and irrationals in between? It turns out that we can't do it (they're actually complex numbers, but you can ignore that). For the same reason we can't take the square root of -1, we can't plot the graph [itex]y=(-1)^x[/itex] and hence we can't plot [itex]y=(-a)^x=a^x(-1)^x[/itex] for any values other than the integers because ax is simply some positive number. Because this function is so discontinuous, the logarithm with a negative base will have the problem of being defined in some cases such as

[tex]\log_{-2}{-8}=3[/tex]
[tex]\log_{-2}{16}=4[/tex]

but it will fail in most other cases.That's for negative bases. Taking the log with a positive base of a negative number is pretty easy to figure out.

What does the following equal?
[tex]\log_{2}{-1}[/tex]

In other words, what value of x solves the equation [itex]2^x=-1[/itex] ? We already know that 2anything is a positive number, so how do we ever end up getting a negative number? The result again is complex, but you can think of it as not having an answer.
 
  • Like
Likes   Reactions: 1 person
[itex]log_a(x)= y[/itex] is equivalent to [itex]a^y= x[/itex]. As long as a is positive, [itex]x= a^y[/itex] cannot be negative (if y> 0, x> 1, if y< 0, 0< x< 1) so we cannot have "[itex]log_a(x)[/itex]" with x negative. Further, if we allow the base, a, to be negtive, we will run into problems with fractional powers.

If, say, a= -2 then saying [itex]log_{-2}(x)= 1/2[/itex] is equivalent to saying [itex](-2)^{1/2}= \sqrt{-2}= x[/itex]. But the square root of -2 is not a real number.

Of course, if we extend the real number system and allow both x and y to be any complex numbers, those restrictions to do not apply. In the complex number system, we can have log(x) with x any complex number, including the negative real numbers (although we will need to make a "cut" somewhere and, by convention, that is done along the negative real numbers so the "standard" logarithm" will still not be defined for the negative real numbers), and can have [itex]f(x)= a^x[/itex] for a negative.
 
  • Like
Likes   Reactions: 1 person