Paul's Online Notes
Paul's Online Notes
Home / Algebra / Common Graphs / Transformations
Show Mobile Notice Show All Notes Hide All Notes
Mobile Notice
You appear to be on a device with a "narrow" screen width (i.e. you are probably on a mobile phone). Due to the nature of the mathematics on this site it is best viewed in landscape mode. If your device is not in landscape mode many of the equations will run off the side of your device (you should be able to scroll/swipe to see them) and some of the menu items will be cut off due to the narrow screen width.

Section 4.6 : Transformations

In this section we are going to see how knowledge of some fairly simple graphs can help us graph some more complicated graphs. Collectively the methods we’re going to be looking at in this section are called transformations.

Vertical Shifts

The first transformation we’ll look at is a vertical shift.

Given the graph of \(f\left( x \right)\) the graph of \(g\left( x \right) = f\left( x \right) + c\) will be the graph of \(f\left( x \right)\) shifted up by \(c\) units if \(c\) is positive and or down by \(c\) units if \(c\) is negative.

So, if we can graph \(f\left( x \right)\) getting the graph of \(g\left( x \right)\) is fairly easy. Let’s take a look at a couple of examples.

Example 1 Using transformations sketch the graph of the following functions.
  1. \(g\left( x \right) = {x^2} + 3\)
  2. \(f\left( x \right) = \sqrt x - 5\)
Show All Solutions Hide All Solutions
Show Discussion

The first thing to do here is graph the function without the constant which by this point should be fairly simple for you. Then shift accordingly.


a \(g\left( x \right) = {x^2} + 3\) Show Solution
b \(f\left( x \right) = \sqrt x - 5\) Show Solution

So, vertical shifts aren’t all that bad if we can graph the "base" function first. Note as well that if you’re not sure that you believe the graphs in the previous set of examples all you need to do is plug a couple values of \(x\) into the function and verify that they are in fact the correct graphs.

Horizontal Shifts

These are fairly simple as well although there is one bit where we need to be careful.

Given the graph of \(f\left( x \right)\) the graph of \(g\left( x \right) = f\left( {x + c} \right)\) will be the graph of \(f\left( x \right)\) shifted left by \(c\) units if \(c\) is positive and or right by \(c\) units if \(c\) is negative.

Now, we need to be careful here. A positive \(c\) shifts a graph in the negative direction and a negative \(c\) shifts a graph in the positive direction. They are exactly opposite than vertical shifts and it’s easy to flip these around and shift incorrectly if we aren’t being careful.

Example 2 Using transformations sketch the graph of the following functions.
  1. \(h\left( x \right) = {\left( {x + 2} \right)^3}\)
  2. \(g\left( x \right) = \sqrt {x - 4} \)
Show All Solutions Hide All Solutions
a \(h\left( x \right) = {\left( {x + 2} \right)^3}\) Show Solution

Okay, with these we need to first identify the "base" function. That is the function that’s being shifted. In this case it looks like we are shifting \(f\left( x \right) = {x^3}\). We can then see that,

\[h\left( x \right) = {\left( {x + 2} \right)^3} = f\left( {x + 2} \right)\]

In this case \(c = 2\) and so we’re going to shift the graph of \(f\left( x \right) = {x^3}\) (the dotted line on the graph below) and move it 2 units to the left. This will mean subtracting 2 from the \(x\) coordinates of all the points on \(f\left( x \right) = {x^3}\).

Here is the graph for this problem.

[画像:The domain of this graph is from -4 to 2 while the range is from -8 to 8. There are two functions graphed here. The graph of $x^{3}$ is graphed with a dotted line. You should be somewhat familiar with the graph of cubics by know, but if not it starts at (-2,-8) and increases with a vaguely cupped downward curvature until it goes through the origin horizontally. As the graph moves into the 1st quadrant it continues to increase only it is now cupped vaguely upward as it increases until it ends at (2,8). The graph of $(x+2)^{3}$ is graphed with a solid line and is looks exactly like the graph of $x^{3}$ except that it is shifted over to the left by 2 units. So, it starts at (-4,8) and increases until it moves through the point (-2,0) horizontally and then continues to increase until ending at (0,8).]

b \(g\left( x \right) = \sqrt {x - 4} \) Show Solution

Vertical and Horizontal Shifts

Now we can also combine the two shifts we just got done looking at into a single problem. If we know the graph of \(f\left( x \right)\) the graph of \(g\left( x \right) = f\left( {x + c} \right) + k\) will be the graph of \(f\left( x \right)\) shifted left or right by \(c\) units depending on the sign of \(c\) and up or down by \(k\) units depending on the sign of \(k\).

Let’s take a look at a couple of examples.

Example 3 Use transformation to sketch the graph of each of the following.
  1. \(f\left( x \right) = {\left( {x - 2} \right)^2} + 4\)
  2. \(g\left( x \right) = \left| {x + 3} \right| - 5\)
Show All Solutions Hide All Solutions
a \(f\left( x \right) = {\left( {x - 2} \right)^2} + 4\) Show Solution
b \(g\left( x \right) = \left| {x + 3} \right| - 5\) Show Solution

Reflections

The final set of transformations that we’re going to be looking at in this section aren’t shifts, but instead they are called reflections and there are two of them.

Reflection about the \(x\)-axis

Given the graph of \(f\left( x \right)\) then the graph of \(g\left( x \right) = - f\left( x \right)\) is the graph of \(f\left( x \right)\) reflected about the \(x\)-axis. This means that the signs on the all the \(y\) coordinates are changed to the opposite sign.

Reflection about the \(y\)-axis

Given the graph of \(f\left( x \right)\) then the graph of \(g\left( x \right) = f\left( { - x} \right)\) is the graph of \(f\left( x \right)\) reflected about the \(y\)-axis. This means that the signs on the all the \(x\) coordinates are changed to the opposite sign.

Here is an example of each.

Example 4 Using transformation sketch the graph of each of the following.
  1. \(g\left( x \right) = - {x^2}\)
  2. \(h\left( x \right) = \sqrt { - x} \)
Show All Solutions Hide All Solutions
a \(g\left( x \right) = - {x^2}\) Show Solution
b \(h\left( x \right) = \sqrt { - x} \) Show Solution

Now with this one let’s first address the minus sign under the square root in more general terms. We know that we can’t take the square roots of negative numbers, however the presence of that minus sign doesn’t necessarily cause problems. We won’t be able to plug positive values of \(x\) into the function since that would give square roots of negative numbers. However, if \(x\) were negative, then the negative of a negative number is positive and that is okay. For instance,

\[h\left( { - 4} \right) = \sqrt { - \left( { - 4} \right)} = \sqrt 4 = 2\]

So, don’t get all worried about that minus sign.

Now, let’s address the reflection here. Since the minus sign is under the square root as opposed to in front of it we are doing a reflection about the \(y\)-axis. This means that we’ll need to change all the signs of points on \(\sqrt x \).

Note as well that this syncs up with our discussion on this minus sign at the start of this part.

Here is the graph for this function.

[画像:The domain of this graph is from -5 to 5 while the range is from 0 to 2.5. There are two functions graphed here. The graph of $\sqrt{x}$ is graphed with a dotted line. You should be somewhat familiar with the graph of square roots by know, but if not it starts at the origin and increases fairly sharply out of the origin into the 1st quadrant between 0<x<0.2 or so and then bends over to the right with the rate of increase slowing down as it goes through the points (1,1) and (4,2). The graph of $\sqrt{-x}$ is graphed with a solid line and is looks exactly like the graph of $\sqrt{x}$ except that it is reflected about the y-axis. So, it still starts at (0,0) and it still increases fairly sharply out of the origin but it now increases into the 2nd quadrant rather than the 1st quadrant. After about x=-0.2 it bends over to the left and the rate of increase slows as it moves through the points (-1,1) and (-4,2).]
[Contact Me] [Privacy Statement] [Site Help & FAQ] [Terms of Use]
© 2003 - 2025 Paul Dawkins
Page Last Modified : 11/16/2022

AltStyle によって変換されたページ (->オリジナル) /