Difference between revisions of "Change of base formula"
(remove nonexistent category) |
|||
Line 22: | Line 22: | ||
Substituting for y, | Substituting for y, | ||
<cmath>\log_b a \cdot \log_d b = \log_d a</cmath> | <cmath>\log_b a \cdot \log_d b = \log_d a</cmath> | ||
+ | |||
+ | ==Proof 2== | ||
+ | Let <math>a^b=c</math>. | ||
+ | |||
+ | Taking log base d on both sides gives us | ||
+ | <cmath>\log_d a^b=\log_d c</cmath> | ||
+ | |||
+ | and thus | ||
+ | <cmath>b\log_d a=\log_d c.</cmath> | ||
+ | |||
+ | Dividing both sides by <math>\log_d a</math> gives us <math>b=\frac{\log_d c}{\log_d a}</math>. | ||
+ | |||
+ | Turning back to <math>a^b=c</math>, we take log base a of both sides. | ||
+ | |||
+ | This lets us obtain <math>\log_a a^b=\log_a c</math> and thus we see | ||
+ | <cmath>b=\log_a c.</cmath> | ||
+ | |||
+ | Therefore, | ||
+ | <cmath>\log_a c=\frac{\log_d c}{\log_d a}.</cmath> | ||
+ | |||
== Use for computations == | == Use for computations == | ||
Revision as of 11:18, 7 September 2019
The change of base formula is a formula for expressing a logarithm in one base in terms of logarithms in other bases.
For any positive real numbers such that neither nor are , we have
This allows us to rewrite a logarithm in base in terms of logarithms in any base . This formula can also be written
Proof
Let .
Then .
And, taking the of both sides, we get
By the properties of logarithms,
Substituting for y,
Proof 2
Let .
Taking log base d on both sides gives us
and thus
Dividing both sides by gives us .
Turning back to , we take log base a of both sides.
This lets us obtain and thus we see
Therefore,
Use for computations
The change of base formula is useful for simplifying certain computations involving logarithms. For example, we have by the change of base formula that
The formula can also be useful when calculating logarithms on a calculator. Many calculators have only functions for calculating base-10 and base-e logarithms. But you can still calculate logs in other bases, you just need to use the change of base formula to put in in base 10. For example, if you wanted to calculate , you would first convert it to the form . Then you would evaluate it using the base-10 log function on the calculator.
Special cases and consequences
Many other logarithm rules can be written in terms of the change of base formula. For example, we have that . Using the second form of the change of base formula gives .
One consequence of the change of base formula is that for positive constants , the functions and differ by a constant factor, for all .
This article is a stub. Help us out by expanding it.