Lesson 8

Transformations and domain and range

Theory and examples

Domain and range move with the graph

When a graph undergoes transformations, its domain and range do too. If the graph moves or stretches, its left-to-right spread or bottom-to-top spread may change.

Domain and range on a graph

Domain is the horizontal spread of the graph. Range is the vertical spread of the graph.

xydomain: left-to-right spreadrange: bottom-to-top spread

Key idea

Horizontal transformations usually affect the domain. Vertical transformations usually affect the range.

If a transformation has both a horizontal and vertical part, like y=af(kx)y=af(kx), then it can affect both the domain and the range.

Vertical translations

A vertical translation changes the outputs, so it shifts the range. The allowed inputs do not change.

y=f(x)+ky=f(x)+k
Domain stays the same.
Range shifts up or down by kk.

Worked example

If the range of ff is −2≤y≤5-2\le y\le 5, what is the range of y=f(x)+3y=f(x)+3?

1

The +3+3 is outside the function, so it shifts the outputs. That means the range moves up by 33.

−2+3=15+3=8-2+3=1\qquad 5+3=8
2

Write the new range using the shifted endpoints.

1≤y≤81\le y\le 8

Horizontal translations

A horizontal translation changes the inputs, so it shifts the domain. The possible outputs stay the same.

y=f(x−h)y=f(x-h)
Domain shifts right by hh.
Range stays the same.

Worked example

If the domain of ff is 1≤x≤61\le x\le 6, what is the domain of y=f(x−2)y=f(x-2)?

1

The x−2x-2 is inside the function, so it changes the inputs. Inside subtraction moves the domain right by 22.

1+2=36+2=81+2=3\qquad 6+2=8
2

Write the new domain using the shifted endpoints.

3≤x≤83\le x\le 8

Stretches and compressions

Scaling works the same way: vertical scaling changes outputs and horizontal scaling changes inputs.

Vertical scaling

y=af(x)y=af(x)

Domain stays the same. Range values are multiplied by aa.

Horizontal scaling

y=f(kx)y=f(kx)

Range stays the same. Domain values are scaled by 1k\frac{1}{k}.

Worked example 1

If the domain of ff is −4≤x≤8-4\le x\le 8, what is the domain of y=f(2x)y=f(2x)?

1

The 22 is inside the function, so it changes the inputs. Horizontal scaling uses the reciprocal, so domain values are multiplied by 12\frac12.

−4⋅12=−28⋅12=4-4\cdot \frac12=-2\qquad 8\cdot \frac12=4
2

Write the new domain using the scaled endpoints.

−2≤x≤4-2\le x\le 4

Worked example 2

If the range of ff is −1≤y≤4-1\le y\le 4, what is the range of y=−2f(x)y=-2f(x)?

1

The −2-2 is outside the function, so it changes the outputs. Multiply both range endpoints by −2-2.

−1(−2)=24(−2)=−8-1(-2)=2\qquad 4(-2)=-8
2

Multiplying by a negative reverses the order, so rewrite the interval from smallest to largest.

−8≤y≤2-8\le y\le 2

Use the graph as a check

Even if the notation feels busy, the picture can keep you honest. Ask: did the graph move left/right, up/down, or both?

One transformation can change both

A graph shifted right and up has a new domain and a new range, because its horizontal spread and vertical spread both moved.

old domainnew domainnew rangeold rangeoriginaltransformed

Common traps

Moving up does not change the domain.

A vertical translation changes outputs, not allowed inputs.

Moving right does not change the range.

A horizontal translation changes inputs, not possible outputs.

f(2x)f(2x) uses the reciprocal.

The domain scales by 12\frac12, not by 22.

Negative vertical scaling flips endpoints.

After multiplying by a negative, rewrite the range from smallest to largest.

Summary

Horizontal changes affect domain.

Vertical changes affect range.

Translations shift endpoints.

Stretches multiply endpoints.

Inside scaling uses the reciprocal.

Always rewrite intervals from smallest to largest.

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
If y=f(x)+4y=f(x)+4, what usually changes?
Question 2
If y=f(x−3)y=f(x-3), what usually changes?
Question 3
If the range of ff is 1≤y≤51\le y\le 5, what is the range of y=2f(x)y=2f(x)?