How to Vertically Stretch a Function: Step-by-Step Guide
In this article
To vertically stretch a function, multiply the entire function by a constant factor greater than 1. For example, if you have f(x) and you want to stretch it vertically by a factor of 3, the new function is g(x) = 3·f(x). This makes every y-value three times larger while keeping the x-values the same, so the graph becomes taller and narrower relative to the x-axis. You can apply this to any function—linear, quadratic, trigonometric, exponential, or otherwise—by multiplying the output. If you are working with a graphing calculator or software, you can also achieve the stretch by adjusting the equation accordingly. No special tools are required beyond a basic understanding of function notation and graph transformations.
What You'll Need
- The original function written in the form y = f(x).
- A factor greater than 1 by which to stretch vertically (e.g., 2, 3, 1.5).
- Graph paper or graphing software to visualize the transformation.
- A pencil and ruler if drawing by hand.
Step-by-Step
- Identify the original function. Write down the function you want to stretch, for example f(x) = x² or f(x) = sin(x). Make sure it is in the form y = f(x).
- Choose your stretch factor. Pick a number k greater than 1. This is how many times taller the graph will become. For instance, k = 2 doubles all y-values; k = 0.5 would compress, not stretch, so avoid factors between 0 and 1 for a stretch.
- Multiply the entire function by k. Create the new function g(x) = k · f(x). This means every output value is multiplied by k. For example, if f(x) = x² and k = 3, then g(x) = 3x².
- Check the effect on key points. Take a few points from the original function, such as (1, 1) for f(x) = x². Multiply the y-coordinate by k: (1, 3) for k = 3. Do this for several points to see how the graph changes.
- Plot the new points. On graph paper or using software, plot the transformed points. For a more accurate graph, plot enough points to capture the shape, especially for curves.
- Sketch the new graph. Connect the points smoothly, keeping the same general shape but stretched vertically. The x-intercepts remain the same because multiplying by k does not change where y = 0 (since k·0 = 0). The y-intercept is multiplied by k.
- Label the axes and the new function. Clearly mark the original and new functions if comparing, and note the stretch factor. This helps avoid confusion.
- Verify with additional points. Pick a point with a negative y-value to ensure the stretch works both above and below the x-axis. For example, if f(2) = -4, then g(2) = k·(-4) = -4k, which is further from the x-axis.
- Consider the domain and range. The domain (x-values) stays the same. The range (y-values) is scaled by k: if the original range was [a, b], the new range becomes [k·a, k·b] for positive k. If the function has negative outputs, the stretch moves them further down.
- Apply to real-world contexts if needed. If the function models a physical quantity (e.g., height over time), multiplying by k scales the output accordingly. Ensure the stretch makes sense in context.
Common Mistakes
- Multiplying only part of the function. For example, writing 3x² + 1 instead of 3(x² + 1) when the original was f(x) = x² + 1. The entire function must be multiplied by k: g(x) = k·f(x).
- Using a factor between 0 and 1. That compresses the graph vertically, not stretches it. For a stretch, k must be greater than 1.
- Confusing vertical stretch with horizontal stretch. Vertical stretch multiplies the output (y-values); horizontal stretch multiplies the input (x-values) by 1/k or compresses by k.
- Forgetting that x-intercepts stay the same. Since k·0 = 0, points on the x-axis do not move vertically. Only points with nonzero y-values change.
- Not adjusting the scale of the graph. If you stretch by a large factor, the graph may go off the visible area. Adjust the y-axis scale accordingly.
Tips
- Always multiply the entire function, not just one term. Use parentheses to avoid errors: g(x) = k·(f(x)).
- Test with a simple point like (1, f(1)) to quickly see the effect.
- If you are using technology, enter the new equation and compare graphs side by side.
- Remember that vertical stretch affects the amplitude of trigonometric functions: y = A·sin(x) has amplitude |A|, so a stretch by k changes the amplitude to k times the original.
- For quadratic functions, vertical stretch changes the "width" appearance: a larger k makes the parabola narrower.
Troubleshooting
- The graph looks compressed instead of stretched. Check your factor: if k is between 0 and 1, you compressed. Use k > 1 for a stretch.
- The shape is distorted. Ensure you multiplied the entire function, not just the leading term. For example, if f(x) = x² + 2x, then k·f(x) = kx² + 2kx, not kx² + 2x.
- Key points are not where expected. Recalculate by multiplying the y-coordinate of each point by k. Double-check arithmetic.
- The graph does not fit on the screen or paper. Adjust the y-axis scale or choose a smaller stretch factor if the graph goes off-screen.
- Confusion with horizontal shifts. Vertical stretch does not shift the graph left or right; it only changes vertical distances. If the graph appears shifted, you may have added a constant instead of multiplying.
Frequently Asked Questions
What is the difference between vertical stretch and vertical compression?
A vertical stretch multiplies the function by a factor greater than 1, making it taller. A vertical compression multiplies by a factor between 0 and 1, making it shorter.
Does vertical stretch change the x-intercepts?
No. Multiplying by a constant does not change where the function equals zero, so x-intercepts remain the same.
Can I vertically stretch any type of function?
Yes, you can apply a vertical stretch to any function by multiplying its output by a constant factor greater than 1.
How do I vertically stretch a function by a factor of 1/2?
Multiplying by 1/2 actually compresses the function vertically, not stretches it. To stretch, use a factor greater than 1.
What happens to the y-intercept after a vertical stretch?
The y-intercept is multiplied by the stretch factor. If the original y-intercept is (0, b), the new y-intercept is (0, k·b).
Is vertical stretch the same as amplitude change in trigonometric functions?
Yes, for functions like sine and cosine, multiplying by a constant changes the amplitude, which is a vertical stretch.