Giáo trình

# Precalculus

Mathematics and Statistics

## Graphs of Logarithmic Functions

Tác giả: OpenStaxCollege

In Graphs of Exponential Functions, we saw how creating a graphical representation of an exponential model gives us another layer of insight for predicting future events. How do logarithmic graphs give us insight into situations? Because every logarithmic function is the inverse function of an exponential function, we can think of every output on a logarithmic graph as the input for the corresponding inverse exponential equation. In other words, logarithms give the cause for an effect.

To illustrate, suppose we invest$\text{\hspace{0.17em}}\text{}2500\text{\hspace{0.17em}}$in an account that offers an annual interest rate of$\text{\hspace{0.17em}}5%,$compounded continuously. We already know that the balance in our account for any year$\text{\hspace{0.17em}}t\text{\hspace{0.17em}}$can be found with the equation$\text{\hspace{0.17em}}A=2500{e}^{0.05t}.$

But what if we wanted to know the year for any balance? We would need to create a corresponding new function by interchanging the input and the output; thus we would need to create a logarithmic model for this situation. By graphing the model, we can see the output (year) for any input (account balance). For instance, what if we wanted to know how many years it would take for our initial investment to double? [link] shows this point on the logarithmic graph.

In this section we will discuss the values for which a logarithmic function is defined, and then turn our attention to graphing the family of logarithmic functions.

# Finding the Domain of a Logarithmic Function

Before working with graphs, we will take a look at the domain (the set of input values) for which the logarithmic function is defined.

Recall that the exponential function is defined as$\text{\hspace{0.17em}}y={b}^{x}\text{\hspace{0.17em}}$for any real number$\text{\hspace{0.17em}}x\text{\hspace{0.17em}}$and constant$\text{\hspace{0.17em}}b>0,$ $b\ne 1,$ where

• The domain of$\text{\hspace{0.17em}}y\text{\hspace{0.17em}}$is$\text{\hspace{0.17em}}\left(-\infty ,\infty \right).$
• The range of$\text{\hspace{0.17em}}y\text{\hspace{0.17em}}$is$\text{\hspace{0.17em}}\left(0,\infty \right).$

In the last section we learned that the logarithmic function$\text{\hspace{0.17em}}y={\mathrm{log}}_{b}\left(x\right)\text{\hspace{0.17em}}$is the inverse of the exponential function$\text{\hspace{0.17em}}y={b}^{x}.\text{\hspace{0.17em}}$So, as inverse functions:

• The domain of$\text{\hspace{0.17em}}y={\mathrm{log}}_{b}\left(x\right)\text{\hspace{0.17em}}$is the range of$\text{\hspace{0.17em}}y={b}^{x}:\text{\hspace{0.17em}}$$\left(0,\infty \right).$
• The range of$\text{\hspace{0.17em}}y={\mathrm{log}}_{b}\left(x\right)\text{\hspace{0.17em}}$is the domain of$\text{\hspace{0.17em}}y={b}^{x}:\text{\hspace{0.17em}}$$\left(-\infty ,\infty \right).$

Transformations of the parent function$\text{\hspace{0.17em}}y={\mathrm{log}}_{b}\left(x\right)\text{\hspace{0.17em}}$behave similarly to those of other functions. Just as with other parent functions, we can apply the four types of transformations—shifts, stretches, compressions, and reflections—to the parent function without loss of shape.

In Graphs of Exponential Functions we saw that certain transformations can change the range of$\text{\hspace{0.17em}}y={b}^{x}.\text{\hspace{0.17em}}$Similarly, applying transformations to the parent function$\text{\hspace{0.17em}}y={\mathrm{log}}_{b}\left(x\right)\text{\hspace{0.17em}}$can change the domain. When finding the domain of a logarithmic function, therefore, it is important to remember that the domain consists only of positive real numbers. That is, the argument of the logarithmic function must be greater than zero.

For example, consider$\text{\hspace{0.17em}}f\left(x\right)={\mathrm{log}}_{4}\left(2x-3\right).\text{\hspace{0.17em}}$This function is defined for any values of$\text{\hspace{0.17em}}x\text{\hspace{0.17em}}$such that the argument, in this case$\text{\hspace{0.17em}}2x-3,$ is greater than zero. To find the domain, we set up an inequality and solve for$\text{\hspace{0.17em}}x:$

In interval notation, the domain of$\text{\hspace{0.17em}}f\left(x\right)={\mathrm{log}}_{4}\left(2x-3\right)\text{\hspace{0.17em}}$is$\text{\hspace{0.17em}}\left(1.5,\infty \right).$

Given a logarithmic function, identify the domain.

1. Set up an inequality showing the argument greater than zero.
2. Solve for$\text{\hspace{0.17em}}x.$
3. Write the domain in interval notation.
Identifying the Domain of a Logarithmic Shift

What is the domain of$\text{\hspace{0.17em}}f\left(x\right)={\mathrm{log}}_{2}\left(x+3\right)?$

The logarithmic function is defined only when the input is positive, so this function is defined when$\text{\hspace{0.17em}}x+3>0.\text{\hspace{0.17em}}$Solving this inequality,

The domain of$\text{\hspace{0.17em}}f\left(x\right)={\mathrm{log}}_{2}\left(x+3\right)\text{\hspace{0.17em}}$is$\text{\hspace{0.17em}}\left(-3,\infty \right).$

What is the domain of$\text{\hspace{0.17em}}f\left(x\right)={\mathrm{log}}_{5}\left(x-2\right)+1?$

$\left(2,\infty \right)$

Identifying the Domain of a Logarithmic Shift and Reflection

What is the domain of$\text{\hspace{0.17em}}f\left(x\right)=\mathrm{log}\left(5-2x\right)?$

The logarithmic function is defined only when the input is positive, so this function is defined when$\text{\hspace{0.17em}}5–2x>0.\text{\hspace{0.17em}}$Solving this inequality,

The domain of$\text{\hspace{0.17em}}f\left(x\right)=\mathrm{log}\left(5-2x\right)\text{\hspace{0.17em}}$is$\text{\hspace{0.17em}}\left(–\infty ,\frac{5}{2}\right).$

What is the domain of$\text{\hspace{0.17em}}f\left(x\right)=\mathrm{log}\left(x-5\right)+2?$

$\left(5,\infty \right)$

# Graphing Logarithmic Functions

Now that we have a feel for the set of values for which a logarithmic function is defined, we move on to graphing logarithmic functions. The family of logarithmic functions includes the parent function$\text{\hspace{0.17em}}y={\mathrm{log}}_{b}\left(x\right)\text{\hspace{0.17em}}$along with all its transformations: shifts, stretches, compressions, and reflections.

We begin with the parent function$\text{\hspace{0.17em}}y={\mathrm{log}}_{b}\left(x\right).\text{\hspace{0.17em}}$Because every logarithmic function of this form is the inverse of an exponential function with the form$\text{\hspace{0.17em}}y={b}^{x},$ their graphs will be reflections of each other across the line$\text{\hspace{0.17em}}y=x.\text{\hspace{0.17em}}$To illustrate this, we can observe the relationship between the input and output values of$\text{\hspace{0.17em}}y={2}^{x}\text{\hspace{0.17em}}$and its equivalent$\text{\hspace{0.17em}}x={\mathrm{log}}_{2}\left(y\right)\text{\hspace{0.17em}}$in [link].

 $x$ $-3$ $-2$ $-1$ $0$ $1$ $2$ $3$ ${2}^{x}=y$ $\frac{1}{8}$ $\frac{1}{4}$ $\frac{1}{2}$ $1$ $2$ $4$ $8$ ${\mathrm{log}}_{2}\left(y\right)=x$ $-3$ $-2$ $-1$ $0$ $1$ $2$ $3$

Using the inputs and outputs from [link], we can build another table to observe the relationship between points on the graphs of the inverse functions$\text{\hspace{0.17em}}f\left(x\right)={2}^{x}\text{\hspace{0.17em}}$and$\text{\hspace{0.17em}}g\left(x\right)={\mathrm{log}}_{2}\left(x\right).\text{\hspace{0.17em}}$See [link].

 $f\left(x\right)={2}^{x}$ $\left(-3,\frac{1}{8}\right)$ $\left(-2,\frac{1}{4}\right)$ $\left(-1,\frac{1}{2}\right)$ $\left(0,1\right)$ $\left(1,2\right)$ $\left(2,4\right)$ $\left(3,8\right)$ $g\left(x\right)={\mathrm{log}}_{2}\left(x\right)$ $\left(\frac{1}{8},-3\right)$ $\left(\frac{1}{4},-2\right)$ $\left(\frac{1}{2},-1\right)$ $\left(1,0\right)$ $\left(2,1\right)$ $\left(4,2\right)$ $\left(8,3\right)$

As we’d expect, the x- and y-coordinates are reversed for the inverse functions. [link] shows the graph of$\text{\hspace{0.17em}}f\text{\hspace{0.17em}}$and$\text{\hspace{0.17em}}g.$

Observe the following from the graph:

• $f\left(x\right)={2}^{x}\text{\hspace{0.17em}}$has a y-intercept at$\text{\hspace{0.17em}}\left(0,1\right)\text{\hspace{0.17em}}$and$\text{\hspace{0.17em}}g\left(x\right)={\mathrm{log}}_{2}\left(x\right)\text{\hspace{0.17em}}$has an x- intercept at$\text{\hspace{0.17em}}\left(1,0\right).$
• The domain of$\text{\hspace{0.17em}}f\left(x\right)={2}^{x},$ $\left(-\infty ,\infty \right),$ is the same as the range of$\text{\hspace{0.17em}}g\left(x\right)={\mathrm{log}}_{2}\left(x\right).$
• The range of$\text{\hspace{0.17em}}f\left(x\right)={2}^{x},$ $\left(0,\infty \right),$ is the same as the domain of$\text{\hspace{0.17em}}g\left(x\right)={\mathrm{log}}_{2}\left(x\right).$
Characteristics of the Graph of the Parent Function, f(x) = logb(x)

For any real number$\text{\hspace{0.17em}}x\text{\hspace{0.17em}}$and constant$\text{\hspace{0.17em}}b>0,$$b\ne 1,$ we can see the following characteristics in the graph of$\text{\hspace{0.17em}}f\left(x\right)={\mathrm{log}}_{b}\left(x\right):$

• one-to-one function
• vertical asymptote:$\text{\hspace{0.17em}}x=0$
• domain:$\text{\hspace{0.17em}}\left(0,\infty \right)$
• range:$\text{\hspace{0.17em}}\left(-\infty ,\infty \right)$
• x-intercept:$\text{\hspace{0.17em}}\left(1,0\right)\text{\hspace{0.17em}}$and key point $\left(b,1\right)$
• y-intercept: none
• increasing if$\text{\hspace{0.17em}}b>1$
• decreasing if$\text{\hspace{0.17em}}0

[link] shows how changing the base$\text{\hspace{0.17em}}b\text{\hspace{0.17em}}$in$\text{\hspace{0.17em}}f\left(x\right)={\mathrm{log}}_{b}\left(x\right)\text{\hspace{0.17em}}$can affect the graphs. Observe that the graphs compress vertically as the value of the base increases. (Note: recall that the function$\text{\hspace{0.17em}}\mathrm{ln}\left(x\right)\text{\hspace{0.17em}}$has base$\text{\hspace{0.17em}}e\approx \text{2}.\text{718.)}$

Given a logarithmic function with the form$\text{\hspace{0.17em}}f\left(x\right)={\mathrm{log}}_{b}\left(x\right),$ graph the function.

1. Draw and label the vertical asymptote,$\text{\hspace{0.17em}}x=0.$
2. Plot the x-intercept,$\text{\hspace{0.17em}}\left(1,0\right).$
3. Plot the key point$\text{\hspace{0.17em}}\left(b,1\right).$
4. Draw a smooth curve through the points.
5. State the domain,$\text{\hspace{0.17em}}\left(0,\infty \right),$the range,$\text{\hspace{0.17em}}\left(-\infty ,\infty \right),$and the vertical asymptote,$\text{\hspace{0.17em}}x=0.$
Graphing a Logarithmic Function with the Form f(x) = logb(x).

Graph$\text{\hspace{0.17em}}f\left(x\right)={\mathrm{log}}_{5}\left(x\right).\text{\hspace{0.17em}}$State the domain, range, and asymptote.

Before graphing, identify the behavior and key points for the graph.

• Since$\text{\hspace{0.17em}}b=5\text{\hspace{0.17em}}$is greater than one, we know the function is increasing. The left tail of the graph will approach the vertical asymptote$\text{\hspace{0.17em}}x=0,$ and the right tail will increase slowly without bound.
• The x-intercept is$\text{\hspace{0.17em}}\left(1,0\right).$
• The key point$\text{\hspace{0.17em}}\left(5,1\right)\text{\hspace{0.17em}}$is on the graph.
• We draw and label the asymptote, plot and label the points, and draw a smooth curve through the points (see [link]).

The domain is$\text{\hspace{0.17em}}\left(0,\infty \right),$ the range is$\text{\hspace{0.17em}}\left(-\infty ,\infty \right),$ and the vertical asymptote is$\text{\hspace{0.17em}}x=0.$

Graph$\text{\hspace{0.17em}}f\left(x\right)={\mathrm{log}}_{\frac{1}{5}}\left(x\right).\text{\hspace{0.17em}}$State the domain, range, and asymptote.

The domain is$\text{\hspace{0.17em}}\left(0,\infty \right),$the range is$\text{\hspace{0.17em}}\left(-\infty ,\infty \right),$ and the vertical asymptote is$\text{\hspace{0.17em}}x=0.$

## Graphing Transformations of Logarithmic Functions

As we mentioned in the beginning of the section, transformations of logarithmic graphs behave similarly to those of other parent functions. We can shift, stretch, compress, and reflect the parent function$\text{\hspace{0.17em}}y={\mathrm{log}}_{b}\left(x\right)\text{\hspace{0.17em}}$without loss of shape.

## Graphing a Horizontal Shift of f(x) = logb(x)

When a constant$\text{\hspace{0.17em}}c\text{\hspace{0.17em}}$is added to the input of the parent function$\text{\hspace{0.17em}}f\left(x\right)=lo{g}_{b}\left(x\right),$ the result is a horizontal shift$\text{\hspace{0.17em}}c\text{\hspace{0.17em}}$units in the opposite direction of the sign on$\text{\hspace{0.17em}}c.\text{\hspace{0.17em}}$To visualize horizontal shifts, we can observe the general graph of the parent function$f\left(x\right)={\mathrm{log}}_{b}\left(x\right)\text{\hspace{0.17em}}$and for$\text{\hspace{0.17em}}c>0\text{\hspace{0.17em}}$alongside the shift left,$\text{\hspace{0.17em}}g\left(x\right)={\mathrm{log}}_{b}\left(x+c\right),$ and the shift right,$\text{\hspace{0.17em}}h\left(x\right)={\mathrm{log}}_{b}\left(x-c\right).$ See [link].

Horizontal Shifts of the Parent Function y = logb(x)

For any constant$\text{\hspace{0.17em}}c,$the function$\text{\hspace{0.17em}}f\left(x\right)={\mathrm{log}}_{b}\left(x+c\right)$

• shifts the parent function$\text{\hspace{0.17em}}y={\mathrm{log}}_{b}\left(x\right)\text{\hspace{0.17em}}$left$\text{\hspace{0.17em}}c\text{\hspace{0.17em}}$units if$\text{\hspace{0.17em}}c>0.$
• shifts the parent function$\text{\hspace{0.17em}}y={\mathrm{log}}_{b}\left(x\right)\text{\hspace{0.17em}}$right$\text{\hspace{0.17em}}c\text{\hspace{0.17em}}$units if$\text{\hspace{0.17em}}c<0.$
• has the vertical asymptote$\text{\hspace{0.17em}}x=-c.$
• has domain$\text{\hspace{0.17em}}\left(-c,\infty \right).$
• has range$\text{\hspace{0.17em}}\left(-\infty ,\infty \right).$

Given a logarithmic function with the form$\text{\hspace{0.17em}}f\left(x\right)={\mathrm{log}}_{b}\left(x+c\right),$ graph the translation.

1. Identify the horizontal shift:
1. If$\text{\hspace{0.17em}}c>0,$shift the graph of$\text{\hspace{0.17em}}f\left(x\right)={\mathrm{log}}_{b}\left(x\right)\text{\hspace{0.17em}}$left$\text{\hspace{0.17em}}c\text{\hspace{0.17em}}$units.
2. If$\text{\hspace{0.17em}}c<0,$shift the graph of$\text{\hspace{0.17em}}f\left(x\right)={\mathrm{log}}_{b}\left(x\right)\text{\hspace{0.17em}}$right$\text{\hspace{0.17em}}c\text{\hspace{0.17em}}$units.
2. Draw the vertical asymptote$\text{\hspace{0.17em}}x=-c.$
3. Identify three key points from the parent function. Find new coordinates for the shifted functions by subtracting$\text{\hspace{0.17em}}c\text{\hspace{0.17em}}$from the$\text{\hspace{0.17em}}x\text{\hspace{0.17em}}$coordinate.
4. Label the three points.
5. The Domain is$\text{\hspace{0.17em}}\left(-c,\infty \right),$the range is$\text{\hspace{0.17em}}\left(-\infty ,\infty \right),$ and the vertical asymptote is$\text{\hspace{0.17em}}x=-c.$
Graphing a Horizontal Shift of the Parent Function y = logb(x)

Sketch the horizontal shift$\text{\hspace{0.17em}}f\left(x\right)={\mathrm{log}}_{3}\left(x-2\right)\text{\hspace{0.17em}}$alongside its parent function. Include the key points and asymptotes on the graph. State the domain, range, and asymptote.

Since the function is$\text{\hspace{0.17em}}f\left(x\right)={\mathrm{log}}_{3}\left(x-2\right),$ we notice$\text{\hspace{0.17em}}x+\left(-2\right)=x–2.$

Thus$\text{\hspace{0.17em}}c=-2,$so$\text{\hspace{0.17em}}c<0.\text{\hspace{0.17em}}$This means we will shift the function$\text{\hspace{0.17em}}f\left(x\right)={\mathrm{log}}_{3}\left(x\right)\text{\hspace{0.17em}}$right 2 units.

The vertical asymptote is$\text{\hspace{0.17em}}x=-\left(-2\right)\text{\hspace{0.17em}}$or$\text{\hspace{0.17em}}x=2.$

Consider the three key points from the parent function,$\text{\hspace{0.17em}}\left(\frac{1}{3},-1\right),$$\left(1,0\right),$and$\text{\hspace{0.17em}}\left(3,1\right).$

The new coordinates are found by adding 2 to the$\text{\hspace{0.17em}}x\text{\hspace{0.17em}}$coordinates.

Label the points$\text{\hspace{0.17em}}\left(\frac{7}{3},-1\right),$$\left(3,0\right),$and$\text{\hspace{0.17em}}\left(5,1\right).$

The domain is$\text{\hspace{0.17em}}\left(2,\infty \right),$the range is$\text{\hspace{0.17em}}\left(-\infty ,\infty \right),$and the vertical asymptote is$\text{\hspace{0.17em}}x=2.$

Sketch a graph of$\text{\hspace{0.17em}}f\left(x\right)={\mathrm{log}}_{3}\left(x+4\right)\text{\hspace{0.17em}}$alongside its parent function. Include the key points and asymptotes on the graph. State the domain, range, and asymptote.

The domain is$\text{\hspace{0.17em}}\left(-4,\infty \right),$the range$\text{\hspace{0.17em}}\left(-\infty ,\infty \right),$and the asymptote$\text{\hspace{0.17em}}x=–4.$

## Graphing a Vertical Shift of y = logb(x)

When a constant$\text{\hspace{0.17em}}d\text{\hspace{0.17em}}$is added to the parent function$\text{\hspace{0.17em}}f\left(x\right)={\mathrm{log}}_{b}\left(x\right),$the result is a vertical shift$\text{\hspace{0.17em}}d\text{\hspace{0.17em}}$units in the direction of the sign on$\text{\hspace{0.17em}}d.\text{\hspace{0.17em}}$To visualize vertical shifts, we can observe the general graph of the parent function$\text{\hspace{0.17em}}f\left(x\right)={\mathrm{log}}_{b}\left(x\right)\text{\hspace{0.17em}}$alongside the shift up,$\text{\hspace{0.17em}}g\left(x\right)={\mathrm{log}}_{b}\left(x\right)+d\text{\hspace{0.17em}}$and the shift down,$\text{\hspace{0.17em}}h\left(x\right)={\mathrm{log}}_{b}\left(x\right)-d.$See [link].

Vertical Shifts of the Parent Function y = logb(x)

For any constant$\text{\hspace{0.17em}}d,$the function$\text{\hspace{0.17em}}f\left(x\right)={\mathrm{log}}_{b}\left(x\right)+d$

• shifts the parent function$\text{\hspace{0.17em}}y={\mathrm{log}}_{b}\left(x\right)\text{\hspace{0.17em}}$up$\text{\hspace{0.17em}}d\text{\hspace{0.17em}}$units if$\text{\hspace{0.17em}}d>0.$
• shifts the parent function$\text{\hspace{0.17em}}y={\mathrm{log}}_{b}\left(x\right)\text{\hspace{0.17em}}$down$\text{\hspace{0.17em}}d\text{\hspace{0.17em}}$units if$\text{\hspace{0.17em}}d<0.$
• has the vertical asymptote$\text{\hspace{0.17em}}x=0.$
• has domain$\text{\hspace{0.17em}}\left(0,\infty \right).$
• has range$\text{\hspace{0.17em}}\left(-\infty ,\infty \right).$

Given a logarithmic function with the form$\text{\hspace{0.17em}}f\left(x\right)={\mathrm{log}}_{b}\left(x\right)+d,$ graph the translation.

1. Identify the vertical shift:
• If$\text{\hspace{0.17em}}d>0,$ shift the graph of$\text{\hspace{0.17em}}f\left(x\right)={\mathrm{log}}_{b}\left(x\right)\text{\hspace{0.17em}}$up$\text{\hspace{0.17em}}d\text{\hspace{0.17em}}$ units.
• If$\text{\hspace{0.17em}}d<0,$ shift the graph of$\text{\hspace{0.17em}}f\left(x\right)={\mathrm{log}}_{b}\left(x\right)$down$\text{\hspace{0.17em}}d\text{\hspace{0.17em}}$ units.
2. Draw the vertical asymptote$\text{\hspace{0.17em}}x=0.$
3. Identify three key points from the parent function. Find new coordinates for the shifted functions by adding$\text{\hspace{0.17em}}d\text{\hspace{0.17em}}$to the$\text{\hspace{0.17em}}y\text{\hspace{0.17em}}$coordinate.
4. Label the three points.
5. The domain is$\text{\hspace{0.17em}}\left(0,\infty \right),$the range is$\text{\hspace{0.17em}}\left(-\infty ,\infty \right),$and the vertical asymptote is$\text{\hspace{0.17em}}x=0.$
Graphing a Vertical Shift of the Parent Function y = logb(x)

Sketch a graph of$\text{\hspace{0.17em}}f\left(x\right)={\mathrm{log}}_{3}\left(x\right)-2\text{\hspace{0.17em}}$alongside its parent function. Include the key points and asymptote on the graph. State the domain, range, and asymptote.

Since the function is$\text{\hspace{0.17em}}f\left(x\right)={\mathrm{log}}_{3}\left(x\right)-2,$we will notice$\text{\hspace{0.17em}}d=–2.\text{\hspace{0.17em}}$Thus$\text{\hspace{0.17em}}d<0.$

This means we will shift the function$\text{\hspace{0.17em}}f\left(x\right)={\mathrm{log}}_{3}\left(x\right)\text{\hspace{0.17em}}$down 2 units.

The vertical asymptote is$\text{\hspace{0.17em}}x=0.$

Consider the three key points from the parent function,$\text{\hspace{0.17em}}\left(\frac{1}{3},-1\right),$$\left(1,0\right),$and$\text{\hspace{0.17em}}\left(3,1\right).$

The new coordinates are found by subtracting 2 from the y coordinates.

Label the points$\text{\hspace{0.17em}}\left(\frac{1}{3},-3\right),$$\left(1,-2\right),$ and$\text{\hspace{0.17em}}\left(3,-1\right).$

The domain is$\text{\hspace{0.17em}}\left(0,\infty \right),$the range is$\text{\hspace{0.17em}}\left(-\infty ,\infty \right),$ and the vertical asymptote is$\text{\hspace{0.17em}}x=0.$

The domain is$\text{\hspace{0.17em}}\left(0,\infty \right),$the range is$\text{\hspace{0.17em}}\left(-\infty ,\infty \right),$and the vertical asymptote is$\text{\hspace{0.17em}}x=0.$

Sketch a graph of$\text{\hspace{0.17em}}f\left(x\right)={\mathrm{log}}_{2}\left(x\right)+2\text{\hspace{0.17em}}$alongside its parent function. Include the key points and asymptote on the graph. State the domain, range, and asymptote.

The domain is$\text{\hspace{0.17em}}\left(0,\infty \right),$the range is$\text{\hspace{0.17em}}\left(-\infty ,\infty \right),$and the vertical asymptote is$\text{\hspace{0.17em}}x=0.$

## Graphing Stretches and Compressions of y = logb(x)

When the parent function$\text{\hspace{0.17em}}f\left(x\right)={\mathrm{log}}_{b}\left(x\right)\text{\hspace{0.17em}}$is multiplied by a constant$\text{\hspace{0.17em}}a>0,$ the result is a vertical stretch or compression of the original graph. To visualize stretches and compressions, we set$\text{\hspace{0.17em}}a>1\text{\hspace{0.17em}}$and observe the general graph of the parent function$\text{\hspace{0.17em}}f\left(x\right)={\mathrm{log}}_{b}\left(x\right)\text{\hspace{0.17em}}$alongside the vertical stretch,$\text{\hspace{0.17em}}g\left(x\right)=a{\mathrm{log}}_{b}\left(x\right)\text{\hspace{0.17em}}$and the vertical compression,$\text{\hspace{0.17em}}h\left(x\right)=\frac{1}{a}{\mathrm{log}}_{b}\left(x\right).$See [link].

Vertical Stretches and Compressions of the Parent Function y = logb(x)

For any constant$\text{\hspace{0.17em}}a>1,$the function$\text{\hspace{0.17em}}f\left(x\right)=a{\mathrm{log}}_{b}\left(x\right)$

• stretches the parent function$\text{\hspace{0.17em}}y={\mathrm{log}}_{b}\left(x\right)\text{\hspace{0.17em}}$vertically by a factor of$\text{\hspace{0.17em}}a\text{\hspace{0.17em}}$if$\text{\hspace{0.17em}}a>1.$
• compresses the parent function$\text{\hspace{0.17em}}y={\mathrm{log}}_{b}\left(x\right)\text{\hspace{0.17em}}$vertically by a factor of$\text{\hspace{0.17em}}a\text{\hspace{0.17em}}$if$\text{\hspace{0.17em}}0
• has the vertical asymptote$\text{\hspace{0.17em}}x=0.$
• has the x-intercept$\text{\hspace{0.17em}}\left(1,0\right).$
• has domain$\text{\hspace{0.17em}}\left(0,\infty \right).$
• has range$\text{\hspace{0.17em}}\left(-\infty ,\infty \right).$

Given a logarithmic function with the form$\text{\hspace{0.17em}}f\left(x\right)=a{\mathrm{log}}_{b}\left(x\right),$$a>0,$graph the translation.

1. Identify the vertical stretch or compressions:
• If$\text{\hspace{0.17em}}|a|>1,$the graph of$\text{\hspace{0.17em}}f\left(x\right)={\mathrm{log}}_{b}\left(x\right)\text{\hspace{0.17em}}$is stretched by a factor of$\text{\hspace{0.17em}}a\text{\hspace{0.17em}}$units.
• If$\text{\hspace{0.17em}}|a|<1,$the graph of$\text{\hspace{0.17em}}f\left(x\right)={\mathrm{log}}_{b}\left(x\right)\text{\hspace{0.17em}}$is compressed by a factor of$\text{\hspace{0.17em}}a\text{\hspace{0.17em}}$units.
2. Draw the vertical asymptote$\text{\hspace{0.17em}}x=0.$
3. Identify three key points from the parent function. Find new coordinates for the shifted functions by multiplying the$\text{\hspace{0.17em}}y\text{\hspace{0.17em}}$coordinates by$\text{\hspace{0.17em}}a.$
4. Label the three points.
5. The domain is$\text{\hspace{0.17em}}\left(0,\infty \right),$the range is$\text{\hspace{0.17em}}\left(-\infty ,\infty \right),$and the vertical asymptote is$\text{\hspace{0.17em}}x=0.$
Graphing a Stretch or Compression of the Parent Function y = logb(x)

Sketch a graph of$\text{\hspace{0.17em}}f\left(x\right)=2{\mathrm{log}}_{4}\left(x\right)\text{\hspace{0.17em}}$alongside its parent function. Include the key points and asymptote on the graph. State the domain, range, and asymptote.

Since the function is$\text{\hspace{0.17em}}f\left(x\right)=2{\mathrm{log}}_{4}\left(x\right),$we will notice$\text{\hspace{0.17em}}a=2.$

This means we will stretch the function$\text{\hspace{0.17em}}f\left(x\right)={\mathrm{log}}_{4}\left(x\right)\text{\hspace{0.17em}}$by a factor of 2.

The vertical asymptote is$\text{\hspace{0.17em}}x=0.$

Consider the three key points from the parent function,$\text{\hspace{0.17em}}\left(\frac{1}{4},-1\right),$$\left(1,0\right),\text{\hspace{0.17em}}$and$\text{\hspace{0.17em}}\left(4,1\right).$

The new coordinates are found by multiplying the$\text{\hspace{0.17em}}y\text{\hspace{0.17em}}$coordinates by 2.

Label the points$\text{\hspace{0.17em}}\left(\frac{1}{4},-2\right),$$\left(1,0\right)\text{\hspace{0.17em}},$ and$\text{\hspace{0.17em}}\left(4,\text{2}\right).$

The domain is$\text{\hspace{0.17em}}\left(0,\text{\hspace{0.17em}}\infty \right),$ the range is$\text{\hspace{0.17em}}\left(-\infty ,\infty \right),\text{\hspace{0.17em}}$and the vertical asymptote is$\text{\hspace{0.17em}}x=0.\text{\hspace{0.17em}}$See [link].

The domain is$\text{\hspace{0.17em}}\left(0,\infty \right),$ the range is$\text{\hspace{0.17em}}\left(-\infty ,\infty \right),$ and the vertical asymptote is$\text{\hspace{0.17em}}x=0.$

Sketch a graph of$\text{\hspace{0.17em}}f\left(x\right)=\frac{1}{2}\text{\hspace{0.17em}}{\mathrm{log}}_{4}\left(x\right)\text{\hspace{0.17em}}$alongside its parent function. Include the key points and asymptote on the graph. State the domain, range, and asymptote.

The domain is$\text{\hspace{0.17em}}\left(0,\infty \right),$the range is$\text{\hspace{0.17em}}\left(-\infty ,\infty \right),$and the vertical asymptote is$\text{\hspace{0.17em}}x=0.$

Combining a Shift and a Stretch

Sketch a graph of$\text{\hspace{0.17em}}f\left(x\right)=5\mathrm{log}\left(x+2\right).\text{\hspace{0.17em}}$State the domain, range, and asymptote.

Remember: what happens inside parentheses happens first. First, we move the graph left 2 units, then stretch the function vertically by a factor of 5, as in [link]. The vertical asymptote will be shifted to$\text{\hspace{0.17em}}x=-2.\text{\hspace{0.17em}}$The x-intercept will be$\text{\hspace{0.17em}}\left(-1,0\right).\text{\hspace{0.17em}}$The domain will be$\text{\hspace{0.17em}}\left(-2,\infty \right).\text{\hspace{0.17em}}$Two points will help give the shape of the graph:$\text{\hspace{0.17em}}\left(-1,0\right)\text{\hspace{0.17em}}$and$\text{\hspace{0.17em}}\left(8,5\right).\text{\hspace{0.17em}}$We chose$\text{\hspace{0.17em}}x=8\text{\hspace{0.17em}}$as the x-coordinate of one point to graph because when$\text{\hspace{0.17em}}x=8,\text{\hspace{0.17em}}$$\text{\hspace{0.17em}}x+2=10,\text{\hspace{0.17em}}$the base of the common logarithm.

The domain is$\text{\hspace{0.17em}}\left(-2,\infty \right),$the range is$\text{\hspace{0.17em}}\left(-\infty ,\infty \right),$and the vertical asymptote is$\text{\hspace{0.17em}}x=-2.$

Sketch a graph of the function$\text{\hspace{0.17em}}f\left(x\right)=3\mathrm{log}\left(x-2\right)+1.\text{\hspace{0.17em}}$State the domain, range, and asymptote.

The domain is$\text{\hspace{0.17em}}\left(2,\infty \right),$the range is$\text{\hspace{0.17em}}\left(-\infty ,\infty \right),$and the vertical asymptote is$\text{\hspace{0.17em}}x=2.$

## Graphing Reflections of f(x) = logb(x)

When the parent function$\text{\hspace{0.17em}}f\left(x\right)={\mathrm{log}}_{b}\left(x\right)\text{\hspace{0.17em}}$is multiplied by$\text{\hspace{0.17em}}-1,$the result is a reflection about the x-axis. When the input is multiplied by$\text{\hspace{0.17em}}-1,$the result is a reflection about the y-axis. To visualize reflections, we restrict$\text{\hspace{0.17em}}b>1,\text{\hspace{0.17em}}$and observe the general graph of the parent function$\text{\hspace{0.17em}}f\left(x\right)={\mathrm{log}}_{b}\left(x\right)\text{\hspace{0.17em}}$alongside the reflection about the x-axis,$\text{\hspace{0.17em}}g\left(x\right)={\mathrm{-log}}_{b}\left(x\right)\text{\hspace{0.17em}}$and the reflection about the y-axis,$\text{\hspace{0.17em}}h\left(x\right)={\mathrm{log}}_{b}\left(-x\right).$

Reflections of the Parent Function y = logb(x)

The function$\text{\hspace{0.17em}}f\left(x\right)={\mathrm{-log}}_{b}\left(x\right)$

• reflects the parent function$\text{\hspace{0.17em}}y={\mathrm{log}}_{b}\left(x\right)\text{\hspace{0.17em}}$about the x-axis.
• has domain,$\text{\hspace{0.17em}}\left(0,\infty \right),$ range,$\text{\hspace{0.17em}}\left(-\infty ,\infty \right),$ and vertical asymptote,$\text{\hspace{0.17em}}x=0,$ which are unchanged from the parent function.

The function$\text{\hspace{0.17em}}f\left(x\right)={\mathrm{log}}_{b}\left(-x\right)$

• reflects the parent function$\text{\hspace{0.17em}}y={\mathrm{log}}_{b}\left(x\right)\text{\hspace{0.17em}}$about the y-axis.
• has domain$\text{\hspace{0.17em}}\left(-\infty ,0\right).$
• has range,$\text{\hspace{0.17em}}\left(-\infty ,\infty \right),$ and vertical asymptote,$\text{\hspace{0.17em}}x=0,$ which are unchanged from the parent function.

Given a logarithmic function with the parent function$\text{\hspace{0.17em}}f\left(x\right)={\mathrm{log}}_{b}\left(x\right),$ graph a translation.

 Draw the vertical asymptote,$\text{\hspace{0.17em}}x=0.$ Draw the vertical asymptote,$\text{\hspace{0.17em}}x=0.$ Plot the x-intercept,$\text{\hspace{0.17em}}\left(1,0\right).$ Plot the x-intercept,$\text{\hspace{0.17em}}\left(1,0\right).$ Reflect the graph of the parent function$\text{\hspace{0.17em}}f\left(x\right)={\mathrm{log}}_{b}\left(x\right)\text{\hspace{0.17em}}$about the x-axis. Reflect the graph of the parent function$\text{\hspace{0.17em}}f\left(x\right)={\mathrm{log}}_{b}\left(x\right)\text{\hspace{0.17em}}$about the y-axis. Draw a smooth curve through the points. Draw a smooth curve through the points. State the domain,$\text{\hspace{0.17em}}\left(0,\infty \right),$ the range,$\text{\hspace{0.17em}}\left(-\infty ,\infty \right),$ and the vertical asymptote$\text{\hspace{0.17em}}x=0.$ State the domain,$\text{\hspace{0.17em}}\left(-\infty ,0\right),$ the range,$\text{\hspace{0.17em}}\left(-\infty ,\infty \right),$ and the vertical asymptote$\text{\hspace{0.17em}}x=0.$
Graphing a Reflection of a Logarithmic Function

Sketch a graph of$\text{\hspace{0.17em}}f\left(x\right)=\mathrm{log}\left(-x\right)\text{\hspace{0.17em}}$alongside its parent function. Include the key points and asymptote on the graph. State the domain, range, and asymptote.

Before graphing$\text{\hspace{0.17em}}f\left(x\right)=\mathrm{log}\left(-x\right),$identify the behavior and key points for the graph.

• Since$\text{\hspace{0.17em}}b=10\text{\hspace{0.17em}}$is greater than one, we know that the parent function is increasing. Since the input value is multiplied by$\text{\hspace{0.17em}}-1,$$f\text{\hspace{0.17em}}$is a reflection of the parent graph about the y-axis. Thus,$\text{\hspace{0.17em}}f\left(x\right)=\mathrm{log}\left(-x\right)\text{\hspace{0.17em}}$will be decreasing as$\text{\hspace{0.17em}}x\text{\hspace{0.17em}}$moves from negative infinity to zero, and the right tail of the graph will approach the vertical asymptote$\text{\hspace{0.17em}}x=0.\text{\hspace{0.17em}}$
• The x-intercept is$\text{\hspace{0.17em}}\left(-1,0\right).$
• We draw and label the asymptote, plot and label the points, and draw a smooth curve through the points.

The domain is$\text{\hspace{0.17em}}\left(-\infty ,0\right),$the range is$\text{\hspace{0.17em}}\left(-\infty ,\infty \right),$and the vertical asymptote is$\text{\hspace{0.17em}}x=0.$

Graph$\text{\hspace{0.17em}}f\left(x\right)=-\mathrm{log}\left(-x\right).\text{\hspace{0.17em}}$State the domain, range, and asymptote.

The domain is$\text{\hspace{0.17em}}\left(-\infty ,0\right),$the range is$\text{\hspace{0.17em}}\left(-\infty ,\infty \right),$and the vertical asymptote is$\text{\hspace{0.17em}}x=0.$

Given a logarithmic equation, use a graphing calculator to approximate solutions.

• Press [Y=]. Enter the given logarithm equation or equations as Y1= and, if needed, Y2=.
• Press [GRAPH] to observe the graphs of the curves and use [WINDOW] to find an appropriate view of the graphs, including their point(s) of intersection.
• To find the value of$\text{\hspace{0.17em}}x,$ we compute the point of intersection. Press [2ND] then [CALC]. Select “intersect” and press [ENTER] three times. The point of intersection gives the value of$\text{\hspace{0.17em}}x,$for the point(s) of intersection.
Approximating the Solution of a Logarithmic Equation

Solve$\text{\hspace{0.17em}}4\mathrm{ln}\left(x\right)+1=-2\mathrm{ln}\left(x-1\right)\text{\hspace{0.17em}}$graphically. Round to the nearest thousandth.

Press [Y=] and enter$\text{\hspace{0.17em}}4\mathrm{ln}\left(x\right)+1\text{\hspace{0.17em}}$next to Y1=. Then enter$\text{\hspace{0.17em}}-2\mathrm{ln}\left(x-1\right)\text{\hspace{0.17em}}$next to Y2=. For a window, use the values 0 to 5 for$\text{\hspace{0.17em}}x\text{\hspace{0.17em}}$and –10 to 10 for$\text{\hspace{0.17em}}y.\text{\hspace{0.17em}}$Press [GRAPH]. The graphs should intersect somewhere a little to right of$\text{\hspace{0.17em}}x=1.$

For a better approximation, press [2ND] then [CALC]. Select [5: intersect] and press [ENTER] three times. The x-coordinate of the point of intersection is displayed as 1.3385297. (Your answer may be different if you use a different window or use a different value for Guess?) So, to the nearest thousandth,$\text{\hspace{0.17em}}x\approx 1.339.$

Solve$\text{\hspace{0.17em}}5\mathrm{log}\left(x+2\right)=4-\mathrm{log}\left(x\right)\text{\hspace{0.17em}}$graphically. Round to the nearest thousandth.

$x\approx 3.049$

## Summarizing Translations of the Logarithmic Function

Now that we have worked with each type of translation for the logarithmic function, we can summarize each in [link] to arrive at the general equation for translating exponential functions.

 Translations of the Parent Function$\text{\hspace{0.17em}}y={\mathrm{log}}_{b}\left(x\right)$ Translation Form Shift Horizontally$\text{\hspace{0.17em}}c\text{\hspace{0.17em}}$units to the left Vertically$\text{\hspace{0.17em}}d\text{\hspace{0.17em}}$units up $y={\mathrm{log}}_{b}\left(x+c\right)+d$ Stretch and Compress Stretch if$\text{\hspace{0.17em}}|a|>1$ Compression if$\text{\hspace{0.17em}}|a|<1$ $y=a{\mathrm{log}}_{b}\left(x\right)$ Reflect about the x-axis $y=-{\mathrm{log}}_{b}\left(x\right)$ Reflect about the y-axis $y={\mathrm{log}}_{b}\left(-x\right)$ General equation for all translations $y=a{\mathrm{log}}_{b}\left(x+c\right)+d$
Translations of Logarithmic Functions

All translations of the parent logarithmic function,$\text{\hspace{0.17em}}y={\mathrm{log}}_{b}\left(x\right),$ have the form

where the parent function,$\text{\hspace{0.17em}}y={\mathrm{log}}_{b}\left(x\right),b>1,$is

• shifted vertically up$\text{\hspace{0.17em}}d\text{\hspace{0.17em}}$units.
• shifted horizontally to the left$\text{\hspace{0.17em}}c\text{\hspace{0.17em}}$units.
• stretched vertically by a factor of$\text{\hspace{0.17em}}|a|\text{\hspace{0.17em}}$if$\text{\hspace{0.17em}}|a|>0.$
• compressed vertically by a factor of$\text{\hspace{0.17em}}|a|\text{\hspace{0.17em}}$if$\text{\hspace{0.17em}}0<|a|<1.$
• reflected about the x-axis when$\text{\hspace{0.17em}}a<0.$

For$\text{\hspace{0.17em}}f\left(x\right)=\mathrm{log}\left(-x\right),$ the graph of the parent function is reflected about the y-axis.

Finding the Vertical Asymptote of a Logarithm Graph

What is the vertical asymptote of$\text{\hspace{0.17em}}f\left(x\right)=-2{\mathrm{log}}_{3}\left(x+4\right)+5?$

The vertical asymptote is at$\text{\hspace{0.17em}}x=-4.$

Analysis

The coefficient, the base, and the upward translation do not affect the asymptote. The shift of the curve 4 units to the left shifts the vertical asymptote to$\text{\hspace{0.17em}}x=-4.$

What is the vertical asymptote of$\text{\hspace{0.17em}}f\left(x\right)=3+\mathrm{ln}\left(x-1\right)?$

$x=1$

Finding the Equation from a Graph

Find a possible equation for the common logarithmic function graphed in [link].

This graph has a vertical asymptote at$\text{\hspace{0.17em}}x=–2\text{\hspace{0.17em}}$and has been vertically reflected. We do not know yet the vertical shift or the vertical stretch. We know so far that the equation will have form:

It appears the graph passes through the points$\text{\hspace{0.17em}}\left(–1,1\right)\text{\hspace{0.17em}}$and$\text{\hspace{0.17em}}\left(2,–1\right).\text{\hspace{0.17em}}$Substituting$\text{\hspace{0.17em}}\left(–1,1\right),$

Next, substituting in$\text{\hspace{0.17em}}\left(2,–1\right)$,

This gives us the equation$\text{\hspace{0.17em}}f\left(x\right)=–\frac{2}{\mathrm{log}\left(4\right)}\mathrm{log}\left(x+2\right)+1.$

Analysis

We can verify this answer by comparing the function values in [link] with the points on the graph in [link].

 $x$ −1 0 1 2 3 $f\left(x\right)$ 1 0 −0.58496 −1 −1.3219 $x$ 4 5 6 7 8 $f\left(x\right)$ −1.5850 −1.8074 −2 −2.1699 −2.3219

Give the equation of the natural logarithm graphed in [link].

$f\left(x\right)=2\mathrm{ln}\left(x+3\right)-1$

Is it possible to tell the domain and range and describe the end behavior of a function just by looking at the graph?

Yes, if we know the function is a general logarithmic function. For example, look at the graph in [link]. The graph approaches$\text{\hspace{0.17em}}x=-3\text{\hspace{0.17em}}$(or thereabouts) more and more closely, so$\text{\hspace{0.17em}}x=-3\text{\hspace{0.17em}}$is, or is very close to, the vertical asymptote. It approaches from the right, so the domain is all points to the right,$\text{\hspace{0.17em}}\left\{x\text{\hspace{0.17em}}|\text{\hspace{0.17em}}x>-3\right\}.\text{\hspace{0.17em}}$The range, as with all general logarithmic functions, is all real numbers. And we can see the end behavior because the graph goes down as it goes left and up as it goes right. The end behavior is that as$\text{\hspace{0.17em}}x\to -{3}^{+},f\left(x\right)\to -\infty \text{\hspace{0.17em}}$and as$\text{\hspace{0.17em}}x\to \infty ,f\left(x\right)\to \infty .$

Access these online resources for additional instruction and practice with graphing logarithms.

# Key Equations

 General Form for the Translation of the Parent Logarithmic Function

# Key Concepts

• To find the domain of a logarithmic function, set up an inequality showing the argument greater than zero, and solve for$\text{\hspace{0.17em}}x.\text{\hspace{0.17em}}$See [link] and [link]
• The graph of the parent function$\text{\hspace{0.17em}}f\left(x\right)={\mathrm{log}}_{b}\left(x\right)\text{\hspace{0.17em}}$has an x-intercept at$\text{\hspace{0.17em}}\left(1,0\right),$domain$\text{\hspace{0.17em}}\left(0,\infty \right),$range$\text{\hspace{0.17em}}\left(-\infty ,\infty \right),$vertical asymptote$\text{\hspace{0.17em}}x=0,$and
• if$\text{\hspace{0.17em}}b>1,$the function is increasing.
• if$\text{\hspace{0.17em}}0 the function is decreasing.
• The equation$\text{\hspace{0.17em}}f\left(x\right)={\mathrm{log}}_{b}\left(x+c\right)\text{\hspace{0.17em}}$shifts the parent function$\text{\hspace{0.17em}}y={\mathrm{log}}_{b}\left(x\right)\text{\hspace{0.17em}}$horizontally
• left$\text{\hspace{0.17em}}c\text{\hspace{0.17em}}$units if$\text{\hspace{0.17em}}c>0.$
• right$\text{\hspace{0.17em}}c\text{\hspace{0.17em}}$units if$\text{\hspace{0.17em}}c<0.$
• The equation$\text{\hspace{0.17em}}f\left(x\right)={\mathrm{log}}_{b}\left(x\right)+d\text{\hspace{0.17em}}$shifts the parent function$\text{\hspace{0.17em}}y={\mathrm{log}}_{b}\left(x\right)\text{\hspace{0.17em}}$vertically
• up$\text{\hspace{0.17em}}d\text{\hspace{0.17em}}$units if$\text{\hspace{0.17em}}d>0.$
• down$\text{\hspace{0.17em}}d\text{\hspace{0.17em}}$units if$\text{\hspace{0.17em}}d<0.$
• For any constant$\text{\hspace{0.17em}}a>0,$ the equation$\text{\hspace{0.17em}}f\left(x\right)=a{\mathrm{log}}_{b}\left(x\right)$
• stretches the parent function$\text{\hspace{0.17em}}y={\mathrm{log}}_{b}\left(x\right)\text{\hspace{0.17em}}$vertically by a factor of$\text{\hspace{0.17em}}a\text{\hspace{0.17em}}$if$\text{\hspace{0.17em}}|a|>1.$
• compresses the parent function$\text{\hspace{0.17em}}y={\mathrm{log}}_{b}\left(x\right)\text{\hspace{0.17em}}$vertically by a factor of$\text{\hspace{0.17em}}a\text{\hspace{0.17em}}$if$\text{\hspace{0.17em}}|a|<1.$
• When the parent function$\text{\hspace{0.17em}}y={\mathrm{log}}_{b}\left(x\right)\text{\hspace{0.17em}}$is multiplied by$\text{\hspace{0.17em}}-1,$ the result is a reflection about the x-axis. When the input is multiplied by$\text{\hspace{0.17em}}-1,$ the result is a reflection about the y-axis.
• The equation$\text{\hspace{0.17em}}f\left(x\right)=-{\mathrm{log}}_{b}\left(x\right)\text{\hspace{0.17em}}$represents a reflection of the parent function about the x-axis.
• The equation$\text{\hspace{0.17em}}f\left(x\right)={\mathrm{log}}_{b}\left(-x\right)\text{\hspace{0.17em}}$represents a reflection of the parent function about the y-axis.
• A graphing calculator may be used to approximate solutions to some logarithmic equations See [link].
• All translations of the logarithmic function can be summarized by the general equationSee [link].
• Given an equation with the general formwe can identify the vertical asymptote$\text{\hspace{0.17em}}x=-c\text{\hspace{0.17em}}$for the transformation. See [link].
• Using the general equation$\text{\hspace{0.17em}}f\left(x\right)=a{\mathrm{log}}_{b}\left(x+c\right)+d,$we can write the equation of a logarithmic function given its graph. See [link].

# Section Exercises

## Verbal

The inverse of every logarithmic function is an exponential function and vice-versa. What does this tell us about the relationship between the coordinates of the points on the graphs of each?

Since the functions are inverses, their graphs are mirror images about the line$\text{\hspace{0.17em}}y=x.\text{\hspace{0.17em}}$So for every point$\text{\hspace{0.17em}}\left(a,b\right)\text{\hspace{0.17em}}$on the graph of a logarithmic function, there is a corresponding point$\text{\hspace{0.17em}}\left(b,a\right)\text{\hspace{0.17em}}$on the graph of its inverse exponential function.

What type(s) of translation(s), if any, affect the range of a logarithmic function?

What type(s) of translation(s), if any, affect the domain of a logarithmic function?

Shifting the function right or left and reflecting the function about the y-axis will affect its domain.

Consider the general logarithmic function$\text{\hspace{0.17em}}f\left(x\right)={\mathrm{log}}_{b}\left(x\right).\text{\hspace{0.17em}}$Why can’t$\text{\hspace{0.17em}}x\text{\hspace{0.17em}}$be zero?

Does the graph of a general logarithmic function have a horizontal asymptote? Explain.

No. A horizontal asymptote would suggest a limit on the range, and the range of any logarithmic function in general form is all real numbers.

## Algebraic

For the following exercises, state the domain and range of the function.

$f\left(x\right)={\mathrm{log}}_{3}\left(x+4\right)$

$h\left(x\right)=\mathrm{ln}\left(\frac{1}{2}-x\right)$

Domain:$\text{\hspace{0.17em}}\left(-\infty ,\frac{1}{2}\right);\text{\hspace{0.17em}}$Range:$\text{\hspace{0.17em}}\left(-\infty ,\infty \right)$

$g\left(x\right)={\mathrm{log}}_{5}\left(2x+9\right)-2$

$h\left(x\right)=\mathrm{ln}\left(4x+17\right)-5$

Domain:$\text{\hspace{0.17em}}\left(-\frac{17}{4},\infty \right);\text{\hspace{0.17em}}$Range:$\text{\hspace{0.17em}}\left(-\infty ,\infty \right)$

$f\left(x\right)={\mathrm{log}}_{2}\left(12-3x\right)-3$

For the following exercises, state the domain and the vertical asymptote of the function.

$\text{\hspace{0.17em}}f\left(x\right)={\mathrm{log}}_{b}\left(x-5\right)$

Domain:$\text{\hspace{0.17em}}\left(5,\infty \right);\text{\hspace{0.17em}}$Vertical asymptote:$\text{\hspace{0.17em}}x=5$

$\text{\hspace{0.17em}}g\left(x\right)=\mathrm{ln}\left(3-x\right)$

$\text{\hspace{0.17em}}f\left(x\right)=\mathrm{log}\left(3x+1\right)$

Domain:$\text{\hspace{0.17em}}\left(-\frac{1}{3},\infty \right);\text{\hspace{0.17em}}$Vertical asymptote:$\text{\hspace{0.17em}}x=-\frac{1}{3}$

$\text{\hspace{0.17em}}f\left(x\right)=3\mathrm{log}\left(-x\right)+2$

$\text{\hspace{0.17em}}g\left(x\right)=-\mathrm{ln}\left(3x+9\right)-7$

Domain:$\text{\hspace{0.17em}}\left(-3,\infty \right);\text{\hspace{0.17em}}$Vertical asymptote:$\text{\hspace{0.17em}}x=-3$

For the following exercises, state the domain, vertical asymptote, and end behavior of the function.

$f\left(x\right)=\mathrm{ln}\left(2-x\right)$

$f\left(x\right)=\mathrm{log}\left(x-\frac{3}{7}\right)$

Domain:$\text{\hspace{0.17em}}\left(\frac{3}{7},\infty \right);\text{\hspace{0.17em}}$Vertical asymptote:$\text{\hspace{0.17em}}x=\frac{3}{7};\text{\hspace{0.17em}}$End behavior: as$\text{\hspace{0.17em}}x\to {\left(\frac{3}{7}\right)}^{+},f\left(x\right)\to -\infty \text{\hspace{0.17em}}$and as$\text{\hspace{0.17em}}x\to \infty ,f\left(x\right)\to \infty$

$h\left(x\right)=-\mathrm{log}\left(3x-4\right)+3$

$g\left(x\right)=\mathrm{ln}\left(2x+6\right)-5$

Domain:$\text{\hspace{0.17em}}\left(-3,\infty \right);\text{\hspace{0.17em}}$Vertical asymptote:$\text{\hspace{0.17em}}x=-3;\text{\hspace{0.17em}}$End behavior: as$\text{\hspace{0.17em}}x\to -{3}^{+},f\left(x\right)\to -\infty \text{\hspace{0.17em}}$and as$\text{\hspace{0.17em}}x\to \infty ,f\left(x\right)\to \infty$

$f\left(x\right)={\mathrm{log}}_{3}\left(15-5x\right)+6$

For the following exercises, state the domain, range, and x- and y-intercepts, if they exist. If they do not exist, write DNE.

$h\left(x\right)={\mathrm{log}}_{4}\left(x-1\right)+1$

Domain:$\text{\hspace{0.17em}}\left(1,\infty \right);\text{\hspace{0.17em}}$Range:$\text{\hspace{0.17em}}\left(-\infty ,\infty \right);\text{\hspace{0.17em}}$Vertical asymptote:$\text{\hspace{0.17em}}x=1;\text{\hspace{0.17em}}$x-intercept:$\text{\hspace{0.17em}}\left(\frac{5}{4},0\right);\text{\hspace{0.17em}}$y-intercept: DNE

$f\left(x\right)=\mathrm{log}\left(5x+10\right)+3$

$g\left(x\right)=\mathrm{ln}\left(-x\right)-2$

Domain:$\text{\hspace{0.17em}}\left(-\infty ,0\right);\text{\hspace{0.17em}}$Range:$\text{\hspace{0.17em}}\left(-\infty ,\infty \right);\text{\hspace{0.17em}}$Vertical asymptote:$\text{\hspace{0.17em}}x=0;\text{\hspace{0.17em}}$x-intercept:$\text{\hspace{0.17em}}\left(-{e}^{2},0\right);\text{\hspace{0.17em}}$y-intercept: DNE

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

$h\left(x\right)=3\mathrm{ln}\left(x\right)-9$

Domain:$\text{\hspace{0.17em}}\left(0,\infty \right);\text{\hspace{0.17em}}$Range:$\text{\hspace{0.17em}}\left(-\infty ,\infty \right);\text{\hspace{0.17em}}$ Vertical asymptote: $\text{\hspace{0.17em}}x=0;\text{\hspace{0.17em}}$x-intercept:$\text{\hspace{0.17em}}\left({e}^{3},0\right);\text{\hspace{0.17em}}$y-intercept: DNE

## Graphical

For the following exercises, match each function in [link] with the letter corresponding to its graph.

$d\left(x\right)=\mathrm{log}\left(x\right)$

$f\left(x\right)=\mathrm{ln}\left(x\right)$

B

$g\left(x\right)={\mathrm{log}}_{2}\left(x\right)$

$h\left(x\right)={\mathrm{log}}_{5}\left(x\right)$

C

$j\left(x\right)={\mathrm{log}}_{25}\left(x\right)$

For the following exercises, match each function in [link] with the letter corresponding to its graph.

$f\left(x\right)={\mathrm{log}}_{\frac{1}{3}}\left(x\right)$

B

$g\left(x\right)={\mathrm{log}}_{2}\left(x\right)$

$h\left(x\right)={\mathrm{log}}_{\frac{3}{4}}\left(x\right)$

C

For the following exercises, sketch the graphs of each pair of functions on the same axis.

$f\left(x\right)=\mathrm{log}\left(x\right)\text{\hspace{0.17em}}$and$\text{\hspace{0.17em}}g\left(x\right)={10}^{x}$

$f\left(x\right)=\mathrm{log}\left(x\right)\text{\hspace{0.17em}}$and$\text{\hspace{0.17em}}g\left(x\right)={\mathrm{log}}_{\frac{1}{2}}\left(x\right)$

$f\left(x\right)={\mathrm{log}}_{4}\left(x\right)\text{\hspace{0.17em}}$and$\text{\hspace{0.17em}}g\left(x\right)=\mathrm{ln}\left(x\right)$

$f\left(x\right)={e}^{x}\text{\hspace{0.17em}}$and$\text{\hspace{0.17em}}g\left(x\right)=\mathrm{ln}\left(x\right)$

For the following exercises, match each function in [link] with the letter corresponding to its graph.

$f\left(x\right)={\mathrm{log}}_{4}\left(-x+2\right)$

$g\left(x\right)=-{\mathrm{log}}_{4}\left(x+2\right)$

C

$h\left(x\right)={\mathrm{log}}_{4}\left(x+2\right)$

For the following exercises, sketch the graph of the indicated function.

$\text{\hspace{0.17em}}f\left(x\right)={\mathrm{log}}_{2}\left(x+2\right)$

$\text{\hspace{0.17em}}f\left(x\right)=2\mathrm{log}\left(x\right)$

$\text{\hspace{0.17em}}f\left(x\right)=\mathrm{ln}\left(-x\right)$

$g\left(x\right)=\mathrm{log}\left(4x+16\right)+4$

$g\left(x\right)=\mathrm{log}\left(6-3x\right)+1$

$h\left(x\right)=-\frac{1}{2}\mathrm{ln}\left(x+1\right)-3$

For the following exercises, write a logarithmic equation corresponding to the graph shown.

Use$\text{\hspace{0.17em}}y={\mathrm{log}}_{2}\left(x\right)\text{\hspace{0.17em}}$as the parent function.

$\text{\hspace{0.17em}}f\left(x\right)={\mathrm{log}}_{2}\left(-\left(x-1\right)\right)$

Use$\text{\hspace{0.17em}}f\left(x\right)={\mathrm{log}}_{3}\left(x\right)\text{\hspace{0.17em}}$as the parent function.

Use$\text{\hspace{0.17em}}f\left(x\right)={\mathrm{log}}_{4}\left(x\right)\text{\hspace{0.17em}}$as the parent function.

$f\left(x\right)=3{\mathrm{log}}_{4}\left(x+2\right)$

Use$\text{\hspace{0.17em}}f\left(x\right)={\mathrm{log}}_{5}\left(x\right)\text{\hspace{0.17em}}$as the parent function.

## Technology

For the following exercises, use a graphing calculator to find approximate solutions to each equation.

$\mathrm{log}\left(x-1\right)+2=\mathrm{ln}\left(x-1\right)+2$

$x=2$

$\mathrm{log}\left(2x-3\right)+2=-\mathrm{log}\left(2x-3\right)+5$

$\mathrm{ln}\left(x-2\right)=-\mathrm{ln}\left(x+1\right)$

$x\approx \text{2}\text{.303}$

$2\mathrm{ln}\left(5x+1\right)=\frac{1}{2}\mathrm{ln}\left(-5x\right)+1$

$\frac{1}{3}\mathrm{log}\left(1-x\right)=\mathrm{log}\left(x+1\right)+\frac{1}{3}$

$x\approx -0.472$

## Extensions

Let$\text{\hspace{0.17em}}b\text{\hspace{0.17em}}$be any positive real number such that$\text{\hspace{0.17em}}b\ne 1.\text{\hspace{0.17em}}$What must$\text{\hspace{0.17em}}{\mathrm{log}}_{b}1\text{\hspace{0.17em}}$be equal to? Verify the result.

Explore and discuss the graphs of$\text{\hspace{0.17em}}f\left(x\right)={\mathrm{log}}_{\frac{1}{2}}\left(x\right)\text{\hspace{0.17em}}$and$\text{\hspace{0.17em}}g\left(x\right)=-{\mathrm{log}}_{2}\left(x\right).\text{\hspace{0.17em}}$Make a conjecture based on the result.

The graphs of$\text{\hspace{0.17em}}f\left(x\right)={\mathrm{log}}_{\frac{1}{2}}\left(x\right)\text{\hspace{0.17em}}$and$\text{\hspace{0.17em}}g\left(x\right)=-{\mathrm{log}}_{2}\left(x\right)\text{\hspace{0.17em}}$appear to be the same; Conjecture: for any positive base$\text{\hspace{0.17em}}b\ne 1,$$\text{\hspace{0.17em}}{\mathrm{log}}_{b}\left(x\right)=-{\mathrm{log}}_{\frac{1}{b}}\left(x\right).$

Prove the conjecture made in the previous exercise.

What is the domain of the function$\text{\hspace{0.17em}}f\left(x\right)=\mathrm{ln}\left(\frac{x+2}{x-4}\right)?\text{\hspace{0.17em}}$Discuss the result.

Recall that the argument of a logarithmic function must be positive, so we determine where$\text{\hspace{0.17em}}\frac{x+2}{x-4}>0\text{\hspace{0.17em}}$. From the graph of the function$\text{\hspace{0.17em}}f\left(x\right)=\frac{x+2}{x-4},$ note that the graph lies above the x-axis on the interval$\text{\hspace{0.17em}}\left(-\infty ,-2\right)\text{\hspace{0.17em}}$and again to the right of the vertical asymptote, that is$\text{\hspace{0.17em}}\left(4,\infty \right).\text{\hspace{0.17em}}$Therefore, the domain is$\text{\hspace{0.17em}}\left(-\infty ,-2\right)\cup \left(4,\infty \right).$

Use properties of exponents to find the x-intercepts of the function$\text{\hspace{0.17em}}f\left(x\right)=\mathrm{log}\left({x}^{2}+4x+4\right)\text{\hspace{0.17em}}$algebraically. Show the steps for solving, and then verify the result by graphing the function.

Tải về
Đánh giá:
0 dựa trên 0 đánh giá
Nội dung cùng tác giả

Nội dung tương tự