Understanding Logarithmic Functions