Hussain -A log function with a negative base will give you crazy results.Specifically, what is (-2) ^ (1/2) ? This would result in an imaginary number! So, the log would be undefined when the exponent equals 0.5.Mathematicians can't let that happen, so they require the base to be > 0 under real numbers.