Lesson 5

Vertical stretches and compressions

Theory and examples

Multiplying outputs

A vertical stretch or compression multiplies every yy-value. The xx-values stay the same. This is not a translation: the graph is not simply moving up or down; each point is being pulled away from, or pushed closer to, the xx-axis.

Key idea

For y=kf(x)y=kf(x), every output of ff is multiplied by kk.

k>1k>1

The graph is vertically stretched by factor kk.

y=2f(x)y=2f(x)

0<k<10<k<1

The graph is vertically compressed by factor kk.

y=12f(x)y=\frac12 f(x)

What happens to points?

The input does not change. The output is multiplied. That means matching points stay above the same x-value, but move closer to or further from the x-axis.

Point examples

Stretch by factor 2

(3,4)→(3,8)(3,4)\rightarrow(3,8)

The xx-value stays 33. The yy-value is multiplied by 22.

Compress by factor 12\frac12

(−1,8)→(−1,4)(-1,8)\rightarrow(-1,4)

The xx-value stays −1-1. The yy-value is multiplied by 12\frac12.

General Formula

(a,b)⟶(a,kb)(a,b)\quad \longrightarrow \quad (a,kb)

Same xx-coordinate, multiplied yy-coordinate.

Case 1: k>1k>1

The output kbkb is greater than bb, so the point moves further from the x-axis.

(a, b)(a, kb)

Case 2: 0<k<10<k<1

The output kbkb is less than bb, so the point moves closer to the x-axis.

(a, b)(a, kb)

Further or closer from the x-axis

Now the graph is just many points doing the same thing at once. A vertical stretch pushes points further away from the x-axis. A vertical compression pulls points closer to the x-axis.

Same x-values, scaled y-values

xystretchingcompressiony = 2f(x)y = f(x)y = 1/2 f(x)

Zero stays zero

Points on the x-axis have output 00. If we multiply that output, it is still 00. That is why x-intercepts usually stay fixed during vertical stretches and compressions.

k⋅0=0k\cdot 0=0

The graph can become taller or flatter, but points already on the x-axis stay on the x-axis.

Quick visual comparison

The exact shape does not matter. A vertical stretch pulls the graph away from the x-axis, while a vertical compression pushes it toward the x-axis.

Arch: vertical stretch

original changed

Arch: vertical compression

original changed

Worked examples

Keep asking: what happens to the output? The x-coordinate stays the same.

Example 1

The point (3,4)(3,4) is on y=f(x)y=f(x). What is the matching point on y=2f(x)y=2f(x)?

Click to reveal answer

The output is multiplied by 2. The xx-value stays the same.

(3,4)→(3,8)(3,4)\rightarrow(3,8)

Example 2

The point (−1,8)(-1,8) is on y=f(x)y=f(x). What is the matching point on y=12f(x)y=\frac12 f(x)?

Click to reveal answer

The output is multiplied by 12\frac12. The xx-value stays the same.

(−1,8)→(−1,4)(-1,8)\rightarrow(-1,4)

Preview: negative scale factors

If the multiplier is negative, such as y=−2f(x)y=-2f(x), the graph is also reflected in the x-axis. We will use this idea again when transformations are combined.

Summary

  • y=kf(x)y=kf(x) multiplies every output by kk.
  • k>1k>1 gives a vertical stretch.
  • 0<k<10<k<1 gives a vertical compression.
  • Point rule: (a,b)→(a,kb)(a,b)\rightarrow(a,kb).
  • x-intercepts stay fixed because zero multiplied is still zero.

Optional mastery

Mastery questions

Do you want a high study score? Be disciplined. Do the mastery questions.

Open mastery questions

Checkpoint

Multiple-choice questions

Answer every question correctly to unlock the next lesson. If something is marked red, change your answer and check again.

Question 1
What does y=3f(x)y=3f(x) do to y=f(x)y=f(x)?
Question 2
A point (2,5)(2,5) is on y=f(x)y=f(x). Which point is on y=2f(x)y=2f(x)?
Question 3
What does y=12f(x)y=\frac12 f(x) do to the graph?
Question 4
What happens to x-intercepts under a vertical stretch or compression?