The logarithm equation is .
Change of base formula is .
and .
Case 1 :
Case 2 :
Definition of logarithm : if and only if .
The value of is .