Can you take the log of a negative number?
Flexi Says:
No, you cannot take the logarithm of a negative number.
The logarithm function is defined only for positive real numbers. By definition, a logarithm is the power to which a number must be raised to get some other number. Since a negative number cannot be expressed as a power of a positive base, the logarithm of a negative number is undefined. The logarithms of negative numbers are defined in complex numbers.