A vertical stretch or compression changes the distance of graph points from the horizontal axis. Multiplying a function by a factor whose absolute value is greater than one produces a vertical stretch, while a factor between zero and one produces a vertical compression. A horizontal stretch or compression changes the distance of graph points from the vertical axis. Replacing x with x/b produces a horizontal stretch when the absolute value of b is greater than one and a horizontal compression when it is between zero and one. Negative transformation factors also introduce reflections.
Vertical and Horizontal Stretching
Stretching transformations change the width or height of a function graph by multiplying its outputs or modifying its inputs.
Vertical: g(x) = a f(x); horizontal: g(x) = f(x/b)
Explanation
Variables
| Symbol | Meaning | Unit |
|---|---|---|
a | Vertical scaling factor | Dimensionless |
b | Horizontal scaling factor | Dimensionless |
f(x) | Original function | Depends on the context |
g(x) | Transformed function | Depends on the context |
Example or application
Starting with f(x) = x², the function g(x) = 3x² produces a vertical stretch by a factor of 3. The function h(x) = (x/2)² produces a horizontal stretch by a factor of 2.
Key Properties
A vertical stretch multiplies output values.
A horizontal stretch modifies input values.
Factors with absolute value greater than one produce stretches.
Factors between zero and one produce compressions.
Negative factors also introduce reflections.
Sources and verification
Sources are shown as provided in the project data. Not every source has yet been independently verified. Please report errors or missing citations.
- SCIENEXY Mathematics Reference