Transformations of Logarithmic Functions
You’ve already transformed parabolas, exponential functions, and sine curves with the same four parameters. Logarithmic functions work exactly the same way. The one thing to keep an eye on is the vertical asymptote: it moves left and right with the graph, and it decides the domain.
Key ideas
Section titled “Key ideas”The transformed logarithmic function
Section titled “The transformed logarithmic function”With no base written, is a transformation of the common logarithm . The parameters do the same jobs as for any function:
| Parameter | Effect |
|---|---|
| vertical stretch or compression by ; reflection in the -axis if | |
| horizontal stretch or compression by ; reflection in the -axis if | |
| horizontal translation | |
| vertical translation |
The mapping rule is .
The asymptote moves with d
Section titled “The asymptote moves with d”The parent has the vertical asymptote . A vertical line is only moved by horizontal translations, so after the transformation:
- the vertical asymptote is
- the domain is if , or if (a reflection in the -axis flips the graph to the other side of the asymptote)
- the range is still all real numbers
Stretches and vertical shifts don’t move the asymptote at all. (Compare exponential functions, where the asymptote is horizontal and moves with .)
Key points to map
Section titled “Key points to map”| Parent | Key points |
|---|---|
| , , | |
| , , , , | |
| , , |
Map the key points and the asymptote, then draw a smooth curve that approaches the new asymptote.
Two descriptions of the same graph
Section titled “Two descriptions of the same graph”Some transformations of a log graph can be described in two ways. For example, is a horizontal stretch by a factor of , but it’s also the same graph as , a translation units down. Example 4 shows why. You saw the same thing with exponential functions, where is both a horizontal translation and a vertical stretch.
Worked examples
Section titled “Worked examples”Example 1: Describing transformations
Section titled “Example 1: Describing transformations”Describe how relates to . State the asymptote, domain, and range.
Solution. Here , , , and .
- A vertical stretch by a factor of and a reflection in the -axis.
- A translation units right and unit up.
The asymptote moves right : . Since , the domain is . The range is .
Example 2: Sketching with mapping notation
Section titled “Example 2: Sketching with mapping notation”Sketch . State the asymptote, domain, range, and intercepts.
Solution. , , and , so the mapping rule is .
The asymptote moves left , to .
Domain ; range .
-intercept: , which matches the graph crossing the -axis between and .
-intercept: set :
Example 3: Factoring out k
Section titled “Example 3: Factoring out k”Describe the transformations in , map the points , , and , and state the asymptote and domain.
Solution. First factor out the coefficient of :
So and : a horizontal compression by a factor of , then a translation units right. The mapping rule is :
The asymptote is and the domain is .
Check: at , . ✓ Also, the argument is positive exactly when , which confirms the domain.
Example 4: The same graph, two ways
Section titled “Example 4: The same graph, two ways”Show that and have the same graph. Describe each as a transformation of .
Solution. Pick any and write it as a power of : , so . Since ,
So the two equations give the same for every , and the graphs are identical.
- : a horizontal stretch by a factor of (the rule is ).
- : a translation units down.
Check with a point: on maps to under the stretch and to under the translation. Both are on : ✓ and ✓.
Common mistakes
Section titled “Common mistakes”Moving the asymptote with . A log graph’s asymptote is vertical, so only moves it. has asymptote , not .
Reading the horizontal shift with the wrong sign. moves the graph left , and the domain becomes .
Not factoring out . is : the shift is right, not . A quick check: the asymptote is where the argument equals , and at .
Getting the domain backwards after a reflection in the -axis. If , the graph is on the left of the asymptote. For the domain is .
Using the exponential’s key points. The log graph doesn’t pass through . Start from and (for base , and ).
Practice
Section titled “Practice”1. (Warm-up) State the asymptote and domain of .
Solution
Asymptote ; domain .
2. (Warm-up) Describe the transformations that take to .
Solution
A vertical stretch by a factor of , then a translation units up. The asymptote stays at .
3. (Warm-up) Describe the transformation that takes to , and state the domain.
Solution
A reflection in the -axis. The domain is .
4. (Core) For , map the points , , , and of . State the asymptote, domain, and range.
Solution
The mapping rule is :
Asymptote ; domain ; range .
5. (Core) For :
- (a) Describe the transformations.
- (b) Map , , and .
- (c) Find the intercepts and state the asymptote.
Solution
(a) A vertical stretch by a factor of , a reflection in the -axis, and a translation unit left and units up.
(b) The rule is :
(c) The -intercept is (from the point ). For the -intercept, gives , so and . The asymptote is .
6. (Core) Describe the transformations in and map , , and . Then show that the graph is also a vertical translation of .
Solution
Factor: . A horizontal compression by a factor of , then a translation units left. The rule is :
Since , write . Then . So the graph is also translated units up.
Check: at , , which matches . ✓
7. (Core) A function of the form passes through and . Find and .
Solution
At : , so .
At : , so .
The function is .
8. (Challenge) For , describe the transformations, map , , and , and state the asymptote and domain.
Solution
and : a horizontal compression by a factor of , a reflection in the -axis, and a translation units right. The rule is :
Asymptote . Because , the graph is to the left of the asymptote: the domain is .
Check: at , . ✓
9. (Challenge) The point is on the graph of . Which point on did it come from?
Solution
The rule is . Work backwards:
It came from , which is on since . ✓
Homework
Section titled “Homework”Try these independently after the practice questions. Show your setup and explain your reasoning. Use exact answers where possible, and check that your answers fit the question. Homework solutions are not provided on the published site.
State domains and ranges in set notation, and use mapping notation for key points.
Foundations
Section titled “Foundations”H1. (Foundations) For each function, describe the transformations of the parent function, then state the vertical asymptote, domain, and range.
- (a)
- (b)
- (c)
H2. (Foundations) Consider .
- (a) Write the mapping rule.
- (b) Map the key points , , , and of .
- (c) State the asymptote, domain, and range, and sketch the graph.
H3. (Core) Consider .
- (a) Rewrite the equation so that you can read off and . Describe the transformations.
- (b) Map , , and .
- (c) State the asymptote and domain. Then find the -intercept algebraically and check that it matches one of your mapped points.
- (d) Find the -intercept, rounded to two decimal places.
H4. (Core) Find the intercepts of each function, if they exist.
- (a) . Also find the -value where .
- (b) . Give the exact -intercept and a decimal to two places, and explain why there is no -intercept.
H5. (Core) Write an equation for each transformed function, and state its asymptote and domain.
- (a) is stretched vertically by a factor of , reflected in the -axis, compressed horizontally by a factor of , and then translated units left and unit up. Also find the image of and check it in your equation.
- (b) is stretched vertically by a factor of , reflected in the -axis, and then translated units right. Also find the images of , , and .
H6. (Core) Sound level in decibels (dB) can be written as , where is the sound intensity in watts per square metre ().
- (a) Describe how the graph of against is a transformation of . What is the domain in this context?
- (b) A (hypothetical) reading on a busy Montréal street is . Find .
- (c) Show that the formula can also be written as , and describe the transformations in this form.
- (d) A power tool is rated at dB. Find its intensity, exactly and in scientific notation to three significant figures.
Challenge
Section titled “Challenge”H7. (Challenge) A student wrote: ” is compressed horizontally by a factor of and translated units right. So the asymptote is and the domain is .”
- (a) Find and explain the error.
- (b) Give the correct asymptote and domain, and map , , and .
- (c) Evaluate at . Explain how this alone shows the student’s asymptote can’t be right.
H8. (Challenge) A function of the form passes through and .
- (a) Find and .
- (b) State the asymptote and domain.
- (c) Find the exact -intercept and round it to two decimal places.
H9. (Challenge) Mei says and must be different graphs, because one is a horizontal compression and the other is a vertical translation.
- (a) Make a table of values of both functions at , , , and . What do you notice?
- (b) Explain why the two equations give the same -value for every . (Hint: write .)
- (c) Mei then claims is also the same graph as . Show that she is wrong.
- (d) Write as a vertical translation of .
H10. (Challenge) A function of the form has the vertical asymptote and passes through .
- (a) Find and .
- (b) Explain why no positive value of could work.
- (c) State the domain and find the -intercept.