Difference between revisions of "Change of base formula"

(New page: The change of base formula, shown below, is a property of logarithms. It states that for any positive <math>d,a,b</math> such that none of <math>d,a,b</math> are <math>1</math>, we have: ...)
 
(Remove vandalism: Undo revision 215812 by Marianasinta (talk))
(Tag: Undo)
 
(8 intermediate revisions by 5 users not shown)
Line 1: Line 1:
The change of base formula, shown below, is a property of logarithms. It states that for any positive <math>d,a,b</math> such that none of <math>d,a,b</math> are <math>1</math>, we have:
+
The '''change of base formula''' is a formula for expressing a [[logarithm]] in one base in terms of logarithms in other bases.
  
<cmath>\log_a b = \frac{\log_d b}{\log_d a}</cmath>
+
For any [[positive]] [[real number]]s <math>d,a,b</math> such that neither <math>d</math> nor <math>b</math> are <math>1</math>, we have
  
It is called the change of base formula because <math>\log_a b</math> can be expressed as a quotient of logarithms of any base <math>d</math>. For example, when approximating logarithms with calculators, we use the change of base formula when <math>d=e</math> so we can use the natural log key on the calculator.
+
<cmath>\log_b a = \frac{\log_d a}{\log_d b}.</cmath>
 +
 
 +
This allows us to rewrite a logarithm in base <math>b</math> in terms of logarithms in any base <math>d</math>. This formula can also be written
 +
 
 +
<cmath>\log_b a \cdot \log_d b = \log_d a.</cmath>
 +
 
 +
==Proof==
 +
Let <math>\log_b a = y</math>.
 +
 
 +
Then <math>b^y = a</math>.
 +
 
 +
And, taking the <math>\log_d</math> of both sides, we get
 +
<cmath>\log_d (b^y) = \log_d (a)</cmath>
 +
 
 +
By the properties of logarithms,
 +
<cmath>y\log_d b = \log_d a</cmath>
 +
 
 +
Substituting for y,
 +
<cmath>\log_b a \cdot \log_d b = \log_d a</cmath>
 +
 
 +
== 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
 +
 
 +
<cmath>\log_{\frac{1}{4}} 32\sqrt{2} = \frac{\log_2 32\sqrt{2}}{\log_2 \frac{1}{4}} = \frac{\frac{11}{2}}{-2} = -\frac{11}{4}.</cmath>
 +
 
 +
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 <math>\log_{7} 19</math>, you would first convert it to the form <math>\frac{\log_{10}{19}}{\log_{10}{7}}</math>. 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 <math>\log_b a = \frac{\log_a a}{\log_a b} = \frac{1}{\log_a b}</math>.  Using the second form of the change of base formula gives <math>\log_b a^n = \log_b a \cdot \log_a a^n = n \log_b a</math>.
 +
 
 +
One consequence of the change of base formula is that for positive constants <math>a, b</math>, the functions <math>f(x) = \log_a x</math> and <math>g(x) = \log_b x</math> differ by a constant factor, <math>f(x) = (\log_a b) g(x)</math> for all <math>x > 0</math>.
 +
 
 +
 
 +
{{stub}}

Latest revision as of 14:32, 22 February 2024

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 $d,a,b$ such that neither $d$ nor $b$ are $1$, we have

\[\log_b a = \frac{\log_d a}{\log_d b}.\]

This allows us to rewrite a logarithm in base $b$ in terms of logarithms in any base $d$. This formula can also be written

\[\log_b a \cdot \log_d b = \log_d a.\]

Proof

Let $\log_b a = y$.

Then $b^y = a$.

And, taking the $\log_d$ of both sides, we get \[\log_d (b^y) = \log_d (a)\]

By the properties of logarithms, \[y\log_d b = \log_d a\]

Substituting for y, \[\log_b a \cdot \log_d b = \log_d a\]

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

\[\log_{\frac{1}{4}} 32\sqrt{2} = \frac{\log_2 32\sqrt{2}}{\log_2 \frac{1}{4}} = \frac{\frac{11}{2}}{-2} = -\frac{11}{4}.\]

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 $\log_{7} 19$, you would first convert it to the form $\frac{\log_{10}{19}}{\log_{10}{7}}$. 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 $\log_b a = \frac{\log_a a}{\log_a b} = \frac{1}{\log_a b}$. Using the second form of the change of base formula gives $\log_b a^n = \log_b a \cdot \log_a a^n = n \log_b a$.

One consequence of the change of base formula is that for positive constants $a, b$, the functions $f(x) = \log_a x$ and $g(x) = \log_b x$ differ by a constant factor, $f(x) = (\log_a b) g(x)$ for all $x > 0$.


This article is a stub. Help us out by expanding it.