Loading [MathJax]/jax/output/HTML-CSS/jax.js
Skip to main content
Library homepage
 

Text Color

Text Size

 

Margin Size

 

Font Type

Enable Dyslexic Font
Mathematics LibreTexts

6.1: Introduction to Exponential and Logarithmic Functions

( \newcommand{\kernel}{\mathrm{null}\,}\)


Corequisite Course Topics
  • Algebra
    • Systems of Equations
      • Solving
        • via the Substitution Method

If you are consistently struggling with these skills, or if you would feel more comfortable reviewing these skills in a structured environment, you might be better served in a course with support (if you are not already enrolled in such a course).


Learning Objectives
  • Graph and analyze exponential and logarithmic functions involving algebraic transformations (shifts, scale factors, reflections, and absolute value) in the rectangular coordinate system.
  • Determine the model for exponential applications.

Exponential Functions

Of all of the functions we study in this text, exponential and logarithmic functions are the ones that impact everyday life the most.1 This section introduces us to these functions while the rest of the chapter will more thoroughly explore their properties.

Up to this point, we have dealt with functions which involve terms like x2 or x2/3, in other words, terms of the form xp where the base of the term, x, varies but the exponent of each term, p, remains constant. In this chapter, we study functions of the form f(x)=bx, where the base b is a constant and the exponent x is the variable.

We start our exploration of these functions with f(x)=2x. We make a table of values, plot the points, and connect the dots in a pleasing fashion.xf(x)(x,f(x))323=18(3,18)222=14(2,14)121=12(1,12)020=1(0,1)121=2(1,2)222=4(2,4)323=8(3,8)

Screen Shot 2022-04-15 at 6.24.24 AM.png

A few remarks about the graph f(x)=2x which we have constructed are in order. As x and attains values like x=100 or x=1000, the function f(x)=2x takes on values like f(100)=2100=12100 or f(1000)=21000=121000. In other words,as x,2x1very big (+)very small (+)0+.This is represented graphically using the x-axis (the line y=0) as a horizontal asymptote.

On the flip side, as x, we find f(100)=2100, f(1000)=21000, and so on. Thus, 2x. As a result, our graph suggests the range of f is (0,). The graph of f passes the Horizontal Line Test, which means f is one-to-one and, as such, is invertible. We also note that when we "connected the dots in a pleasing fashion," we have made the implicit assumption that f(x)=2x is continuous2 and has a domain of all real numbers. In particular, we have suggested that things like 23 exist as real numbers.

We should take a moment to discuss what something like 23 might mean and refer the interested reader to a solid course in Calculus for a more rigorous explanation. The number 3=1.73205 is irrational 3 and as such, its decimal representation neither repeats nor terminates. We can, however, approximate 3 by terminating decimals, and it stands to reason4 we can use these to approximate 23. For example, if we approximate 3 by 1.73, we can approximate 23 using2321.73=2173100=1002173.It is not, by any means, a pleasant number, but it is at least a number that we understand in terms of powers and roots. It also stands to reason that better and better approximations of 3 yield better and better approximations of 23, so the value of 23 should be the result of this sequence of approximations.5

Suppose we wish to study the family of functions f(x)=bx. Which bases, b, make sense to study?

We find that we run into difficulty if b<0. For example, if b=2, then the function f(x)=(2)x has trouble, for instance, at x=12 since (2)1/2=2 is not a real number. In general, if x is any rational number with an even denominator, then (2)x is not defined, so we must restrict our attention to bases b0.

What about b=0?

The function f(x)=0x is undefined for x0 because we cannot divide by 0 and 00 is an indeterminate form. For x>0, 0x=0 so the function f(x)=0x is the same as the function f(x)=0 (again, for x>0). We know everything about this function and exclude it from our investigations. The only other base we exclude is b=1 since the function f(x)=1x=1 is, once again, a function we have already studied. We are now ready for our definition of exponential functions.

Definition: Exponential Function

A function of the form f(x)=bx where b is a fixed real number, b>0, and b1, is called a base b exponential function.

We leave it to the reader to verify6 that if b>1, then the exponential function f(x)=bx will share the same basic shape and characteristics as f(x)=2x.

What if 0<b<1?

Consider g(x)=(12)x. We could certainly build a table of values and connect the points, or we could take a step back and note that g(x)=(12)x=(21)x=2x=f(x). Thinking back to Section 1.7, the graph of f(x) is obtained from the graph of f(x) by reflecting it across the y-axis. We get

Screen Shot 2022-04-15 at 3.38.53 PM.png

We see that the domain and range of g match that of f, namely (,) and (0,), respectively. Like f, g is also one-to-one. Whereas f is always increasing, g is always decreasing. As a result, as x, g(x), and on the flip side, as x, g(x)0+. It shouldn't be too surprising that for all choices of the base 0<b<1, the graph y=bx behaves similarly to the graph of g. We summarize the basic properties of exponential functions in the following theorem.7

Theorem: Properties of Exponential Functions

Let f(x)=bx.

  • The domain of f is (,) and the range of f is (0,).
  • (0,1) is on the graph of f and y=0 is a horizontal asymptote to the graph of f.
  • f is one-to-one, continuous and smooth.8
  • If b>1:
    • f is always increasing
    • As x, f(x)0+
    • As x,f(x)
    • The graph of f resembles:

      Screen Shot 2022-04-15 at 4.10.35 PM.png

  • If 0<b<1:
    • f is always decreasing
    • As x,f(x)
    • As x,f(x)
    • As x,f(x)0+
    • The graph of f resembles:

      Screen Shot 2022-04-15 at 4.14.49 PM.png

Of all of the bases for exponential functions, two occur the most often in scientific circles. The first, base 10, is often called the common base. The second base is an irrational number, e2.718, called the natural base. We will more formally discuss the origins of this number in Section 6.5. For now, it is enough to know that since e>1, f(x)=ex, is an increasing exponential function.

Finding Equations of Exponential Functions

Sometimes, we need to find the equation for an exponential function going through two given points. To do so, we employ a method developed in Elementary Algebra. Specifically, we build and solve a system of equations.

Example 6.1.1

Find the equation of the exponential function of the form f(x)=abx whose graph contains the points (3,54) and (6,729256).

Solution

The key here is that we want an exponential function of the form f(x)=abx. Without that instruction, we would have an infinite number of exponential functions going through the given points. Since both points lie on the graph of f, we know that54=ab3and729256=ab6.These two equations form a system of two (nonlinear) equations in two unknowns.

We can solve the first equation for a to get a=54b3. Using the Substitution Method from Elementary Algebra, we substitute this value of a into the second equation to find729256=54b3b6729256=54b6b3.Using the Laws of Exponents, we get729256=54b327512=b338=b.Continuing with the Substitution Method, we allow b=38 in either of the equations above. Let's choose the one with the smaller exponent.54=a(38)354=27512a1024=a.Thus, the equation of the exponential isf(x)=1024(38)x.

Applications Involving Exponential Functions

The following examples give us an idea of how exponential functions are used in the wild.

Example 6.1.2

The value of a car can be modeled by V(x)=25(45)x, where x0 is the age of the car in years and V(x) is the value in thousands of dollars.

  1. Find and interpret V(0).
  2. Sketch the graph of y=V(x) using transformations.
  3. Find and interpret the horizontal asymptote of the graph you found in part b.
Solutions
  1. To find V(0), we replace x with 0 to obtain V(0)=25(45)0=25. Since x represents the car's age in years, x=0 corresponds to the car being brand new. Since V(x) is measured in thousands of dollars, V(0)=25 corresponds to a value of $25,000. Putting it all together, we interpret V(0)=25 to mean the car's purchase price was $25,000.
  2. To graph y=25(45)x, we start with the basic exponential function f(x)=(45)x. Since the base b=45 is between 0 and 1, the graph of y=f(x) is decreasing. We plot the y-intercept (0,1) and two other points, (1,54) and (1,45), and label the horizontal asymptote y=0. To obtain V(x)=25(45)x,x0, we multiply the output from f by 25, in other words, V(x)=25f(x). This results in a vertical stretch by a factor of 25. We multiply all of the y values in the graph by 25 (including the y value of the horizontal asymptote) and obtain the (1,1254), (0,25) and (1,20). The horizontal asymptote remains y=0. Finally, we restrict the domain to [0,) to fit with the applied domain given to us. We have the result below.

    Screen Shot 2022-04-15 at 5.06.15 PM.png

  3. We see from the graph of V that its horizontal asymptote is y=0. (We leave it to the reader to verify this analytically by thinking about what happens as we take larger and larger powers of 45.) This means as the car gets older, its value diminishes to 0.

The function in the previous example is often called a "decay curve." Increasing exponential functions are used to model "growth curves," and we shall see several different examples of those in Section 6.5. For now, we present another typical decay curve, which will serve as the basis for further study of exponential functions. Although it may look more complicated than the previous example, it is just a basic exponential function that has been modified by a few transformations from Section 1.7.

Example 6.1.3

According to Newton’s Law of Cooling9 the temperature of coffee T (in degrees Fahrenheit) t minutes after it is served can be modeled by T(t)=70+90e0.1t.

  1. Find and interpret T(0).
  2. Sketch the graph of y=T(t) using transformations.
  3. Find and interpret the horizontal asymptote of the graph.
Solutions
  1. To find T(0), we replace every occurrence of the independent variable t with 0 to obtain T(0)=70+90e0.1(0)=160. This means that the coffee was served at 160F.
  2. To graph y=T(t) using transformations, we start with the basic function, f(t)=et. As we have already remarked, e2.718>1 so the graph of f is an increasing exponential with y-intercept (0,1) and horizontal asymptote y=0. The points (1,e1)(1,0.37) and (1,e)(1,2.72) are also on the graph. Since the formula T(t) looks rather complicated, we rewrite T(t) in the formT(t)=70+90e0.1t=90e0.1t+70=90f(0.1t)+70and use this to track the change to our three points and the horizontal asymptote. Multiplication of the input of f, t, by 0.1 results in a horizontal expansion by a factor of 10 as well as a reflection about the y-axis. We divide each of the x values of our points by 0.1. (which amounts to multiplying them by 10) to obtain (10,e1), (0,1), and (10,e). Since none of these changes affected the y values, the horizontal asymptote remains y=0. Next, the output from f is multiplied by 90. This results in a vertical stretch by a factor of 90. We multiply the y-coordinates by 90 to obtain (10,90e1), (0,90), (10,90e). We also multiply the y value of the horizontal asymptote y=0 by 90, and it remains y=0. Finally, we add 70 to all of the y-coordinates, which shifts the graph upwards to obtain (10,90e1+70)(10,103.11), (0,160), and (10,90e+70)(10,314.64). Adding 70 to the horizontal asymptote also shifts it upwards to y=70. We connect these three points using the same shape in the same direction as in the graph of f, and last but not least, we restrict the domain to match the applied domain [0,). The result is below.

    Screen Shot 2022-04-15 at 5.38.25 PM.png

  3. From the graph, the horizontal asymptote is y=70. It is worth a moment to see how this happens analytically and review some of the "number sense" developed in Chapter 4. As t, We get T(t)=70+90e0.1t70+90every big (). Since e>1,every big ()=1every big (+)1very big (+)very small (+).The larger t becomes, the smaller e0.1t becomes, so the term 90e0.1t very small (+). Hence, T(t)70+ very small (+) which means the graph is approaching the horizontal line y=70 from above. This means that as time goes by, the temperature of the coffee is cooling to 70F, presumably room temperature.

Logarithmic Functions

As we have already remarked, the graphs of f(x)=bx all pass the Horizontal Line Test. Thus, the exponential functions are invertible. We now focus on these inverses, the logarithmic functions called "logs" for short.

Definition: Logarithmic Function

The inverse of the exponential function f(x)=bx is called the base b logarithm function, and is denoted f1(x)=logb(x) We read "logb(x)" as "log base b of x."

We have special notations for the common base, b=10, and the natural base, b=e.

Definition: Common and Natural Logarithms

The common logarithm of a real number x is log10(x) and is usually written log(x). The natural logarithm of a real number x is loge(x) and is usually written ln(x).

Since logarithms are defined as the inverses of exponential functions, we can use the properties of inverse functions, their uniqueness, and their graphs to tell us about logarithmic functions. For example, we know that the domain of a log function is the range of an exponential function, namely (0,), and that the range of a log function is the domain of an exponential function, namely (,). Since we know the basic shapes of y=f(x)=bx for the different cases of b, we can obtain the graph of y=f1(x)=logb(x) by reflecting the graph of f across the line y=x as shown below. The y-intercept (0,1) on the graph of f corresponds to an x-intercept of (1,0) on the graph of f1. The horizontal asymptotes y=0 on the graphs of the exponential functions become vertical asymptotes x=0 on the log graphs.

Screen Shot 2022-04-16 at 1.44.57 PM.png

On a procedural level, logs undo the exponentials. Consider the function f(x)=2x. When we evaluate f(3)=23=8, the input 3 becomes the exponent on the base 2 to produce the real number 8. The function f1(x)=log2(x) then takes the number 8 as its input and returns the exponent 3 as its output. In symbols, log2(8)=3. More generally, log2(x) is the exponent you put on 2 to get x. Thus, log2(16)=4, because 24=16. The following theorem summarizes the basic properties of logarithmic functions, all of which come from the fact that they are inverses of exponential functions.

Theorem: Properties of Logarithmic Functions

Suppose f(x)=logb(x).

  • The domain of f is (0,) and the range of f is (,).
  • (1,0) is on the graph of f and x=0 is a vertical asymptote of the graph of f.
  • f is one-to-one, continuous and smooth
  • ba=c if and only if logb(c)=a. That is, logb(c) is the exponent you put on b to obtain c.
  • logb(bx)=x for all x and blogb(x)=x for all x>0
  • If b>1:
    • f is always increasing
    • As x0+,f(x)
    • As x,f(x)
    • The graph of f resembles:

      Screen Shot 2022-04-16 at 2.06.29 PM.png

  • If 0<b<1:
    • f is always decreasing
    • As x0+,f(x)
    • As x,f(x)
    • The graph of f resembles:

      Screen Shot 2022-04-16 at 2.09.47 PM.png

As we have mentioned, this theorem is a consequence of the properties of inverse functions and the uniqueness of inverse functions and their graphs. However, it is worth the reader's time to understand this theorem from an exponential perspective. For instance, we know that the domain of g(x)=log2(x) is (0,). Why? Because the range of f(x)=2x is (0,). In a way, this says everything, but at the same time, it doesn't. For example, if we try to find log2(1), we are trying to find the exponent we put on 2 to give us 1. In other words, we are looking for x that satisfies 2x=1. There is no such real number since all powers of 2 are positive. While what we have said is the same thing as saying "the domain of g(x)=log2(x) is (0,) because the range of f(x)=2x is (0,)," we feel it is in a student's best interest to understand the statements in the previous theorem at this level instead of just merely memorizing the facts.

Example 6.1.4

Simplify the following.

  1. log3(81)
  2. log2(18)
  3. log5(25)
  4. ln(3e2)
  5. log(0.001)
  6. 2log2(8)
  7. 117log117(6)
Solutions
  1. The number log3(81) is the exponent we put on 3 to get 81. As such, we want to write 81 as a power of 3. We find 81=34, so that log3(81)=4.
  2. To find log2(18), we need rewrite 18 as a power of 2. We find 18=123=23, so log2(18)=3.
  3. To determine log5(25), we need to express 25 as a power of 5. We know 25=52, and 5=(5)2, so we have 25=((5)2)2=(5)4. We get log5(25)=4.
  4. First, recall that the not ln(3e2) means loge(3e2), so we are looking for the exponent to put on e to obtain 3e2. Rewriting 3e2=e2/3, we find ln(3e2)=ln(e2/3)=23.
  5. Rewriting log(0.001) as log10(0.001), we see that we need to write 0.001 as a power of 10. We have 0.001=11000=1103=103. Hence, log(0.001)=log(103)=3.
  6. We can use Theorem 6.1.2 directly to so simplify 2log2(8)=8. We can also understand this problem by first finding log2(8). By definition, log2(8) is the exponent we put on 2 to get 8. Since 8=23, we have log2(8)=3. We now substitute to find 2log2(8)=23=8.
  7. 117log117(6)=1117log117(6)=16

Up until this point, restrictions on the domains of functions came from avoiding division by zero and keeping negative numbers from beneath even-indexed radicals. With the introduction of logarithms, we now have another restriction. Since the domain of f(x)=logb(x) is (0,), the argument of the log must be strictly positive.

Example 6.1.5

Find the domain of the following functions. Check your answers using graphing technology.

  1. f(x)=2log(3x)1
  2. g(x)=ln(xx1)
Solutions
  1. We set 3x>0 to obtain x<3, or (,3). The graph from the calculator below verifies this. Note that we could have graphed f using transformations by rewriting f(x)=2log10(x+3)1, and recognizing the main function involved is y=h(x)=log10(x). We select three points to track, (110,1),(1,0) and (10,1), along with the vertical asymptote x=0. Since f(x)=2h(x+3)1, we first subtract 3 from the x-coordinates (shifting the graph left 3 units), then divide (multiply) by the x-coordinates by 1 (causing a reflection across the y-axis). These transformations apply to the vertical asymptote x=0. Subtracting 3 gives us x=3 as our asymptote, then multiplying by 1 gives us the vertical asymptote x=3. Next, we multiply the y-coordinates by 2, which results in a vertical stretch by a factor of 2, then we finish by subtracting 1 from the y-coordinates which shifts the graph down 1 unit. We leave it to the reader to perform the indicated arithmetic on the points themselves and to verify the graph produced by the calculator below.
  2. To find the domain of g, we need to solve the inequality xx1>0. As usual, we proceed using a sign diagram. If we define r(x)=xx1, we find r is undefined at x=1 and r(x)=0 when x=0. Choosing some test values, we generate the sign diagram below.

    Screen Shot 2022-04-16 at 3.18.28 PM.png

    We find xx1>0 on (,0)(1,) to get the domain of g. The graph of y=g(x) confirms this. We can tell from the graph of g that it is not the result of Section 1.7 transformation being applied to the graph y=ln(x), so barring a more detailed analysis using Calculus, the calculator graph is the best we can do. One thing worthy of note, however, is the end behavior of g. The graph suggests that as x±, g(x)0. We can verify this analytically. Using results from Chapter 4 and continuity, we know that as x±, xx11. Hence, it makes sense that g(x)=ln(xx1)ln(1)=0.

    Screen Shot 2022-04-16 at 3.40.24 PM.png

While logarithms have some interesting applications that you'll explore in the exercises, their primary use to us will be to undo exponential functions. (This is, after all, how they were defined.) Our last example solidifies this and reviews all the material in the section.

Example 6.1.6

Let f(x)=2x13.

  1. Graph f using transformations and state the domain and range of f.
  2. Explain why f is invertible and find a formula for f1(x).
  3. Graph f1 using transformations and state the domain and range of f1.
  4. Verify (f1f)(x)=x for all x in the domain of f and (ff1)(x)=x for all x in the domain of f1.
  5. Graph f and f1 on the same set of axes and check the symmetry about the line y=x.
Solutions
  1. If we identify g(x)=2x, we see f(x)=g(x1)3. We pick the points (1,12),(0,1) and (1,2) on the graph of g along with the horizontal asymptote y=0 to track through the transformations. We first add 1 to the x-coordinates of the points on the graph of g (shifting g to the right 1 unit) to get (0,12),(1,1) and (2,2). The horizontal asymptote remains y=0. Next, we subtract 3 from the y-coordinates, shifting the graph down 3 units. We get the points (0,52),(1,2) and (2,1) with the horizontal asymptote now at y=3. Connecting the dots in the order and manner as they were on the graph of g, we get the graph below. We see that the domain of f is the same as g, namely (,), but that the range of f is (3,).

    Screen Shot 2022-04-16 at 3.53.52 PM.png

  2. The graph of f passes the Horizontal Line Test so f is one-to-one, hence invertible. To find a formula for f1(x), we normally set y=f(x), interchange the x and y, then proceed to solve for y. Doing so in this situation leads us to the equation x=2y13. We have yet to discuss how to solve this kind of equation, so we will attempt to find the formula for f1 from a procedural perspective. If we break f(x)=2x13 into a series of steps, we find f takes an input x and applies the steps
    i. subtract 1
    ii. put as an exponent on 2
    iii. subtract 3
    Clearly, to undo subtracting 1, we will add 1, and similarly we undo subtracting 3 by adding 3. How do we undo the second step? The answer is we use the logarithm. By definition, log2(x) undoes exponentiation by 2. Hence, f1 should
    i. add 3
    ii. take the logarithm base 2
    iii. add 1
    In symbols, f1(x)=log2(x+3)+1.
  3. To graph f1(x)=log2(x+3)+1 using transformations, we start with j(x)=log2(x). We track the points (12,1), (1,0), and (2,1) on the graph of j along with the vertical asymptote x=0 through the transformations. Since f1(x)=j(x+3)+1, we first subtract 3 from each of the x values (including the vertical asymptote) to obtain (52,1), (−2, 0) and (−1, 1) with a vertical asymptote x=3. Next, we add 1 to the y values on the graph and get (52,0), (2,1), and (1,2). If you are experiencing deja vu, there is a good reason for it. Still, we leave it to the reader to determine the source of this uncanny familiarity. We obtain the graph below. The domain of f1 is (3,), which matches the range of f, and the range of f1 is (,), which matches the domain of f.

    Screen Shot 2022-04-16 at 4.48.59 PM.png

  4. We now verify that f(x)=2x13 and f1(x)=log2(x+3)+1 satisfy the composition requirement for inverses. For all real numbers x,(f1f)(x)=f1(f(x))=f1(2x13)=log2([2x13]+3)+1=log2(2x1)+1=(x1)+1(Since log2(2u)=u for all real numbers u)=xFor all real numbers x>3, we have10 (ff1)(x)=f(f1(x))=f(log2(x+3)+1)=2(log2(x+3)+1)13=2log2(x+3)3=(x+3)3(Since 2log2(u)=u for all real numbers u>0)=x
  5. Last, but certainly not least, we graph y=f(x) and y=f1(x) on the same set of axes and see the symmetry about the line y=x.

    Screen Shot 2022-04-16 at 4.57.41 PM.png


Footnotes

1 Take a class in Differential Equations and you'll see why.

2 Recall that this means there are no holes or other kinds of breaks in the graph.

3 You can prove this by considering the polynomial p(x)=x23 and showing it has no rational zeros by applying the Rational Zeros Theorem.

4 This is where Calculus and continuity come into play.

5 Want more information? Look up "convergent sequences" on the Internet.

6 Meaning, graph some more examples on your own.

7 The proof of which, like many things discussed in the text, requires Calculus.

8 Recall that this means the graph of f has no sharp turns or corners.

9 We will discuss this in greater detail in Section 6.5.

10 Pay attention - can you spot in which step below we need x>3?


This page titled 6.1: Introduction to Exponential and Logarithmic Functions is shared under a CC BY-NC-SA 3.0 license and was authored, remixed, and/or curated by Carl Stitz & Jeff Zeager via source content that was edited to the style and standards of the LibreTexts platform.

Support Center

How can we help?