Change-of-Base Formula
(rev. 6/16/2000)
General Result:
If b is any legitimate base of a logarithm (such as 10, or e), then loga x = (logb x) / (logb a).
Examples of How This Can Be Useful:
Example 1. Compute logp 17.
Answer: On your calculator, punch in log(17)/log(3.14159) ENTER. The answer is approximately 2.475.
Alternate Answer: Punch in ln(17)/ln(3.14159) ENTER. Again, the answer is approximately 2.475. The Change-of-Base Formula allows you to use any new base as long as you use it consistently. In practice, you will always use either 10 or e for your new base, since those are the only bases for which your calculator provides a log key.
Example 2. Compute log138 [(7.5 ´
1038) / (3.28 ´
1093)].
Answer: First, rewrite this as log138 (7.5 ´
1038) log138 (3.28 ´
1093). By the Change-of-Base Formula, we have ln(7.5 ´
1038)/ln(138) ln(3.28 ´
1093)/ln(138) = 16.88176634 44.1687918 = 61.051, correct to 3 decimal places.
Alternate Answer: Practice getting the same answer by using common logs instead of natural logs.
Yet Another Method: Use algebra to rewrite the problem as log138 [7.5/3.28 ´
1038 93] = log138 [2.286585366 ´
10131] = log138 2.286585366 + log138 10131 = (log 2.286585366)/(log 138) + (log 10131)/(log 138) = 0.3591874197/2.139879086 + (131/2.139879086) = (0.3591874197 131)/2.139879086 = 61.051, correct to 3 decimal places.
Proof of the General Result:
Given: b > 0, b ¹
1
Prove: loga x = (logb x) / (logb a)
Proof: Since we dont yet know what the value of loga x is, let y denote the answer. We have y = loga x. By definition of logarithm, y is the exponent we place on a in order to obtain x. That is, ay = x. Since b > 0 and b ¹
1, b can be used as a base of a logarithm, and we can take the base b logarithm of both sides to get logb ay = logb x. By the exponent rule for logarithms, the LHS can be written as y logb a, giving us the equation y logb a = logb x. Divide through by logb a to get y = (logb x) / (logb a).
Q.E.D.