Illustrated · 1 min
Stretch or Compress Vertically
Another transformation that can be applied to a function is stretching or compressing a function vertically. We can multiply a function by a positive constant to stretch and compress a function vertically. Given the graph of , will be the graph of stretched vertically if the value of is greater than (). will be the graph of compressed vertically if the value of is greater than but less than ().
Example 1
The graph will be a vertical stretch of by units. The red graph is the graph of and the blue graph is the graph of .

Graphed with Desmos
Example 2
Graph of The graph will be a vertical compress of by units. The red graph is the graph of and the blue graph is the graph of .

Graphed with Desmos






