Vertical Stretch Calculator






Vertical Stretch Calculator | Understand Function Transformations


Vertical Stretch Calculator

An intuitive tool to calculate and visualize the vertical stretch or compression of a function’s graph. Instantly find the new coordinates of a point after applying a transformation.

Calculate a Vertical Stretch


Enter the x-coordinate of the point on the original function’s graph.

Please enter a valid number.


Enter the y-coordinate of the point on the original function’s graph. For example, if using f(x) = x², a point could be (2, 4).

Please enter a valid number.


Factor to stretch or compress the graph. `|a| > 1` is a stretch, `0 < |a| < 1` is a compression. A negative value reflects across the x-axis.

Please enter a valid number.


New Stretched Coordinates (x₂, y₂)

(2, 12)

Original Point
(2, 4)
Stretch Factor
3
Change in Y
+8

Formula Used: New Point (x₂, y₂) = (x₁, a × y₁)

Visualizing the Transformation

Dynamic chart showing the original point (blue) and the vertically stretched point (green). The transformation moves the point away from or towards the x-axis.

Example Transformations

Stretch Factor (a) New Y-Coordinate (a × y₁) New Point (x₁, a × y₁) Transformation Type

This table demonstrates how different stretch factors affect an initial point, illustrating both vertical stretches and compressions.

What is a Vertical Stretch?

A vertical stretch is a transformation in mathematics that pulls the graph of a function either away from the x-axis or pushes it toward the x-axis. It is considered a non-rigid transformation because it changes the shape and size of the graph, unlike a translation (shift) which just moves it. Our vertical stretch calculator helps visualize this effect instantly. Anyone studying algebra, pre-calculus, or calculus, as well as engineers and scientists who model data, should use this concept to understand how to manipulate functions.

A common misconception is that a vertical stretch also moves the graph horizontally. However, the x-coordinates of every point on the graph remain unchanged; only the y-coordinates are scaled. Points located on the x-axis (where y=0) are fixed and do not move during a vertical stretch.

Vertical Stretch Formula and Mathematical Explanation

The formula for a vertical stretch is simple and powerful. If you have an original function `y = f(x)`, a vertical stretch is defined by the new function `g(x) = a ⋅ f(x)`. For any given point `(x₁, y₁)` on the original graph, the corresponding point on the stretched graph will be `(x₁, a ⋅ y₁)`. Our vertical stretch calculator uses this exact principle.

The transformation is derived by multiplying the output (the y-value) of the original function by a constant factor ‘a’.

  • If `|a| > 1`, the graph is stretched vertically, moving points farther from the x-axis.
  • If `0 < |a| < 1`, the graph is compressed (or shrunk) vertically, moving points closer to the x-axis.
  • If `a < 0`, the graph is also reflected across the x-axis in addition to being stretched or compressed.

Variables Table

Variable Meaning Unit Typical Range
x₁ The x-coordinate of the original point. Dimensionless Any real number
y₁ The y-coordinate of the original point. Dimensionless Any real number
a The vertical stretch factor. Dimensionless Any real number (except 0)
y₂ The new y-coordinate after transformation. Dimensionless Dependent on y₁ and a

Practical Examples (Real-World Use Cases)

Example 1: Stretching a Parabola

Imagine the function `f(x) = x²`, which forms a basic parabola. Let’s take the point `(3, 9)` on its graph. If we want to apply a vertical stretch with a factor of `a = 2`, we use the vertical stretch formula:

  • Inputs: Original Point = `(3, 9)`, Stretch Factor `a = 2`.
  • Calculation: New Y = `2 * 9 = 18`. The x-coordinate remains the same.
  • Output: The new point is `(3, 18)`.

The graph of the new function, `g(x) = 2x²`, is narrower because every point has been pulled vertically to be twice as far from the x-axis. You can verify this with our vertical stretch calculator.

Example 2: Compressing a Sine Wave

In physics, wave amplitudes are often modified. Consider a sine wave `f(x) = sin(x)` and the point at its peak, `(π/2, 1)`. If we apply a vertical compression with a factor of `a = 0.5` (reducing its amplitude):

  • Inputs: Original Point = `(π/2, 1)`, Stretch Factor `a = 0.5`.
  • Calculation: New Y = `0.5 * 1 = 0.5`.
  • Output: The new point is `(π/2, 0.5)`.

The new function, `g(x) = 0.5sin(x)`, oscillates with half the original amplitude, making the wave shorter. This is a practical example of the graph stretching principle.

How to Use This Vertical Stretch Calculator

Our vertical stretch calculator is designed for ease of use. Follow these steps:

  1. Enter Original Point Coordinates: Input the `x₁` and `y₁` values of a known point on your function’s graph.
  2. Enter the Vertical Stretch Factor: Input the factor `a` you wish to apply.
  3. Read the Results: The calculator instantly updates, showing the new coordinates `(x₂, y₂)` as the primary result. It also displays intermediate values like the original point and the total change in the y-coordinate.
  4. Analyze the Chart and Table: Use the dynamic chart to visually compare the original and stretched points. The table provides further examples of how different factors would affect your original point. This tool is perfect for understanding the vertical stretch formula in action.

Key Factors That Affect Vertical Stretch Results

Understanding the factors that influence a vertical stretch is key to mastering function transformations. The output of any vertical stretch calculator depends on these elements:

  1. The Magnitude of the Stretch Factor `a`: The absolute value `|a|` determines the intensity of the stretch or compression. A larger `|a|` results in a more dramatic stretch away from the x-axis.
  2. The Sign of the Stretch Factor `a`: A positive `a` keeps the graph on the same side of the x-axis. A negative `a` causes a reflection across the x-axis, flipping the graph vertically.
  3. The Original Y-Coordinate `y₁`: The effect of the stretch is proportional to the point’s distance from the x-axis. Points with larger `|y₁|` values will move a greater distance than points closer to the x-axis.
  4. Invariance of X-Intercepts: Points on the x-axis have a y-coordinate of 0. Since `a * 0 = 0`, these points never move. This is a fundamental property of a non-rigid transformation like a vertical stretch.
  5. Effect on the Function’s Range: A vertical stretch directly impacts the range (the set of all possible y-values) of a function. If the original range is `[min, max]`, the new range becomes `[a*min, a*max]` (or `[a*max, a*min]` if `a` is negative).
  6. Relationship to Horizontal Transformations: It’s crucial not to confuse a vertical stretch `y = a * f(x)` with a horizontal stretch `y = f(b * x)`. A vertical stretch affects y-values, while a horizontal stretch affects x-values. For more information, see our guide on how to vertically stretch a graph.

Frequently Asked Questions (FAQ)

What’s the difference between a vertical stretch and a vertical shift?

A vertical stretch, `g(x) = a * f(x)`, multiplies the y-values, changing the graph’s shape. A vertical shift, `g(x) = f(x) + k`, adds a constant to the y-values, moving the entire graph up or down without changing its shape.

What happens if the stretch factor is 1?

If `a = 1`, the function remains unchanged since `g(x) = 1 * f(x) = f(x)`. There is no stretch or compression.

What happens if the stretch factor is 0?

If `a = 0`, the function becomes `g(x) = 0`, which is the horizontal line at y=0 (the x-axis). The entire graph is flattened onto the x-axis.

What happens if the stretch factor is negative?

A negative factor, like `a = -2`, combines two transformations: a vertical stretch by a factor of `|a|` (in this case, 2) and a reflection across the x-axis. Our vertical stretch calculator handles negative factors correctly.

Does a vertical stretch change the x-intercepts?

No. X-intercepts occur where y=0. Since the transformation is `y₂ = a * y₁`, if `y₁=0`, then `y₂=0`. The x-intercepts are invariant under vertical stretches.

Does a vertical stretch change the y-intercept?

Yes. The y-intercept occurs at `x=0`, with coordinate `(0, y₁)`. The new y-intercept will be at `(0, a * y₁)`, so it is scaled by the factor `a`.

Can I use this vertical stretch calculator for any function?

Yes. The principle of a vertical stretch applies to any function. As long as you know the coordinates of at least one point on the function’s graph, you can use this calculator to find its transformed position.

Is a vertical stretch a rigid transformation?

No, it is a non-rigid transformation. Rigid transformations (like translations and rotations) preserve the shape and size of the graph, while non-rigid transformations like a vertical stretch distort it. Check out this article on function transformation for more details.

© 2026 Math Tools Inc. | Your resource for educational calculators.


Leave a Reply

Your email address will not be published. Required fields are marked *