<img src="https://d5nxst8fruw4z.cloudfront.net/atrk.gif?account=iA1Pi1a8Dy00ym" style="display:none" height="1" width="1" alt="" />

# Stretching and Reflecting Transformations

## Transformations of parent functions produced by multiplying by a constant.

Estimated8 minsto complete
%
Progress
Practice Stretching and Reflecting Transformations
Progress
Estimated8 minsto complete
%
Stretching and Reflecting Transformations

Understanding how changes in the equation of a function result in stretching and/or reflecting the graph of the function is a great way to take some of the mystery out of graphing more complicated equations. By recognizing the family to which a more complex equation belongs, and then identifying what changes have been made to the parent of that family, the graph of even quite detailed functions can be made much more understandable.

See if you can identify what parts of the equation, y=15x2\begin{align*}y = \frac {-1}{5} x^{2}\end{align*} , represent either a stretch or a reflection of the parent function y=x2\begin{align*}y = x^{2}\end{align*} before the review at the end of this lesson.

Embedded Video:

### Guidance

Stretching and compressing graphs

If we multiply a function by a coefficient, the graph of the function will be stretched or compressed.

Given a function f(x), we can formalize compressing and stretching the graph of f(x) as follows:

• A function g(x) represents a vertical stretch of f(x) if g(x) = cf(x) and c > 1.
• A function g(x) represents a vertical compression of f(x) if g(x) = cf(x) and 0 < c < 1.
• A function h(x) represents a horizontal compression of f(x) if h(x) = f(cx) and c > 1.
• A function h(x) represents a horizontal stretch of f(x) if h(x) = f(cx) and 0 < c < 1.

Notice that a vertical compression or a horizontal stretch occurs when the coefficient is a number between 0 and 1.

Reflecting graphs over the y-axis and x-axis

Consider the graphs of the functions y = x2 and y = -x2, shown below.

The graph of y = -x2 represents a reflection of y = x2, over the x-axis. That is, every function value of y = -x2 is the negative of a function value of y = x2. In general, g(x) = -f(x) has a graph that is the graph of f(x), reflected over the x-axis.

#### Example 1

Identify the graph of the function y = (3x)2.

Solution

We have multiplied x by 3. This should affect the graph horizontally. However, if we simplify the equation, we get y = 9x2. Therefore the graph of this parabola will be taller/thinner than y = x2. Multiplying x by a number greater than 1 creates a vertical stretch.

#### Example 2

Identify the transformation described by y = (12x)2\begin{align*}\left (\frac {1}{2}x \right )^2\end{align*} .

Solution

If we simplify this equation, we get y =  \begin{align*}\frac {1}{4}\end{align*} x2. Therefore multiplying x by a number between 0 and 1 creates a  vertical compression. That is, the parabola will be shorter/wider.

#### Example 3

Sketch a graph of y = x3 and y = -x3 on the same axes.

Solution:

At first the two functions might look like two parabolas. If you graph by hand, or if you set your calculator to sequential mode (and not simultaneous), you can see that the graph of y = -x3 is in fact a reflection of y = x3 over the x-axis.

However, if you look at the graph, you can see that it is a reflection over the y-axis as well. This is the case because in order to obtain a reflection over the y-axis, we negate x. In other words, h(x) = f(-x) is a reflection of f(x) over the y-axis. For the function y = x3, h(x) = (-x)3 = (-x) (-x) (-x) = -x3. This is the same function as the one we have already graphed.

It is important to note that y = xis a special case. The graph of y = x2 is also a special case. If we want to reflect y = x2 over the y-axis, we will just get the same graph! This can be explained algebraically: y = (-x)2 = (-x) (-x) = x2.

Concept question wrap-up:

Are you able to identify the transformations described in the beginning of the lesson now?

The function: \begin{align*}y = \frac {-1}{5}x^{2}\end{align*} is the result of transforming \begin{align*}y = x^{2}\end{align*} by:

reflecting it over the x axis, because of the negative co-efficient on the x. and:
vertically compressing it (making it wider), because of the co-efficient being a fraction between 0 and 1.

### Vocabulary

Reflections are transformations which result in a "mirror image" of a parent function. They are a result of differing signs between parent and child functions.

Stretches are transformations which result in the width of a graph being increased or decreased. They are the result of the co-efficient of the x term being between 0 and 1.

Example 4

Graph the functions

\begin{align*}y = \sqrt{x}\end{align*}

and

\begin{align*}y = \sqrt{-x}\end{align*}

Solution

The equation \begin{align*}y = \sqrt{-x}\end{align*} might look confusing because of the -x under the square root. It is important to keep in mind that -x means the opposite of x. Therefore the domain of this function is restricted to values of x ≤ 0. For example, if x = - 4, \begin{align*}y = \sqrt{-(-4)}= \sqrt{4} = 2\end{align*}. It is this domain, which includes all real numbers not in the domain of \begin{align*}y = \sqrt{x}\end{align*} except zero, that gives us a graph that is a reflection over the y-axis.

In sum, a graph represents a reflection over the x-axis if the function has been negated (i.e. the y has been negated if we think of y = f(x)). The graph represents a reflection over the y-axis if the variable x has been negated.



Example 5

Sketch the graph of \begin{align*}y = 3x^2\end{align*} by appropriately stretching the parent graph \begin{align*}y = x^2\end{align*}.

Solution

The graph of \begin{align*}y = 3x^2\end{align*} is the graph of the parent, \begin{align*}y = x^2\end{align*}, with each y-coordinate multiplied by 3. The image below shows both the parent and the child function on the same axes.  The parent function has been stretched vertically.



Example 6

Sketch the graph of \begin{align*}y = -3x^2\end{align*} by reflecting the graph of \begin{align*}y = 3x^2\end{align*}.

Solution

The graph of \begin{align*}y = -3x^2\end{align*} is the graph of \begin{align*}y = 3x^2\end{align*}reflected over the x-axis, the image below shows both functions.



Example 7

Sketch the graph of \begin{align*}y = \sqrt{3x}\end{align*} by appropriately stretching \begin{align*}y = \sqrt{x}\end{align*}.

Solution

The graph of \begin{align*}y = \sqrt{3x}\end{align*} is the graph of \begin{align*}y = \sqrt{x}\end{align*}with each coordinate multiplied by 3, the image below shows both graphs.



Example 8

Sketch the graph of \begin{align*}y = \sqrt{x}\end{align*} reflected over both axes and identify the functions.

Solution

To reflect the graph of \begin{align*}y = \sqrt{x}\end{align*} over both axes, the function must be negated both outside and inside the root: \begin{align*}y = -\sqrt{-x}\end{align*}. The negation (negative) outside of the root has the effect of reflecting the graph vertically (over the x-axis), and the negation inside of the root reflects the graph horizontally (over the y-axis). The image below shows three versions:

a) (BLUE) \begin{align*}y = \sqrt{x}\end{align*}
b) (GREEN) \begin{align*}y = -\sqrt{x}\end{align*}
c) (RED) \begin{align*}y = \sqrt{-x}\end{align*}

### Review Questions

1. If a function is multiplied by a coefficient, what will happen to the graph of the function?
2. What does multiplying x by a number greater than one create?
3. What happens when we multiply x by a number between 0 and 1
4. In order to obtain a reflection over the y axis what do we have to do to x?
5. How do we obtain a reflection over the x-axis?
6. Write a function that will create a horizontal compression of the following:\begin{align*}f(x) = x^2 + 3\end{align*}
7. Write a function that will horizontally stretch the following: \begin{align*}f(x) = x^2 - 6\end{align*}
8. Rewrite this function\begin{align*}f(x) = -\sqrt{x}\end{align*}to get a reflection over the x-axis.
9. Rewrite this function\begin{align*}f(x) = \sqrt{x}\end{align*}to get a reflection over the y-axis.

Graph each of the following using transformations. Identify the translations and reflections.

1. \begin{align*}f(x) = |x| -2\end{align*}
2. \begin{align*}h(x) = \sqrt{x + 3}\end{align*}
3. \begin{align*}g(x) = \frac{1}{x + 1}\end{align*}
4. \begin{align*}f(x) = -4x^3\end{align*}
5. \begin{align*}h(x) = (x + 3)^3 + 1\end{align*}
6. \begin{align*}f(x) = \frac{1}{3}(x - 3)^2 + 1\end{align*}
7. \begin{align*}f(x) = -4\sqrt{x + 1} - 2\end{align*}
8. \begin{align*}f(x) = \frac{2}{3(x - 2)} + \frac{1}{4}\end{align*}

Let \begin{align*}y = f(x)\end{align*} be the function defined by the line segment connecting the points (-1, 4) and (2, 5). Graph each of the following transformations of \begin{align*} y = f(x)\end{align*}.

1. \begin{align*}y = f(x) + 1\end{align*}
2. \begin{align*}y = f(x+ 2)\end{align*}
3. \begin{align*}y = f(-x)\end{align*}
4. \begin{align*}y = f(x + 3) - 2\end{align*}

The graph of y = x is shown below. Sketch the graph of each of the following transformations of y = x

1. \begin{align*}y = x + 3\end{align*}
2. \begin{align*}y = x - 2\end{align*}
3. \begin{align*}y = - x\end{align*}

### Notes/Highlights Having trouble? Report an issue.

Color Highlighted Text Notes