DoAssignment.ca
A2.3 · Transform logarithmic function graphs
Learn to transform logarithmic function graphs through clear examples and targeted practice.
Ontario Grade 12 Mathematics
Exponential and Logarithmic Functions
Reading and applying shifts, stretches, and reflections
A logarithmic graph can be shifted, stretched, or reflected by changing its equation. To sketch the new graph, start with the basic logarithmic shape, track how its points move, and check its vertical asymptote and domain. This lesson focuses on those graph transformations.
What you will learn
- Identify the transformations in a logarithmic function.
- Use key points and the vertical asymptote to sketch a transformed graph.
- Determine a logarithmic graph's domain and describe how its shape changes.
1. Prerequisite bridge: the basic logarithmic graph
A logarithm answers an exponent question. For example, because . The basic logarithmic function is , where the base satisfies and .
The input must be positive. So the graph has no points at or to the left of the vertical line . This line is a vertical asymptote: the graph approaches it but does not meet it.
For a base greater than , the basic graph rises from left to right. Useful points include and , since and . These points help anchor a sketch.
- The parent graph is .
- Its domain is , and its vertical asymptote is .
- When , the graph increases from left to right.
2. Plain language: what changes in the equation?
A transformed logarithmic function can be written as . The constants change the parent graph in predictable ways. The number shifts the graph horizontally, and shifts it vertically.
The factor acts outside the logarithm. If its absolute value is greater than , it stretches the graph vertically; if it is between and , it compresses the graph vertically. A negative reflects the graph across the horizontal axis before the vertical shift.
The factor acts on the input inside the logarithm. Its horizontal scale factor is : values of |k| greater than compress the graph horizontally, while values between and stretch it horizontally. A negative reflects the graph horizontally as well. Track the expression inside the logarithm carefully because it determines which side of the asymptote is in the domain.
- gives the horizontal shift and gives the vertical shift.
- controls vertical stretch or compression and may reflect the graph.
- controls horizontal stretch or compression and may reflect the graph.
3. Multiple representations: points, asymptote, and domain
A reliable way to transform a graph is to map points from the parent graph. For a parent point , the corresponding point on the transformed graph is . The input is adjusted by the inside factor and horizontal shift; the output is adjusted by the outside factor and vertical shift.
The vertical asymptote of the parent graph occurs where its input is zero. For the transformed function, set . Since is nonzero, the asymptote is . The domain comes from requiring the logarithm's input to be positive: . If is positive, the domain is . If is negative, it is .
A sketch should show the asymptote as a dashed vertical line, plot transformed points, and draw the logarithmic curve on the allowed side. The curve approaches the asymptote but never crosses it. The sign of and the base also help determine whether the graph rises or falls.
- Map each parent point with .
- The vertical asymptote is .
- The domain is determined by .
4. From equation to sketch
Use a consistent order when sketching. First identify the parent function and its familiar points. Next read the horizontal and vertical changes from the equation. Then find the asymptote and domain, map the points, and draw the curve on the correct side.
When the input is written in a form such as , use that form directly to locate the asymptote. Avoid treating every number inside the logarithm as a simple shift. For example, the horizontal factor changes point locations as well as the graph's width.
Check that every plotted point has a positive logarithm input. A point outside the domain cannot belong to the graph, even if it appears to fit a careless transformation.
- Use the input of the logarithm to find the domain and asymptote.
- Use mapped points to preserve the graph's shape and placement.
- Keep the sketch on the side allowed by the domain.
Point mapping for the worked graph
| Parent point | Transformed point |
|---|---|
Worked example
Sketch a transformed logarithmic graph
Describe the transformations, domain, vertical asymptote, and three useful points for .
- Identify the parent graphThe parent function is . Its convenient points are , , and . The base is greater than , so the parent graph rises from left to right.
- Read the transformationsRewrite the inside as . Thus , , , and . The graph shifts left , compresses horizontally by a factor of , reflects across the horizontal axis, stretches vertically by a factor of , and shifts up .
- Find the asymptote and domainThe asymptote is at . The logarithm's input must be positive. Since the factor is positive, the graph exists to the right of the asymptote.
- Map the parent pointsFor each parent point, use the input mapping and output mapping . Applying these rules gives three points on the transformed graph.
- Sketch the curveDraw the vertical asymptote at , then plot the three mapped points to its right. The reflected graph falls as increases. Draw a smooth logarithmic curve through the points that approaches the asymptote without touching it.
Answer: The graph has domain and vertical asymptote . It passes through , , and , and falls from left to right.
Check: Substituting each mapped input into gives, respectively, , , and , matching the parent inputs. All three inputs are positive.
Common mistakes and how to avoid them
Saying the horizontal scale factor is |k|.
Correction: For an input of , the horizontal scale factor is . A larger |k| makes the graph narrower.
Using as the domain boundary without checking which side is allowed.
Correction: Solve . The sign of determines whether the domain is to the right or left of the asymptote.
Reflecting the graph across the horizontal axis when is negative.
Correction: A negative outside factor reflects across the horizontal axis. A negative inside factor changes the horizontal orientation and the allowed side.
Drawing the graph through its vertical asymptote.
Correction: The asymptote marks a boundary the logarithmic graph approaches but does not reach.
Lesson summary
- Start with the parent graph and its key points.
- For , and change vertical position or shape; and change horizontal position or shape.
- The asymptote is , and the domain is found from .
- Map parent points, check the domain, and sketch the curve on the permitted side.
Check your understanding
Question 1
For , what is the vertical asymptote?
Show answer and explanation
The inside is , so it is zero at . That gives the vertical asymptote.
Question 2
What is the domain of ?
- All real
Show answer and explanation
The logarithm input must be positive: . Solving gives .
Question 3
For , what happens to the parent graph?
- It is stretched vertically by a factor of .
- It is compressed vertically by a factor of .
- It is reflected across the horizontal axis.
- It shifts right by .
Show answer and explanation
It is compressed vertically by a factor of .
The outside multiplier is positive and less than , so it compresses the graph vertically by a factor of .
Key terms
- Logarithm
- An exponent that tells what power of a base produces a given value.
- Vertical asymptote
- A vertical line that a graph approaches but does not reach.
- Domain
- The set of input values for which a function is defined.
- Reflection
- A flip of a graph across a line, such as a horizontal or vertical axis.
Continue through MHF4U
View the complete MHF4U Ontario Grade 12 Mathematics curriculum and lessons
- A1.1 · Interpret and evaluate logarithms
- A1.2 · Approximate logarithms in any base with technology
- A1.3 · Connect logarithmic and exponential equations
- A1.4 · Apply the laws of logarithms and exponents
- A2.1 · Graph logarithmic functions and identify key features
- A2.2 · Relate exponential and logarithmic functions as inverses
About this lesson
Published by DoAssignment. This AI-assisted lesson follows Ontario Grade 12 Mathematics (MHF4U), expectation A2.3. It is a study resource, not an official curriculum publication.