DoAssignment study guide

RF3 · Describe horizontal and vertical stretches of functions

Learn to describe horizontal and vertical stretches of functions through clear examples and targeted practice.

Alberta Grade 12 Mathematics

Relations and Functions

How multiplying outside or inside a function changes its graph

A stretch changes the size of a graph without changing its basic shape. The key is where the factor appears: a factor outside a function changes vertical distances, while a factor inside changes horizontal distances. In this lesson, a stretch factor is greater than 1. We will use point coordinates and function notation to describe these changes.

What you will learn

  • Describe how a vertical stretch changes a function's graph.
  • Describe how a horizontal stretch changes a function's graph.
  • Use coordinates and function notation to identify stretch factors.
  • Distinguish a horizontal stretch from multiplication outside the function.

1. Review: functions and points

A function assigns an output to each allowed input. We often write the output as y=f(x)y=f(x). A point (x,y)(x,y) on its graph means that the function's output at input xx is yy.
For example, if f(2)=3f(2)=3, then (2,3)(2,3) is on the graph of y=f(x)y=f(x). The first coordinate is horizontal, and the second is vertical. A stretch changes one or both of these coordinates in a consistent way.
A domain is the set of inputs for which a function is defined. When a transformation changes the input used in the function, check that the new input is still allowed.
  • The first coordinate of a point is horizontal; the second is vertical.
  • The graph of y=f(x)y=f(x) contains (x,f(x))(x,f(x)) for every allowed input xx.

2. Vertical stretches

A vertical stretch makes every point farther from the horizontal axis by the same factor. If the original point is (x,y)(x,y) and the vertical stretch factor is aa, the new point is (x,ay)(x,ay). The input stays the same, while the output is multiplied by aa.
The corresponding function is y=af(x)y=af(x). For a vertical stretch, a>1a>1. For example, a point (2,3)(2,3) becomes (2,6)(2,6) when the vertical stretch factor is 22. Its horizontal position has not changed.
Points below the horizontal axis stay below it under a positive vertical stretch, but their vertical distances from that axis increase. A point on the horizontal axis remains there because multiplying zero still gives zero.
y=af(x),a>1y=af(x),\quad a>1
  • Multiply the output by the vertical stretch factor.
  • Coordinate rule: (x,y)↦(x,ay)(x,y)\mapsto(x,ay), where a>1a>1.

3. Horizontal stretches

A horizontal stretch makes every point farther from the vertical axis by the same factor. If the original point is (x,y)(x,y) and the horizontal stretch factor is kk, the new point is (kx,y)(kx,y). The output stays the same, while the horizontal coordinate is multiplied by kk.
In function notation, a horizontal stretch by factor kk is written y=f(xk)y=f\left(\frac{x}{k}\right), where k>1k>1. To see why the input is divided by kk, let the new horizontal coordinate be X=kxX=kx. Then the input to the original function is X/k=xX/k=x, so the output remains f(x)f(x).
For instance, if (2,3)(2,3) is on the original graph, a horizontal stretch by factor 33 sends it to (6,3)(6,3). The output is unchanged. This is why a factor written inside the function has the reciprocal effect on the input: f(kx)f(kx) compresses horizontally by factor kk, rather than stretching. Do not confuse it with f(x/k)f(x/k).
The domain changes with the horizontal stretch. If the original input xx is allowed, then the stretched graph has the corresponding input kxkx. For a square-root function with original domain x≥0x\geq 0, a positive horizontal stretch still has domain x≥0x\geq 0.
y=f(xk),k>1y=f\left(\frac{x}{k}\right),\quad k>1
  • Multiply the original point's horizontal coordinate by the stretch factor.
  • A horizontal stretch by k>1k>1 is written y=f(x/k)y=f(x/k).
  • The factor inside the function works in the opposite way from the resulting horizontal coordinate.

4. Reading and describing a stretch

To describe a transformation from an equation, first identify whether the factor is outside the function or inside its input. An outside factor multiplies outputs. An input divided by a number produces a horizontal stretch by that number.
A table makes the coordinate changes clear. The original point (1,2)(1,2) becomes (1,6)(1,6) under a vertical stretch by 33, but becomes (4,2)(4,2) under a horizontal stretch by 44. These are different transformations even though both use a factor greater than one.
A graph can show only part of a function's domain. The axis window in a diagram is a viewing choice, not a restriction on the function itself. When describing a stretch, use the stated equation and coordinate rule, rather than estimating a factor from a small portion of a graph.
  • Outside factor: outputs change; horizontal coordinates stay fixed.
  • Input divided by a factor: horizontal coordinates change; outputs stay fixed.
  • Use corresponding points to check whether a description matches an equation.

Coordinate changes for the point (1, 2)

TransformationNew pointWhat changes?
Vertical stretch by factor 3(1, 6)Output is multiplied by 3
Horizontal stretch by factor 4(4, 2)Input coordinate is multiplied by 4

Worked example

Identify a vertical stretch

The function ff contains the point (2,−3)(2,-3). Describe the transformation and find the corresponding point on y=4f(x)y=4f(x).
  1. Identify the factor
    The factor 44 is outside the function. Therefore, it multiplies each output and creates a vertical stretch by factor 44.
    y=4f(x)y=4f(x)
  2. Transform the point
    Keep the horizontal coordinate at 22. Multiply the vertical coordinate, −3-3, by 44. The negative output remains negative and becomes four times as far from the horizontal axis.
    (2,−3)↦(2,−12)(2,-3)\mapsto(2,-12)
Answer: The graph is vertically stretched by factor 44. The corresponding point is (2,−12)(2,-12).
Check: The input coordinate stays fixed, as expected for a vertical stretch.

Worked example

Describe a horizontal stretch of a parabola

Let f(x)=x2f(x)=x^2. Describe the transformation represented by g(x)=f(x/2)g(x)=f(x/2), and give the image of the point (3,9)(3,9) on the graph of ff.
Original and stretched parabolas
Original and stretched parabolasThe wider curve is the horizontal stretch. The graph shows only a window of the full domain.-4-3-2-1012340246810f(x)=x²g(x)=x²/4xy

The wider curve is the horizontal stretch. The graph shows only a window of the full domain.

  1. Read the input
    The input is divided by 22. This gives a horizontal stretch by factor 22. The point rule multiplies the original horizontal coordinate by 22 and leaves the output unchanged.
    (x,y)↦(2x,y)(x,y)\mapsto(2x,y)
  2. Transform the point
    Apply the point rule to (3,9)(3,9). The new horizontal coordinate is 66, and the vertical coordinate remains 99.
    (3,9)↦(6,9)(3,9)\mapsto(6,9)
  3. Check using the equation
    Since f(x)=x2f(x)=x^2, the transformed function can also be written by substituting x/2x/2 for the input. At the new input 66, it gives the original output at input 33.
    g(6)=f(6/2)=f(3)=9g(6)=f(6/2)=f(3)=9
Answer: The graph is horizontally stretched by factor 22. The image of (3,9)(3,9) is (6,9)(6,9).
Check: The point rule and the transformed equation both give output 99 at the new input 66.

Worked example

Compare vertical and horizontal stretches

The original function is f(x)=xf(x)=\sqrt{x}, with domain x≥0x\geq 0. Describe p(x)=3f(x)p(x)=3f(x) and q(x)=f(x/4)q(x)=f(x/4). Find each transformed graph's point corresponding to (4,2)(4,2) on the original graph.
Square-root stretches
Square-root stretchesThe curves show only a window of the full domain, which continues to the right.02468101214161802468f(x)=√xp(x)=3√xq(x)=√(x/4)xy

The curves show only a window of the full domain, which continues to the right.

  1. Describe p
    The factor 33 is outside ff, so pp is a vertical stretch by factor 33. It multiplies the output coordinate by 33 and keeps the input coordinate fixed.
    (4,2)↦(4,6)(4,2)\mapsto(4,6)
  2. Describe q
    The input is divided by 44, so qq is a horizontal stretch by factor 44. It multiplies the horizontal coordinate by 44 and keeps the output coordinate fixed.
    (4,2)↦(16,2)(4,2)\mapsto(16,2)
  3. Check the domains
    For pp, the square-root input remains xx, so it must satisfy x≥0x\geq 0. For qq, the square-root input is x/4x/4, which is also nonnegative exactly when x≥0x\geq 0. Both transformed functions have domain x≥0x\geq 0.
    x≥0x\geq 0
Answer: pp is a vertical stretch by factor 33 and has corresponding point (4,6)(4,6). qq is a horizontal stretch by factor 44 and has corresponding point (16,2)(16,2). Both domains are x≥0x\geq 0.
Check: The output changes for pp; the input changes for qq. The domain condition is valid for both square-root expressions.

Common mistakes and how to avoid them

Calling f(3x)f(3x) a horizontal stretch by factor 33.
Correction: f(3x)f(3x) uses a larger input at each chosen xx, so it compresses horizontally. A horizontal stretch by factor 33 is written f(x/3)f(x/3).
Changing both coordinates during a vertical stretch.
Correction: A vertical stretch changes only the output coordinate. Use (x,y)↦(x,ay)(x,y)\mapsto(x,ay).
Changing the output during a horizontal stretch.
Correction: A horizontal stretch changes only the input coordinate. Use (x,y)↦(kx,y)(x,y)\mapsto(kx,y).
Assuming a graph window gives the complete domain.
Correction: A graph window shows only the displayed portion. Determine the domain from the function's allowed inputs.

Lesson summary

  • A vertical stretch by factor a>1a>1 is y=af(x)y=af(x) and sends (x,y)(x,y) to (x,ay)(x,ay).
  • A horizontal stretch by factor k>1k>1 is y=f(x/k)y=f(x/k) and sends (x,y)(x,y) to (kx,y)(kx,y).
  • An outside factor changes outputs; division inside the function produces a horizontal stretch.
  • Check the domain when the input to a function changes.

Check your understanding

Question 1

A point (2,5)(2,5) is on y=f(x)y=f(x). What is its corresponding point after the graph is stretched horizontally by factor 33?
  1. (6,5)(6,5)
  2. (2,15)(2,15)
  3. (2/3,5)(2/3,5)
  4. (6,15)(6,15)
Show answer and explanation
(6,5)(6,5)
A horizontal stretch multiplies the horizontal coordinate by 33 and leaves the output unchanged.

Question 2

Which equation represents a vertical stretch of y=f(x)y=f(x) by factor 22?
  1. y=f(x/2)y=f(x/2)
  2. y=2f(x)y=2f(x)
  3. y=f(2x)y=f(2x)
  4. y=f(x)+2y=f(x)+2
Show answer and explanation
y=2f(x)y=2f(x)
A vertical stretch multiplies each output by the factor, so the factor appears outside the function.

Question 3

The graph of y=f(x)y=f(x) includes (4,7)(4,7). Which point corresponds to it on y=f(x/5)y=f(x/5)?
  1. (4,35)(4,35)
  2. (20,7)(20,7)
  3. (4/5,7)(4/5,7)
  4. (20,35)(20,35)
Show answer and explanation
(20,7)(20,7)
The input is divided by 55, which makes a horizontal stretch by factor 55. The point's horizontal coordinate becomes 2020; its output stays 77.

Key terms

Function
A rule that assigns an output to each allowed input.
Domain
The set of input values for which a function is defined.
Vertical stretch
A change that multiplies each output by a factor greater than one.
Horizontal stretch
A change that multiplies each input coordinate by a factor greater than one.
Corresponding point
The point on a transformed graph that comes from a given point on the original graph.

Continue through Math 30-1

View the complete Math 30-1 Alberta Grade 12 Mathematics curriculum and lessons

About this lesson and its review

Published by DoAssignment. This reviewed lesson follows Alberta Grade 12 Mathematics (Math 30-1), expectation RF3. It is a study resource, not an official curriculum publication.

Before publication, content is checked for structure, mathematical or chemical notation, calculations, course boundaries, and readability. Errors can still occur, so corrections are welcomed.

Official curriculum reference

Report a correction or ask a question