thank you so much IndefatigableLover 
but why cant x be a negative number?
Well, let's see how you'd define a log.
There are two main ways of defining the natural logarithm (all other logs stem from this definition).
One is via integral:

This integral is clearly not defined for negative t as that crosses the asymptote (and the improper integral doesn't exist but shh)
The other is via the inverse of the exponential function e
x, which can in turn be defined by
^n} )
, the limit of a sequence where n is an integer.
For this definition, it's provable that the exponential function is always bigger than zero. If the exponential function is never negative, then its inverse cannot have a negative input.