Skip to main content

Section 1.6 Transformations and symmetry

Subsection Learning Goals

  • Learn about transformations of functions and how they influence the shape of a graph.
  • Understand how the definitions of even and odd functions correspond to certain types of symmetry in the graph of a function.
  • Determine algebraically whether a function is even, odd, or neither.
  • Application: the vertex form of a quadratic function arises from a series of transformations of the function \(y=x^2\text{.}\)

Subsection Transformations

Having become more or less acquainted with a few families of functions (linear functions, power functions, polynomials, rational functions, etc.), we now try to extend our knowledge to various arithmetic combinations of these basic types.
In this section we will focus on a particularly simple case of such combinations. Namely, we will consider the following types of function operations, called function transformations:
\begin{align*} f(x) \amp \longmapsto g(x)=f(x)+c\\ f(x) \amp \longmapsto g(x)=cf(x)\\ f(x) \amp \longmapsto g(x)=f(x+c)\\ f(x) \amp \longmapsto g(x)=f(cx)\text{,} \end{align*}
where \(c\) is a constant. In each case above, the function \(g\) above is the result of a β€œshifting” or β€œscaling” by the constant \(c\text{;}\) and furthermore, this shifting/scaling is applied either to the output \(f(x)\) (the β€œoutside” of the function), or to the input \(x\) (the β€œinside” of the function). What exactly is the result of this shifting and scaling, and what difference does it make to do so on the inside versus the outside of the function?

Example 1.6.1. Desmos: function transformations.

The Desmos interactive in FigureΒ 1.6.2 allows you to explore the graphical relationship between an original function \(f\) and four different type of transformations of \(f\text{:}\)
\begin{align*} g(x) \amp =f(x)+a\\ g(x) \amp =b\,f(x)\\ g(x) \amp =f(x+c)\\ g(x) \amp =d\,f(x)\text{.} \end{align*}
Articulate what effect these operations have on the graph of \(f\text{.}\)
Figure 1.6.2. Desmos interactive: graphical effect of function transformations
Hopefully, the Desmos interactive strongly suggests a graphical interpretation of each of the four different types of transformations. Our next two examples take on the two additive transformations:
\begin{align*} f(x) \amp \longmapsto g(x)=f(x)+c\\ f(x) \amp \longmapsto g(x)=f(x+c) \text{.} \end{align*}

Example 1.6.3. Vertical shift.

The key to understanding the graphical effect of the transformation
\begin{equation*} f(x)\longmapsto g(x)=f(x)+c \end{equation*}
is the observation that a point \(P=(x,y)\) lies on the graph of \(f\) if and only if the point \(Q=(x,y+c)\) lies on the graph of \(g\text{.}\) This is because
\begin{equation*} f(x)=y \iff f(x)+c=y+c \iff g(x)=y+c\text{.} \end{equation*}
As a result, the graph of \(g(x)=f(x)+c\) is obtained from the graph of \(f\) by β€œshifting” it a directed distance of \(c\) units. The modifier β€œdirected” is used here to take notice of the sign of \(c\text{.}\) More directly, assuming \(c\geq 0\text{,}\) we have the following graphical interpretation:
  • the graph of \(g(x)=f(x)+c\) is obtained from the graph of \(f\) by shifting up \(c\) units;
  • the graph of \(g(x)=f(x)-c\) is obtained from the graph of \(f\) by shifting down \(c\) units.
Figure 1.6.4. \(y=f(x)+2\) shifts \(f(x)\) up two units. \(y=f(x)-2\) shifts \(f(x)\) down two units.

Example 1.6.5. Horizontal shift.

Similarly, to understand the graphical effect of the transformation
\begin{equation*} f(x)\longmapsto g(x)=f(x+c) \end{equation*}
we observe that a point \(P=(x,y)\) lies on the graph of \(f\) if and only if the point \(Q=(x-c, y)\) lies on the graph of \(g\text{.}\) This is because
\begin{equation*} f(x)=y \iff f((x-c)+c)=y\iff g(x-c)=y\text{.} \end{equation*}
As a result, we obtain the graph of \(g(x)=f(x+c)\) by β€œshifting” the graph of \(f\) by the directed distance \(-c\text{.}\) More directly, assuming \(c\geq 0\text{,}\) we conclude:
  • the graph of \(g(x)=f(x+c)\) is obtained from the graph of \(f\) by shifting \(c\) units to the left;
  • the graph of \(g(x)=f(x-c)\) is obtained from the graph of \(f\) by shifting \(c\) units to the right.
Figure 1.6.6. \(y=f(x+5)\) shifts \(f(x)\) left five units. \(y=f(x-5)\) shifts \(f(x)\) right five units.
Our next two examples take a closer look at our multiplicative transformations
\begin{align*} f(x) \amp \longmapsto g(x)=cf(x)\\ f(x) \amp \longmapsto g(x)=f(cx)\text{.} \end{align*}
For these transformations, both the sign and size of the constant \(c\) have a significant effect on the resulting graphical transformation. Our next examples consider the case where \(c> 0\text{.}\)

Example 1.6.7. Vertical scaling.

Assume \(c> 0\) and consider the transformation
\begin{equation*} f(x)\longmapsto g(x)=cf(x)\text{.} \end{equation*}
A point \(P=(x,y)\) lies on the graph of \(f\) if and only the point \(Q=(x,cy)\) lies on the graph of \(g\text{.}\) This is because
\begin{equation*} f(x)=y \iff cf(x)=cy \iff g(x)=cy\text{.} \end{equation*}
As a result, the graph of \(g\) is obtained by taking points on the graph of \(f\) and β€œscaling” their \(y\)-coordinates by the constant \(c\text{.}\) This has the graphical effect of vertically stretching (if \(c> 1\)) or vertically shrinking (if \(c< 1\)) the graph of \(f\text{.}\)
Figure 1.6.8. \(y=2f(x)\) stretches \(f(x)\) vertically by 2. \(y=\frac{1}{2}f(x)\) shrinks \(f(x)\) vertically by 2.

Example 1.6.9. Horizontal scaling.

Assume \(c> 0\) and now consider the transformation
\begin{equation*} f(x)\longmapsto g(x)=f(cx)\text{.} \end{equation*}
A point \(P=(x,y)\) lies on the graph of \(f\) if and only the point \(Q=(x,\tfrac{1}{c}\,y)\) lies on the graph of \(g\text{.}\) This is because
\begin{equation*} f(x)=y \iff f(c(x/c))=y \iff g(x/c)=y\text{.} \end{equation*}
As a result, the graph of \(g\) is obtained by taking points on the graph of \(f\) and β€œscaling” their \(x\)-coordinates by the constant \(1/c\text{.}\) This has the graphical effect of horizontally stretching (if \(c< 1\)) or vertically shrinking (if \(c> 1\)) the graph of \(f\text{.}\)
Horizontal scaling of graphs
Figure 1.6.10. \(y=f(2x)\) compresses \(f(x)\) horizontally by 2. \(y=f\left(\frac{1}{2}x\right)\) stretches \(f(x)\) horizontally by 2.

Remark 1.6.11. Transformations: vertical versus horizontal effects.

A clear pattern emerges from the four types of transformations we have considered. Transformations that affect the output \(f(x)\) (the β€œoutside” of the function) have a vertical effect on the graph of the function, while transformations that affect the input \(x\) (the β€œinside” of the function) have a horizontal effect on the graph of the function. Furthermore, for both types of transformations, additive changes (\(+c\)) result in shifts, while multiplicative changes (\(\cdot c\)) result in stretches or shrinks.
Note also that the transformations involving the input give rise to a graphical effect that is the reverse of what you might have initially expected. For example, the transformation \(f(x)\longmapsto f(x+3)\) shifts the graph of \(f\) to the left by 3 units, not to the right. Similarly, the transformation \(f(x)\longmapsto f(2x)\) shrinks the graph of \(f\) horizontally by a factor of 2, rather than stretching it.
It remains only to consider our scaling transformations
\begin{align*} f(x) \amp \longmapsto g(x)=cf(x)\\ f(x) \amp \longmapsto g(x)=f(cx) \end{align*}
for a negative constant \(c\text{.}\) We can answer that question just by looking at what happens when we multiply by \(-1\text{.}\)

Example 1.6.12. Vertical and horizontal reflection.

Following the same chain of logic as in the examples above we observe that a point \(P=(x,y)\) lies on the graph of \(f\) if and only if the point \(Q=(x,-y)\) lies on the graph of \(g(x)=-f(x)\text{.}\) Graphically, this means that the graph of \(g=-f(x)\) is obtained by reflecting the graph of \(f\) across the \(x\)-axis.
Similarly, a point \(P=(x,y)\) lies on the graph of \(f\) if and only if the point \(Q=(-x,y)\) lies on the graph of \(g(x)=f(-x)\text{.}\) Graphically, this means that the graph of \(g=f(-x)\) is obtained by reflecting the graph of \(f\) across the \(y\)-axis.
Figure 1.6.13. \(y=f(-x)\) reflects across the \(y\)-axis (red). \(y=-f(x)\) reflects across the \(x\)-axis (green).
So how do we understand a transformation like
\begin{equation*} f(x)\longmapsto g(x)=f(-2x)\text{?} \end{equation*}
The key is to think of this as a sequence of two transformations:
\begin{equation*} f(x)\xmapsto{\phantom{xx}\text{reflect}\phantom{xx}} f(-x)\xmapsto{\phantom{xx}\text{scale}\phantom{xx}} f(-2x)\text{.} \end{equation*}
The first transformation reflects the graph of \(f\) across the \(y\)-axis; the second shrinks the resulting graph by a factor of two. Combined, we see that the transformation
\begin{equation*} f(x)\longmapsto g(x)=f(-2x) \end{equation*}
reflects the graph of \(f\) across the \(y\)-axis and then shrinks it horizontally by a factor of two.
Let’s make official the results of our analysis of the four types of function transformations.

Example 1.6.16. Transformations.

Consider the function \(r\) given in FigureΒ 1.6.17 below. Describe in words how the function \(m(x) = 2r(x+1)-1\) is the result of three transformations of \(r(x)\text{.}\) Does the order in which these transformations occur matter? Why or why not?
Figure 1.6.17. The function \(y=r(x)\text{.}\)
Solution.
There are three basic transformations involved: a vertical shift of 1 unit down, a horizontal shift of 1 unit left, and a vertical stretch by a factor of 2. To understand the order in which these transformations are applied, it’s essential to remember that a function is a process that converts inputs to outputs.
By the algebraic rule for \(m\text{,}\) \(m(x) = 2r(x+1)-1\text{.}\) In words, this means that given an input \(x\) for \(m\text{,}\) we do the following processes in this particular order:
  1. add 1 to \(x\) and then apply the function \(r\) to the quantity \(x+1\text{;}\)
  2. multiply the output of \(r(x+1)\) by 2;
  3. subtract 1 from the output of \(2r(x+1)\text{.}\)
These three steps correspond to three basic transformations:
  1. shift the graph of \(r\) to the left by 1 unit;
  2. stretch the resulting graph vertically by a factor of 2;
  3. shift the resulting graph vertically by \(-1\) units.
We can see the graphical impact of these algebraic steps by taking them one at a time. Note that in each of the following figures, we track the point \((2,-1)\) from the original function.
  1. In FigureΒ 1.6.18, we see the function that results from a shift of 1 unit left of the function \(y=r(x)\) in FigureΒ 1.6.17. The tracked point first moves left 1 unit to \((1,-1)\text{.}\) (Each time we take an additional step, we will de-emphasize the preceding function by having it appear in lighter color and dashed.)
    Figure 1.6.18. The function \(y=r(x+1)\text{.}\)
  2. Continuing, we now consider the function \(y=2r(x+1)\text{,}\) which results in a vertical stretch away from the \(x\)-axis by a factor of 2, as seen in FigureΒ 1.6.19. The tracked point is stretched vertically by a factor of 2 away from the \(x\)-axis to \((1,-2)\text{.}\)
    Figure 1.6.19. The function \(y=2r(x+1)\text{.}\)
  3. Finally, we arrive at \(y=2r(x+1)-1\) by subtracting 1 from the previous graph; this of course is a vertical shift of \(-1\) units, and produces the graph of \(m\) shown in red in FigureΒ 1.6.20. The tracked point is shifted 1 unit down to the point \((1,-3)\text{.}\)
    Figure 1.6.20. The function \(m(x)=2r(x+1)-1\text{.}\)
While there are some transformations that can be executed in either order (such as the combination of a horizontal translation and a vertical translation, in other situations order matters. In this example, we have to apply the vertical stretch before applying the vertical shift, Algebraically, this is because
\begin{equation*} 2r(x+1)-1\neq 2[r(x+1)-1]\text{.} \end{equation*}
The quantity \(2r(x+1)-1\) multiplies the function \(r(x+1)\) by 2 first (the stretch) and then the vertical shift follows; the quantity \(2[r(x+1)-1]\) shifts the function \(r(x+1)\) down 1 unit first, and then executes a vertical stretch by a factor of 2. In the latter scenario, the point \((1,-1)\) that lies on \(r(x+1)\) gets transformed first to \((1,-2)\) and then to \((1,-4)\text{,}\) which is not the same as the point \((1,-3)\) that lies on \(m(x)=2r(x+1)-1\text{.}\)

Checkpoint 1.6.21. Vertical and horizontal translations, stretches, and reflections.

The figure that follows shows a piece of the graph of a parabola with five marked points. Sketch graphs for each of the given transformations. On each graph, mark the new coordinates of the five marked points
  1. \(f(x)+3, f(x)-3, f(x+3)\text{,}\) and \(f(x-3)\)
  2. \(2f(x), \frac{1}{2}f(x), f(2x)\text{,}\) and \(f\left(\frac{1}{2} x\right)\)
  3. \(-f(x)\) and \(f(-x)\)

Subsection Symmetry

Some graphs do not change under certain transformations. For example, the graph of \(f(x) = x^2\) shown in FigureΒ 1.6.22 below remains the same if we reflect it across the \(y\)-axis. We say that this function has \(y\)-axis reflectional symmetry.
Figure 1.6.22. \(y=x^2\) is preserved under reflection across the \(y\)-axis.
As another example, the graph of \(g(x) = x^3\) shown in FigureΒ 1.6.23 below remains the same if we reflect it first across the \(y\)-axis and then across the \(x\)-axis. This double-reflection across the \(x\)- and \(y\)-axis is equivalent to rotation around the origin by \(180^\circ\text{.}\) Take a moment to experiment with this: on a piece of scrap paper, draw a smiley face or some other picture. Flip the paper vertically and then horizontally (or horizontally and then vertically). This gives you the same result as rotating the paper by 180 degrees. A function that is preserved under the transformation of \(180^\circ\) rotation is said to have \(180^\circ\) rotational symmetry.
Figure 1.6.23. \(y=x^3\) is preserved under \(180^\circ\) rotation about the origin.
These types of symmetries are also called even symmetry and odd symmetry, since power functions with even powers all have \(y\)-axis symmetry and power functions with odd powers all have rotational symmetry. Let’s try to understand algebraically what makes the graph of a function \(f\) have even or odd symmetry. The graph has even symmetry when the following equivalence holds:
\begin{equation*} (x,y) \text{ is on the graph of } f \iff (-x,y) \text{ is on the graph of } f\text{.} \end{equation*}
Since a point \((x,y)\) is on the graph of \(f\) if and only if \(x\) is in the domain of \(f\) and \(f(x)=y\text{,}\) we see that the above equivalence is equivalent to the algebraic statement
\begin{equation*} f(-x)=f(x) \end{equation*}
for all \(x\) in the domain of \(f\text{.}\) Similarly, the graph of \(f\) has odd symmetry if and only if \(f(x)=-f(x)\) for all \(x\) in its domain. This is the motivation for the following definition and table.

Definition 1.6.24. Even and odd functions.

Let \(f\) be a function whose domain \(D\) satisfies the following property: if \(x\in D\text{,}\) then \(-x\in D\text{.}\)
  • \(f\) is even if
    \begin{equation} f(-x)=f(x)\tag{1.50} \end{equation}
    for all \(x\in D\text{.}\)
  • \(f\) is odd if
    \begin{equation} f(-x)=-f(x)\tag{1.51} \end{equation}
    for all \(x\in D\text{.}\)
Table 1.6.25. Even and odd symmetry
Symmetry name Alg. definition Graphical symmetry
Even \(f(-x)=f(x)\) \(y\)-axis reflectional symmetry
Odd \(f(-x)=-f(x)\) \(180^\circ\) rotational symmetry

Remark 1.6.26. Even/odd: domain.

Observe the technical restriction placed on the domain of a function in DefinitionΒ 1.6.24. Namely, we do not even ask whether a function \(f\colon D\rightarrow \R\) is even or odd, if its domain \(D\) does not satisfy the property
\begin{equation*} x\in D\implies -x\in D\text{.} \end{equation*}
For example, \(n\)-th root functions \(f(x)=\sqrt[n]{x}\) for \(n\) even are not possible candidates for evenness or oddness, since their domain \(D=[0,\infty)\) does not satisfy this property: e.g., \(1\in D\text{,}\) but \(-1\notin D\text{.}\)

Example 1.6.27. Even/odd power functions.

Let \(f(x)=x^n\text{,}\) where \(n\ne 0\) is a nonzero integer. Show that \(f\) is even if \(n\) is even, and odd if \(n\) is odd.
Solution.
First consider the case where \(n=2k\) is even. For any \(x\) in the domain of \(f\text{,}\) we have
\begin{align*} f(-x) \amp = (-x)^{2k}\\ \amp =((-1)x)^{2k}\\ \amp =(-1)^{2k}x^{2k} \amp (\text{common exp.})\\ \amp =x^{2k} \amp ((-1)^{2k}=1)\\ \amp =f(x)\text{.} \end{align*}
Thus \(f\) is even in this case, as claimed.
Now assume \(n=2k+1\) is odd. Now we have
\begin{align*} f(-x) \amp = (-x)^{2k+1}\\ \amp =((-1)x)^{2k+1}\\ \amp =(-1)^{2k}x^{2k+1} \amp (\text{common exp.})\\ \amp =-x^{2k+1} \amp ((-1)^{2k+1}=-1)\\ \amp =-f(x) \end{align*}
for all \(x\text{,}\) showing \(f\) to be odd.
It should be noted that being even or odd is a special property not enjoyed by all functions. In fact, chances are, if you write down a random algebraic function, it will be neither even nor odd.
The argument used to show that a function is not even (or not odd), is qualitatively very different than for showing the function is even (or is odd). Namely, to show the property in question does not hold, it suffices to find a single explicit counterexample. The next example illustrates this.

Example 1.6.28.

Show that the function \(f(x) = x^2+x\) is neither even nor odd.
Solution.
First observe that the implied domain of \(h\) is \(\R\text{,}\) since \(f\) is a polynomial. To show \(f\) is not even, it suffices to show that \(f(-x)\ne f(x)\) for some element \(x\in \R \text{.}\) This is easy: we have
\begin{align*} f(1) \amp = 2\\ f(-1) \amp = (-1)^2+(-1)=0\text{,} \end{align*}
and thus \(f(1)\ne f(-1)\text{.}\) We conclude that \(h\) is not even.
Similarly, to show \(f\) is not odd, we need only find an iput \(x\) satisfying \(f(-x)\ne -f(x)\text{.}\) The same input \(x=1\) works in this case as well, since \(f(-1)\ne -f(1) \text{.}\)

Checkpoint 1.6.29.

Sketch a graph that has neither \(y\)-axis symmetry nor \(180^\circ\) rotational symmetry. Congratulations! You have drawn the graph of a function that is neither even nor odd.
ExampleΒ 1.6.27 illustrates the important role played by the β€œfor all” quantifier in DefinitionΒ 1.6.24. A function is even (or odd) if it satisfies the relevant equation for all elements in its domain; and it is not even (or not odd) if it fails to satisfy the relevant equation for some element in its domain. In essence, being even or odd is a function equality statement involving the two functions \(f(x)\) and \(g(x)=f(-x)\text{:}\) \(f\) is even if \(f=g\) (as functions); and \(f\) is odd if \(f=-g\) (as functions). (See DefinitionΒ 1.5.24.)
Consider the example \(f(x)=x^2+x\) again. In deciding whether \(f\) is even or odd, we really are comparing it with the function
\begin{equation*} g(x)=f(-x)=(-x)^2+(-x)=x^2-x\text{.} \end{equation*}
Comparing the formulas for \(f\) and \(g\text{,}\) it seems clear that these two functions are not equal, and hence that \(f\) is not even. But we need to be careful here! As we have seen before, different formulas can sometimes be seen to define the same function after some algebra. The surefire way of showing two functions are not equal is find a single instance of an input where their outputs differ. This is exactly what we did in the solution to ExampleΒ 1.6.27.
In this particular case, however, we are aided by the fact that all the functions involved are polynomials, and that polynomial equality is equivalent to having like coefficients. (See CorollaryΒ 1.5.26.) That is, we can immediately see that the three functions
\begin{align*} f(x) \amp =x^2+x\\ g(x) \amp =x^2-x\\ -g(x) \amp =-x^2+x \end{align*}
are distinct simply by comparing their coefficients. It follows that \(f\) is not even (since \(f(-x)\ne f(x)\)) and \(f\) is not odd (since \(-f(-x)\ne f(x)\)).
Of course, not all functions are polynomials, and so things are not always this straightforward. When in doubt, to definitely show a function is not even (or not odd), provide an explicit counterexample.

Example 1.6.30. Even/odd/neither.

Determine algebraically whether the given function is even, odd, or neither. Confirm your answer graphically using FigureΒ 1.6.31.
  1. \(\displaystyle f(x) = \frac{1}{x}\)
  2. \(\displaystyle g(x) = x^4-x^2\)
  3. \(\displaystyle h(x) = \frac{2+x}{1+x^2}\)
(a) \(f(x)=\tfrac{1}{x}\)
(b) \(g(x)=x^4-x^2\)
Sageplot of function h
(c) \(h(x)=\frac{2+x}{1+x^2}\)
Figure 1.6.31. Graphs of example functions
Solution.
We first determine algebraically whether each function satisfies the definition of even or odd (or if it does not) and then verify graphically.
  1. First observe that the domain of \(f\) is \(D=\R-\{0\}\text{.}\) Since
    \begin{equation*} f(-x) = \frac{1}{-x} = -\frac{1}{x} = -f(x) \end{equation*}
    for all \(x\in D\text{,}\) we see that \(f\) is odd. Looking at the formulas, it seems clear that \(f(-x)\ne f(x)\) for all \(x\in D\text{,}\) and hence that \(f\) is not even. To be sure, however, we provide a counterexample: we have \(f(1)=1/1=1\) and \(f(-1)=1/(-1)=-1\text{.}\) Since \(f(1)\ne f(-1)\text{,}\) we conclude that \(f\) is not even.
  2. In this case the implied domain of \(g\) is \(\R\text{.}\) Since
    \begin{equation*} g(-x) = (-x)^4-(-x)^2 = x^4-x^2 = g(x) \end{equation*}
    for all \(x\in \R\text{,}\) we conclude that \(g\) is even.
    Is \(g\) odd? In this case since \(g(x)=x^4-x^2\) and \(-g(-x)=-x^4+x^2\) are both polynomials, we see that the two functions are not equal simply by comparing coefficients. Thus \(g\) is not odd.
  3. The implied domain of \(h\) is \(\R\text{,}\) since \(1+x^2\ne 0\) for all \(x\in \R\text{.}\) We have
    \begin{equation*} h(-x) = \frac{2+(-x)}{1+(-x)^2} = \frac{2-x}{1+x^2} \end{equation*}
    for all \(x\in \R\text{.}\) Looking just at the formulas, it seems that the function \(h(-x)\) is equal neither to \(h(x)\) nor \(-h(x)\text{.}\) To be sure, however, we provide explicit counterexamples to both evenness and oddness.
    Note that \(h(1)=3/2\) and \(h(-1)=1/2\text{.}\) Since \(h(1)\ne h(-1)\text{,}\) we conclude that \(h\) is not even. Furthermore, since \(h(1)\ne -h(-1)\text{,}\) we conclude that \(h\) is not odd.
Looking at the graphs of \(f\text{,}\) \(g\text{,}\) and \(h\text{,}\) in FigureΒ 1.6.31, we can confirm our conclusions above immediately: the graph of \(f\) exhibits \(180^\circ\) rotational symmetry, but not \(y\)-axis reflectional symmetry; the graph of \(g\) exhibits \(y\)-axis reflectional symmetry, but not \(180^\circ\) rotational symmetry; and the graph of \(h\) exhibits neither type of symmetry.

Subsection Vertex form of a quadratic function

Recall that every quadratic function \(g(x)=ax^2+bx+c\) can be expressed in vertex form as \(g(x)=a(x+d)^2+e\) for some constants \(d\) and \(e\text{.}\) This result, along with our newfound understanding of function transformations, allows us to relate the graph of \(g(x)=a(x+d)^2+e\) to the graph of the simple power function \(f(x)=x^2\text{.}\) Indeed, applying the sequence of transformations
\begin{equation*} f(x)\xmapsto{\text{horiz. shift}} f(x+d)\xmapsto{\text{vert. scale}}af(x+d)\xmapsto{\text{vert. shift}}af(x+d)+e \end{equation*}
yields the sequence of functions
\begin{equation*} f(x)=x^2\mapsto p(x)=(x+d)^2\mapsto q(x)=a(x+d)^2\mapsto g(x)=a(x+d)^2+e\text{.} \end{equation*}
As a result, the graph of an arbitrary quadratic function can be obtained from the graph of \(f(x)=x^2\) by performing a horizontal shift, followed by a vertical scaling, followed by a vertical shift. FigureΒ 1.6.32 illustrates this process for the function \(g(x)=-2(x-1)+3\text{.}\)
Graph of x squared
(a) \(f(x)=x^2\)
Shift original function
(b) \(p(x)=(x-1)^2\)
Scaling the shift
(c) \(q(x)=-2(x-1)^2\)
The final function
(d) \(g(x)=-2(x-1)^2+3\)
Figure 1.6.32. Transformations and vertex form

Example 1.6.34.

Compute the vertex form for the given quadratic function \(f\text{,}\) then provide a graph of \(f\text{.}\)
  1. \(\displaystyle f(x)=-2x^2-8x-5\)
  2. \(\displaystyle f(x)=48x^2-72x+27\)
Solution.
  1. The vertex form of \(f\) is computed as
    \begin{align*} f(x) \amp = -2(x^2+4)-5\\ \amp = -2((x+2)^2-4)-5\\ \amp = -2(x+2)^2+3\text{.} \end{align*}
    The graph of \(f\) is a downward-oriented parabola with vertex at \((-2,3)\text{.}\)
    Graph of a parabola
  2. The vertex form of \(f\) is computed as
    \begin{align*} f(x) \amp = 48(x^2-\tfrac{3}{2}x)+27\\ \amp =48((x-\tfrac{3}{4})^2-\tfrac{9}{16})+27\\ \amp =48(x-\tfrac{3}{4})^2\text{.} \end{align*}
    The graph of \(f\) is an upward-oriented parabola with vertex at \((3/4,0)\text{.}\)
    Graph of a parabola

Exercises Exercises

2.
To obtain a new graph, stretch the graph of a function \(f(x)\) vertically by a factor of 7. Then shift the new graph 4 units to the right and 9 units up. The result is the graph of a function
\begin{equation*} g(x) = A f(x+B) +C \end{equation*}
where \(A\text{,}\) \(B\text{,}\) \(C\) are certain numbers. What are \(A\text{,}\) \(B\text{,}\) and \(C\text{?}\)
\(A =\) , \(B =\) , \(C =\)
Answer 1.
Answer 2.
Answer 3.
4.
The figure above is the graph of the function \(m(t)\text{.}\) Let \(n(t)=m(t)+2\text{,}\) \(k(t)=m(t+1.5)\text{,}\)\(w(t)=m(t-0.5)-2.5\) and \(p(t)=m(t-1)\text{.}\) Find the values of the following:
1. \(n(-2.5)\)= .
2. \(n(2)\)= .
3. \(k(3)\)= .
4. \(w(2.5)\)= .
5. \(w(-1.5)\)= .
6. \(p(2)\)= .
Answer 1.
Answer 2.
Answer 3.
Answer 4.
Answer 5.
\(-5.5\)
Answer 6.
Solution.
1.\(n(t)=m(t)+2\text{,}\)\(n(-2.5)=m(-2.5)+2=-3+2=-1\text{.}\)2.\(n(t)=m(t)+2\text{,}\)\(n(2) =m(2)+2=6\text{.}\)3.\(k(t)=m(t+1.5)\text{,}\)\(k(3)=m(3+1.5)=m(4.5)=3\text{.}\)4.\(w(t)=m(t-0.5)-2.5\text{,}\)\(w(2.5)=m(2.5-0.5)-2.5=m(2)-2.5=1.5\)5.\(w(t)=m(t-0.5)-2.5\text{,}\)\(w(-1.5)=m(-1.5-0.5)-2.5=m(-2)-2.5=-5.5\text{.}\)6.\(p(t)=m(t-1)\text{,}\)\(p(2)=m(2-1)=m(1)=6\text{.}\)
5.
The graph of \(f(x)\) contains the point \((-9, 4)\text{.}\) What point must be on each of the following transformed graphs? Enter points as \((a,b)\) including the parentheses.
(a) The graph of \(f(x - 5 )\) must contain the point
(b) The graph of \(f(x) - 8\) must contain the point
(c) The graph of \(f(x + 4 ) + 3\) must contain the point
Answer 1.
\(\left(-4,4\right)\)
Answer 2.
\(\left(-9,-4\right)\)
Answer 3.
\(\left(-13,7\right)\)
Solution.
SOLUTION\(f(x-5)\)\(y\)\(x\)\(-9 + 5 = -4\text{,}\)\(f(x)-8\)\(x\)\(y\)\(4 - 8 = -4\text{,}\)\(f(x+4) + 3\)\(x\)\(-9 - 4 = -13\text{,}\)\(y\)\(4 + 3 = 7\text{,}\)
6.
The graph below is a vertical and/or horizontal shift of \(y=1/x\) (assume no reflections or compression/expansions have been applied).
(a) The graph’s equation can be written in the form
\begin{equation*} f(x) = \frac{1}{x+A} + B \end{equation*}
for constants \(A\) and \(B\text{.}\) Based on the graph above, find the values for \(A\) and \(B\text{.}\)
\(A =\) and \(B =\)
(b) Now take your formula from part (a) and write it as the ratio of two linear polynomials of the form,
\begin{equation*} f(x) = \frac{M x + C}{x+D} \end{equation*}
for constants \(M\) , \(C\text{,}\) and \(D\text{.}\) What are the values of \(M\) , \(C\text{,}\) and \(D\text{?}\)
\(M =\) , \(C =\) , and \(D =\)
(c) Complete the exact values of the coordinates of the intercepts of the graph.
\(x\)-intercept:
\(y\)-intercept:
Answer 1.
Answer 2.
Answer 3.
Answer 4.
Answer 5.
Answer 6.
\(\left(-3.16667,0\right)\)
Answer 7.
\(\left(0,6.33333\right)\)
Solution.
SOLUTION\(y= 1/x\)
\begin{equation*} y = \frac{1}{x + 3}+6 \end{equation*}
\begin{equation*} y = \frac{1}{x + 3}+6 = \frac{ 6 x + 19}{x+3}. \end{equation*}
\(x\)\(y\)\(y=0\)\(6 x+19=0\text{,}\)\(x= -\frac{19}{6}\text{.}\)\(x\)\(\left( -\frac{19}{6}, 0 \right)\text{.}\)\(x=0\text{,}\)
\begin{equation*} y= f(0) = \frac{ 6 (0) + 19}{0+3} = \frac{19}{3}, \end{equation*}
\(y\)\(\left( 0, \frac{19}{3} \right)\text{.}\)