Vertical Stretch – Properties, Graph, & Examples

Vertical StretchEver noticed graphs that look alike, but one is more vertically stretched than the other? This is all thanks to the transformation technique we call vertical stretch.

            Vertical stretch on a graph will pull the original graph outward by a given scale factor.

When a base function is multiplied by a certain factor, we can immediately graph the new function by applying the vertical stretch.

Before we dive deeper into this transformation technique, it’s best to review your knowledge on the following topics:

Feel free to click on the links to refresh your knowledge on these essential topics. We’ll now discuss the third transformation technique: vertical stretching.

What is a vertical stretch?

Vertical stretch occurs when a base graph is multiplied by a certain factor that is greater than 1. This results in the graph being pulled outward but retaining the input values (or x). When a function is vertically stretched, we expect its graph’s y values to be farther from the x-axis.

The graph below shows the graph of f(x) and its transformations. Why don’t we observe how f(x) is transformed when we multiply the output values by a factor of 3 and 6?

example of vertical stretch

When f(x) is multiplied by scale factors of 3 and 6, its graph stretches by the same scale factors. We can also see that their input values (x for this case) remain the same; only the values for y were affected when we stretched f(x) vertically.

How do we generalize this rule? When we have |a| > 1, a · f(x) will stretch the base function by a scale factor of a. The input values will remain the same, so the graph’s coordinate points will now be (x, ay).

This means that if f(x) = 5x + 1 is vertically stretched by a factor of 5, the new function will be equivalent to 5 · f(x). Hence, the resulting function is 5(5x + 1) = 25x + 5.

How to vertically stretch a function?

When given a function’s graph, we can vertically stretch it by pulling the curve outwards based on the given scale factor. Here are some things to remember when we vertically stretch functions:

  • Ensure that the values for x remain the same, so the base of the curve will not change.
  • This means that when applying vertical stretches on a base graph, its x-intercepts will remain the same.
  • Take note of the new critical points, such as the new maximum point of the graph.

Why don’t we try vertically stretching the function y = √x by a factor of 2?

vertically stretching a radical function

We’ve included some guide points highlighting how they also change when we graph the new function y = 2√x. What do we expect from the new graph?

It will still start at the origin, the y-coordinates will increase by a factor of 2, and the graph will stretch by a factor of 2.

vertically stretching a radical function by 2

The graph above shows how we can vertically stretch the graph of y =√x by a factor of 2 to graph y = 2√x as well.

We can apply the same process when vertically stretching different types of functions and graphs. Before we try other examples, why don’t we summarize what we have learned so far about vertical stretch?

Summary of vertical stretch definition and properties

We’ve now learned about the effect of scaling a function by a positive factor, a. Below are some important pointers to remember when dealing with vertical stretches on graphs:

  • A vertical stretch occurs only when the scale factor is greater than 1.
  • Make sure to multiply the y-coordinates by the same scale factor.
  • Retain the x-intercepts’ position.
  • The vertically stretched function will have the same domain and a new range.

Let’s keep these helpful reminders in mind when we solve the questions after this section. Ready? Let’s begin applying this transformation technique!

Example 1

The function, g(x), is obtained by vertically stretching f(x) = x2 + 1 by a scale factor of 3. Which of the following is the correct expression for g(x)?

  1.   g(x) = 3x2 + 1
  2. g(x) = x2 + 3
  3. g(x) = 3x2 + 3
  4. g(x) = 3(x + 1)2

Solution

 When we stretch a function vertically, we multiply the base function by its scale factor. Hence, we have g(x) = 3 · f(x). Let’s make sure to distribute 3 to each of the term in f(x).

g(x) = 3(x2 + 1)

=3x2 + 3

This means that the correct expression for g(x) is 3x2 + 3.

Example 2

The table of values for f(x) is shown below. If g(x) = 4·f(x), construct a table of values for the function g(x).

x-6-4-2246
f(x)941149

Solution

Since g(x) = 4·f(x), the function g(x) is vertically stretched by a scale factor of 4. What does this mean for its table of values? 9 =

We multiply each value of f(x) by 4 to find the output values for g(x). Note that the values for the x-coordinates will remain the same.

x-6-4-2246
g(x)3616441636

Example 3

Fill in the blanks to make the following statements true, given that f(x) = |x|.

  1.   If g(x) = 4|x|, the function g(x) is stretched vertically by a scale factor of ________.
  2. If the graph of f(x) is stretched vertically by a factor of 2 to attain h(x), so h(x) = ___ ∙ f(x).
  3. If the graph of f(x) is stretched vertically by a factor of 3, the expression for h(x) is ________.

Solution

  • Comparing g(x) and f(x), we have g(x) = 4 ∙ f(x). This means that the function g(x) is vertically stretched by a factor of 4.
  • Stretching f(x) vertically by a factor of 2 will result in h(x) being equal to 2 times f(x).
  • Stretching f(x) vertically by a factor of 3 will result to h(x) being equal to 3 times f(x). Hence, h(x) = 3|x|.

Example 4

Observe the two functions shown below and relate h(x) to g(x).

finding the vertical stretch scale factor

Solution

By inspection alone, we can see that h(x) results from vertically stretching g(x). To find the factor by which h(x) was stretched, let’s inspect some corresponding values for g(x) → h(x).

comparing the base function with the transformed graph

  • (0, 0) → (0, 0)
  • (1, 1) → (1, 3)
  • (2, 4) → (1, 12)

We can see that the y-coordinate of h(x) is thrice that of g(x) for each pair of points. This means that h(x) = 3 ∙ g(x), so h(x) is the result of g(x) being stretched vertically by a scale factor of 3.

Example 5

The function, A(x), models the distance (in km) traveled by Car A over a period of time (in hours).

graph representing the motion of car a

Jack wanted to compare this model to B(x), whose motion follows the same pattern, but the car being observed can cover two times the distance from A(x). Use the graph for A(x) to sketch the graph of B(x).

Solution

Since B(x) = 2 ∙ A(x), we vertically stretch the graph of A(x) by a scale factor of 2.

To do this, we can take note of some points from the graph and find their corresponding values for B(x). To find the new ordered pairs, let’s multiply each y-coordinate by 2.

stretching the graph by a factor of 2

We can connect these points to form B(x). Keep in mind that the shape of A(x) and its base should remain the same.

finding the new graph by vertical stretching

Hence, we have the final graph for B(x), as shown above.

Example 6

Observe the two functions shown below and relate h(x) to g(x). What is the expression for h(x)?

vertically stretching an absolute function

Solution

We can see that h(x) is the result of g(x) is vertically stretched by a certain scale factor. Let’s go ahead and inspect some of the corresponding points.

vertically stretching an absolute function by 3

  • (-3, 3) → (-3, 9)
  • (-1, 1) → (-1, 3)
  • (0, 0) → (0, 0)
  • (1, 1) → (1, 3)
  • (3, 3) → (3, 9)

From this, we can see that when g(x) is vertically stretched by a scale factor of 3, the resulting graph will be that of h(x). Hence, we have h(x) = 3 ∙ g(x).

The function g(x) represents the parent function of all absolute value functions. This means that g(x) = |x|. To find the expression for h(x), we multiply the expression of g(x) by 3. Hence, we have h(x) = 3|x|.

Example 7

Find the transformations done on f(x) to attain h(x).

  1. f(x) = x2 → h(x) = 3x2 + 24x + 48
  2. f(x) = √x → h(x) = 2√(x + 2)
  3. f(x) = ex → h(x) = 5(ex – 2) – 1

Solution

  • Let’s try to factor the expression for h(x) first to see if we can find the transformations applied on f(x). Begin by factoring h(x):
    • h(x) = 3(x2 + 8x + 16) = 3(x + 4)2 = 3 ∙ f(x + 4)
    • From this factored form, we can see that h(x) is the result when f(x) is translated 4 units to the left and stretched vertically by 3.
  • Take note of the factor multiplied to √x and the unit subtracted from the input value.
    • This results to h(x) = 2 ∙ f(x + 2).
    • Hence, f(x) has to be translated 2 units to the left and stretched vertically by 2.
  • Let’s observe the difference between ex and h(x).
    • h(x) = 5 ∙ ex – 2 -1 , hence, we have h(x) = 5 ∙ f(x – 2) – 1.
    • This means that f(x) is translated 2 units to the right, stretched vertically by 5, and translated one unit downward.

Example 8

What are the transformations done on f(x) so that it results to h(x) = 2x2 – 4x + 2? Use the graph of f(x) shown below to guide you. Apply the transformations to graph h(x).

vertically stretching a quadratic function

Solution

Let’s try to factor the expression for h(x) first to see if we can find the transformations applied on f(x).

Begin by factoring the common factor shared by the three terms.

2x2 – 4x + 2 = 2(x2 – 2x + 1)

Factor the expression using (a – b)2 = a2 – 2ab + b2.

2(x2 – 2x + 1) = 2(x – 1)2

Hence, we have h(x) = 2(x – 1)2. From this form, we can see the following:

  • From (x – 1)2, we can see that f(x) was translated one unit to the right.
  • The resulting graph was then vertically stretched by a factor of 2.

Let’s use these transformations and the graph of f(x) to graph h(x). So, start by translating the parent function y = x2 one unit to the right.

translating a quadratic function one unit to the right

Now, let’s stretch the graph vertically by a scale factor of two.

vertically stretching a quadratic function by a scale factor of 2

Let’s take out the reference function and return the final graph of h(x).

plotting graphs using translations and vertical stretching

This example shows how transformations can save time in graphing families of functions.

 

Practice Questions

1. The function, $g(x)$, is obtained by vertically stretching $f(x) = 3x^3 + 2$ by a scale factor of $4$. Which of the following is the correct expression for $g(x)$?

2. Fill in the blanks: If $g(x) = 5\sqrt{x}$, the function $g(x)$ is the result of $y = \sqrt{x}$ being stretched vertically by a scale factor of ________.

3. Fill in the blanks: If the graph of $f(x) = \sqrt{x}$ is stretched vertically by a factor of $4$ to attain $h(x)$, so $h(x) = \_\_\_\_\cdot f(x)$.

4. Fill in the blanks: If the graph of $f(x)  =\dfrac{1}{x}$ is stretched vertically by a factor of $2$, the expression for $h(x)$ is ________.

5. Observe the two functions shown below and relate $h(x)$ to $g(x)$. If $g(x) = \sqrt{4 – x^2}$, what is the expression for $h(x)$?

find the scale factor shared by the two functions

6. What are the transformations done on $f(x)$ so that it results to $h(x) = 5x + 6$? Use the fact that $f(x)$ is the parent function of all linear functions.

7. What are the transformations done on $f(x)$ so that it results to $h(x) = 5x^2 – 20x + 20$? Use the fact that $f(x)$ is the parent function of all quadratic functions.

8. What are the transformations done on $f(x) = \sqrt{x}$ so that it results to $h(x) = 3\sqrt{x – 1}$?

9. What are the transformations done on $f(x) = 2^x$ so that it results to $h(x) = 3(2^{x – 2}) + 6$?


 

Open Problems

1. The table of values for $f(x)$ is shown below. If $g(x) = 3 \cdot f(x)$, construct a table of values for the function $g(x)$.

x-3-2-10123
f(x)-27-8-101827

2. The function, $A(x)$, models the distance (in km) traveled by Car A over time (in hours).

predicting the graph of the new function

Mary wanted to compare this model to $B(x)$, whose motion follows the same pattern, but the car being observed can cover three times the distance from $A(x)$. Use the graph for $A(x)$ to sketch the graph of $B(x)$.

Open Problem Solutions

1.

x-3-2-10123
g(x)-81-24-3032481

2.

constructing a new graph based on a given transformation

Images/mathematical drawings are created with GeoGebra.

Previous Lesson Main Page | Next Lesson