Generally, exponential equation is in the form of ax = y. By applying the log function on both sides it will become as log(ax) = log(y). It can be written as x. log(a) = log(b). You can write x as x= logab.