Skip to content
mathlab
0
0
0 XP
Lvl 1
KJ
Lesson 7 ~45 min Functions · Path +90 XP

Transforming Function Graphs

Four alterations to an equation produce four predictable alterations to a graph. What makes them powerful is that they act on the graph itself, so you can apply them to a function whose formula you do not know, and read off the new domain and range without any algebra.

Today's hook: Here is a curve. You are not told what it is, there is no formula, and no rule is given. Now sketch that same curve shifted two right and two up. You can do it, and the reason you can is that the transformation rules never needed the formula in the first place.
0/5QUESTS
Think First
warm-up

A function $f$ has domain $[2, 6]$ and range $[0, 9]$. Before reading on, predict the domain and range of $y = f(x) + 4$, and then of $y = f(x-4)$. One of your two answers should have a changed domain and the other a changed range.

Record your answer in your workbook.
1
The Big Idea
+5 XP to read

The four transformations act on the graph, not on the formula. A change written outside the function moves the outputs, so it moves the range. A change written inside moves the inputs, so it moves the domain, and appears reversed.

$$y = k\,f(x-a) + c$$

That split settles every question at once. $f(x) + c$ and $kf(x)$ and $-f(x)$ leave the domain alone and change the range. $f(x-a)$ leaves the range alone and shifts the domain by $a$.

y = f(x)y = f(x − 2) + 2right 2up 2no formula for f is needed, or even knownthe rules act on the graph, so they work for every function
$y = kf(x-a) + c$
Inside moves the domain
$f(x-3)$ shifts the graph right by $3$, so every allowed input increases by $3$.
Outside moves the range
$f(x) + 3$, $-f(x)$ and $kf(x)$ all leave the domain exactly as it was.
Track one point
Push a single known point through the steps. If your sketch passes through it, the order was right.
2
What You'll Master
objectives

Know

  • The effect of $y = f(x)+c$, $y = f(x-a)$, $y = kf(x)$ and $y = -f(x)$ on a graph
  • That a change outside the function moves the range and one inside moves the domain
  • That a reflection or stretch leaves the domain unchanged

Understand

  • Why a change inside the brackets appears reversed
  • Why the rules apply to any function, including one with no known formula

Can Do

  • Sketch a transformed graph from a sketch of the original
  • State the new domain and range after a transformation
  • Describe in words the transformation relating two given graphs
3
Words You Need
vocabulary
TranslationA slide. The shape and size are unchanged.
ReflectionA flip across a line, here the horizontal axis.
DilationA stretch or compression away from or towards a line.
ImageWhere a given point ends up after a transformation.
Invariant pointA point unmoved by a transformation.
4
Why the Rules Need No Formula
+5 XP to read

Every transformation in this lesson is defined by what it does to the outputs or to the inputs of $f$, and neither depends on how $f$ is calculated.

Take $y = f(x) + 2$. Whatever height the original graph had at a given $x$, the new graph has two more. That statement is complete without knowing what $f$ is, so the whole graph can be redrawn from a picture alone.

The diagram above does exactly that: an unlabelled curve and its image under a shift of two right and two up. No formula was needed at either stage.

This matters more than it might appear. It means:

a question can give you a sketch of an unknown $f$ and ask for a transformed sketch;
a question can give you the domain and range of an unknown $f$ and ask for the transformed ones;
and every rule you learn here applies to functions you have not met yet, including those in senior courses.

The rules are about graphs, not about algebra. That is why they are worth learning once, properly.

5
Outside the Function: Range Moves
+5 XP to read

Three of the four transformations are applied to the output after $f$ has finished.

$y = f(x) + c$. Every height increases by $c$, so the graph slides up by $c$ (down if $c$ is negative). The domain is untouched, since the same inputs are still being fed in. The range shifts by $c$.

$y = -f(x)$. Every height reverses sign, so the graph flips across the horizontal axis. The domain is untouched. The range reflects about zero, and its inequalities reverse: $[1,7]$ becomes $[-7,-1]$.

$y = kf(x)$. Every height is multiplied by $k$, so the graph stretches away from the horizontal axis if $|k| > 1$ and squashes towards it if $|k| < 1$. A negative $k$ reflects as well. The domain is untouched. The range is multiplied by $k$.

The pattern is uniform: whatever you do to the output, do the same to the range. If $f$ has range $[1,7]$, then $3f(x)$ has range $[3,21]$, $f(x)-5$ has range $[-4,2]$, and $-f(x)$ has range $[-7,-1]$.

Watch the order when reflecting
Multiplying by a negative reverses which endpoint is larger. From $[1,7]$, the image of $7$ is $-7$ and the image of $1$ is $-1$, so the new range is $[-7,-1]$ and not $[-1,-7]$. Interval notation always lists the smaller value first.
6
Inside the Function: Domain Moves
+5 XP to read

One transformation is applied to the input before $f$ ever sees it, and it behaves differently in two ways.

$y = f(x-a)$ translates the graph $a$ units to the right.

It looks reversed, and here is why. Call the new function $g$, so $g(x) = f(x-a)$. For $g$ to do at some input whatever $f$ did at input $t$, the bracket must equal $t$: that is $x - a = t$, so $x = t + a$. Every feature of $f$ therefore reappears $a$ further along.

The consequence for the domain follows immediately. If $f$ accepts inputs in $[2,6]$, then $g$ accepts $x$ exactly when $x - a$ lies in $[2,6]$, that is when $x$ lies in $[2+a, 6+a]$. The domain shifts by $a$, in the same direction as the graph.

The range is untouched, because $g$ produces exactly the same outputs as $f$; it merely produces each one at a different input.

So the two halves of the rule pull apart cleanly:

$$f(x-a): \quad \text{domain} + a, \quad \text{range unchanged}$$

$$f(x)+c: \quad \text{domain unchanged}, \quad \text{range} + c$$

7
Applying Them to the Six Shapes
+5 XP to read

Combining this with Lesson 6 makes most sketching questions routine. Read the transformations off the equation, then apply them to the base shape's domain and range.

$y = 2\sqrt{x-1} + 3$. Base $\sqrt{x}$, domain $[0,\infty)$, range $[0,\infty)$. The $-1$ is inside, so the domain becomes $[1,\infty)$. Outside, the range is multiplied by $2$, still $[0,\infty)$, then raised by $3$ to $[3,\infty)$. The graph is the usual root shape, starting at $(1,3)$ and rising, twice as steeply as the base.

$y = -(x+2)^2 + 5$. Base $x^2$, domain all reals, range $[0,\infty)$. The $+2$ inside shifts left by $2$, and the domain is still all real numbers. Outside, the minus reflects the range to $(-\infty,0]$, then the $+5$ raises it to $(-\infty,5]$. The graph is a downward parabola with vertex $(-2,5)$.

$y = \dfrac{1}{x-4} + 1$. Base $\dfrac{1}{x}$, domain $x \neq 0$, range $y \neq 0$. Inside, the domain becomes $x \neq 4$. Outside, the range becomes $y \neq 1$. The asymptotes are therefore $x = 4$ and $y = 1$, and each corresponds to one of those exclusions.

In every case the base shape survives unchanged; only its position and scale differ.

8
Common Pitfalls
+5 XP to read
Saying $y = f(x-5)$ moves the graph five left.
Fix: right. Test with $y = (x-5)^2$, whose lowest point is at $x = 5$, to the right of the origin.
Changing the domain after a vertical stretch or reflection.
Fix: those act on outputs only, so the set of allowed inputs is exactly as it was. Only an inside change touches the domain.
Writing a reflected range with its endpoints in the original order, such as $[-1,-7]$.
Fix: interval notation lists the smaller value first, and a reflection swaps which endpoint is smaller. The correct answer is $[-7,-1]$.
Adding before stretching in $y = kf(x)+c$.
Fix: the expression multiplies first and adds second. A height of $2$ under $y = 3f(x)+4$ becomes $10$, not $18$.
Watch Me Solve It · Transforming domain and range
+15 XP per step
Q1
PROBLEM
A function $f$ has domain $[-3, 5]$ and range $[2, 8]$. State the domain and range of (a) $y = f(x) - 6$, (b) $y = f(x+4)$, (c) $y = -2f(x)$.
  1. 1
    (a) Decide inside or outside
    The $-6$ is outside, so it acts on outputs. Domain unchanged at $[-3,5]$; range lowered by $6$ to $[-4,2]$.
  2. 2
    (b) Decide inside or outside
    $x + 4 \in [-3,5] \ \Leftrightarrow \ x \in [-7, 1]$
    The $+4$ is inside, so it acts on inputs and shifts the graph left by $4$. Domain $[-7,1]$; range unchanged at $[2,8]$.
  3. 3
    (c) Apply the multiplier to the outputs
    $-2 \times 2 = -4, \qquad -2 \times 8 = -16$
    The domain is untouched at $[-3,5]$. The two range endpoints map to $-4$ and $-16$.
  4. 4
    (c) Put the endpoints in order
    $[-16, -4]$
    The negative multiplier reversed which endpoint is larger, so the range is $[-16,-4]$. Writing $[-4,-16]$ would be the standard error here.
Answer(a) domain $[-3,5]$, range $[-4,2]$; (b) domain $[-7,1]$, range $[2,8]$; (c) domain $[-3,5]$, range $[-16,-4]$
Watch Me Solve It · Sketching from a base shape
+15 XP per step
Q2
PROBLEM
Describe the transformations taking $y = \sqrt{x}$ to $y = 3\sqrt{x+2} - 1$, and state the resulting domain, range and starting point.
  1. 1
    Read the transformations from the inside out
    The $+2$ is inside, so translate $2$ units left. The $3$ multiplies the output, so stretch vertically by a factor of $3$. The $-1$ is added last, so translate $1$ unit down.
  2. 2
    Apply the inside change to the domain
    $x + 2 \geq 0 \ \Rightarrow \ x \geq -2$
    The base domain $[0,\infty)$ shifts left by $2$.
  3. 3
    Apply the outside changes to the range
    $\sqrt{x+2} \geq 0 \ \Rightarrow \ 3\sqrt{x+2} \geq 0 \ \Rightarrow \ 3\sqrt{x+2} - 1 \geq -1$
    Multiplying a non-negative quantity by $3$ keeps it non-negative; subtracting $1$ lowers the floor.
  4. 4
    Track the endpoint as a check
    $(0,0) \to (-2,0) \to (-2,0) \to (-2,-1)$
    The base curve starts at the origin. Shifting left puts it at $(-2,0)$; the stretch leaves it because its height is zero; the drop takes it to $(-2,-1)$. Substituting confirms: at $x = -2$, $y = 3(0) - 1 = -1$.
AnswerLeft $2$, vertical stretch by $3$, down $1$; domain $[-2,\infty)$, range $[-1,\infty)$, starting at $(-2,-1)$
Watch Me Solve It · Describing a transformation from two graphs
+15 XP per step
Q3
PROBLEM
The graph of $y = f(x)$ has a lowest point at $(1,4)$ and passes through $(3,10)$. The graph of $y = g(x)$ has a lowest point at $(6,-2)$ and passes through $(8,4)$. Find a transformation taking $f$ to $g$, and express $g$ in terms of $f$.
  1. 1
    Compare the special points horizontally
    $6 - 1 = 5$
    The lowest point has moved $5$ units right, which suggests a horizontal translation of $5$.
  2. 2
    Compare them vertically
    $-2 - 4 = -6$
    It has also dropped by $6$, suggesting a vertical translation of $-6$.
  3. 3
    Test the proposal on the second pair of points
    $(3,10) \to (3+5, 10-6) = (8,4)$
    That is exactly the second point given for $g$, so a translation alone accounts for both points. No stretch or reflection is needed.
  4. 4
    Write it in function notation
    $g(x) = f(x-5) - 6$
    Right by $5$ is $x - 5$ inside; down by $6$ is $-6$ outside. Checking the lowest point: $g(6) = f(1) - 6 = 4 - 6 = -2$, as required.
AnswerTranslate $5$ right and $6$ down; $g(x) = f(x-5) - 6$
D
Brain Trainer · Name the effect
5 problems

Five items on the four transformations. Work each one, then reveal the answer.

  1. 1 $f$ has domain $[0,4]$. State the domain of $y = f(x) + 9$.

    The change is outside, so the inputs are untouched.$[0,4]$
  2. 2 $f$ has domain $[0,4]$. State the domain of $y = f(x-3)$.

    The change is inside, so the domain shifts right by $3$.$[3,7]$
  3. 3 $f$ has range $[1,5]$. State the range of $y = -f(x)$.

    Reflect both endpoints and put them in order.$[-5,-1]$
  4. 4 $f$ has range $[2,6]$. State the range of $y = 4f(x)$.

    Multiply both endpoints by $4$.$[8,24]$
  5. 5 Describe the change from $y = f(x)$ to $y = f(x+7)$.

    Inside the brackets, so the effect is reversed.Translate $7$ units left
Complete in your workbook.
MC1
Which one moves the domain
+10 XP

Which transformation changes the domain of a function?

MC2
The reversal
+10 XP

Compared with $y = f(x)$, the graph of $y = f(x+3)$ is:

MC3
Range under a reflection
+10 XP

$f$ has range $[-2, 6]$. The range of $y = -f(x)$ is:

MC4
No formula needed
+10 XP

You are given a sketch of an unknown function $f$, with no formula. You can sketch $y = f(x) - 4$ because:

MC5
Combined
+10 XP

For $y = 2f(x) - 3$, a point of $y = f(x)$ at height $5$ moves to height:

Q6
Domain and range under transformation
+15 XP
Q6
SHORT ANSWER
A function $f$ has domain $[-1, 7]$ and range $[3, 11]$.
(a) State the domain and range of $y = f(x) - 5$.
(b) State the domain and range of $y = f(x-2)$.
(c) State the domain and range of $y = -3f(x)$.
(d) State the domain and range of $y = f(x+1) + 4$, and describe the transformation in words.
Write your working in your book.
Q7
Sketch from a base shape
+15 XP
Q7
SHORT ANSWER
Consider $y = -\dfrac{1}{x-2} + 3$.
(a) Name the base shape and state its domain and range.
(b) List the transformations in the order they are applied.
(c) State the domain and range of the given function.
(d) State the equations of the two asymptotes, and explain how each one relates to your answer to (c).
Write your working in your book.
Q8
Working backwards
+15 XP
Q8
SHORT ANSWER
The graph of $y = f(x)$ passes through $(0,1)$, $(2,5)$ and $(4,1)$, with a highest point at $(2,5)$.
(a) A second graph $y = g(x)$ passes through $(3,1)$, $(5,5)$ and $(7,1)$, with a highest point at $(5,5)$. Express $g$ in terms of $f$.
(b) A third graph $y = h(x)$ passes through $(0,-2)$, $(2,-10)$ and $(4,-2)$, with a lowest point at $(2,-10)$. Express $h$ in terms of $f$, showing your reasoning.
(c) State the range of $f$ if its domain is $[0,4]$ and it has no lowest point other than at the endpoints.
(d) Hence state the range of $h$ on the same domain.
Write your working in your book.
S
Stretch Challenge · Transformations that leave things alone
+25 XP
S
CHALLENGE
(a) Find all values of $c$ for which $y = f(x) + c$ has the same range as $y = f(x)$, for a function $f$ with range $[2,9]$. Then answer the same question for a function with range all real numbers.
(b) A function satisfies $f(x) = f(x-4)$ for every $x$. Describe what this says about its graph, and give an example.
(c) Under which of the four transformations is the point $(0,0)$ always invariant, and under which is it invariant only sometimes? Justify each answer.
R
Quick Review
recap

Outside

$f(x)+c$, $kf(x)$, $-f(x)$: range moves, domain stays

Inside

$f(x-a)$: domain moves right by $a$, range stays

No formula needed

The rules act on the graph, so any $f$ works

Reflections reorder

$[1,7]$ becomes $[-7,-1]$, smaller value first

Your Badges

0 of 6
First Steps
3-Day Streak
3 in a Row
Lesson Ace
Stretch Seeker
Daily Warrior

Mark lesson as complete

Tick when you've finished Learn, Practice and the Stretch. Earns +90 XP and +25 coins.