Horizontal and Vertical Shifts of Logarithmic Functions
Learning Outcomes
- Graph horizontal and vertical shifts of logarithmic functions.
Graphing a Horizontal Shift of
When a constant c is added to the input of the parent function , the result is a horizontal shift c units in the opposite direction of the sign on c. To visualize horizontal shifts, we can observe the general graph of the parent function alongside the shift left, , and the shift right, where c > 0.Try it
Using an online graphing calculator, plot the functions and Investigate the following questions:- Adjust the value to 4.
- Which direction does the graph of shift? What is the vertical asymptote, x-intercept, and equation for this new function? How do the domain and range change?
- Which direction does the graph of shift? What is the vertical asymptote, x-intercept, and equation for this new function? How do the domain and range change?

A General Note: Horizontal Shifts of the Parent Function
For any constant c, the function- shifts the parent function left c units if c > 0.
- shifts the parent function right c units if c < 0.
- has the vertical asymptote x = –c.
- has domain .
- has range .
How To: Given a logarithmic function Of the form , graph the Horizontal Shift
- Identify the horizontal shift:
- If c > 0, shift the graph of left c units.
- If c < 0, shift the graph of right c units.
- Draw the vertical asymptote x = –c.
- Identify three key points from the parent function. Find new coordinates for the shifted functions by subtracting c from the x coordinate in each point.
- Label the three points.
- The domain is , the range is , and the vertical asymptote is x = –c.
tip for success
Logarithm functions follow the same principles as the other toolkit functions with regard to translations.Example: Graphing a Horizontal Shift of the Parent Function
Sketch the horizontal shift alongside its parent function. Include the key points and asymptotes on the graph. State the domain, range, and asymptote.Answer:
Since the function is , we notice .
Thus c = –2, so c < 0. This means we will shift the function right 2 units.
The vertical asymptote is or x = 2.
Consider the three key points from the parent function: , , and .
The new coordinates are found by adding 2 to the x coordinates of each point.
Plot and label the points , , and .
The domain is , the range is , and the vertical asymptote is x = 2.
Try It
Sketch a graph of alongside its parent function. Include the key points and asymptotes on the graph. State the domain, range, and asymptote.Answer:
The domain is , the range , and the asymptote x = –4.
Graphing a Vertical Shift of
When a constant d is added to the parent function , the result is a vertical shift d units in the direction of the sign of d. To visualize vertical shifts, we can observe the general graph of the parent function alongside the shift up, , and the shift down, .
A General Note: Vertical Shifts of the Parent Function
For any constant d, the function- shifts the parent function up d units if d > 0.
- shifts the parent function down d units if d < 0.
- has the vertical asymptote x = 0.
- has domain .
- has range .
How To: Given a logarithmic function Of the form , graph the Vertical Shift
- Identify the vertical shift:
- If d > 0, shift the graph of up d units.
- If d < 0, shift the graph of down d units.
- Draw the vertical asymptote x = 0.
- Identify three key points from the parent function. Find new coordinates for the shifted functions by adding d to the y coordinate of each point.
- Label the three points.
- The domain is , the range is , and the vertical asymptote is x = 0.
Example: Graphing a Vertical Shift of the Parent Function
Sketch a graph of alongside its parent function. Include the key points and asymptote on the graph. State the domain, range, and asymptote.Answer: Since the function is , we notice d = –2. Thus d < 0. This means we will shift the function down 2 units. The vertical asymptote is x = 0. Consider the three key points from the parent function, , , and . The new coordinates are found by subtracting 2 from the y coordinates of each point. Label the points , , and .

Try It
Sketch a graph of alongside its parent function. Include the key points and asymptote on the graph. State the domain, range, and asymptote.Answer: The domain is , the range is , and the vertical asymptote is x = 0.