# What is the logarithm of a negative number?

##### 1 Answer

Logarithms of negative numbers are not defined in the real numbers, in the same way that square roots of negative numbers aren't defined in the real numbers. If you are expected to find the log of a negative number, an answer of "undefined" is sufficient in most cases.

It *is* possible to evaluate one, however, the answer will be a complex number. (a number of the form

If you're familiar with complex numbers and feel comfortable working with them, then read on.

First, let's start with a general case:

We will use the change-of-base rule and convert to natural logarithms, to make things easier later:

Note that

Now the only problem is figuring out what

Euler's Identity states:

This result comes from power series expansions of sine and cosine. (I won't explain that too in-depth, but if you are interested, there is a nice page here which explains a bit more)

For now, let us simply take the natural log of both sides of Euler's Identity:

Simplified:

So, now that we know what

Now you have a formula for finding logs of negative numbers. So, if we want to evaluate something like