4.4.4 Practice Modeling: Stretching and Compressing Functions
Ever looked at two graphs that look almost the same, but one is taller, wider, or flipped upside down? Also, that's not a coincidence — it's a transformation. In practice, specifically, you're seeing either a stretch or a compression of a function. And once you understand how these work, you'll be able to look at any graph and tell exactly what happened to it. That's the power of knowing how to model stretching and compressing functions Which is the point..
This is where a lot of students hit a wall in algebra. Plus, the notation gets confusing, the graphs start looking similar, and suddenly you're lost. But here's the thing — once you get the core idea, it clicks. And that's exactly what we're going to do in this guide.
What Is Stretching and Compressing a Function?
When we stretch or compress a function, we're changing its shape without changing its basic behavior. Think of it like this: the graph still follows the same general path, but we've pulled it apart or squished it together in some way.
It sounds simple, but the gap is usually here.
A vertical stretch happens when we multiply the entire function output by some number greater than 1. Consider this: the graph gets taller. Points that were at height 2 are now at height 6, if we stretched by a factor of 3. The x-values stay exactly the same, but every y-value gets bigger Most people skip this — try not to..
A vertical compression is the opposite — we multiply by a number between 0 and 1. The graph gets shorter and squished toward the x-axis. Those same points at height 2 might now be at height 0.5 Nothing fancy..
Now here's where it gets interesting. We can also stretch and compress horizontally. But here's the catch — it works in reverse. Now, to stretch a graph horizontally, we multiply the input (the x-value) by a number between 0 and 1. And to compress it horizontally, we multiply by a number greater than 1 Nothing fancy..
The Notation That Confuses Everyone
Let me clear this up right now, because this is where most people get tripped up.
When you see f(x), that's your original function. When you see af(x), the a outside the function is doing vertical work. When you see f(bx), the b inside the function is doing horizontal work And that's really what it comes down to..
So if you have g(x) = 2f(x), that's a vertical stretch by a factor of 2. Every y-value doubles.
But if you have h(x) = f(2x), that's a horizontal compression by a factor of 2. Every x-value gets cut in half (which makes the graph look twice as skinny) Practical, not theoretical..
This distinction — inside vs. In practice, outside the parentheses — is the whole game. Get this straight and you're already ahead Most people skip this — try not to. That alone is useful..
Why Does This Matter?
Here's why you should care. Function transformations aren't just some random topic your textbook invented to keep you busy. They're the foundation for understanding how graphs behave, and they show up everywhere in higher math Practical, not theoretical..
Once you study physics, you'll see transformations. Think about it: when you get to calculus, you'll work with transformations constantly. And if you ever take a statistics course that involves modeling data, transformations will be your friend Small thing, real impact..
But there's a more immediate reason to learn this well: it shows up on standardized tests. Also, the SAT, ACT, and AP exams all expect you to look at a graph and identify what transformation happened. A lot. And they expect you to take a function and graph its transformed version without blinking The details matter here..
Real talk — this step gets skipped all the time That's the part that actually makes a difference..
Beyond the tests, there's something else worth mentioning. Once you really understand transformations, something magical happens — you start seeing math everywhere. The way a parabola opens up, the way a sine wave stretches, the way data gets modeled in the real world — it's all built on these same principles. You're not just learning a procedure. You're learning a new way to see That's the part that actually makes a difference. That's the whole idea..
How to Model Stretching and Compressing Functions
Let's get into the actual process. I'll walk you through both vertical and horizontal transformations, and then show you what happens when you combine them Most people skip this — try not to..
Step 1: Start with a Function You Know
Pick something simple. f(x) = x² is perfect. It's a basic parabola opening upward with its vertex at the origin.
Now let's transform it.
Step 2: Apply a Vertical Transformation
Take g(x) = 3f(x), which is the same as g(x) = 3x².
What changed? Here's the thing — every point is now three times as tall. But the vertex is still at (0,0), but instead of the point at x = 1 being at y = 1, it's now at y = 3. The point at x = 2 was at y = 4 — now it's at y = 12.
This is a vertical stretch by a factor of 3. The graph looks exactly the same, just pulled upward.
Now try h(x) = ½x². On the flip side, this is a vertical compression by a factor of ½. Every y-value gets cut in half. The graph looks squished against the x-axis That's the part that actually makes a difference..
Step 3: Apply a Horizontal Transformation
This is where people often get confused, so pay attention.
Take p(x) = f(2x), which gives us p(x) = (2x)² = 4x².
Wait — that looks like a vertical stretch! But that's not what happened. Day to day, the point at x = 1 is now at y = 4, not y = 1. What actually happened is that the x-value needed to produce y = 1 got cut in half Most people skip this — try not to. And it works..
Think about it this way: in the original function, to get y = 1, you needed x = 1. In p(x) = (2x)², to get y = 1, you need 2x = 1, so x = 0.5. The graph has been compressed horizontally by a factor of 2. It looks taller, but it's actually just squished And that's really what it comes down to..
This is the counterintuitive part, and it's worth sitting with for a minute. Worth adding: a horizontal compression makes the graph look stretched vertically. On the flip side, a horizontal stretch makes the graph look compressed vertically. They trade places.
Step 4: Combine Transformations
Now let's do both at once. Say we have q(x) = 3f(2x), which is q(x) = 3(2x)² = 12x².
We compressed horizontally by a factor of 2 (everything happened twice as fast horizontally), and then we stretched vertically by a factor of 3. The result is a graph that's both skinnier and taller Took long enough..
Every time you combine transformations, the order matters in your thinking, even though for basic polynomial functions the final result is the same either way. Always identify whether each transformation is happening inside or outside the function notation — that's your anchor.
Step 5: Use Reference Points
One of the best modeling strategies is to pick a few key points on your original graph and track where they go. For f(x) = x², use (0,0), (1,1), (-1,1), (2,4), and (-2,4).
For g(x) = 3f(x), those points become (0,0), (1,3), (-1,3), (2,12), and (-2,12). Easy.
For h(x) = f(2x), they become (0,0), (0.That's why 5,1), (-0. In real terms, 5,1), (1,4), and (-1,4). The x-values got cut in half Nothing fancy..
This reference point method is honestly the most reliable way to graph any transformation. Pick your points, transform them, plot the new points, and connect them the same way the original connected.
Common Mistakes People Make
Let me tell you what I see students doing wrong all the time, so you can avoid these traps.
Mistake #1: Mixing up inside and outside. Students see f(2x) and think "multiply the y-value by 2." Wrong. The 2 is inside, so it affects x, not y. It compresses horizontally. This is the single most common error, and it happens because people rush past the notation without thinking about what each part controls.
Mistake #2: Forgetting the vertex stays put. When you're doing vertical transformations on a function like f(x) = (x-3)² + 2, the vertex doesn't move from vertical transformations. Only horizontal shifts move the vertex horizontally, and only vertical shifts move it vertically. A vertical stretch doesn't change where the vertex sits on the x-axis.
Mistake #3: Not considering negative values. When you multiply by a negative number, you get a reflection, not just a stretch. f(x) = -x² flips the parabola downward. That's a vertical stretch by -1, which is also a reflection over the x-axis. Don't forget that negative multipliers do double duty — they stretch (or compress) and they flip.
Mistake #4: Trying to visualize without sketching. Some students try to hold the entire transformed graph in their heads. Don't do that. Sketch it. Pick your reference points. Plot them. It takes 15 seconds and it prevents so many errors Not complicated — just consistent..
Practical Tips That Actually Work
Here's what I'd tell a student sitting in front of me, one-on-one.
First, always ask yourself: "Is this transformation inside the parentheses or outside?So " That one question will tell you whether you're working horizontally or vertically. So naturally, it's your anchor question. Whenever you're stuck, go back to that.
Second, use the reference point method for everything. I mentioned it earlier, but I'm emphasizing it again because it's that useful. Pick 3 or 4 points you can easily identify on the original graph, transform each one individually, and plot the results. It never fails.
Third, check your end behavior. After you graph a transformation, look at what happens as x gets really large in both directions. Does the graph go up or down? In real terms, does it match what your transformation should produce? This is a quick sanity check that catches a lot of mistakes It's one of those things that adds up..
Fourth, if you're ever unsure whether something is a stretch or a compression, ask: "Did the graph get taller or shorter?" If it's taller, it's a vertical stretch. If it's wider, it's a horizontal compression. The terminology can be confusing, but the visual is always honest Simple, but easy to overlook..
Fifth, practice with different families of functions. Try it with absolute value functions, with cubic functions, with square root functions. Don't just practice on parabolas. The principles are exactly the same, but you'll build a deeper intuition for how transformations work across different shapes No workaround needed..
Frequently Asked Questions
What's the difference between a stretch and a compression?
A stretch makes the graph larger in the direction being transformed — taller for vertical, wider for horizontal. Even so, a stretch multiplies by a number greater than 1. Plus, a compression makes it smaller — shorter for vertical, narrower for horizontal. A compression multiplies by a number between 0 and 1.
Does the order matter when combining transformations?
For basic function families like polynomials, the order doesn't change the final result. Even so, it's good practice to think about horizontal transformations (inside the function) first, then vertical transformations (outside the function), because that's the order your eyes process a graph — left to right, then up and down.
How do I know if a negative multiplier is a stretch or a reflection?
It's both. As an example, -2 is a vertical stretch by 2 with a flip. Practically speaking, a negative multiplier always produces a reflection over the x-axis (for vertical) or y-axis (for horizontal), and it also stretches or compresses depending on whether the absolute value is greater than or less than 1. -½ is a vertical compression by ½ with a flip.
What's the quickest way to graph a transformed function?
Pick 3 to 5 reference points from the original function, transform each one according to whether your transformation is inside or outside the function notation, plot the new points, and connect them the same way the original graph connected.
Why does a horizontal compression look like a vertical stretch?
Because when you compress horizontally, points get closer to the y-axis. That means for any given x-value, the corresponding y-value arrives "faster" in the original function, which often produces a larger y-value. It's not actually a vertical stretch — it's a horizontal compression that produces a similar visual effect. That's why you have to pay attention to the notation instead of just going by how it looks The details matter here. Less friction, more output..
The Bottom Line
Stretching and compressing functions is one of those topics that builds on everything else in algebra, and everything in math builds on it. Once you can look at af(b(x-h)) + k and instantly picture what that graph should look like — the stretch, the compression, the shift — you've crossed a threshold. You stop just computing and start actually seeing.
The key is in the notation. On the flip side, inside the function controls horizontal. Outside controls vertical. Reference points are your safety net. And sketching is never optional, no matter good you think you are.
That's really all there is to it. 4.The rest is just practice — which, coincidentally, is exactly what section 4.4 is all about.