A vertical stretch is represented by the transformation , where is the scale factor.
In this transformation, the x-coordinates of all points remain unchanged, while the y-coordinates are multiplied by .
If , the graph is pulled away from the x-axis; if , the graph is compressed toward the x-axis.
Points located on the x-axis (where ) are invariant points because .
A horizontal stretch is represented by the transformation , where the scale factor is .
This transformation is often counter-intuitive: multiplying the input by results in a stretch by the reciprocal .
The y-coordinates remain unchanged, while the x-coordinates are multiplied by .
If , the graph is compressed toward the y-axis (scale factor ); if , the graph is stretched away from the y-axis (scale factor ).
| Feature | Vertical Stretch () | Horizontal Stretch () |
|---|---|---|
| Scale Factor | ||
| Coordinate Change | ||
| Invariant Axis | x-axis | y-axis |
| Direction | Parallel to y-axis | Parallel to x-axis |
Vertical stretches affect the 'outside' of the function (the output), while horizontal stretches affect the 'inside' (the input).
Always remember that horizontal transformations typically act in the opposite way to what the operation suggests (multiplication by results in division by for the coordinates).
Asymptotes are treated like any other line on the graph and are subject to the same coordinate transformations.
A vertical asymptote () is affected by horizontal stretches, moving to , but is unaffected by vertical stretches.
A horizontal asymptote () is affected by vertical stretches, moving to , but is unaffected by horizontal stretches.
If an asymptote lies exactly on the invariant axis (e.g., the x-axis for a vertical stretch), its position remains unchanged.