AjapaReporter

Home life · Updated

How to Stretch a Graph: Step-by-Step Guide

Time it takes10 min
Steps6in the list below
LevelEasyno special skills
Official sourceDesmos Help Centercheck it for changes

Quick answer Stretching a graph means changing its shape by multiplying the x- or y-values by a factor, making it taller, wider, or both. You can do this by hand or with graphing software.

Stretching a graph is a common transformation in algebra and data visualization. It lets you emphasize certain parts of a curve, compare different datasets, or fit a graph into a specific space. The key idea is simple: you multiply either the input (x) or the output (y) by a constant. This guide covers both manual graphing and using digital tools like Desmos or a graphing calculator.

What You’ll Need

  • A graph to stretch (a function, equation, or plotted curve)
  • Graph paper (if doing it by hand)
  • A pencil and ruler
  • Optional: graphing software (Desmos, GeoGebra, or a graphing calculator)

Step-by-Step

  1. Identify the original graph. Write down the equation or have the plotted graph in front of you. For example, y = x² or y = sin(x). Know which axis you want to stretch.
  2. Decide on the stretch factor. Choose a number greater than 1 to stretch (make it larger) or a number between 0 and 1 to compress (make it smaller). For example, a factor of 2 doubles the size; a factor of 0.5 halves it.
  3. Stretch vertically (affects y-values). To make the graph taller, multiply the entire function by the factor. For y = f(x), the new equation is y = a·f(x) where a > 1. For example, y = 2x² makes the parabola twice as tall. Plot a few points: take an x-value, compute the original y, then multiply that y by the factor.
  4. Stretch horizontally (affects x-values). To make the graph wider, divide the x inside the function by the factor. For y = f(x), the new equation is y = f(x/b) where b > 1. For example, y = (x/2)² makes the parabola twice as wide. To plot, pick a y-value, find the original x, then multiply that x by the factor.
  5. Plot the new points. Choose at least 3–5 key points (like the vertex, intercepts, or peaks). Apply the stretch to each point: for vertical stretch, multiply the y-coordinate; for horizontal stretch, multiply the x-coordinate. Mark the new points on your graph paper.
  6. Draw the stretched curve. Connect the new points smoothly, keeping the same general shape as the original. Check that the stretch looks correct: a vertical stretch makes the graph narrower (taller), and a horizontal stretch makes it wider (flatter).

Common Mistakes

  • Confusing vertical and horizontal stretches. Remember: vertical stretch multiplies y, horizontal stretch divides x.
  • Using a negative factor when you meant to stretch. Negative factors reflect the graph across an axis, not just stretch it.
  • Forgetting to apply the stretch to every point. If you only move a few points, the curve will look wrong.
  • Mixing up compression and stretch. A factor between 0 and 1 compresses, not stretches.
  • Not checking the new intercepts. A vertical stretch moves the y-intercept, but a horizontal stretch does not change the y-intercept (unless the graph passes through the origin).

Tips

  • Use graph paper with clear gridlines to make precise plots.
  • When using software, type the equation with the factor in parentheses, like y = 2*(x^2), to avoid order-of-operations errors.
  • Start with a simple function like y = x² or y = |x| to practice before tackling complex curves.
  • If you stretch both axes, apply one stretch at a time to avoid confusion.
  • For trigonometric graphs, remember that horizontal stretch changes the period; vertical stretch changes the amplitude.

Troubleshooting

  • Graph looks distorted or wrong. Double-check your factor and which axis you applied it to. Re-plot a few points to see where the error is.
  • Software shows an error. Make sure you use the correct syntax for multiplication (like * ) and exponents (like ^). Check parentheses.
  • The stretch is too large or too small. Adjust the factor; if it’s too big, use a smaller number, but keep it above 1 for a stretch.
  • You want to stretch only part of the graph. That’s not a simple transformation; you’d need to define a piecewise function or use a different method.

Frequently Asked Questions

What is the difference between stretching and compressing a graph?

Stretching makes the graph larger (factor > 1), while compressing makes it smaller (factor between 0 and 1). Both are done by multiplying the x or y values by the factor.

How do I stretch a graph vertically without changing its horizontal position?

Multiply the entire function by a constant greater than 1. For example, y = 2·f(x). This keeps the x-intercepts the same but moves all other points farther from the x-axis.

How do I stretch a graph horizontally without changing its vertical position?

Replace x with x/b where b > 1. For example, y = f(x/2) makes the graph twice as wide. The y-intercept stays the same, but the x-intercepts move outward.

Can I stretch a graph using a graphing calculator?

Yes. Enter the transformed equation in the calculator’s function editor. For example, to stretch y = x² vertically by 3, enter y = 3x². Use the zoom or window settings to see the full graph.

What happens if I use a negative stretch factor?

A negative factor reflects the graph across the axis. For example, y = -2·f(x) stretches vertically by 2 and flips it upside down. It’s not a pure stretch.

Does stretching a graph change its domain or range?

Vertical stretching can change the range (if the original range is bounded). Horizontal stretching can change the domain (if the original domain is bounded). For functions with infinite domains, the domain usually stays the same.

Sources: Desmos Help Center. Menus and buttons can differ slightly by version. Spotted something out of date? Tell us.