A2
Algebra 2 View details
3. Graphing Exponential and Logarithmic Functions
Continue to next lesson
Lesson
Exercises
Tests
Chapter 5
3. 

Graphing Exponential and Logarithmic Functions

Logarithmic and exponential functions are fundamental mathematical concepts that have various applications in real-world scenarios. The lesson delves into the relationship between their graphs, highlighting their unique characteristics, such as asymptotes. For instance, every logarithmic graph has a vertical asymptote, while every exponential graph has a horizontal one. The site also presents scenarios like calculating atmospheric pressure at different altitudes using natural base exponential functions. Through interactive graphs and exercises, learners can grasp the nuances of these functions and their significance in various fields.
Show more expand_more
Problem Solving Reasoning and Communication Error Analysis Modeling Using Tools Precision Pattern Recognition
Lesson Settings & Tools
11 Theory slides
16 Exercises - Grade E - A
Each lesson is meant to take 1-2 classroom sessions
Graphing Exponential and Logarithmic Functions
Slide of 11
In this lesson, exponential functions with base e and the key features of their graphs will be discussed. Furthermore, logarithmic functions will be introduced and graphed. Finally, the relationship between exponential and logarithmic functions will be explained both algebraically and graphically.

Catch-Up and Review

Explore

Identifying Change

As soon as Zosia entered the room for her Algebra lesson, her teacher asked a question to the class.
tables
Help Zosia find the answer by considering the following questions.
Discussion

Constant Multiplier

The rate of change for linear functions is constant. For each step in the x-direction, the change between y-values is the same. Therefore, the difference between y-values for consecutive x-values is the same. Conversely, the rate of change for exponential functions is not constant. This means that the differences between y-values for consecutive x-values are not the same.

In the table on the left, the difference between y-values for consecutive x-values is 2. This means that the rate of change is constant. Conversely, in the table on the right, the differences between y-values for consecutive x-values are not the same. This means that for this table the rate of change is not constant.

The table on the left represents a linear function because it shows a constant rate of change. Conversely, the table on the right represents a non-linear function. Notice how the y-values, for the table on the right, are doubled for each step in the x-direction. To obtain a y-value, the previous value is multiplied by 2.

The table on the left corresponds to a function with a constant increase. In the table on the right, the increase is not constant. However, the ratio between y-values for consecutive x-values is always the same. This means that the table on the right corresponds to a function with a constant multiplier. Functions with constant multipliers are exponential functions.
Pop Quiz

Identifying the Constant Multiplier

Does the table below correspond to an exponential function? If yes, write only the constant multiplier. If not, write only no.

Is it an exponential function?
Discussion

Natural Base Exponential Functions

Natural base exponential functions are exponential functions whose base, or constant factor, is the number e. f(x) = ae^(rx) Here, a and r are real numbers that are not equal to 0. In considering their positive or negative sign, two observations can be made.

The graphs of f(x)= e^x and g(x) = e^(- x) are shown.

In general, the graph of a natural base exponential function is always a smooth curve.
Method

Graphing Natural Base Functions

A natural base exponential function with both a and r equal to 1 will be considered rather than more complex values for the sake of understanding the basics. y=ae^(rx) [a=1 andr=1]Substitute y=e^x To graph this function, three steps must be followed.
1
Identify the Initial Value and Plot the y-intercept
expand_more

The initial value of an exponential function, y = ab^x, is the number without an exponent, or the value of a. The initial value is also known as the y-intercept (0,a). In this example, the value of a is 1, and thus the y-intercept of the graph of y=e^x is (0,1).

y-intercept of y=e^x
2
Use the Constant Multiplier to Find More Points
expand_more

In natural base functions, the constant multiplier — the number with an exponent — is the number e. This means that when x-values increase by 1, the y-values are multiplied by e. With this information, more points can be plotted on the coordinate plane. It is advised to have not less than three points.

plotting points
3
Draw the Curve
expand_more

Lastly, the graph can be drawn by connecting the points with a smooth curve.

Graph of the function y =e^x with points plotted at (0,1), (1,2.7), and (2,7.4)

It is worth remembering that, in general, the graph of a natural base function is always a smooth curve.

Rule

Continuously Compounded Interest

When interest is compounded infinitely many times, it is said to be continuously compounded. Let A be the balance of an account that is continuously compounded, P the initial amount, r the interest rate, and t the time. These values are connected by the following formula.


A=Pe^(rt)

Keep in mind that, in this formula, the value of r must be written as a decimal and the time t must be in years. Also, the initial amount P is usually called principal.

Proof

Recall the compound interest formula. A = P (1+r/n)^(nt) In the formula, there is the account's balance A, the initial amount P, the time in years t, and the number of times n the interest is compounded per year. The formula can be rewritten by using the Power of a Power Property. A = P (1+r/n)^(nt) ⇕ A = P [ (1+r/n)^n ]^t If the interest rate is 100 %, or r=1, and the interest is continuously compounded, the formula can be written in terms of P, t, and e. This is because as n goes to infinity, the value of (1+ 1n)^n approaches e. A = P [ (1 + 1/n)^n ]^t [n→ ∞] A = P e^t The value of the expression (1+ rn )^n, on the other hand, approaches e^r. Examine the following interactive graph to better grasp how this is possible.
graphs of $y =e^r$ and $y=(1+r/n)^n$
Using this last approximation, the final form of the formula can be obtained. A = P [ (1 + r/n)^n ]^t [ n→ ∞ ] A = P e^(r t)
Example

Graphing and Using a Continuously Compounded Interest Graph

Zosia wants to visit family in Argentina, and while there she hopes to climb Mount Aconcagua! This is going to cost a pretty penny so she needs to increase her savings. Zosia knows that banks do not offer continuously compounded interest, but she is daydreaming about opening an account that does use it.

ATM

Recently, she made $17 from selling some old stuff at a garage sale. She would deposit this amount into the account. The amount A in the account after t years is calculated by using the following formula. A=17e^t

a Graph the given function.
b Use the formula to calculate the balance of this account after 1 year and 9 months. Suppose that no deposits nor withdrawals are made and round the answer to two decimal places. Check the answer with the graph.
c Use the graph to estimate in how many years the balance of this account would be $ 120. Suppose that no deposits nor withdrawals are made. Round the answer to the nearest integer.

Answer

a
answer
b About $97.83
c About 2 years

Hint

a Start by identifying the initial value and plotting the y-intercept.
b Keep in mind that 1 year and 9 months are 1.75 years.
c Identify the point on the curve whose second coordinate is 120.

Solution

a The given function is a natural base exponential function whose initial value is 17.

A= 17e^t Therefore, the y-intercept of the graph occurs at (0, 17). Since time cannot be negative and the balance of the account will always be non-negative, only the first quadrant of the coordinate plane will be considered.

y-intercept

The constant multiplier is e. This means that when x-values increase by 1, the y-values are multiplied by e.

y-intercept,(1,46.1), and (2,125.6)

Finally, the curve can be graphed by connecting these points.

Graph of A=17e^t
b First, 1 year and 9 months must be expressed in years. Recall that 1 year has 12 months. This means that 9 months are 912, or 0.75, years.
1year and9months ↓ 1 912=1.75 years Therefore, t=1.75 will be substituted into the equation.
A=17e^t
A=17e^(1.75)
A=97.828245...
A≈ 97.83
After 1 year and 9 months, the balance of the account would be about $97.83. This can be verified by using the graph. To do so, the point whose first coordinate is 1.75 should be determined on the graph of the function.
spotting the point with the first coordinate 1.75

The second coordinate of this point is a bit less than 100. Therefore, it is reasonable to have a balance of $97.83 after 1 year and 9 months.

c This time the graph will be used to estimate after how many years the balance would be $120. To do so, the point with the second coordinate 120 must be spotted on the graph of the function, and its first coordinate needs to be identified.
spotting the point with the second coordinate 120

The first coordinate of the point is almost equal to 2. Therefore, the balance would be $120 after about 2 years. Zosia is realizing that it might take her quite some time to meet her financial goal, but she is making a valiant effort and certainly on her way!

Example

Using a Natural Base Exponential Function to Model the Atmospheric Pressure at Different Altitudes

Zosia finally saved enough money to visit family in Argentina and set out to climb Mount Aconcagua while there! She is as excited as ever.

Here, her knowledge about natural base exponential functions will be extremely useful to her pursuit of reaching the peak. Zosia knows that the atmospheric pressure decreases as the altitude increases, the pressure at sea level is about 1013 hecto Pascals (hPa), and the pressure P(x) at an altitude of x meters is given by the following formula. P(x)=1013e^(- 0.000128x) To avoid unforeseen problems, Zosia realizes that she can share some responsibilities if she recruits a team to solve such issues. Give her a hand and become a valuable member of her team by answering the following questions. If unable to, the team could get altitude sickness!

a The altitude of the mountain's peak, called the summit, is 8849 meters. Calculate the atmospheric pressure at the summit. Round the answer to the nearest integer.
b Draw a graph of the given exponential function.
c Estimate the altitude where the atmospheric pressure is 700 hecto Pascals. At this altitude, Zosia will rest for a night or two. Round the answer to the nearest thousand meters.

Answer

a About 326 hPa
b
graph of the function
c About 3000 m

Hint

a Substitute 8849 for x in the given formula.
b Make a table of values.
c Use the graph from Part B.

Solution

a To calculate the atmospheric pressure at an altitude of 8849 meters, this number will be substituted for x into the given function.
P(x)=1013e^(- 0.000128x)
P( 8849)=1013e^(- 0.000128( 8849))
Evaluate right-hand side
P(8849)=1013e^(- 1.132672)
P(8849)=326.359490...
P(8849)≈ 326
The pressure at the summit of Mount Aconcagua, which has an altitude of 8849 meters, is about 326 hecto Pascals.
b To graph the given function, a table of values will be made first. Only non-negative values will be considered since it is a mountain climb under consideration.
x 1013e^(- 0.000128x) y=1013e^(- 0.000128x)
0 1013e^(- 0.000128( 0)) 1013
1000 1013e^(- 0.000128( 1000)) ≈ 891
2000 1013e^(- 0.000128( 2000)) ≈ 784
3000 1013e^(- 0.000128( 3000)) ≈ 690
4000 1013e^(- 0.000128( 4000)) ≈ 607
5000 1013e^(- 0.000128( 5000)) ≈ 534
6000 1013e^(- 0.000128( 6000)) ≈ 470
7000 1013e^(- 0.000128( 7000)) ≈ 414
8000 1013e^(- 0.000128( 8000)) ≈ 364
9000 1013e^(- 0.000128( 9000)) ≈ 320
10000 1013e^(- 0.000128( 10000)) ≈ 282

The obtained points will now be plotted on a coordinate plane and connected with a smooth curve. Since only non-negative values are considered, the graph just needs to be drawn in the first quadrant.

graph of the function
c To estimate the altitude where the atmospheric pressure is 700 hecto Pascals, the graph from Part B will be used. The point with the second coordinate 700 will be spotted and its x-coordinate identified.
graph of the function

Tracing a pen or pencil vertically down from the point of the graph that is even, horizontally, with y-value of 700 leads to the x-value of 3. This means that the altitude with an atmospheric pressure of 700 hecto Pascals is about 3000 meters. Zosia feels comfortable knowing she will be able to rest for a few nights at this level.

Discussion

Logarithmic Functions

Logarithmic functions are functions that involve logarithms.


f(x) = log_b x, b>0andb≠ 1

The function f(x)=log_bx is the parent function of logarithmic functions. Since logarithms are defined for positive numbers, the domain of the function is x>0 and its range is all real numbers. If b is less than 1, the graph of the function is decreasing over its entire domain. Conversely, if b is greater than 1, the graph is increasing over its entire domain.

Rule

Inverse Properties of Logarithms

A logarithm and a power with the same base undo each other.


log_b b^x =x and b^(log_b x)=x

In particular, the above equations also hold true for common and natural logarithms.


rcr log 10^x=x & and & 10^(log x)=x [0.8em] ln e^x=x & and& e^(ln x)=x

Proof

The general equations will be proved one at a time.

log_b b^x =x

This identity can be proved by using the Power Property of Logarithms and the definition of a logarithm.
log_b b^x

log_b(a^m)= m* log_b(a)

x log_b b

log_b(b) = 1

x(1)
x ✓
The logarithm of b^x with base b is equal to x.

b^(log_b x)=x

Let log_b x=a. Therefore, by the definition of a logarithm, b^a=x. log_b x=a ⇔ b^a=x This will be used to prove the identity.
b^(log_b x)
b^a
x ✓
Therefore, b to the power of log_bx is equal to x.

Consider the following exponential and logarithmic functions. f(x)= b^x and g(x)= log_b x By using the Inverse Property of Logarithms, the composition of these functions results in the identity function. c|c f( g(x) )= b^(log_b x) & g( f(x)) = log_b b^x ⇕ & ⇕ f(g(x) ) = x & g(f(x)) = x This means that exponential and logarithmic functions are inverse functions. Therefore, the graphs of these functions are each other's reflection across the line y=x.

inverse graphs
Example

Modeling Battery Charges Using Logarithmic Functions

Zosia is getting everything ready for the multi-day hike in Mount Aconcagua. Because her extra battery pack is quite limited, she wants her smartphone and camera to have their batteries fully charged.

Phone and camera.png

The night before the hike, Zosia charges her smartphone and camera. She does not want to leave her devices plugged all night long because it is a waste of energy and could damage the batteries. She read in the user manuals of both devices that the charge in the batteries can be modeled by two logarithmic functions. cc Phone's Battery & Camera's Battery p(x)=ln x & c(x)= 2log (x-0.5) Here, p(x) and c(x) are the phone's and camera's charge, respectively, x hours after the devices were plugged in. Zosia wants to graph these two functions on separate coordinate planes. This will help her understand at what time to unplug her devices. Help Zosia graph these functions!

Answer

Phone's Battery:

Graph of p(x), which models phone's battery

Camera's Battery:

Graph of t(x), which models tablet's battery

Hint

To graph p(x)=ln x, first graph its inverse function g(x)=e^x and then reflect the curve across the line y=x. To graph c(x)=2log (x-0.5), make a table of values. Consider its domain first.

Solution

The logarithmic functions will be graphed one at a time.

Graphing p(x)=ln x

It is known that logarithms and exponents are inverse operations. Now, consider the natural base exponential function g(x)=e^x. By the Inverse Properties of Logarithms, it can be shown that the compositions of p(x) and g(x) result in the identity function. c|c p(g(x))=ln e^x & g(p(x))=e^(ln x) ⇕ & ⇕ p(g(x))=x & g(p(x))=x Therefore, p(x) and g(x) are inverse functions. This means that the graph of p(x) is a reflection across the line y=x of the graph of g(x). Since g(x) is a natural base exponential function, the graph can be drawn by using its initial value and constant multiplier.
graphs of g(x) and p(x)

Graphing c(x)=2log (x-0.5)

To graph this function, a table of values will be used. Before that, however, the domain of c(x) should be determined. To do that, recall that logarithms are defined only for positive numbers. Therefore, whatever the expression is in the logarithm, it must be positive. c(x)=2log ( x-0.5) [0.8em] x-0.5 >0 ⇔ x>0.5 The domain of the function is the set of all real numbers greater than 0.5. To make the table, only values in the domain will be considered.

x 2log (x-0.5) c(x)=2log (x-0.5)
1 2log ( 1-0.5) ≈ - 0.6
2 2log ( 2-0.5) ≈ 0.35
3 2log ( 3-0.5) ≈ 0.8
4 2log ( 4-0.5) ≈ 1.1
5 2log ( 5-0.5) ≈ 1.3
These points can now be plotted on a coordinate plane and connected with a smooth curve.
graph of t(x)
Example

Finding Inverse Functions of Logarithmic and Exponential Functions

The expedition was a complete success! What is more, some members of the hiking team felt so inspired by Zosia’s math skills in helping them reach the summit, that they decided to practice some logarithmic functions. They believe this knowledge will also help them in their next expedition to the Amazon Rainforest.

Amazon rainforest.jpeg

Touched by their passion to learn, Zosia found a few interesting exercises about exponential and logarithmic functions in her online textbook to share with the team.

a Find the inverse function of f(x)=2log (x-1).
b Find the inverse function of g(x)= 15e^(3x).

Hint

a The inverse of f(x) is a common base exponential function.
b The inverse of g(x) is a natural base logarithmic function.

Solution

a To find the inverse of the function, the first step is replacing f(x) with y.
f(x)=2log (x-1) ↓ y=2log (x-1) Now, the x- and y-variables need to be switched. y=2log ( x-1) ↓ x=2log ( y-1) Next, in the obtained equation, y will be isolated.
x=2log (y-1)
x/2=log (y-1)
1/2x=log (y-1)
The definition of a logarithm will be used to express the logarithmic equation as an exponential equation. Since it is a common logarithm, its base is 10. 1/2x=log (y-1) ⇕ 10^(12x)=y-1 Finally, 1 can be added to both sides of the equation.
10^(12x)=y-1
10^(12x)+1=y
y=10^(12x)+1
f^(- 1)(x)=10^(12x)+1
To verify that the obtained function is actually the inverse of the given function, both will be graphed on the same coordinate plane. To do so, two tables of values will be made. The first table corresponds to f(x).
x 2log (x-1) f(x)
1.5 2log ( 1.5-1) ≈ - 0.6
5 2log ( 5-1) ≈ 1.2
10 2log ( 10-1) ≈ 1.9
12 2log ( 12-1) ≈ 2.1
18 2log ( 18-1) ≈ 2.5

Next, the table that corresponds to f^(- 1)(x) will be constructed.

x 10^(12x)+1 f^(- 1)(x)
- 2 10^(12( - 2))+1 1.1
- 1 10^(12( - 1))+1 ≈ 1.3
0 10^(12( 0))+1 2
1 10^(12( 1))+1 ≈ 4.2
2 10^(12( 2))+1 11

Now the points can be plotted on a coordinate plane and connected with smooth curves. Also, the line y=x will be graphed.

function and inverse

The graphs are each other's reflection across the line y=x. Therefore, f^(-1)(x)=10^(12x)+1 is the inverse function of f(x)=2log (x-1).

b As in Part A, to find the inverse of the function the first step is replacing g(x) with y.
g(x)=1/5e^(3x) ⟶ y=1/5e^(3x) Now, the x- and y-variables need to be switched. y=1/5e^(3 x) ⟶ x=1/5e^(3 y) Next, in the obtained equation, y will be isolated.
x=1/5e^(3y)
5x=e^(3y)
The definition of a logarithm will be used to express the exponential equation as a logarithmic equation. 5x=e^(3y) ⇔ ln 5x=3y Finally, both sides of the equation can be divided by 3.
ln 5x=3y
ln 5x/3=y
1/3ln 5x=y
y=1/3ln 5x
g^(- 1)(x)=1/3ln 5x
To verify that the obtained function is actually the inverse of the given function, both will be graphed on the same coordinate plane. To do so, two tables of values will be made. The first table corresponds to g(x).
x 1/5e^(3x) g(x)
- 1 1/5e^(3( - 1)) ≈ 0.01
- 0.5 1/5e^(3( - 0.5)) ≈ 0.04
0 1/5e^(3( 0)) 0.2
0.5 1/5e^(3( 0.5)) ≈ 0.9
1 1/5e^(3( 1)) ≈ 4

Next, the table that corresponds to g^(- 1)(x) will be constructed.

x 1/3ln 5x g^(- 1)(x)
0.1 1/3ln 5( 0.5) ≈ - 0.2
1 1/3ln 5( 1) ≈ 0.5
2 1/3ln 5( 2) ≈ 0.8
3 1/3ln 5( 3) ≈ 0.9
4 1/3ln 5( 4) ≈ 1

The obtained points can be plotted on a coordinate plane and connected with smooth curves. Also, the line y=x will be graphed.

function and inverse

It can be seen that the graphs are each other's reflection across the line y=x. Therefore, g^(-1)(x)= 13ln 5x is the inverse function of g(x)= 15e^(3x).

Checking Our Answer

a To verify that the obtained function is actually the inverse of the given function, instead of graphing it can be checked that both composite functions f(f^(- 1)(x)) and f^(- 1)(f(x)) simplify to x. Start by calculating f(f^(- 1)(x)).
f(x)=2log (x-1) ⇓ f( f^(- 1)(x))=2log ( f^(- 1)(x)-1) Now, substitute f^(- 1)(x)=10^(12x)+1 in the above equation, and simplify as much as possible.
f(f^(- 1)(x))=2log (f^(- 1)(x)-1)
f(f^(- 1)(x))=2log ( 10^(12x)+1-1)
Simplify right-hand side
f(f^(- 1)(x))=2log (10^(12x))

log(10^m)=m

f(f^(- 1)(x))=2(1/2x)
f(f^(- 1)(x))=2(1/2)x
f(f^(- 1)(x))=1x
f(f^(- 1)(x))=x ✓
Next, by following the same procedure, check that f^(- 1)(f(x)) also simplifies to the identity function. f^(- 1)(x)=10^(12x)+1 ⇓ f^(- 1)( f(x))=10^(12 f(x))+1 Now, substitute f(x)=2log(x-1) in the above equation, and simplify as much as possible.
f^(- 1)(f(x))=10^(12f(x))+1
f^(- 1)(f(x))=10^(12( 2log(x-1)))+1
Simplify right-hand side
f^(- 1)(f(x))=10^(12(2)log(x-1))+1
f^(- 1)(f(x))=10^(1log(x-1))+1
f^(- 1)(f(x))=10^(log(x-1))+1

10^(log(m))=m

f^(- 1)(f(x))=x-1+1
f^(- 1)(f(x))=x ✓
Since both compositions simplify to the identity function, f^(- 1)(x)=10^(12x)+1 is the inverse function of f(x)=2log(x-1).
b As in the previous part, to check whether g^(- 1)(x)= 13ln 5x is the inverse function of g(x)= 15e^(3x), the compositions g(g^(- 1)(x)) and g^(- 1)(g(x)) must both simplify to x.
Definition of the First Function Substitute the Second Function Simplify
g(g^(- 1)(x)) 1/5e^(3g^(-1)(x)) 1/5e^(3( 13ln 5x)) x ✓
g^(- 1)(g(x)) 1/3ln 5g(x) 1/3ln 5( 15e^(3x)) x ✓

Since both compositions simplify to the identity function, g^(- 1)(x)= 13ln 5x is the inverse function of g(x)= 15e^(3x).

Closure

Horizontal and Vertical Asymptotes

In this lesson, exponential functions, logarithmic functions, and the relationship between their graphs have been discussed. One more characteristic of these graphs is that they have asymptotes.

Exponential Graphs

Every exponential graph has a horizontal asymptote. In the applet below, both graphs have the horizontal line y=0, which is the x-axis, as an asymptote.
exponential functions

Logarithmic Graphs

Every logarithmic graph has a vertical asymptote. In the applet below, both graphs have the vertical line x=0, which is the y-axis, as an asymptote.

logarithmic functions


Graphing Exponential and Logarithmic Functions
Exercise 1.1
>
2
e
7
8
9
×
÷1
=
=
4
5
6
+
<
log
ln
log
1
2
3
()
sin
cos
tan
0
.
π
x
y