Understanding logarithms as inverse exponentials