Vertical and Horizontal Stretching and Shrinking: A Complete Guide to Function Transformations
Vertical and horizontal stretching and shrinking are fundamental function transformations that change the shape and scale of a graph without altering its basic form. Whether you are a student learning precalculus for the first time or a teacher looking for a clear way to explain how multiplying a function or its input reshapes a curve, understanding these transformations is essential. In this guide, you will learn exactly how stretching and shrinking work, the rules that govern them, how to spot them in an equation, and how to graph them with confidence Surprisingly effective..
Counterintuitive, but true.
What Are Function Transformations?
A transformation is any change applied to a parent function that shifts, flips, stretches, or shrinks its graph. The most common transformations include translations (shifts), reflections (flips), and the topic of this article: stretches and shrinks, sometimes called dilations or scaling.
Real talk — this step gets skipped all the time.
Think of a parent function such as f(x) = x² or f(x) = |x| as the "original recipe.Consider this: " When you multiply the function or its input by a constant, you are essentially adjusting that recipe. The result is a graph that is either taller, wider, narrower, or flatter than the original, while keeping its recognizable shape.
Stretching makes a graph larger in a particular direction, while shrinking makes it smaller. The key detail that trips up many learners is that these two operations behave differently depending on whether they are applied to the output (vertical) or the input (horizontal).
Short version: it depends. Long version — keep reading.
Vertical Stretching and Shrinking
Vertical stretching and shrinking affect the y-values, or outputs, of a function. They are controlled by multiplying the entire function by a constant.
The general rule looks like this:
- If g(x) = a · f(x), then:
- When a > 1, the graph is vertically stretched (made taller).
- When 0 < a < 1, the graph is vertically shrunk (made flatter or squished toward the x-axis).
- When a < 0, the graph is also reflected across the x-axis.
How Vertical Transformations Work
Because you multiply the output, every y-coordinate is scaled by the factor a. The x-coordinates stay exactly the same. This is why vertical transformations feel intuitive: what you see is what you get Easy to understand, harder to ignore. Still holds up..
Consider the parent function f(x) = x²:
- Vertical stretch: g(x) = 3x². Every point is now three times as high. The point (1, 1) becomes (1, 3), and (2, 4) becomes (2, 12). The parabola looks narrower and taller.
- Vertical shrink: g(x) = ½x². Every point is now half as high. The point (2, 4) becomes (2, 2). The parabola looks wider and flatter.
A helpful way to remember this: vertical stretches and shrinks behave the way most people expect. Bigger number, taller graph. Smaller number, flatter graph.
Horizontal Stretching and Shrinking
Horizontal stretching and shrinking affect the x-values, or inputs, of a function. They are controlled by multiplying the input variable by a constant, and this is where most confusion begins That's the part that actually makes a difference..
The general rule looks like this:
- If g(x) = f(bx), then:
- When b > 1, the graph is horizontally shrunk (made narrower).
- When 0 < b < 1, the graph is horizontally stretched (made wider).
- When b < 0, the graph is also reflected across the y-axis.
Why Horizontal Transformations Feel "Backwards"
Here is the crucial insight: horizontal stretches and shrinks are counterintuitive. A larger value of b actually makes the graph narrower, and a smaller value makes it wider.
The reason lies in how inputs work. Think about it: when you replace x with bx, the function reaches the same output value using a smaller input. To give you an idea, if b = 2, the function only needs half the x-distance to produce the same y-value, so everything gets squeezed toward the y-axis Simple, but easy to overlook..
Consider f(x) = x² again:
- Horizontal shrink: g(x) = (2x)². The graph is compressed horizontally by a factor of 2. The point that was at (2, 4) now appears at (1, 4). The parabola looks narrower.
- Horizontal stretch: g(x) = (½x)². The graph is stretched horizontally by a factor of 2. The point that was at (1, 1) now appears at (2, 1). The parabola looks wider.
A memory trick that helps many students: for horizontal transformations, the factor is the reciprocal of what you might expect. A factor of b = 3 shrinks the graph to one-third of its original width It's one of those things that adds up..
Comparing Vertical and Horizontal Transformations
To keep these two ideas straight, it helps to see them side by side:
| Feature | Vertical | Horizontal |
|---|---|---|
| What is multiplied | The whole function, a · f(x) | The input, f(bx) |
| Affects | y-values (outputs) | x-values (inputs) |
| Factor > 1 | Stretch (taller) | Shrink (narrower) |
| Factor between 0 and 1 | Shrink (flatter) | Stretch (wider) |
| Intuitive? | Yes | No (reversed) |
Notice the pattern: vertical transformations follow the number, while horizontal transformations do the opposite. Keeping this contrast in mind will save you from the most common mistakes on quizzes and exams Simple, but easy to overlook..
How to Identify Stretches and Shrinks in an Equation
When you are given a function and asked to describe its transformations, follow these steps:
- Locate the constant attached to the function. If a number multiplies the entire function, such as the 4 in 4f(x), it is a vertical transformation.
- Locate the constant attached to the x-variable. If a number multiplies x inside the function, such as the 3 in f(3x), it is a horizontal transformation.
- Determine stretch or shrink. For vertical, a factor greater than 1 stretches and a factor between 0 and 1 shrinks. For horizontal, reverse the logic.
- Check for reflections. A negative sign in front of the function reflects over the x-axis; a negative sign on the x reflects over the y-axis.
Worked Example
Suppose you are given g(x) = ½ · f(4x). Break it down:
- The ½ multiplies the whole function, so this is a vertical shrink by a factor of ½.
- The 4 multiplies the input, so this is a horizontal shrink by a factor of 4.
The graph of g(x) is therefore shorter and much narrower than the parent function f(x).
Graphing Stretches and Shrinks Step by Step
Graphing these transformations becomes easy once you track a few key points:
- Start with the parent function. Sketch or list several points from the original graph.
- Apply the vertical transformation first. Multiply each y-coordinate by the vertical factor.
- Apply the horizontal transformation. Multiply each x-coordinate by the reciprocal of the horizontal factor.
- Plot the new points and connect them smoothly. The shape stays the same; only the scale changes.
As an example, to graph *g(x) = 2f(x