0:00 / 0:00

Vertical Expansions (Stretches) & Compressions (Shrinks)


When we multiply a function by a real number, we get a function that has either been expanded/stretched vertically or compressed/shrinks vertically.

Vertical Expansion/Stretch

If y=f(x)y=f(x), then y=af(x)y=af(x) gives a vertical expansion/stretch when a>1|a|>1 .
  • We say "There is a vertical expansion/stretch by a factor of 'a' "
  • All output values will be multiplied by 'a'

Vertical Compressions/Shrinks

If y=f(x),y=f(x), then y=af(x) y=af(x)~ gives a vertical compression (shrinks vertically) when a<1|a|<1
  • We say "There is a vertical compression by a factor of 'a' " or
  • "The function f(x) has shrunk vertically by a factor of 'a' "
  • All output values will be multiplied by 'a'

PAGE BREAK
Example
Let y=f(x)y=f(x) be shown below:
xf(x)351101112233\begin{array}{|c|c|} \hline\\ x&f(x)\\\\\hline -3&5\\\hline -1&1\\\hline 0&1\\\hline 1&1\\\hline 2&2\\\hline 3&3\\\hline \end{array}
Domain: [3,3][-3,3]
Range: [1,5][1,5]

Let us look at the graphs of y=2f(x) & y=12f(x)y=2f(x)~\&~y=\frac{1}{2}f\left(x\right)on the same grid as y=f(x)y=f(x) and identify the transformations.

x2f(x)12f(x)3102.5120.5020.5120.5241361.5\begin{array}{|c|c|c|} \hline\\ x&2f(x)&\displaystyle\frac{1}{2}f(x)\\\\\hline -3&10&2.5\\\hline -1&2&0.5\\\hline 0&2&0.5\\\hline 1&2&0.5\\\hline 2&4&1\\\hline 3&6&1.5\\\hline \end{array}

For y=2f(x):y=2f(x):
  • There is a vertical expansion by a factor of 2
  • a = 2
  • Domain: [3,3][-3,3]
  • Range: [2,10][2,10]

For y=12f(x)y=\frac{1}{2}f(x):
  • There is a vertical compression by a factor of 12\frac{1}{2}
  • a = 12\frac{1}{2}
  • Domain: [3.3][-3.3]
  • Range: [0.5,2.5][0.5,2.5]
Wize Tip
A vertical expansion or compression affects the range

0:00 / 0:00

Horizontal Expansions & Compressions

When we multiply a function by a real number, we get a function that has either been expanded/stretched horizontally or compressed/shrinks horizontally.

Horizontal Expansion/Stretch

If y=f(x), y=f(x),~ then y=f(bx) y=f(bx)~gives a horizontal expansion when b<1|b|<1
  • We say "There is a horizontal expansion/stretch by a factor of 1b\purple{\dfrac{1}{b}} "
  • All input values will be multiplied by b\displaystyle b

Horizontal Compressions/Shrinks

If y=f(x), y=f(x),~ then y=f(bx) y=f(bx)~ is a horizontal compression when b>1|b|>1
  • We say "There is a horizontal compression by a factor of 1b\purple{\dfrac{1}{b}}" or
  • We say "The function f(x) shrinks horizontally by a factor of 1b\purple{\dfrac{1}{b}}"
  • All input values will be multiplied by b\displaystyle b


PAGE BREAK
Example
Let y=f(x) y=f(x)~ be shown below:
xy351101112233\begin{array}{|c|c|}\hline x&y\\\hline -3&5\\\hline -1&1\\\hline 0&1\\\hline 1&1\\\hline 2&2\\\hline 3&3\\\hline \end{array}
Domain: [3,3][-3,3]
Range: [1,5][1,5]


Let us look at the graphs of y=f(2x) & y=f(12x) y=f(2x)~\&~y=f\big(\frac{1}{2}x\big)~on the same grid as y=f(x) y=f(x)~and identify the transformations.
xy=f(2x)1.550.51010.51121.53xy=f(12x)652101214263\begin{array}{l c r} \begin{array}{|c|c|}\hline x&y=f(2x)\\\hline -1.5&5\\\hline -0.5&1\\\hline 0&1\\\hline 0.5&1\\\hline 1&2\\\hline 1.5&3\\\hline \end{array}& \begin{array}{|c|c|}\hline x&y=f(\frac{1}{2}x)\\\hline -6&5\\\hline -2&1\\\hline 0&1\\\hline 2&1\\\hline 4&2\\\hline 6&3\\\hline \end{array}& \end{array}

For y=f(2x):y=f(2x):
  • There is a horizontal compression by a factor of 12\frac{1}{2}
  • b = 2
  • Domain: [1.5,1.5][-1.5,1.5]
  • Range: [1,5][1,5]

For y=f(12x)y=f\big(\frac{1}{2}x\big):
  • There is a horizontal expansison by a factor of 2
  • b = 12\frac{1}{2}
  • Domain: [6,6][-6,6]
  • Range: [1,5][1,5]
Wize Tip
A horizontal compression or expansion affects the domain

0:00 / 0:00

Example: Vertical & Horizontal Expansions & Compressions

Graph the following transformed functions, identifying the parent functions and domain & range.
  1. y=12x2y=\dfrac{1}{2}x^2
  2. y=3xy=\sqrt{3x}

Part A

y=12x2y=\dfrac{1}{2}x^2

Parent Function: y=x2y=x^2

Table of values for parent function:
   x    y 2411001124\begin{array}{|r|r|} \hline \ \ \ x\ &\ \ \ y\ \\\hline -2&4\\\hline -1&1\\\hline 0&0\\\hline 1&1\\\hline 2&4\\\hline \end{array}
Table of values for transformed function:
   x    y 2210.50010.522\begin{array}{|r|r|} \hline \ \ \ x\ &\ \ \ y\ \\\hline -2&2\\\hline -1&0.5\\\hline 0&0\\\hline 1&0.5\\\hline 2&2\\\hline \end{array}
Sketch:

Domain: (,)(-\infin,\infin)
Range: [0,)[0,\infin)


PAGE BREAK

Part B

Parent Function: y=xy=\sqrt x

Table of values for parent function:
   x    y 00114293\begin{array}{|r|r|} \hline \ \ \ x\ &\ \ \ y\ \\\hline 0&0\\\hline 1&1\\\hline 4&2\\\hline 9&3\\\hline \end{array}
Table of values for transformed function:
   x    y 0013143233\begin{array}{|r|c|} \hline \ \ \ x\ &\ \ \ y\ \\\hline \\0&0\\\\\hline \\\dfrac{1}{3}&1\\\\\hline \\\dfrac{4}{3}&2\\\\\hline \\3&3\\\\\hline \end{array}
Sketch:

Domain: [0,)[0,\infin)
Range: [0,)[0,\infin)
0:00 / 0:00

Example: Vertical & Horizontal Expansions & Compressions

For the function y=f(x) y=f(x)~ (graphed below), identify the transformation applied to y=f(x)y=f(x)and sketch the graph of the transformed function, stating the domain and range.
  1. y=2f(x)y=2f(x)
  2. y=f(4x)y=f(4x)
  3. y=3f(13x)y=3f\big(\frac{1}{3}x\big)

Part A

y=2f(x)y=2f(x)
There is a vertical expansion by a factor of 2 (a = 2)

The table of values for y=f(x) y=f(x)~ is:
xy441101112237\begin{array}{|c|c|} \hline x&y\\\hline -4&4\\\hline -1&1\\\hline 0&1\\\hline 1&-1\\\hline 2&2\\\hline 3&7\\\hline \end{array}

The table of values for y=2f(x) y=2f(x)~ is:
xy4812021224314\begin{array}{|c|c|} \hline x&y\\\hline -4&8\\\hline -1&2\\\hline 0&2\\\hline 1&-2\\\hline 2&4\\\hline 3&14\\\hline \end{array}
Sketch:

Domain: [4,3][-4,3]
Range: [2,14][-2,14]


PAGE BREAK

Part B

y=f(4x)y=f(4x)

There is a horizontal compression by a factor of 14\frac{1}{4} (b=4)(b=4)


The table of values for y=f(x) y=f(x)~ is:
xy441101112237\begin{array}{|c|c|} \hline x&y\\\hline -4&4\\\hline -1&1\\\hline 0&1\\\hline 1&-1\\\hline 2&2\\\hline 3&7\\\hline \end{array}

The table of values for y=f(4x) y=f(4x)~ is:
xy140.251010.2510.520.757\begin{array}{|c|c|} \hline x&y\\\hline -1&4\\\hline -0.25&1\\\hline 0&1\\\hline 0.25&-1\\\hline 0.5&2\\\hline 0.75&7\\\hline \end{array}
Sketch:


Domain: [1,0.75][-1,0.75]
Range: [1,4][-1,4]


PAGE BREAK

Part C

y=3f(13x)y=3f\big(\frac{1}{3}x\big)

There is a:
  • Vertical Expansion by a factor of 3
  • Horizontal Expansion by a factor of 3

The table of values for y=f(x) y=f(x)~ is:
xy441101112237\begin{array}{|c|c|} \hline x&y\\\hline -4&4\\\hline -1&1\\\hline 0&1\\\hline 1&-1\\\hline 2&2\\\hline 3&7\\\hline \end{array}

The table of values for y=3f(13x) y=3f\big(\frac{1}{3}x\big)~ is:
xy121233033366921\begin{array}{|c|c|} \hline x&y\\\hline -12&12\\\hline -3&3\\\hline 0&3\\\hline 3&-3\\\hline 6&6\\\hline 9&21\\\hline \end{array}
Sketch:

Domain: [12,9][-12,9]
Range: [3,21][-3,21]

Practice: Vertical & Horizontal Expansions & Compressions

For each of the following, identify if the parent function has been stretched or compressed in the given direction.
1. In the equation y=3(x1)2+5y = 3(x - 1)^2 + 5 the 33 applies a transformation in the vertical direction.
Does this stretch or compress the parent function y=x2y = x^2 ?

2. In the equation y=3(x1)+5y = \sqrt{3(x-1)} + 5 the 33 applies a transformation in the horizontal direction.
Does this stretch or compress the parent function y=xy=\sqrt{x} ?

Practice: Vertical & Horizontal Expansions & Compressions

Let y=f(x)y=f(x) be shown below.


Match the transformation with its correct coordinate point.
A.
f(12x)f\big(\frac{1}{2}x\big)
B.
f(2x)f(2x)
C.
2f(x)2f(x)
D.
12f(x)\frac{1}{2}f(x)
(4,4)(-4, 4)
(12,1)\big(\frac{1}{2},1\big)
(2,8)(2, 8)
(1,12)\Big(-1, \frac{1}{2}\Big)

Practice: Vertical & Horizontal Expansions & Compressions


Which graph represents the function y=112xy=\dfrac{1}{\frac{1}{2}x}?
Extra Practice