We've updated our
Privacy Policy effective December 15. Please read our updated Privacy Policy and tap

Study Guides > College Algebra

Logarithmic Properties

Testing of the pH of hydrochloric acid. The pH of hydrochloric acid is tested with litmus paper. (credit: David Berardan)
In chemistry, pH is used as a measure of the acidity or alkalinity of a substance. The pH scale runs from 0 to 14. Substances with a pH less than 7 are considered acidic, and substances with a pH greater than 7 are said to be alkaline. Our bodies, for instance, must maintain a pH close to 7.35 in order for enzymes to work properly. To get a feel for what is acidic and what is alkaline, consider the following pH levels of some common substances:
  • Battery acid: 0.8
  • Stomach acid: 2.7
  • Orange juice: 3.3
  • Pure water: 7 (at 25° C)
  • Human blood: 7.35
  • Fresh coconut: 7.8
  • Sodium hydroxide (lye): 14
To determine whether a solution is acidic or alkaline, we find its pH, which is a measure of the number of active positive hydrogen ions in the solution. The pH is defined by the following formula, where a is the concentration of hydrogen ion in the solution

pH=log([H+]) =log(1[H+])\begin{array}{l}\text{pH}=-\mathrm{log}\left(\left[{H}^{+}\right]\right)\hfill \\ \text{ }=\mathrm{log}\left(\frac{1}{\left[{H}^{+}\right]}\right)\hfill \end{array}

The equivalence of log([H+])-\mathrm{log}\left(\left[{H}^{+}\right]\right) and log(1[H+])\mathrm{log}\left(\frac{1}{\left[{H}^{+}\right]}\right) is one of the logarithm properties we will examine in this section.

Logarithm Rules

Recall that the logarithmic and exponential functions "undo" each other. This means that logarithms have similar properties to exponents. Some important properties of logarithms are given here. First, the following properties are easy to prove.

logb1=0logbb=1\begin{array}{l}{\mathrm{log}}_{b}1=0\\{\mathrm{log}}_{b}b=1\end{array}

For example, log51=0{\mathrm{log}}_{5}1=0 since 50=1{5}^{0}=1. And log55=1{\mathrm{log}}_{5}5=1 since 51=5{5}^{1}=5. Next, we have the inverse property.

logb(bx)=x blogbx=x,x>0\begin{array}{l}\hfill \\ {\mathrm{log}}_{b}\left({b}^{x}\right)=x\hfill \\ \text{ }{b}^{{\mathrm{log}}_{b}x}=x,x>0\hfill \end{array}

For example, to evaluate log(100)\mathrm{log}\left(100\right), we can rewrite the logarithm as log10(102){\mathrm{log}}_{10}\left({10}^{2}\right), and then apply the inverse property logb(bx)=x{\mathrm{log}}_{b}\left({b}^{x}\right)=x to get log10(102)=2{\mathrm{log}}_{10}\left({10}^{2}\right)=2. To evaluate eln(7){e}^{\mathrm{ln}\left(7\right)}, we can rewrite the logarithm as eloge7{e}^{{\mathrm{log}}_{e}7}, and then apply the inverse property blogbx=x{b}^{{\mathrm{log}}_{b}x}=x to get eloge7=7{e}^{{\mathrm{log}}_{e}7}=7. Finally, we have the one-to-one property.

logbM=logbN if and only if M=N{\mathrm{log}}_{b}M={\mathrm{log}}_{b}N\text{ if and only if}\text{ }M=N

We can use the one-to-one property to solve the equation log3(3x)=log3(2x+5){\mathrm{log}}_{3}\left(3x\right)={\mathrm{log}}_{3}\left(2x+5\right) for x. Since the bases are the same, we can apply the one-to-one property by setting the arguments equal and solving for x:

3x=2x+5Set the arguments equal.x=5Subtract 2x.\begin{array}{l}3x=2x+5\hfill & \text{Set the arguments equal}\text{.}\hfill \\ x=5\hfill & \text{Subtract 2}x\text{.}\hfill \end{array}

But what about the equation log3(3x)+log3(2x+5)=2{\mathrm{log}}_{3}\left(3x\right)+{\mathrm{log}}_{3}\left(2x+5\right)=2? The one-to-one property does not help us in this instance. Before we can solve an equation like this, we need a method for combining terms on the left side of the equation. Recall that we use the product rule of exponents to combine the product of exponents by adding: xaxb=xa+b{x}^{a}{x}^{b}={x}^{a+b}. We have a similar property for logarithms, called the product rule for logarithms, which says that the logarithm of a product is equal to a sum of logarithms. Because logs are exponents, and we multiply like bases, we can add the exponents. We will use the inverse property to derive the product rule below. Given any real number x and positive real numbers M, N, and b, where b1b\ne 1, we will show

logb(MN)=logb(M)+logb(N){\mathrm{log}}_{b}\left(MN\right)\text{=}{\mathrm{log}}_{b}\left(M\right)+{\mathrm{log}}_{b}\left(N\right).

Let m=logbMm={\mathrm{log}}_{b}M and n=logbNn={\mathrm{log}}_{b}N. In exponential form, these equations are bm=M{b}^{m}=M and bn=N{b}^{n}=N. It follows that

logb(MN)=logb(bmbn)Substitute for M and N.=logb(bm+n)Apply the product rule for exponents.=m+nApply the inverse property of logs.=logb(M)+logb(N)Substitute for m and n.\begin{array}{l}{\mathrm{log}}_{b}\left(MN\right)\hfill & ={\mathrm{log}}_{b}\left({b}^{m}{b}^{n}\right)\hfill & \text{Substitute for }M\text{ and }N.\hfill \\ \hfill & ={\mathrm{log}}_{b}\left({b}^{m+n}\right)\hfill & \text{Apply the product rule for exponents}.\hfill \\ \hfill & =m+n\hfill & \text{Apply the inverse property of logs}.\hfill \\ \hfill & ={\mathrm{log}}_{b}\left(M\right)+{\mathrm{log}}_{b}\left(N\right)\hfill & \text{Substitute for }m\text{ and }n.\hfill \end{array}

 

A General Note: The Product Rule for Logarithms

The product rule for logarithms can be used to simplify a logarithm of a product by rewriting it as a sum of individual logarithms.

logb(MN)=logb(M)+logb(N) for b>0{\mathrm{log}}_{b}\left(MN\right)={\mathrm{log}}_{b}\left(M\right)+{\mathrm{log}}_{b}\left(N\right)\text{ for }b>0

Example: Using the Product Rule for Logarithms

Expand log3(30x(3x+4)){\mathrm{log}}_{3}\left(30x\left(3x+4\right)\right).

Answer: We begin by writing the equivalent equation by summing the logarithms of each factor.

log3(30x(3x+4))=log3(30x)+log3(3x+4)=log3(30)+log3(x)+log3(3x+4){\mathrm{log}}_{3}\left(30x\left(3x+4\right)\right)={\mathrm{log}}_{3}\left(30x\right)+{\mathrm{log}}_{3}\left(3x+4\right)={\mathrm{log}}_{3}\left(30\right)+{\mathrm{log}}_{3}\left(x\right)+{\mathrm{log}}_{3}\left(3x+4\right)

The final expansion looks like this, note how the factor 30x30x can be expanded into the sum of two logarithms:

log3(30)+log3(x)+log3(3x+4){\mathrm{log}}_{3}\left(30\right)+{\mathrm{log}}_{3}\left(x\right)+{\mathrm{log}}_{3}\left(3x+4\right)

Try It

Expand logb(8k){\mathrm{log}}_{b}\left(8k\right).

Answer: logb8+logbk{\mathrm{log}}_{b}8+{\mathrm{log}}_{b}k

Using the Power Rule for Logarithms

We’ve explored the product rule and the quotient rule, but how can we take the logarithm of a power, such as x2{x}^{2}? One method is as follows:

logb(x2)=logb(xx)=logbx+logbx=2logbx\begin{array}{l}{\mathrm{log}}_{b}\left({x}^{2}\right)\hfill & ={\mathrm{log}}_{b}\left(x\cdot x\right)\hfill \\ \hfill & ={\mathrm{log}}_{b}x+{\mathrm{log}}_{b}x\hfill \\ \hfill & =2{\mathrm{log}}_{b}x\hfill \end{array}

Notice that we used the product rule for logarithms to find a solution for the example above. By doing so, we have derived the power rule for logarithms, which says that the log of a power is equal to the exponent times the log of the base. Keep in mind that, although the input to a logarithm may not be written as a power, we may be able to change it to a power. For example,

100=1023=3121e=e1\begin{array}{l}100={10}^{2}\hfill & \sqrt{3}={3}^{\frac{1}{2}}\hfill & \frac{1}{e}={e}^{-1}\hfill \end{array}

A General Note: The Power Rule for Logarithms

The power rule for logarithms can be used to simplify the logarithm of a power by rewriting it as the product of the exponent times the logarithm of the base.

logb(Mn)=nlogbM{\mathrm{log}}_{b}\left({M}^{n}\right)=n{\mathrm{log}}_{b}M

How To: Given the logarithm of a power, use the power rule of logarithms to write an equivalent product of a factor and a logarithm.

  1. Express the argument as a power, if needed.
  2. Write the equivalent expression by multiplying the exponent times the logarithm of the base.

Example: Expanding a Logarithm with Powers

Expand log2x5{\mathrm{log}}_{2}{x}^{5}.

Answer: The argument is already written as a power, so we identify the exponent, 5, and the base, x, and rewrite the equivalent expression by multiplying the exponent times the logarithm of the base.

log2(x5)=5log2x{\mathrm{log}}_{2}\left({x}^{5}\right)=5{\mathrm{log}}_{2}x

Try It

Expand lnx2\mathrm{ln}{x}^{2}.

Answer: 2lnx2\mathrm{ln}x

Expand and Condense Logarithms

Taken together, the product rule, quotient rule, and power rule are often called "laws of logs." Sometimes we apply more than one rule in order to simplify an expression. For example:

logb(6xy)=logb(6x)logby=logb6+logbxlogby\begin{array}{l}{\mathrm{log}}_{b}\left(\frac{6x}{y}\right)\hfill & ={\mathrm{log}}_{b}\left(6x\right)-{\mathrm{log}}_{b}y\hfill \\ \hfill & ={\mathrm{log}}_{b}6+{\mathrm{log}}_{b}x-{\mathrm{log}}_{b}y\hfill \end{array}

We can use the power rule to expand logarithmic expressions involving negative and fractional exponents. Here is an alternate proof of the quotient rule for logarithms using the fact that a reciprocal is a negative power:

logb(AC)=logb(AC1)=logb(A)+logb(C1)=logbA+(1)logbC=logbAlogbC\begin{array}{l}{\mathrm{log}}_{b}\left(\frac{A}{C}\right)\hfill & ={\mathrm{log}}_{b}\left(A{C}^{-1}\right)\hfill \\ \hfill & ={\mathrm{log}}_{b}\left(A\right)+{\mathrm{log}}_{b}\left({C}^{-1}\right)\hfill \\ \hfill & ={\mathrm{log}}_{b}A+\left(-1\right){\mathrm{log}}_{b}C\hfill \\ \hfill & ={\mathrm{log}}_{b}A-{\mathrm{log}}_{b}C\hfill \end{array}

We can also apply the product rule to express a sum or difference of logarithms as the logarithm of a product. With practice, we can look at a logarithmic expression and expand it mentally, writing the final answer. Remember, however, that we can only do this with products, quotients, powers, and roots—never with addition or subtraction inside the argument of the logarithm.

Example: Using a combination of the rules for logarithms to expand a logarithm

Rewrite ln(x4y7)\mathrm{ln}\left(\frac{{x}^{4}y}{7}\right) as a sum or difference of logs.

Answer: First, because we have a quotient of two expressions, we can use the quotient rule: ln(x4y7)=ln(x4y)ln(7)\mathrm{ln}\left(\frac{{x}^{4}y}{7}\right)=\mathrm{ln}\left({x}^{4}y\right)-\mathrm{ln}\left(7\right) Then seeing the product in the first term, we use the product rule: ln(x4y)ln(7)=ln(x4)+ln(y)ln(7)\mathrm{ln}\left({x}^{4}y\right)-\mathrm{ln}\left(7\right)=\mathrm{ln}\left({x}^{4}\right)+\mathrm{ln}\left(y\right)-\mathrm{ln}\left(7\right) Finally, we use the power rule on the first term: ln(x4)+ln(y)ln(7)=4ln(x)+ln(y)ln(7)\mathrm{ln}\left({x}^{4}\right)+\mathrm{ln}\left(y\right)-\mathrm{ln}\left(7\right)=4\mathrm{ln}\left(x\right)+\mathrm{ln}\left(y\right)-\mathrm{ln}\left(7\right)

Try It

Expand log(x2y3z4)\mathrm{log}\left(\frac{{x}^{2}{y}^{3}}{{z}^{4}}\right).

Answer: 2logx+3logy4logz2\mathrm{log}x+3\mathrm{log}y - 4\mathrm{log}z

Q & A

Can we expand ln(x2+y2)\mathrm{ln}\left({x}^{2}+{y}^{2}\right)?

No. There is no way to expand the logarithm of a sum or difference inside the argument of the logarithm.
Now we will provide some examples that will require careful attention.

Example: Expanding Complex Logarithmic Expressions

Expand log6(64x3(4x+1)(2x1)){\mathrm{log}}_{6}\left(\frac{64{x}^{3}\left(4x+1\right)}{\left(2x - 1\right)}\right).

Answer: We can expand by applying the Product and Quotient Rules. log6(64x3(4x+1)(2x1))=log664+log6x3+log6(4x+1)log6(2x1)Apply the Quotient Rule.=log626+log6x3+log6(4x+1)log6(2x1)Simplify by writing 64 as 26.=6log62+3log6x+log6(4x+1)log6(2x1)Apply the Power Rule.\begin{array}{l}{\mathrm{log}}_{6}\left(\frac{64{x}^{3}\left(4x+1\right)}{\left(2x - 1\right)}\right)\hfill & ={\mathrm{log}}_{6}64+{\mathrm{log}}_{6}{x}^{3}+{\mathrm{log}}_{6}\left(4x+1\right)-{\mathrm{log}}_{6}\left(2x - 1\right)\hfill & \text{Apply the Quotient Rule}.\hfill \\ \hfill & ={\mathrm{log}}_{6}{2}^{6}+{\mathrm{log}}_{6}{x}^{3}+{\mathrm{log}}_{6}\left(4x+1\right)-{\mathrm{log}}_{6}\left(2x - 1\right)\hfill & {\text{Simplify by writing 64 as 2}}^{6}.\hfill \\ \hfill & =6{\mathrm{log}}_{6}2+3{\mathrm{log}}_{6}x+{\mathrm{log}}_{6}\left(4x+1\right)-{\mathrm{log}}_{6}\left(2x - 1\right)\hfill & \text{Apply the Power Rule}.\hfill \end{array}

Try It 8

Expand ln((x1)(2x+1)2(x29))\mathrm{ln}\left(\frac{\sqrt{\left(x - 1\right){\left(2x+1\right)}^{2}}}{\left({x}^{2}-9\right)}\right).

Answer: 12ln(x1)+ln(2x+1)ln(x+3)ln(x3)\frac{1}{2}\mathrm{ln}\left(x - 1\right)+\mathrm{ln}\left(2x+1\right)-\mathrm{ln}\left(x+3\right)-\mathrm{ln}\left(x - 3\right)

Example: Condensing Complex Logarithmic Expressions

Condense log2(x2)+12log2(x1)3log2((x+3)2){\mathrm{log}}_{2}\left({x}^{2}\right)+\frac{1}{2}{\mathrm{log}}_{2}\left(x - 1\right)-3{\mathrm{log}}_{2}\left({\left(x+3\right)}^{2}\right).

Answer: We apply the power rule first: log2(x2)+12log2(x1)3log2((x+3)2)=log2(x2)+log2(x1)log2((x+3)6){\mathrm{log}}_{2}\left({x}^{2}\right)+\frac{1}{2}{\mathrm{log}}_{2}\left(x - 1\right)-3{\mathrm{log}}_{2}\left({\left(x+3\right)}^{2}\right)={\mathrm{log}}_{2}\left({x}^{2}\right)+{\mathrm{log}}_{2}\left(\sqrt{x - 1}\right)-{\mathrm{log}}_{2}\left({\left(x+3\right)}^{6}\right) Next we apply the product rule to the sum: log2(x2)+log2(x1)log2((x+3)6)=log2(x2x1)log2((x+3)6){\mathrm{log}}_{2}\left({x}^{2}\right)+{\mathrm{log}}_{2}\left(\sqrt{x - 1}\right)-{\mathrm{log}}_{2}\left({\left(x+3\right)}^{6}\right)={\mathrm{log}}_{2}\left({x}^{2}\sqrt{x - 1}\right)-{\mathrm{log}}_{2}\left({\left(x+3\right)}^{6}\right) Finally, we apply the quotient rule to the difference: log2(x2x1)log2((x+3)6)=log2x2x1(x+3)6{\mathrm{log}}_{2}\left({x}^{2}\sqrt{x - 1}\right)-{\mathrm{log}}_{2}\left({\left(x+3\right)}^{6}\right)={\mathrm{log}}_{2}\frac{{x}^{2}\sqrt{x - 1}}{{\left(x+3\right)}^{6}}

Example: Rewriting as a Single Logarithm

Rewrite 2logx4log(x+5)+1xlog(3x+5)2\mathrm{log}x - 4\mathrm{log}\left(x+5\right)+\frac{1}{x}\mathrm{log}\left(3x+5\right) as a single logarithm.

Answer: We apply the power rule first: 2logx4log(x+5)+1xlog(3x+5)=log(x2)log((x+5)4)+log((3x+5)x1)2\mathrm{log}x - 4\mathrm{log}\left(x+5\right)+\frac{1}{x}\mathrm{log}\left(3x+5\right)=\mathrm{log}\left({x}^{2}\right)-\mathrm{log}\left({\left(x+5\right)}^{4}\right)+\mathrm{log}\left({\left(3x+5\right)}^{{x}^{-1}}\right) Next we apply the product rule to the sum: log(x2)log((x+5)4)+log((3x+5)x1)=log(x2)log((x+5)4(3x+5)x1)\mathrm{log}\left({x}^{2}\right)-\mathrm{log}\left({\left(x+5\right)}^{4}\right)+\mathrm{log}\left({\left(3x+5\right)}^{{x}^{-1}}\right)=\mathrm{log}\left({x}^{2}\right)-\mathrm{log}\left({\left(x+5\right)}^{4}{\left(3x+5\right)}^{{x}^{-1}}\right) Finally, we apply the quotient rule to the difference: log(x2)log((x+5)4(3x+5)x1)=log(x2(x+5)4((3x+5)x1))\mathrm{log}\left({x}^{2}\right)-\mathrm{log}\left({\left(x+5\right)}^{4}{\left(3x+5\right)}^{{x}^{-1}}\right)=\mathrm{log}\left(\frac{{x}^{2}}{{\left(x+5\right)}^{4}\left({\left(3x+5\right)}^{{x}^{-1}}\right)}\right)

Try It

Rewrite log(5)+0.5log(x)log(7x1)+3log(x1)\mathrm{log}\left(5\right)+0.5\mathrm{log}\left(x\right)-\mathrm{log}\left(7x - 1\right)+3\mathrm{log}\left(x - 1\right) as a single logarithm.

Answer: log(5(x1)3x(7x1))\mathrm{log}\left(\frac{5{\left(x - 1\right)}^{3}\sqrt{x}}{\left(7x - 1\right)}\right)

Condense 4(3log(x)+log(x+5)log(2x+3))4\left(3\mathrm{log}\left(x\right)+\mathrm{log}\left(x+5\right)-\mathrm{log}\left(2x+3\right)\right).

Answer: logx12(x+5)4(2x+3)4\mathrm{log}\frac{{x}^{12}{\left(x+5\right)}^{4}}{{\left(2x+3\right)}^{4}}; this answer could also be written log(x3(x+5)(2x+3))4\mathrm{log}{\left(\frac{{x}^{3}\left(x+5\right)}{\left(2x+3\right)}\right)}^{4}.

Change of Base

Use the change-of-base formula for logarithms

Most calculators can evaluate only common and natural logs. In order to evaluate logarithms with a base other than 10 or ee, we use the change-of-base formula to rewrite the logarithm as the quotient of logarithms of any other base; when using a calculator, we would change them to common or natural logs. To derive the change-of-base formula, we use the one-to-one property and power rule for logarithms. Given any positive real numbers M, b, and n, where n1n\ne 1 and b1b\ne 1, we show

logbM=lognMlognb{\mathrm{log}}_{b}M\text{=}\frac{{\mathrm{log}}_{n}M}{{\mathrm{log}}_{n}b}

Let y=logbMy={\mathrm{log}}_{b}M. By taking the log base nn of both sides of the equation, we arrive at an exponential form, namely by=M{b}^{y}=M. It follows that

logn(by)=lognMApply the one-to-one property.ylognb=lognMApply the power rule for logarithms.y=lognMlognbIsolate y.logbM=lognMlognbSubstitute for y.\begin{array}{l}{\mathrm{log}}_{n}\left({b}^{y}\right)\hfill & ={\mathrm{log}}_{n}M\hfill & \text{Apply the one-to-one property}.\hfill \\ y{\mathrm{log}}_{n}b\hfill & ={\mathrm{log}}_{n}M \hfill & \text{Apply the power rule for logarithms}.\hfill \\ y\hfill & =\frac{{\mathrm{log}}_{n}M}{{\mathrm{log}}_{n}b}\hfill & \text{Isolate }y.\hfill \\ {\mathrm{log}}_{b}M\hfill & =\frac{{\mathrm{log}}_{n}M}{{\mathrm{log}}_{n}b}\hfill & \text{Substitute for }y.\hfill \end{array}

For example, to evaluate log536{\mathrm{log}}_{5}36 using a calculator, we must first rewrite the expression as a quotient of common or natural logs. We will use the common log.

log536=log(36)log(5)Apply the change of base formula using base 10.2.2266 Use a calculator to evaluate to 4 decimal places.\begin{array}{l}{\mathrm{log}}_{5}36\hfill & =\frac{\mathrm{log}\left(36\right)}{\mathrm{log}\left(5\right)}\hfill & \text{Apply the change of base formula using base 10}\text{.}\hfill \\ \hfill & \approx 2.2266\text{ }\hfill & \text{Use a calculator to evaluate to 4 decimal places}\text{.}\hfill \end{array}

A General Note: The Change-of-Base Formula

The change-of-base formula can be used to evaluate a logarithm with any base. For any positive real numbers M, b, and n, where n1n\ne 1 and b1b\ne 1,

logbM=lognMlognb{\mathrm{log}}_{b}M\text{=}\frac{{\mathrm{log}}_{n}M}{{\mathrm{log}}_{n}b}.

It follows that the change-of-base formula can be used to rewrite a logarithm with any base as the quotient of common or natural logs.

logbM=lnMlnb{\mathrm{log}}_{b}M=\frac{\mathrm{ln}M}{\mathrm{ln}b}

and

logbM=logMlogb{\mathrm{log}}_{b}M=\frac{\mathrm{log}M}{\mathrm{log}b}

How To: Given a logarithm with the form logbM{\mathrm{log}}_{b}M, use the change-of-base formula to rewrite it as a quotient of logs with any positive base nn, where n1n\ne 1.

  1. Determine the new base n, remembering that the common log, log(x)\mathrm{log}\left(x\right), has base 10, and the natural log, ln(x)\mathrm{ln}\left(x\right), has base e.
  2. Rewrite the log as a quotient using the change-of-base formula
    • The numerator of the quotient will be a logarithm with base n and argument M.
    • The denominator of the quotient will be a logarithm with base n and argument b.

Example: Changing Logarithmic Expressions to Expressions Involving Only Natural Logs

Change log53{\mathrm{log}}_{5}3 to a quotient of natural logarithms.

Answer: Because we will be expressing log53{\mathrm{log}}_{5}3 as a quotient of natural logarithms, the new base, = e. We rewrite the log as a quotient using the change-of-base formula. The numerator of the quotient will be the natural log with argument 3. The denominator of the quotient will be the natural log with argument 5.

logbM=lnMlnblog53=ln3ln5\begin{array}{l}{\mathrm{log}}_{b}M\hfill & =\frac{\mathrm{ln}M}{\mathrm{ln}b}\hfill \\ {\mathrm{log}}_{5}3\hfill & =\frac{\mathrm{ln}3}{\mathrm{ln}5}\hfill \end{array}

Try It

Change log0.58{\mathrm{log}}_{0.5}8 to a quotient of natural logarithms.

Answer: ln8ln0.5\frac{\mathrm{ln}8}{\mathrm{ln}0.5}

Try it

The first graphing calculators were programmed to only handle logarithms with base 10. One clever way to create the graph of a logarithm with a different base was to change the base of the logarithm using the principles from this section. In the graph below, you will see the graph of f(x)=log10xlog102f(x)=\frac{\log_{10}{x}}{\log_{10}{2}}. Follow these steps to see a clever way to graph a logarithmic function with base other than 10 on a graphing tool that only knows base 10.
  • In the next line of the graph, enter the function g(x)=log2xg(x) = \log_{2}{x}
  • Can you tell the difference between the graph of this function and the graph of f(x)f(x)? Explain what you think is happening.
  • Your challenge is to write two new functions h(x), and k(x)h(x),\text{ and }k(x) that include a slider so you can change the base of the functions. Remember that there are restrictions on what values the base of a logarithm can take. You can click on the endpoints of the slider to change the input values.
https://www.desmos.com/calculator/umnz24xgl1

Key Equations

The Product Rule for Logarithms logb(MN)=logb(M)+logb(N){\mathrm{log}}_{b}\left(MN\right)={\mathrm{log}}_{b}\left(M\right)+{\mathrm{log}}_{b}\left(N\right)
The Quotient Rule for Logarithms logb(MN)=logbMlogbN{\mathrm{log}}_{b}\left(\frac{M}{N}\right)={\mathrm{log}}_{b}M-{\mathrm{log}}_{b}N
The Power Rule for Logarithms logb(Mn)=nlogbM{\mathrm{log}}_{b}\left({M}^{n}\right)=n{\mathrm{log}}_{b}M
The Change-of-Base Formula logbM=lognMlognb n>0,n1,b1{\mathrm{log}}_{b}M\text{=}\frac{{\mathrm{log}}_{n}M}{{\mathrm{log}}_{n}b}\text{ }n>0,n\ne 1,b\ne 1

Key Concepts

  • We can use the product rule of logarithms to rewrite the log of a product as a sum of logarithms.
  • We can use the quotient rule of logarithms to rewrite the log of a quotient as a difference of logarithms.
  • We can use the power rule for logarithms to rewrite the log of a power as the product of the exponent and the log of its base.
  • We can use the product rule, the quotient rule, and the power rule together to combine or expand a logarithm with a complex input.
  • The rules of logarithms can also be used to condense sums, differences, and products with the same base as a single logarithm.
  • We can convert a logarithm with any base to a quotient of logarithms with any other base using the change-of-base formula.
  • The change-of-base formula is often used to rewrite a logarithm with a base other than 10 and e as the quotient of natural or common logs. That way a calculator can be used to evaluate.

Glossary

change-of-base formula a formula for converting a logarithm with any base to a quotient of logarithms with any other base. power rule for logarithms a rule of logarithms that states that the log of a power is equal to the product of the exponent and the log of its base product rule for logarithms a rule of logarithms that states that the log of a product is equal to a sum of logarithms quotient rule for logarithms a rule of logarithms that states that the log of a quotient is equal to a difference of logarithms

Licenses & Attributions