Logarithmic Functions

Note that we learned about Exponential Functions here and did some Advanced Factoring with Exponents and Logs in the Advanced Factoring section here. Inverses of Logarithmic Functions can be found in the Inverses of Functions section here.

Introduction to Logarithms (Logs)

What is a Log and Why do we Need Them?

I have to admit that logs are one of my favorite topics in math. I’m not sure exactly why, but you can do so many awesome things with them!

We’ll soon see that Logs can be used to “get the variable in the exponent down” so we can solve for it. But logarithms are also used for many other things, including early on to perform computations – before calculators and computers were around. Have you ever heard of a slide rule? (Ask your parents…or grandparents…)

A slide rule was used (among other things) to multiply and divide large numbers by adding and subtracting their exponents. The numbers on the slide rules had different scales (“logarithmic scales”, meaning that the distance between numbers increase exponentially) and you could simply look up a number, and slide the ruler over to another number to get the number you want. When doing this, you were adding and subtracting exponents, thus multiplying and dividing large numbers. Genius!       

Definition of Logarithm

Remember: A log is in exponent! So when you take the log of something, you are getting back an exponent. The two equations below are two different ways to say the same thing, but the first is an exponential equation, and the second is a logarithmic equation.

Note that $ b$ is called the base of the log, and must be greater than 0 (so we don’t have to deal with complex numbers). Also, the base can’t be 1, or the equations wouldn’t be exponential or logarithmic.

The $ x$ in the log equation is called the argument and it must be greater than 0, again, to avoid complex numbers.

Exponential Function                         Logarithmic Function

$ x={{b}^{y}}$                               $ \Leftrightarrow $                              $ y={{\log }_{b}}x$

$ (b>0,\,\,b\ne 1,\,\,x>0)$

Example:                                                           Example:

   $ \displaystyle 25={{5}^{2}}$                                                            $ \displaystyle 2={{\log }_{5}}25$

To illustrate how these two equations are related, many times a “loop” is shown, which shows that $ b$ raised to the $ y$ equals $ x$. Again, $ x$ is called the argument of the log, and you can write it as $ {{\log }_{b}}x$ or $ {{\log }_{b}}(x)$. Learn this well!

Note: If there is no $ b$ next to the log, then the base is assumed to be 10; this is called a common logarithm.

Here are some examples of equivalent exponential function and logarithmic functions. See the loop?

Exponential Form

Logarithmic Form

 $ {{2}^{3}}=8$ $ {{\log }_{2}}8=3$
 $ \displaystyle {{\left( 2 \right)}^{{-4}}}=\frac{1}{{16}}$  $ \displaystyle {{\log }_{2}}\frac{1}{{16}}=-4$
 $ {{4}^{y}}=x$  $ {{\log }_{4}}x=y$
$ {{10}^{3}}=1000$ $ \displaystyle \log \left( {1000} \right)=3$

Here are some simple log problems where we have to use what we know about exponents to find the log back. You’ll probably have some of these to work on tests without a calculator:

Log Problem

How to Solve:    The Log IS the Exponent!

 $ {{\log }_{4}}4=x$ 4 raised to ? = 4. Since $ {{4}^{1}}=1,\,\,x=1$.
 $ {{\log }_{3}}81=x$ 3 raised to ? = 81. Since $ {{3}^{4}}=81,\,\,x=4$.
 $ \displaystyle {{\log }_{2}}\frac{1}{{16}}=x$ 2 raised to ? $ \displaystyle =\frac{1}{{16}}$. Since $ \displaystyle {{2}^{4}}=16,\,\,\,\,{{2}^{{-4}}}=\frac{1}{{16}}$, so $ x=-4$.
 $ \displaystyle {{\log }_{{32}}}\frac{1}{4}=x$ 32 raised to ? = $ \displaystyle \frac{1}{4}$. Since this is a little tricky to figure out with mental math, we can use the “solving exponents by matching bases” method:

$ \displaystyle {{32}^{x}}=\frac{1}{4},\,\,\,\,\,{{\left( {{{2}^{5}}} \right)}^{x}}={{2}^{{-2}}},\,\,\,\,\,\,{{2}^{{5x}}}={{2}^{{-2}}},\,\,\,\,5x=-2,\,\,x=-\frac{2}{5}$.

 $ {{\log }_{4}}32=x$ 4 raised to ? = 32.  We know that $ {{2}^{5}}=32$, and we also know that $ \sqrt{4}={{4}^{{\frac{1}{2}}}}=2$. Remember that the root is on the bottom of an exponential fraction, and the “raising to the power” is on the top, which would make $ {{4}^{{\frac{5}{2}}}}=32$ (we can also multiply 5 by $ \displaystyle \frac{1}{2}$). Thus, $ \displaystyle x=\frac{5}{2}$.

We could also solve this using the matching base method, as we did in the previous problem.

 $ {{\log }_{b}}1=x$ $ b$ (any number) raised to ? = 1. Since $ {{b}^{0}}=1,\,\,x=0$.

Special Logarithms

Most of the logarithms that you’ll work with have either a base of “10” (because we’ll deal in base 10 with our counting system) or base “$ e$”.

A logarithm with base 10 is called a common logarithm, and when you see “log” without a small subscript for the base, you assume it is base 10. Thus, $ \log \left( 1000 \right)=3$  and  $ {{\log }_{10}}\left( 1000 \right)=3$, but we don’t need the 10.

A logarithm with base $ e$ is called the “natural logarithm” and is written as $ \ln \left( x \right)$. Thus, we write  $ {{\log }_{e}}\left( x \right)$ as $ \ln \left( x \right)$. Again, the base “$ e$” has many applications in both engineering and economics.

Using Logs (and Exponents) in the Graphing Calculator

You can use graphing calculator keys in the TI-83/84 to find the basic logs: LOG (base 10) and LN. For logs with other bases, you can use a function called LOGBASE under MATH (or ALPHA WINDOW 5), or use what we call a “change of base” formula, that we’ll introduce here and talk about more in Basic Log Properties below.

(We learned how to put exponents in the calculator (using ^) here in the Exponents and Radicals in Algebra section.)

Graphing Calculator Screen: Logs Notes
The log function is in middle left of the calculator and takes a positive argument. (If we’re not typing anything after it, we don’t even need the last parenthesis).

Note that this is a base 10, and if we need to use a different base, we can use the logBASE function (if your calculator has the newer operating system) by hitting math alpha math (for A) or hitting math and scrolling up (or down) to logBASE. Then use the arrows to enter numbers and hit enter:  . You can also use the shortcut alpha window 5 to get logBASE: .

If you don’t have logBASE on your calculator, you can always use the Change of Base formula ($ \displaystyle {{\log }_{b}}\left( x \right)=\frac{{{{{\log }}_{{10}}}x}}{{{{{\log }}_{{10}}}b}}$); for example, to calculate $ {{\log }_{2}}8$, you can enter $ \displaystyle \frac{{\log (8)}}{{\log (2)}}$.

For log base $ \boldsymbol {e}$ (natural log), we use ln, which is below the log function. For $ \boldsymbol {e}$ raised to something, we use the button, which is 2nd ln.

Note that if we take the ln of something that has a base of $ \boldsymbol {e}$, it’s almost like we are cancelling out the ln and the $ \boldsymbol {e}$, so we just get the exponent (2, in the example): .

(When putting a log argument in the calculator with an exponent, you must put parenthesis around the whole expression, including the exponent).

Notice also that if we raise $ \boldsymbol {e}$ to the ln of a number, we just get that number back (3, in the example): .

These tricks work the same for taking the $ {{\log }_{{10}}}$ of something with a base 10, and raising 10 to the $ {{\log }_{{10}}}$ of a number!; we’ll talk about these shortcuts later.

Note that you can also use your calculator to perform logarithmic regressions, using a set of points, like we did here in the Exponential Functions section.

Parent Graphs of Logarithmic Functions

Here are some examples of parent log graphs. I always remember that the “reference point” (or “anchor point“) of a log function is $ (1,0)$ (since this looks like  the “lo” in “log”). If the function shifts, this “anchor point” will move. The graph of a log function (a parent function: one that isn’t shifted) has an asymptote of $ x=0$.

When the base is greater than 1 (a growth), the graph increases, and when the base is less than 1 (a decay), the graph decreases. The domain and range are the same for both parent functions.

Remember from Parent Graphs and Transformations that the critical or significant points of the parent logarithmic function $ y={{\log }_{b}}x$ (inverse of exponential function) are $ \displaystyle \left( {\frac{1}{b},-1} \right),\,\left( {1,0} \right),\left( {b,1} \right)$.

“Parent” Log Graphs

Domain: $ \left( {0,\infty } \right)$;   Range: $ \left( {-\infty ,\infty } \right)$

End Behavior: $ \left\{ \begin{array}{l}x\to {{0}^{+}},\,\,y\to -\infty \\x\to \infty ,\,\,\,y\to \infty \end{array} \right.$

($ x\to {{0}^{+}}$: As $ x$ approaches 0 from the right)

Domain: $ \left( {0,\infty } \right)$;   Range: $ \left( {-\infty ,\infty } \right)$

End Behavior: $ \left\{ \begin{array}{l}x\to {{0}^{+}},\,\,y\to \infty \\x\to \infty ,\,\,\,y\to -\infty \end{array} \right.$

($ x\to {{0}^{+}}$: As $ x$ approaches 0 from the right)

Transformations of Log Functions

From Parent Graphs and Transformations, the generic equation for a transformation with vertical stretch $ a$, horizontal shift $ h$, and vertical shift $ k$ is $ f\left( x \right)=a\cdot \log \left( {x-h} \right)+k$ for log functions.
Remember these rules:

  • When functions are transformed on the outside of the $ f(x)$ part, you move the function up and down and do “regular” math, as we’ll see in the examples below. These are vertical transformations or translations. Stretches and compressions are performed before shifts.
  • When transformations are made on the inside of the $ f(x)$ part, you move the function back and forth (but do the opposite math – basically since if you were to isolate the x, you’d move everything to the other side). These are horizontal transformations or translations.
  • When there is a negative sign outside the parentheses, the function is reflected (flipped) across the $ x$-axis; when there is a negative sign inside the parentheses, the function is reflected across the $ y$-axis. Reflections are performed before shifts.
  • For log functions, get the new asymptote by setting the log argument to 0 and solving for $ x$ (horizontal shift). The domain changes with the horizontal shift, and the range is always $ \left( {-\infty ,\infty } \right)$.

Here are some examples, using t-charts:

Transformation

T-chart

Graph

$ \begin{array}{c}y=\log \left( {2x-2} \right)-1\\y=\log \left( {2\left( {x-1} \right)} \right)-1\end{array}$

 

Parent function:

$ y=\log \left( x \right)$

 

For log base 10 functions, use $ \displaystyle \left( {\frac{1}{{10}},-1} \right),\left( {1,0} \right),\left( {10,1} \right)$ for the $ x$-values, and –1, 0, and 1 for the $ y$-values for the parent function. To get new asymptote, set the log argument to 0 and solve for $ x$.

$ \frac{1}{2}x+1$ x   y y – 1
 1.05 .1 –1 –2
1.5 1  0 –1
6 10  1   0

 Asymptote:  $ x=1$

Domain:  $ \left( {1,\infty } \right)$

Range:  $ \left( {-\infty ,\infty } \right)$

Horizontal compression by a factor of $ \displaystyle \frac{1}{2}$, translate right 1 unit, down 1 unit.

$ y=\ln \left( {-x} \right)+5$

 

Parent function:

$ y=\ln \left( x \right)$

 

A negative sign inside the parentheses means reflecting across the $ y$axis.

Try without a t-chart.

Reflect function across the $ y$axis, so it ends up going down. Reflect first, and then shift.

Function is also shifted up 5, since instead of going through $ \left( {-1,0} \right)$, it goes through $ \left( {-1,5} \right)$.

Asymptote:  $ x=0$

Domain:  $ \left( {-\infty ,0} \right)$

Range:  $ \left( {-\infty ,\,\,\infty } \right)$

Reflect over the $ y$-axis, translate up 5 units.

Writing Logarithmic Equations from Points and Graphs

You may be also be asked to write log equations, such as the following:

  • Write an equation to describe the logarithmic function in form $ y=a{{\log }_{b}}x$, with a given base and a given point.
  • Write a logarithmic function in form $ y=a\log \left( {x-h} \right)+k$ from a graph (given asymptote and two points).

Note: We may also be able to use logarithmic regression to find logs equations based on points, like we did here with Exponential Regression.

Let’s try these types of problems:

Problem Solution
Write an equation to describe the logarithmic function in form $ y=a{{\log }_{b}}x$, with base 3 and passing through the point $ \left( {81,2} \right)$. The equation will be in the form $ y=a{{\log }_{3}}x$, since the base is 3. Plug in 81 for $ x$ and 2 for $ y$, and solve for $ a$:

$ \begin{align}y&=a{{\log }_{3}}x\\2&=a{{\log }_{3}}81=a\cdot 4\,\,\,({{3}^{4}}=81)\\a&=\frac{2}{4}=\frac{1}{2}\end{align}$

The equation is $ y=.5{{\log }_{3}}x$.

For the following graph, write the appropriate logarithmic function in the form $ y=a\log \left( {x-h} \right)+k$:

The graph has an asymptote at $ x=3$, so it has a horizontal shift of 3, or $ h=3$. Thus, the equation is in the form $ y=a\log \left( {x-3} \right)+k$.

 

The safest way to figure the rest out is to use a system of equations with the two points on the graph: $ \left( {4,2} \right)$ and $ \left( {13,0} \right)$. Solve for $ a$ first, using $ \left( {4,2} \right)$:

 

$ \displaystyle \begin{array}{l}y=a\log \left( {x-3} \right)+k\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,y=a\log \left( {x-3} \right)+2\\2=a\log \left( {4-3} \right)+k\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,0=a\log \left( {13-3} \right)+2\\2=a\log \left( 1 \right)+k\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,0=a\log \left( {10} \right)+2\,\,\,\,\\2=a\cdot 0+k;\,\,\,\,\,k=2\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,0=a\cdot 1+2;\,\,\,\,\,a=-2\end{array}$

 

The logarithmic function is $ y=-2\log \left( {x-3} \right)+2$. Graph this function and it works!   √

Basic Log Properties, Including Shortcuts

When working with logs, there are certain shortcuts that you can use over and over again. It’s important to understand these, but later, when using them, be familiar with them, so you can use them quickly. Think of some of the rules as “canceling out” the logs with the exponents. And don’t forget the log “loop”:

Log Rule

Explanation

Example

 $ {{\log }_{a}}a=1$

Loop: $ a$ raised to 1 is $ a$.

 $ \log 10=1$
 $ {{\log }_{a}}1=0$

Loop: $ a$ raised to 0 is 1.

 $ {{\log }_{2}}1=0$
 $ \ln e\left( {={{{\log }}_{e}}\left( e \right)} \right)=1$

Loop: $ e$ raised to 1 is $ e$.

 $ \ln e=1$
 $ {{\log }_{a}}{{a}^{x}}=x$

Loop: $ {{a}^{x}}={{a}^{x}}$.

$ {{\log }_{2}}\left( {{{2}^{4}}} \right)=4$
$ \ln \left( {{{e}^{x}}} \right)\,\,\left( {={{{\log }}_{e}}\left( {{{e}^{x}}} \right)} \right)=x$

Loop: $ {{e}^{x}}={{e}^{x}}$.

 $ \ln {{e}^{2}}=2$
 

$ {{a}^{{{{{\log }}_{a}}x}}}=x$

$ a$ raised to “the exponent that a is raised to get $ x$” is $ x$.

(This is a difficult concept; you have to really think about it!)

 $ {{4}^{{{{{\log }}_{4}}\left( 3 \right)}}}=3$
 $ {{e}^{{\ln x}}}=x$

$ e$ raised to “the exponent that $ e$ is raised to get $ x$” is $ x$.

 $ {{e}^{{\ln 5}}}=5$

Now to the important log properties! These properties  are derived from the fact that we add exponents when we multiply terms with exponents, we subtract exponents when we divide, and we multiply exponents when we raise them to a power. These are powerful properties that we’ll need to use to isolate variables in exponents so we can solve for them. You will have to memorize these and remember that for the first three, you must be dealing with logs with the same base:

Summary of Logarithmic Properties

(for all formulas, $ b,x,y>0,\,\,\,b\ne 1$)

Product Rule:

 $ {{\log }_{b}}\left( {xy} \right)={{\log }_{b}}x+{{\log }_{b}}y$ Remember, if you multiply inside the parentheses, you add logs on the outside.

Division Rule:

 $ \displaystyle {{\log }_{b}}\left( {\frac{x}{y}} \right)={{\log }_{b}}x-{{\log }_{b}}y$ Remember, if you divide inside the parentheses, you subtract logs on the outside.

Power Rule:

 $ {{\log }_{b}}\left( {{{x}^{p}}} \right)=p{{\log }_{b}}x$ Remember, if you raise to a power inside the parentheses, you multiply by that power on the outside.

Note: $ {{\log }_{b}}\left( {{{x}^{p}}} \right)$ can also be written as $ {{\log }_{b}}{{x}^{p}}$, which is not the same as $ {{\left( {{{{\log }}_{b}}x} \right)}^{p}}$.

Change of Base Rule:

 $ \displaystyle {{\log }_{b}}\left( x \right)=\frac{{{{{\log }}_{{10}}}x}}{{{{{\log }}_{{10}}}b}}$  or  $ \displaystyle {{\log }_{b}}\left( x \right)=\frac{{\ln x}}{{\ln b}}$ Remember, put the larger number (argument) on top, the smaller (base) on bottom. This is useful for the calculator if you don’t have the LOGBASE function.

And don’t forget the basics:

$ y={{\log }_{b}}x\,\,\,\,\,\Leftrightarrow \,\,\,\,\,\,x={{b}^{y}}\,\,\,$  $ {{b}^{x}}={{b}^{y}}\,\,\,\,\Leftrightarrow \,\,\,\,x=y$  $ {{\log }_{b}}x={{\log }_{b}}y\,\,\,\,\,\Leftrightarrow \,\,\,\,\,x=y$
$ \left( {b,x,y>0,\,\,\,b\ne 1} \right)$

Expanding and Condensing Logs

Now we’ll use these properties to expand and condense logs. Expanding Logs generally means turning the “inside multiplying” (with only one log) to “outside adding” (with multiple logs). Condensing Logs generally means turning the “outside adding” (with multiple logs) to the “inside multiplying” (with only one log). Why do we need to do all this? We will need to expand and condense logs to solve log problems.

Note that when expanding logs, it’s generally a good idea to apply the power rule last (unless whole terms are raised to a power, as in the third example). Also, note that these logs can be written with or without the arguments in parentheses (for example, as $ {{\log }_{3}}5{{x}^{3}}\,\,\,\text{or}\,\,\,\,{{\log }_{3}}\left( 5{{x}^{3}} \right)$, which is different than $ {{\left( {{\log }_{3}}5x \right)}^{3}}$).

Here are examples of expanded logs; assume all log arguments are positive.

Single Log Expanded Log Notes
$ {{\log }_{3}}5{{x}^{3}}={{\log }_{3}}\left( {5{{x}^{3}}} \right)$  $ {{\log }_{3}}5+{{\log }_{3}}{{x}^{3}}={{\log }_{3}}5+3{{\log }_{3}}x$

First, separate the factors with two different logs; then, move the 3 down and around to the front.

 $ \displaystyle {{\log }_{2}}\frac{{2x}}{y}$  $ {{\log }_{2}}2+{{\log }_{2}}x-{{\log }_{2}}y=1+{{\log }_{2}}x-{{\log }_{2}}y$

Everything on top has a plus before it, and everything on bottom has a minus before it. (The $ {{\log }_{2}}2$ has an invisible plus before it). Then, simplify the $ {{\log }_{2}}2$ to 1. It’s almost like the 2’s cancel out.

$ {{\log }_{4}}{{\left( {5x} \right)}^{4}}={{\log }_{4}}\left( {{{{\left( {5x} \right)}}^{4}}} \right)$ $ 4{{\log }_{4}}\left( {5x} \right)=4\left( {{{{\log }}_{4}}5+{{{\log }}_{4}}x} \right)=4{{\log }_{4}}5+4{{\log }_{4}}x$

or

$ {{\log }_{4}}{{5}^{4}}{{x}^{4}}={{\log }_{4}}{{5}^{4}}+{{\log }_{4}}{{x}^{4}}=4{{\log }_{4}}5+4{{\log }_{4}}x$

Since the whole term is raised to 4, first move the 4 down around to the front. Then separate the factors, and finally push through the 4. You can also “distribute” the exponent 4 to the 5 and $ x$, and then “pull things apart”.

 $ \displaystyle \ln \frac{e}{{4{{x}^{3}}}}$  $ \ln e-\ln 4-\ln {{x}^{3}}=1-\ln 4-3\ln x$

Remember again that everything on top has a plus before it, and everything on bottom has a minus before it. Simplify the $ \ln e$ to 1, and move the 3 around to the front.

 $ \displaystyle {{\log }_{2}}\sqrt[4]{{\frac{{5x}}{{4{{y}^{2}}}}}}$  $ \displaystyle \begin{align}\frac{1}{4}{{\log }_{2}}\frac{{5x}}{{4{{y}^{2}}}}&=\frac{1}{4}\left( {{{{\log }}_{2}}5+{{{\log }}_{2}}x-{{{\log }}_{2}}4-2{{{\log }}_{2}}y} \right)\\&=\frac{1}{4}\left( {{{{\log }}_{2}}5+{{{\log }}_{2}}x-2-2{{{\log }}_{2}}y} \right)\\&=\frac{1}{4}{{\log }_{2}}5+\frac{1}{4}{{\log }_{2}}x-\frac{1}{2}-\frac{1}{2}{{\log }_{2}}y\end{align}$

Since everything is under the root, first move the $ \displaystyle \frac{1}{4}$ around to the front (the 4th root means raised to the $ \displaystyle \frac{1}{4}$). Keep the $ \displaystyle \frac{1}{4}$ out in front, but expand the fraction; again, everything on top has a plus before it, and everything on bottom has a minus. Then, distribute the $ \displaystyle \frac{1}{4}$. Also, simplify the $ {{\log }_{2}}4$ to 2 $ ({{2}^{2}}=4)$.

$ {{e}^{{\ln 6+2\ln t+\ln \left( {4t} \right)}}}$ $ \displaystyle \begin{array}{c}{{e}^{{\ln 6}}}\cdot {{e}^{{2\ln t}}}\cdot {{e}^{{\ln \left( {4t} \right)}}}={{e}^{{\ln 6}}}\cdot {{e}^{{\ln {{t}^{2}}}}}\cdot {{e}^{{\ln \left( {4t} \right)}}}\\=6\cdot {{t}^{2}}\cdot 4t=24{{t}^{3}}\end{array}$

This one is a little different; separate the exponents and then use the power rule on the middle term.

Here are examples of condensing logs; assume all log arguments are positive. When condensing logs, it’s generally better to apply the power rule first.

Expanded Log Condensed or Single Log Notes
 $ {{\log }_{3}}8+{{\log }_{3}}x-{{\log }_{3}}y$ $ \displaystyle {{\log }_{3}}\frac{{8x}}{y}\,\,\,\text{or}\,\,{{\log }_{3}}\left( {\frac{{8x}}{y}} \right)$ Everything with a $ +$ sign before it goes on top (numerator), and with a – sign before it goes on bottom (denominator). Remember that there is an invisible $ +$ before the first term.
 $ \displaystyle 4{{\log }_{2}}4+\frac{1}{2}{{\log }_{2}}x$ $ \displaystyle \begin{align}{{\log }_{2}}{{4}^{4}}+{{\log }_{2}}{{x}^{{\frac{1}{2}}}}&=\,{{\log }_{2}}\left( {{{4}^{4}}{{x}^{{\frac{1}{2}}}}} \right)\,\,\,\\\,\,\,\,\,\,\,&=\,{{\log }_{2}}\left( {256\sqrt{x}} \right)\end{align}$ Apply the power rule first by moving up the coefficients and making them exponents. Then change the $ +$ on the outside to a “times” on the inside. Note that we could have simplified the $ {{\log }_{2}}{{4}^{4}}$ to 8 before or after we condensed the logs. Also note that $ {{\log }_{2}}{{4}^{4}}$ (8) is not the same as $ {{\left( {{{{\log }}_{2}}4} \right)}^{4}}$ (16).
 $ \displaystyle \ln x+5\ln \left( {5y} \right)-\frac{1}{3}\ln z$ $ \displaystyle \begin{align}\ln x+\ln {{\left( {5y} \right)}^{5}}-\ln {{z}^{{\frac{1}{3}}}}\,&=\,\ln \left[ {\frac{{x{{{\left( {5y} \right)}}^{5}}}}{{\sqrt[3]{{z}}}}} \right]\\\,\,\,\,\,\,&=\ln \left( {\frac{{3125x{{y}^{5}}}}{{\sqrt[3]{{z}}}}} \right)\end{align}$ Apply the power rule first (moving the coefficients up to be exponents), and then condense the logs by moving everything with a $ +$ sign before it on the top and everything with a – before it sign on the bottom. We can then take the 5th power of 5.
 $ \begin{array}{l}{{\log }_{2}}\left( {{{x}^{2}}-2x-3} \right)\\\,\,\,\,\,\,\,\,\,\,\,\,-{{\log }_{2}}\left( {x-3} \right)\end{array}$ $ \displaystyle \begin{align}{{\log }_{2}}\frac{{\left( {{{x}^{2}}-2x-3} \right)}}{{\left( {x-3} \right)}}\,&=\,{{\log }_{2}}\frac{{\left( {x-3} \right)\left( {x+1} \right)}}{{\left( {x-3} \right)}}\\&={{\log }_{2}}\left( {x+1} \right)\end{align}$ Condense the log by moving the $ {{x}^{2}}-2x-3$ to the top and the $ x-3$ to the bottom.Then factor, and reduce. Note in this problem that $ x\ne 3$.
 $ \displaystyle \frac{1}{3}\left[ {4\ln \left( {x+2} \right)-\ln x-\ln y} \right]$ $ \displaystyle \frac{1}{3}\ln \left[ {\frac{{{{{\left( {x+2} \right)}}^{4}}}}{{xy}}} \right]\,=\,\ln \sqrt[3]{{\left( {\frac{{{{{\left( {x+2} \right)}}^{4}}}}{{xy}}} \right)}}$ Since the $ \displaystyle \frac{1}{3}$ is on the outside, apply that last. First condense the logs inside the [ ] by moving everything with a $ +$ sign before it on the top and everything with a – sign before it on the bottom. Then, because of the $ \displaystyle \frac{1}{3}$, take the cube root of the argument.
$ \displaystyle \begin{align}\log x+\frac{1}{2}\log \left( {1-x} \right)\\\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,-4\log \left( {x+1} \right)\end{align}$  $ \displaystyle \begin{array}{l}\log x+\log {{\left( {1-x} \right)}^{{\frac{1}{2}}}}-\log {{\left( {x+1} \right)}^{4}}\,\,\,\\\,\,\,\,\,=\,\,\,\log \left[ {\frac{{x\sqrt{{1-x}}}}{{{{{\left( {x+1} \right)}}^{4}}}}} \right]\end{array}$ Move the coefficients up to exponents first, and then condense the logs by moving everything with a $ +$ sign before it on the top and everything with a – sign on the bottom.
 $ \displaystyle \begin{align}{{\log }_{6}}{{6}^{{12x}}}-{{\log }_{6}}{{216}^{x}}\\\,\,\,\,\,\,\,\,\,+2{{\log }_{6}}{{\left( {\frac{1}{{36}}} \right)}^{x}}\end{align}$  $ \require{cancel} \begin{align}{{\cancel{{{{{\log }}_{6}}6}}}^{{12x}}}&-x{{\log }_{6}}216+2{{\log }_{6}}{{\left( {{{6}^{{-2}}}} \right)}^{x}}\\&=12x-x\cdot 3+{{\log }_{6}}{{\left( {{{6}^{{-2x}}}} \right)}^{2}}\\&=12x-3x+{{\cancel{{{{{\log }}_{6}}6}}}^{{-4x}}}\\&=9x-4x=5x\end{align}$ This one’s a little different, since we can first simplify each of the terms instead of creating one log (which would have worked, too!).

Remember that when we raise an exponent to another exponent, we multiply exponents.

Before getting into solving logs, here’s a crazy type of problem I came across that uses the Change of Base formula to solve:

Logarithmic Problem Notes

Solve for $ y$:

$ \left( {{{{\log }}_{4}}{{x}^{5}}} \right)\left( {{{{\log }}_{x}}2x} \right)\left( {{{{\log }}_{{2x}}}y} \right)={{\log }_{x}}{{x}^{{10}}}$

 

$ \displaystyle \require {cancel} \left[ {\frac{{\log {{x}^{5}}}}{{\log 4}}} \right]\left[ {\frac{{\cancel{{\log \left( {2x} \right)}}}}{{\log x}}} \right]\left[ {\frac{{\log y}}{{\cancel{{\log \left( {2x} \right)}}}}} \right]=10$

$ \displaystyle \left( {\frac{{\log {{x}^{5}}}}{{\log x}}} \right)\left( {\frac{{\log y}}{{\log 4}}} \right)=10;\,\,\,\,\,\left( {{{{\log }}_{x}}{{x}^{5}}} \right)\left( {{{{\log }}_{4}}y} \right)=10$

$ \displaystyle 5{{\log }_{4}}y=10;\,\,\,\,{{\log }_{4}}y=2;\,\,\,\,y=16$

This problem is all about using the Change of Base formula back and forth, and then simplifying the fractions until there’s something that’s solvable! I saw to do this since some of the arguments matched some of the bases, so I knew there could some crossing out. (It actually doesn’t matter what the value of $ x$ is).

 

I also used the fact that $ {{\log }_{a}}\left( {{{a}^{x}}} \right)=x$.

 

Tricky!

Solving Exponential and Logarithmic Equations using Logs

Now we can use all these tools to solve exponential and log equations! Remember again that math is just using tools that you have to learn to solve problems.

Here are the basic ways to solve exponential and log problems and examples for each; remember to always check your answer to make sure the argument of logs (what’s directly following the log) is positive!

1. Solving Exponential Equations with Variables in the Exponent: Use the power rule to get the exponent down if the variable is in the exponent (probably the most commonly used “tool”). Before doing this, get the base/exponent by itself and take the log of each side You can use ln, log, or if you have logBASE on the calculator, use the base in the exponential equation.

Here’s a practical example where we can use logs to solve the algebraic equation $ 250=100{{\left( {1.05} \right)}^{t}}$ to get the number of years, $ t$, that it would take to go from $100 to $250 with a yearly interest rate of 5%.

Logarithmic Problem Notes

$ 250=100{{\left( {1.05} \right)}^{t}}$

$ \begin{align}\frac{{250}}{{100}}&={{\left( {1.05} \right)}^{t}}\\\ln \left( {\frac{{250}}{{100}}} \right)&=\ln {{\left( {1.05} \right)}^{t}}\\\ln \left( {2.5} \right)&=t\ln \left( {1.05} \right)\\t&=\frac{{\ln \left( {2.5} \right)}}{{\ln \left( {1.05} \right)}}\approx 18.78\,\,\text{years}\end{align}$ or         $ \begin{align}\frac{{250}}{{100}}&={{\left( {1.05} \right)}^{t}}\\{{\log }_{{1.05}}}\left( {\frac{{250}}{{100}}} \right)&={{\cancel{{{{{\log }}_{{1.05}}}\left( {1.05} \right)}}}^{t}}\\{{\log }_{{1.05}}}\left( {2.5} \right)&=t\\t\approx 18.78\,\,\text{years}\end{align}$

 

First, isolate the base raise to the exponent by dividing both sides by 100. Take the natural log (ln) of both sides. (We can do this since if a number equals another number, their respective logs are the same). Note that we could have also take the log base 10 of both sides. Then, use the Power Rule of logs to “bring the exponent down and to the front”, so we no longer have an exponent!

 

Get $ t$ by itself, and use a calculator to divide the two ln’s. (Note that $ \displaystyle \frac{{\ln \left( {2.5} \right)}}{{\ln \left( {1.05} \right)}}$ is not the same as $ \displaystyle \ln \left( {\frac{{2.5}}{{1.05}}} \right)$!) You can check your answer in the calculator by verifying that $ 100{{\left( {1.05} \right)}^{{18.78}}}\approx 250$.

 

The other way is to take the log base that corresponds to the exponent, especially if you have logBASE on your calculator.

Here are more examples. Note that there are several ways to do these!

Solving Logs:  Use the Power Rule to Bring Exponent Down

$ \displaystyle 150{{\left( {.5} \right)}^{t}}=1500$

$ \displaystyle \begin{align}{{\left( {.5} \right)}^{t}}&=\frac{{1500}}{{150}}=10\\\ln {{\left( {.5} \right)}^{t}}&=\ln \left( {10} \right)\\t\ln \left( {.5} \right)&=\ln \left( {10} \right)\\t&=\frac{{\ln \left( {10} \right)}}{{\ln \left( {.5} \right)}}\approx -3.32\end{align}$  or      $ \displaystyle \begin{align}{{\left( {.5} \right)}^{t}}=\frac{{1500}}{{150}}=10\\{{\cancel{{{{{\log }}_{{.5}}}\left( {.5} \right)}}}^{t}}={{\log }_{{.5}}}\left( {10} \right)\\t={{\log }_{{.5}}}\left( {10} \right)\approx -3.32\end{align}$

$ \displaystyle {{5}^{{x-2}}}=1000$

$ \displaystyle \begin{align}\log {{5}^{{x-2}}}&=\log 1000\\\left( {x-2} \right)\log 5&=3\\x-2&=\frac{3}{{\log 5}}\\x&=\frac{3}{{\log 5}}+2\approx 6.29\end{align}$

$ \displaystyle {{2}^{{x+3}}}={{5}^{{3x}}}$

$ \displaystyle \begin{align}\ln {{2}^{{x+3}}}&=\ln {{5}^{{3x}}}\\\left( {x+3} \right)\ln 2&=\left( {3x} \right)\ln 5\\x\ln 2+3\ln 2&=3x\ln 5\\3x\ln 5-x\ln 2&=3\ln 2\\x\left( {3\ln 5-\ln 2} \right)&=3\ln 2\\x&=\frac{{3\ln 2}}{{3\ln 5-\ln 2}}\approx .503\end{align}$

Note: Some teachers just have you use the log “loop” and change of base formula instead. (You could also use the logBASE function in your calculator, without using the change of base.) Do you see the loop?

Solving Logs: Use the Log “Loop” and Change of Base to get Exponent Down

 $ \displaystyle 150{{\left( {.5} \right)}^{t}}=1500$

$ \displaystyle \begin{align}{{\left( {.5} \right)}^{t}}&=\frac{{1500}}{{150}}=10\\{{\log }_{{.5}}}\left( {10} \right)&=t\\t&={{\log }_{{.5}}}\left( {10} \right)\\t&=\frac{{\log \left( {10} \right)}}{{\log \left( {.5} \right)}}\approx -3.32\end{align}$

 $ {{5}^{{x-2}}}=1000$

$ \begin{align}{{\log }_{5}}\left( {1000} \right)&=x-2\\x&={{\log }_{5}}\left( {1000} \right)+2\\x&=\frac{{\log \left( {1000} \right)}}{{\log \left( 5 \right)}}+2\approx 6.29\end{align}$

2. If the same log and same base are on both sides, you can just set arguments of logs equal to each other; this is called the “One-to-One Property of Logarithms”:

Solving Logs: Set Arguments of Logs with Same Base Equal to Each Other

 $ 3\ln 4=\ln x$

$ \begin{align}\ln {{4}^{3}}&=\ln x\\{{4}^{3}}&=x\\x&=64\end{align}$

 $ {{\log }_{6}}\left( {2x-5} \right)+{{\log }_{6}}x={{\log }_{6}}10$

$ \begin{align}{{\log }_{6}}\left[ {\left( {2x-5} \right)\left( x \right)} \right]&={{\log }_{6}}10\\2{{x}^{2}}-5x&=10\\2{{x}^{2}}-5x-10&=0\\x&=\frac{{5\pm \sqrt{{25-\left( 4 \right)\left( 2 \right)\left( {-10} \right)}}}}{4}=\frac{{5\pm \sqrt{{105}}}}{4}\\x&=\frac{{5+\sqrt{{105}}}}{4}\text{ }\,\,\,\text{ (negative root won }\!\!’\!\!\text{ t work)}\end{align}$

3. Use the loop to get the variable out of the log argument. You typically use this if you have logs in the equations. Remember to get the log by itself before you use the “loop”.

Solving Logs: Use the Log “Loop”

 $ \displaystyle {{\log }_{8}}x=-\frac{1}{3}$

$ \displaystyle \begin{align}{{8}^{{-\frac{1}{3}}}}=x\\x=\frac{1}{{\sqrt[3]{8}}}=\frac{1}{2}\end{align}$

$ \ln \left( {x+3} \right)+\ln \left( {x-3} \right)=4$

$ \begin{align}\ln \left( {\left( {x+3} \right)\left( {x-3} \right)} \right)&=4\\\ln \left( {{{x}^{2}}-9} \right)&=4\\{{\log }_{e}}\left( {{{x}^{2}}-9} \right)&=4\\{{x}^{2}}-9&={{e}^{4}}\\{{x}^{2}}&={{e}^{4}}+9\approx 63.598\\x&\approx \pm \sqrt{{63.598}}\approx 7.97\end{align}$

(Negative root won’t work)

 $ {{\log }_{5}}\left( {{{x}^{2}}+4x+4} \right)=2$

$ \begin{align}{{x}^{2}}+4x+4&={{5}^{2}}\\{{x}^{2}}+4x+4-25&=0\\{{x}^{2}}+4x-21&=0\\\left( {x+7} \right)\left( {x-3} \right)&=0\\x=-7,\,\,\,\,x=3\end{align}$

Both work!

4. Or, instead of using the log loop above, add a base to both sides that is the base of the log; if you have an “ln” in the problem, use base “$ e$”. Again, you’ll typically use this when you have logs in the equation. Some of these will look familiar!

Solving Logs: Add a Base to Both Sides

 $ \displaystyle {{\log }_{8}}x=-\frac{1}{3}$

$ \require{cancel}  \displaystyle \begin{align}{{\cancel{8}}^{{\cancel{{{{{\log }}_{8}}}}x}}}&={{8}^{{-\frac{1}{3}}}}\\x&=\frac{1}{2}\end{align}$

 $ \displaystyle \ln \left( {x-4} \right)=5$

$ \displaystyle \begin{align}{{\cancel{e}}^{{\cancel{{\ln }}\left( {x-4} \right)}}}&={{e}^{5}}\\x-4&={{e}^{5}}\\x&={{e}^{5}}+4\approx 152.413\end{align}$

 $ {{\log}_{4}}6+{{\log }_{4}}x-{{\log }_{4}}2=3$

$ \begin{align}{{\log }_{4}}\left( {\frac{{6x}}{2}} \right)&=3\\{{\cancel{4}}^{{\cancel{{{{{\log }}_{4}}}}\left( {3x} \right)}}}&={{4}^{3}}\\3x&=64\\x&=\frac{{64}}{3}\end{align}$

 $ {{\log }_{5}}\left( {{{x}^{2}}+4x+4} \right)=2$

$ \begin{align}{{\cancel{5}}^{{\cancel{{{{{\log }}_{5}}}}\left( {{{x}^{2}}+4x+4} \right)}}}&={{5}^{2}}\\{{x}^{2}}+4x+4&=25\\{{x}^{2}}+4x-21&=0\\\left( {x+7} \right)\left( {x-3} \right)&=0\\x=-7,\,\,\,\,x=3\end{align}$

Both work!

5. If $ x$ is underneath a complicated exponent, raise each side to the reciprocal of that exponent. You typically use this if you have variables raised to exponents. (These aren’t technically log problems, but you may see them while studying logs). Be careful though; if an even number is in the numerator of the original fraction, take the positive and negative solutions on the other side.

Solving Logs: Raise Each Side to Reciprocal of Exponent

 $ 5{{x}^{{\frac{2}{3}}}}=125$

$ \begin{align}{{x}^{{\frac{2}{3}}}}&=25\\{{\left( {{{x}^{{\cancel{{\frac{2}{3}}}}}}} \right)}^{{\cancel{{\frac{3}{2}}}}}}&={{25}^{{\frac{3}{2}}}}={{\left( {\pm 5} \right)}^{3}}\\x&=-125,\,125\end{align}$

 $ 3+{{(x+2)}^{{\frac{1}{4}}}}=5$

$ \begin{align}{{(x+2)}^{{\frac{1}{4}}}}&=2\\{{\left( {{{{(x+2)}}^{{\cancel{{\frac{1}{4}}}}}}} \right)}^{{\cancel{{\frac{4}{1}}}}}}&={{2}^{4}}\\x+2&=16\\x&=14\end{align}$

 $ {{x}^{{2.5}}}=32$

$ \begin{align}{{x}^{{\frac{5}{2}}}}&=32\\{{\left( {x\cancel{{^{{\frac{5}{2}}}}}} \right)}^{{\cancel{{\frac{2}{5}}}}}}&={{32}^{{\frac{2}{5}}}}\\x&=4\end{align}$

Solving Log Equations

Let’s do some problems and see what techniques we use:

Solving Using Logs

Notes

 $ {{\log }_{2}}\left( {2{{n}^{2}}+10} \right)={{\log }_{2}}\left( {22-5n} \right)$

$ \begin{align}2{{n}^{2}}+10&=22-5n\\2{{n}^{2}}+5n-12&=0\\\left( {2n-3} \right)\left( {n+4} \right)&=0\\n=\frac{3}{2},\,\,\,\,n=-4\end{align}$

If the same log and same base are on both sides, you can just set arguments of logs equal to each other (one-to-one property).

 

Since we have a quadratic, set the equation to 0 and see if we can factor (we can); if not, use the quadratic formula. Remember to check your answers to make sure you don’t have a negative log argument. Both work!     √

 $ {{2}^{{n+3}}}=128$

$ \begin{align}\ln \left( {{{2}^{{n+3}}}} \right)&=\ln \left( {128} \right)\\\left( {n+3} \right)\ln \left( 2 \right)&=\ln \left( {128} \right)\,\\n+3&=\frac{{\ln \left( {128} \right)}}{{\ln \left( 2 \right)}}\\n&=4\end{align}$    or $ \require{cancel} \displaystyle \begin{align}\cancel{{{{{\log }}_{2}}}}\left( {{{{\cancel{2}}}^{{n+3}}}} \right)&={{\log }_{2}}\left( {128} \right)\,\\n+3&={{\log }_{2}}\left( {128} \right)\\\,n+3&=\frac{{{{{\log }}_{2}}\left( {128} \right)}}{{{{{\log }}_{2}}\left( 2 \right)}}\\\,n&=4\end{align}$

Use the power rule to get the exponent down if the variable is in the exponent.

 

Take the ln of both sides; use ln since we we’re not dealing with base 10. You can also use $ {{\log }_{2}}$ to get the same answer, and even use the logBASE function in your calculator instead of the change of base formula. Remember to check your answer. It works!     √

 $ 2\ln \left( x \right)=3$

$ \begin{align}\ln \left( x \right)&=\frac{3}{2}\\{{e}^{{\frac{3}{2}}}}&=x\\x\,\,&\approx \,\,4.482\end{align}$

Use the loop to get the variable out of the log argument. You typically use this if you have logs in the equations.

Divide both sides by 2 to get the log (ln) by itself. Then use the loop to get the $ x$ out of the ln argument.

Use the calculator to get the answer or just leave it in exact form ($ {{e}^{{\frac{3}{2}}}}$). We have a positive log argument, so it works.

 $ {{\log }_{2}}\left( {2n+6} \right)-{{\log }_{2}}\left( n \right)=3$

$ \begin{align}{{\log }_{2}}\left( {\frac{{2n+6}}{n}} \right)=3;\\{{\cancel{2}}^{{\cancel{{{{{\log }}_{2}}}}\left( {\frac{{2n+6}}{n}} \right)}}}={{2}^{3}};\,\,\,\frac{{2n+6}}{n}=8\\2n+6=8n;\,\,\,n=1\end{align}$

Use the quotient rule to condense the logs and then raise both sides to a base that is the base of the log.

 

Instead of using the loop, raise both sides to the base and eliminate the log this way (remember that $ {{a}^{{{{{\log }}_{a}}x}}}=x$).

Remember to check your answer to make sure you don’t have a negative log argument. It works!     √

 $ 5{{e}^{{.004x}}}=35$

$ \displaystyle \begin{array}{c}{{e}^{{.004x}}}=7\\\cancel{{\ln }}{{\cancel{e}}^{{.004x}}}=\ln \left( 7 \right)\,\,;\,\,\,\,.004x=\ln \left( 7 \right)\end{array}$

$ \displaystyle x=\frac{{\ln \left( 7 \right)}}{{.004}}\,\,\approx \,\,486.48$

Use the power rule to get the exponent down if the variable is in the exponent.

 

First divide by 5 to get $ {{e}^{{.004x}}}$ by itself. Then take the ln of each side and use the power rule to get the term with the variable down. We can typically keep the answer in exact form (with the ln).

Remember to check your answer. It works!     √

Here are a few more:

Solving Using Logs

Notes

 $ {{\log }_{{2x}}}6=.5$

$ \begin{align}{{\left( {2x} \right)}^{{.5}}}&=6\\{{\left[ {{{{\left( {2x} \right)}}^{{.5}}}} \right]}^{2}}&={{6}^{2}}\\2x&=36\\x&=18\end{align}$

Use the loop to get the exponent down. You typically use this if you have logs in the equations.

 

Watch the parentheses; we have to raise $ 2x$ to the .5.

Then raise both sides to the reciprocal of the exponent (reciprocal of $ .5$ is $ 2$) to get rid of it.

The answer works!  √

 $ \displaystyle {{.7}^{{\frac{{50}}{x}}}}=28$

$ \displaystyle \begin{align}\ln \left( {{{{.7}}^{{\frac{{50}}{x}}}}} \right)&=\ln \left( {28} \right)\\\left( {\frac{{50}}{x}} \right)\ln \left( {.7} \right)&=\ln \left( {28} \right)\\\frac{{50}}{x}&=\frac{{\ln \left( {28} \right)}}{{\ln \left( {.7} \right)}}\,\,\approx \,\,-9.3424\\\cancel{x}\cdot \frac{{50}}{{\cancel{x}}}&=-9.3424\cdot x\\x&=\frac{{50}}{{-9.3424}}\,\,\approx \,\,-5.35\end{align}$

Use the power rule to get the exponent down if the variable is in the exponent.

 

Take the ln of both sides; we can use ln since we we’re not dealing with base 10.

When we get $ \displaystyle \frac{{50}}{x}$ on one side, we have to either cross-multiply or multiply by $ x$ on both sides, and then divide by –9.3424 to get $ x$.

Remember to check your answer. It works!     √

$ \displaystyle {{\log }_{4}}{{\left( {2x-5} \right)}^{5}}=20$

$ \displaystyle \begin{align}5{{\log }_{4}}\left( {2x-5} \right)&=20\\{{\log }_{4}}\left( {2x-5} \right)&=4\\{{4}^{4}}&=2x-5\\2x&=256+5\\2x&=261\\x&=\frac{{261}}{2}=130.5\end{align}$

First, use the power rule to get the power down; it will be easier to solve this way (especially without a calculator!).

 

Use the loop to get the variable out of the log argument. We could have also made each side an exponent with base 4: $ \displaystyle {{4}^{{{{{\log }}_{4}}\left( {2x-5} \right)}}}={{4}^{4}}$, and set the exponents equal to each other.

The answer works!    √

Note: If all else fails, you can solve log equations using a graphing calculator; here’s an example:

Solving Logarithmic Equations on a Graphing Calculator Example
Push Y = and enter the two equations in Y1(using the logBASE function – Math A, in this example) and Y2 =, respectively.

 

Push GRAPH. You may need to hit “ZOOM 6” (ZStandard) and/or “ZOOM 0” (ZoomFit) to make sure you see the lines crossing in the graph (and you may also have to use “ZOOM 3” (Zoom Out) ENTER a few times to see the intersection). You can also use the WINDOW button to change the minimum and maximum values of your $ x$- and $ y$-values.

 

To get the point of intersection, push “2nd TRACE” (CALC), and then either push 5, or move cursor down to intersect. You should see “First curve?” at the bottom. Then push ENTER, ENTER, ENTER. You’ll see the first point of intersection that it found is where $ x=18$.

 

Applications of Logs

Again, we typically use logs to solve problems where we have a variable in the exponent; we can use the Power Rule to “get the exponent down”.

We learned in the Exponential Functions section that the following formulas are used for exponential growth and decay, and now we can use logs to solve for variables in the exponents. These are:

Rate Compounded Annually

($ n=1$),

or Multiple Times per Year

Rate Compounded Continuously

General Exponential Equation

Uninhibited Growth Equation

Growth: $ \displaystyle A=P{{\left( {1+\frac{r}{n}} \right)}^{{nt}}}$

Decay: $ \displaystyle A=P{{\left( {1-\frac{r}{n}} \right)}^{{nt}}}$

 $ A=P{{e}^{{rt}}}$

Growth: $ r>0$

Decay: $ r<0$

$ \displaystyle y=a{{b}^{{\frac{t}{p}}}}$

Growth: $ b>0$

Decay: $ b<0$

$ \displaystyle N\left( t \right)={{N}_{0}}{{e}^{{kt}}}$

Growth: $ k>0$

Decay: $ k<0$

$ A=$ ending amount

$ P=$ principle, or starting amount

$ r=$ growth/decay rate (turn % to decimal) – per year

$ t=$ number of years that have passed

(if applicable)  $ n=$ number of times the interest is compounded per year

$ e=$ base (around 2.718)

$ y=$ ending amount

$ a=$ starting amount

$ b=$ growth/decay factor per time period

$ t=$ time that has passed

$ p=$ growth or decay period (interval)

$ \displaystyle N\left( t \right)=$ ending amount

$ \displaystyle {{N}_{0}}=$ starting amount

$ e=$ base (around 2.718)

$ k=$ growth/decay rate

$ t=$ the time that has passed

Let’s first redo a problem from the Exponential Functions section to see how much easier it is to use logs than “guess and check” when the variable is in the exponent.

Problem Math Using Logs

Suppose that a graduating class had 500 students graduating the first year, but after that, the number of students graduating declines by a certain percentage.

 

 

(a)  If the number of students graduating will be 400 in 2 years, what is the decay rate?

 

(b) Using this same decay rate, in about how many years will there be less than 300 students?

(a) Use the exponential decay formula, where $ P$ (starting number) is 500, $ A$ (ending number) is 400, and $ t$ (number of years) is 2. Work “backwards” to get the decay rate:

$ \displaystyle \begin{align}A&=P{{\left( {1-r} \right)}^{t}}\\400&=500{{\left( {1-r} \right)}^{2}}\\{{\left( {\frac{{400}}{{500}}} \right)}^{{\frac{1}{2}}}}&={{\left( {{{{\left( {1-r} \right)}}^{{\cancel{2}}}}} \right)}^{{\cancel{{\frac{1}{2}}}}}}\,\\{{\left( {\frac{{400}}{{500}}} \right)}^{{\frac{1}{2}}}}&=1-r;\,\,r=1-\,{{\left( {\frac{{400}}{{500}}} \right)}^{{\frac{1}{2}}}}\approx .106\end{align}$

(b) Now, instead of “guessing and checking” for the value in the exponent, use logs. Get the expression with the exponent by itself, and then take the ln of both sides. Then use the Power Rule to “get the exponent down”.

$ \begin{align}A&=P{{\left( {1-r} \right)}^{t}}\\300&=500{{\left( {1-.106} \right)}^{t}};\,\,\,\,\frac{{300}}{{500}}={{\left( {.894} \right)}^{t}}\\\ln \left( {.6} \right)&=\ln {{\left( {.894} \right)}^{t}};\,\,\,\,\ln \left( {.6} \right)=t\ln \left( {.894} \right)\,\,\\t&=\frac{{\ln \left( {.6} \right)}}{{\ln \left( {.894} \right)}}\approx 4.56\end{align}$

In about 4.56 years, there will be less than 300 students. That’s the same answer we got in the Exponential Functions section. Using logs is much faster and more accurate. Using logs is much faster and more accurate

Population Growth Problem

Many times problems will give you the exponential formula, and you basically have to plug in to get the answers:

Problem Math Using Logs

A population of 50 wolves was introduced into a forest in 2009. The population is expected to grow by the function $ p\left( t \right)=50{{e}^{.085t}}$, where $ t$ is in years.

 

(a) What will be the population in 2015?  

 

 

We have to be a little careful when given dates like in this problem. Typically (and unless otherwise stated), $ t$ represents the number of years after the first year, in our case, 2009.

(a) To get the population in year 2015, subtract 2009 from 2015 to get $ t=6$. Plug in 6 for $ t$ to get 83 wolves in the year 2015. (We can’t have .26 of a wolf!)

$ \displaystyle \begin{align}p\left( t \right)&=50{{e}^{{.085t}}}\\p\left( 6 \right)&=50{{e}^{{.085\left( 6 \right)}}}\\&\approx 83.26\\&=83\text{ wolves}\end{align}$

(b) How many years will it take for the population to double?  

 

 

(b) Use the same formula, and use logs to get the variable in the exponent down.

When the wolf population doubles, there will be 100 wolves. Plug in 100 for “$ y$” or $ p(t)$ and work backwards to get $ t$.

Get the expression with the exponent by itself, and then take the ln of both sides. (Always use ln when you have a formula with $ e$ in it). In this case, the ln and $ e$ sort of cancel themselves out.

$ \displaystyle \begin{align}100&=50{{e}^{{.085t}}};\,\,2=1{{e}^{{.085t}}}\\\ln \left( 2 \right)&={{\cancel{{\ln e}}}^{{.085t}}}\\\ln \left( 2 \right)&=.085t\\t&=\frac{{\ln \left( 2 \right)}}{{.085}}\approx 8.15\end{align}$

In about 8.15 years, the wolf population will double.

(c) During what year will the population double? (c) Since the wolf population will double in a little over 8 years, during the year 2017 (2009 + 8), the wolf population will double.

Continuous Compounding Problem:

Problem Math Using Logs

Madison really wants to buy a car. She needs a down payment of $4000. If she deposits $3500 now with interest compounding continuously at 3%, how many years will it take her to save enough to buy the car?

Use the formula $ A=P{{e}^{{rt}}}$ for compounding interest, where $ P$ (the beginning value) is $3500, and $ A$ (the ending value) is $4000. The interest rate is .03:

 

Get the expression with the exponent by itself, and then take the ln of both sides. (Always use ln when you have a formula with $ e$ in it). In this case, the ln and $ e$ sort of cancel themselves out.

$ \begin{align}A&=P{{e}^{{rt}}}\\4000&=3500{{e}^{{(.03)t}}};\,\,\frac{8}{7}={{e}^{{(.03)t}}}\\\ln \left( {\frac{8}{7}} \right)&={{\cancel{{\ln e}}}^{{(.03)t}}}\\t&=\frac{{\ln \left( {\frac{8}{7}} \right)}}{{.03}}\approx 4.45\end{align}$

In about 4.45 years, Madison will have enough for the down payment for her car.

Using Logs to Find the Rate Problem:

Problem Math Using Logs

Aven wants to buy a car in 4 years and needs a down payment of $2500. If she deposits $2000 now, with interest compounded continuously, what interest rate will she need to get her down payment in time?

Use the $ \displaystyle A=P{{e}^{{rt}}}$ formula for compounding interest again, where $ P$ (the beginning value) is $2000, $ P$ (the ending value) is $2500, and $ t$ (number of years) is 4. Use logs to find the interest rate, since it is in the exponent.

 

Get the expression with the exponent by itself, and then take the ln of both sides.

$ \displaystyle \begin{align}A&=P{{e}^{{rt}}}\\2500&=2000{{e}^{{r(4)}}};\,\,1.25={{e}^{{4r}}}\\\ln \left( {1.25} \right)&={{\cancel{{\ln e}}}^{{4r}}}\\t&=\frac{{\ln \left( {1.25} \right)}}{4}\approx .056\approx 5.6\%\end{align}$

The interest rate will have to be about 5.6% for Aven to have enough money in 4 years for her down payment.

Some problems require a two-part solution, where first we solve for the exponential growth or decay rate – typically the $ k$, and then we solve again, with the $ k$ in the problem.

Log Problem Using Calculator Notes

A large colony of fleas is growing exponentially on the family dog (yuck!). There are 400 fleas initially, and 600 fleas after one day.

(In order to continue solving the problem, find the growth rate first.)

$ \require{cancel} \displaystyle \begin{align}A&=P{{e}^{{kt}}}\\600&=400{{e}^{{k\left( 1 \right)}}}\\1.5&={{e}^{k}}\\\ln \left( {1.5} \right)&={{\cancel{{\ln e}}}^{k}}\\k&=\ln \left( {1.5} \right)\approx .4054651081\end{align}$

Find $ k$ first by using the initial number of fleas (400), and the number of fleas after 1 day (600). (We know to do this since answering questions (a) and (b) requires the full equation). Get the $ {{e}^{k}}$ by itself, and then take the ln of both sides.

 

Use a $ k$ that is .4054651081. Use the most accurate $ k$ we can, since logs are sensitive. It’s best to keep it in your calculator if you can – you can use the STORE function in your calculator:

              Now that we have $ k$, we can use it to answer (a) and (b):
 

(a) How many will there be after 5 days?

 

$ \begin{align}A&=P{{e}^{{kt}}}\\A&=400{{e}^{{\left( {.4054651081} \right)\left( 5 \right)}}}\\A&\approx 3037\end{align}$

(a) We still initially have 400 fleas on the dog. But now we know $ k$, and we use it to find the number of fleas after 5 days. If $ k$ is stored in $ x$, you can use your calculator:

There will be about 3037 fleas after 5 days.

(b) How long will it be until there are 10,000 fleas?

 

$ \displaystyle \begin{align}A&=P{{e}^{{\left( {.4054651081} \right)t}}}\\10000&=400{{e}^{{\left( {.4054651081} \right)t}}}\\25&={{e}^{{\left( {.4054651081} \right)t}}}\\\ln \left( {25} \right)&={{\cancel{{\ln e}}}^{{\left( {.4054651081} \right)t}}}\\t&=\frac{{\ln \left( {25} \right)}}{{.4054651081}}\approx 7.9387\end{align}$

(b) Now, use the formula again with the $ k$ that we found earlier to find how many days it will take for the dog to have 10000 fleas. Again, if $ k$ is stored in $ x$, you can use your calculator:

In about 8 days there will be 10,000 fleas. Yikes!

It’s always a good idea to check your work by putting the $ t$ that you get back in the original equation – it works! Again, you can use the store function in your calculator to do this.  √

Revisiting Half Life Problem

We can solve half-life problems using two different methods; we’ll use both methods here. We solved a half-life problem above in the Exponents section, but if you need to find a time (a variable in the exponent), then you need to use logs.

Remember that half-life problems deal with exponential decays that halve for every time period. For example, if we start out with 20 grams, after the next time period, we’d have 10, then 5, and so on. For these problems, the base (decay factor) of the exponential equation is .5.

The trick on half-life problems is to raise the .5 to $ \displaystyle \frac{{\text{time period we want}}}{{\text{time for one half-life}}}$, since this will give us the number of times the substance actually halves.

Solution (Method 1, like we used in the Exponential Functions section):

Half-Life Problem Math Notes
A chemical substance has a half-life of 6 hours.

 

 

(a) How much of a 40-gram sample remains after 18 hours?

$ \begin{array}{c}y=a{{b}^{{\frac{t}{p}}}}\\\\y=40{{\left( {.5} \right)}^{{\frac{{18}}{6}}}}\\y=5\,\,\text{grams}\end{array}$ (a) For this problem, use the exponential equation $ \displaystyle y=a{{b}^{{\frac{t}{p}}}}$, since we have a time period for which the substance divides in two.

 

Since we’re dealing with a half-life problem, the decay factor is .5, since it halves every 6 hours. Since the half-life (decay interval) is 6, but we want to know how much of the substance there will be after 18 hours, our “time” is actually$ \displaystyle \frac{{18}}{6}\,$ or $ \displaystyle \frac{{\text{time we are interested in}}}{{\text{time of a half-life}}}$, which is 3.

 

Since we start with 40 grams, $ a=40$. Using the formula, we get $ y=5$ grams.

 

(b) How long until there are only 2 grams left?

 

$ \displaystyle \begin{align}y&=a{{\left( {.5} \right)}^{{\frac{t}{p}}}}\\2&=\left( {40} \right){{\left( {.5} \right)}^{{\frac{t}{6}}}}\\.05&={{.5}^{{\frac{t}{6}}}}\\\ln \left( {.05} \right)&=\ln {{\left( {.5} \right)}^{{\frac{t}{6}}}}\\\ln \left( {.05} \right)&=\frac{t}{6}\ln \left( {.5} \right)\\t&=\frac{{\ln \left( {.05} \right)}}{{\ln \left( {.5} \right)}}\left( 6 \right)\\&\approx 25.93\end{align}$ (b) Use logs to find the time until there are only 2 grams left. The beginning amount $ a$ is still 40, the ending amount $ y$ is 2, and the half-life $ p$ is 6:

 

Get the expression with the exponent by itself, and then take the ln of both sides. We can then use the Power Rule to “get the exponent down”.

 

In about 26 hours there will be 2 grams left.

It’s always a good idea to make sure your answer makes sense (the amount of 40 grams should divide by 2 about $ \displaystyle \frac{{26}}{6}$ or around 4 times to get down to 2). Also, check your work by putting the $ t$ that you get back in the original equation – it works!  √

Solution (Method 2):

Sometimes you will learn to solve a half-life problem using the $ A=P{{e}^{{kt}}}$ formula (which is also seen as $ \displaystyle N\left( t \right)={{N}_{0}}{{e}^{{kt}}}$, the uninhibited growth, or continuous growth formula), and get the $ k$ first, like we did in the flea problem earlier. This method seems a little bit more difficult, but sometimes you are asked for the half-life equation with the $ k$ in it.

Also note that sometimes you are given the equation $ \boldsymbol {A=P{{e}^{{-kt}}}}$ for half-life or any decay problems, and then the $ k$ will end up being positive instead of negative, since there is already a negative sign in the exponent.

Half-Life Problem Math Notes
A chemical substance has a half-life of 6 hours.

 

 

(a) How much of a 40-gram sample remains after 18 hours?

$ \displaystyle \begin{align}A&=P{{e}^{{kt}}}\\1&=2{{e}^{{k(6)}}};\,\,\,.5={{e}^{{k(6)}}}\\\ln \left( {.5} \right)&=\cancel{{\ln }}\left( {{{{\cancel{e}}}^{{k(6)}}}} \right)\\6k&=\ln \left( {.5} \right)\\k&=\frac{{\ln \left( {.5} \right)}}{6}\\&\approx -.1155245301\\\\A&=40{{e}^{{-.1155245301t}}}\\&=40{{e}^{{-.1155245301\left( {18} \right)}}}\\&=5\text{ grams}\end{align}$ (a) Solve for $ k$ first in the exponential equation $ A=P{{e}^{{kt}}}$ (which is also seen as $ \displaystyle N\left( t \right)={{N}_{0}}{{e}^{{kt}}}$) when the beginning amount is one half of the ending amount, and $ t$ is the time. It’s a good idea to store $ k$ in our calculator again.

 

The half life equation for that situation is $ \displaystyle A=40{{e}^{{-.1155245301t}}}$.

 

To get the amount after 18 hours, plug in 18 for $ t$. The beginning amount $ A$ is 40. After 18 hours, we have 5 grams remaining; this is what we got using the other method!

(b) How long until there are only 2 grams left?

 

$ \displaystyle \begin{align}A&=P{{e}^{{kt}}}\\2&=40{{e}^{{-.1155245301t}}}\\.05&={{e}^{{-.1155245301t}}}\\\ln \left( {.05} \right)&=\cancel{{\ln }}\left( {{{{\cancel{e}}}^{{-.1155245301t}}}} \right)\\t&=\frac{{\ln \left( {.05} \right)}}{{-.1155245301}}\\&\approx 25.93\end{align}$ (b) Use logs again to find the time until there are only 2 grams left. The beginning amount $ P$ is still 40, the ending amount $ A$ is 2, and $ k$ is the same.

 

To get the expression with the exponent by itself, take the ln of both sides and then use the Power Rule to “get the exponent down”.

 

Note that we get the same answer as above: in about 26 hours there will be 2 grams left.

Logarithmic Inequalities

You may have to solve inequality problems (either graphically or algebraically) with logarithmic functions. Remember that there is a domain restriction since the argument of a log has to be $ >0$. We saw Exponential Inequalities here. Here are some problems:

Log Inequality Notes/Graph
$ \displaystyle 4{{\log }_{2}}\left( {7-x} \right)<8\,\,\,\,\,\,\,\,7-x>0$

 

$ \displaystyle \begin{align}{{\log }_{2}}\left( {7-x} \right)&<2\,\,\,\,\,\,\,\,\,\,\,x<7\\{{2}^{{{{{\log }}_{2}}\left( {7-x} \right)}}}&<{{2}^{2}}\\7-x&<4\\x&>3\,\,\,\,\text{and}\,\,x<7\\&\left( {3,7} \right)\end{align}$

Note that we have to solve the log inequality, but also set the log argument to $ >0$, since all log arguments have to be $ >0$. (This is a domain restriction.)

 

To make sure we keep the inequality signs in the correct place, I found it easiest to raise both sides to the log base, which is 2. Then use the intersection of both inequalities, which is $ (3,7)$.

 

You can check your answer by putting both sides of the inequality in your graphing calculator and seeing where the log function $ 4{{\log }_{2}}\left( {7-x} \right)$ is underneath the line $ y=8$. It may be hard to see, but the log graph stops at $ x=7$ (the vertical asymptote), so that’s the upper bound.

Use the graphing calculator to solve:

 

$ {{\log }_{6}}\left( {7x+1} \right)\le {{\log }_{4}}\left( {4x-4} \right)$

 

 

Using the graphing calculator, put use the logs in $ {{Y}_{1}}$ and $ {{Y}_{2}}$ using logBASE (math A or alpha, window 5).

After graphing the two expressions, hit 2nd trace (calc) 5 to get the intersection (before that, make sure the cursor is near the intersection by using trace and arrows). After “First Curve?”, move cursor up to first log curve using the arrow keys (if it’s not there) and hit enter. Do the same for the other log curve after “Second Curve?”. Then hit enter after “Guess?” to get the intersection.

 

The blue graph is below the red graph when $ x\ge 5$, so the answer is $ \left[ {5,\infty } \right)$.

Learn these rules, and practice, practice, practice!


For Practice: Use the Mathway widget below to try a Condensing a Log problem. Click on Submit (the blue arrow to the right of the problem) and click on Write as a Single Logarithm to see the answer.

You can also type in your own problem, or click on the three dots in the upper right hand corner and click on “Examples” to drill down by topic.

If you click on Tap to view steps, or Click Here, you can register at Mathway for a free trial, and then upgrade to a paid subscription at any time (to get any type of math problem solved!).

On to Advanced Factoring  – you are ready!