Illustrated · 1 min
Compress or Stretch Horizontally
Another transformation that can be applied to a function is stretching or compressing a function horizontally.
We can multiply a function by a positive constant to stretch and compress a function horizontally.
Given the graph of , will be the graph of stretched horizontally if the value of is greater than but less than (). will be the graph of compressed horizontally if the value of is greater than ().
Example 1
Graph of The graph of will be a horizontal 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 horizontal compression of by units. The red graph is the graph of and the blue graph is the graph of

Graphed with Desmos






