Math Error Lab

Check 27 · Functions

Function transformations: why f(x − 3) shifts right

You see f(x − 3), spot the minus sign and slide the graph 3 to the left. It feels like reading what is written, so it feels safe. It is backward, and SAT-style questions put that backward answer right next to the real one.

In this guide

The short answer

Does f(x − 3) shift the graph left or right?

The graph of y = f(x − 3) is the graph of f shifted 3 right, not left. Changes inside the parentheses act on x the opposite way they look. Changes outside act on y as written. If (2, 5) is on f, then (5, 5) is on f(x − 3), since x − 3 = 2 at x = 5. And f(x) − 3 moves the graph down 3.

Prefer video? Watch the 1-minute lesson

Inside changes act on x the opposite way. Outside changes act on y as written.
A coordinate grid. The point (2, 5) is on the graph of f. A green arrow moves it 3 right and 1 down to (5, 4), the matching point on g(x) = f(x − 3) − 1. A red dashed arrow moves it 3 left to (−1, 4), the tempting wrong point.−20246(2, 5) on f(−1, 4)trap(5, 4) on g
Read the minus as “move left”2 − 3 = −1 → (−1, 4)✗ Trap
Set the inside equal to the old xx − 3 = 2, so x = 5 → (5, 4)✓ Right 3

The − 1 outside lowers the height from 5 to 4 in both rows. Only the inside step decides left or right, and solving for x is what gets it right.

What you’ll practice

  • Shift a graph left or right by solving the inside for x.
  • Apply outside changes to y exactly as written.
  • Find where a known point lands on a transformed graph and check it.

Before you start: You can read a point (x, y) on a graph and evaluate f at a number.

An original worked example

f(x − 3) moves the point (2, 5) to the right, not the left

The point (2, 5) lies on the graph of y = f(x). Let g(x) = f(x − 3) − 1. Which point must lie on the graph of y = g(x)?

The tempting wrong path
  1. The minus sign inside looks like a move to the left, so shift 3 left: 2 − 3 = −1.
  2. The − 1 outside moves the graph down 1: 5 − 1 = 4.
  3. The point is (−1, 4).

Tempting answer(−1, 4)

Where it goes wrong

The outside step is right. The inside step goes the wrong way. You only know f at the input 2, so g uses that value when x − 3 = 2. That happens at x = 5, three units to the right. Test the tempting point. g(−1) = f(−4) − 1, and the question tells you nothing about f(−4).

The correct method

  1. The point tells you one value of f. You know f only at the input 2.

    f(2) = 5
  2. Make the inside equal that input and solve for x.

    x − 3 = 2
    x = 5
  3. Change the output exactly as written. The − 1 outside lowers the height by 1.

    5 − 1 = 4
  4. Write the point. It moved 3 right and 1 down.

    (2, 5) → (5, 4)
  5. Check by putting x = 5 into g.

    g(5) = f(5 − 3) − 1
    = f(2) − 1 = 4
The answer: (5, 4)

Watch it worked out

The same slip in a short video lesson

Lesson 23 of the SAT Math Study System shows this trap on an SAT-style question, then works a harder one. It runs under a minute.

The check to keep

Check 27

Set the inside equal to the old x, then solve.

Don't guess the direction from the sign inside the parentheses. Pick one point you know on f, set the inside equal to its x-value and solve for x. Then do the outside arithmetic on its y-value exactly as written. Finish by putting your new x into g to confirm.

Stretches, reflections, order and writing a shifted equation

Inside changes work on the input before f sees it. In f(x + 4), the graph reaches the old input 0 when x + 4 = 0, at x = −4. So f(x + 4) moves the graph 4 to the left. A plus inside moves left and a minus inside moves right, because you are solving for x each time.

Outside changes work on the output after f is done, so they do what they look like. f(x) + 2 lifts every point up 2. 3f(x) multiplies every height by 3. −f(x) flips the graph across the x-axis, so the point (4, 1) becomes (4, −1). In general, the point (u, v) on f becomes (u + h, a·v + k) on g(x) = a·f(x − h) + k.

A number multiplying x inside works the same way. Solve for x. In f(2x), the old input 6 is reached when 2x = 6, at x = 3, so the graph is squeezed toward the y-axis to half its width. In f(x/2), the old input 6 is reached at x = 12, so the graph is stretched to twice its width.

Order matters on the outside. Read the expression the way you would compute it. In −f(x) + 3, flip first and then add 3, so a height of 5 becomes −5 + 3 = −2. In −(f(x) + 3), add 3 first and then flip, so the same height becomes −8.

To write the equation of a shifted graph, replace every x, not just the first one. Shift f(x) = x² − 2x left 3 and up 1, and you get g(x) = (x + 3)² − 2(x + 3) + 1. Check with the vertex. f has its vertex at (1, −1), so g should have one at (−2, 0). And g(−2) = 1 − 2 + 1 = 0.

Your turn. Keep the answer closed.

Three questions to try

Work each one on paper first. Then type your answer and check it. If it is off, you get a hint about the likely slip, not the answer.

Practice 1

The point (−1, 6) lies on the graph of y = f(x). Let g(x) = f(x + 4) − 2. Which point must lie on the graph of y = g(x)? Give it as an ordered pair.

See the worked answer to practice 1

(−5, 4)

  1. Make the inside equal the known input, −1, and solve for x.

    x + 4 = −1
    x = −5
  2. Change the output as written.

    6 − 2 = 4
  3. Write the point and check it in g.

    (−5, 4)
    g(−5) = f(−1) − 2 = 4

Practice 2

Let f(x) = (x − 1)². The graph of y = g(x) is the graph of y = f(x) shifted 4 units to the right. If g(x) = (x − h)², what is h?

See the worked answer to practice 2

h = 5

  1. A shift right 4 is an inside change: g(x) = f(x − 4).
  2. Replace x with x − 4: g(x) = ((x − 4) − 1)² = (x − 5)².
  3. So h = 5.
  4. Check with the vertex. f has its vertex at (1, 0), and moving it right 4 gives (5, 0). (x − 5)² is 0 at x = 5.

Practice 3

A function f has f(0) = 5, f(4) = −2 and f(6) = 1. Let g(x) = 3f(x + 2) − 5. What is g(2)?

See the worked answer to practice 3

−11

  1. Find the inside first: at x = 2, x + 2 = 4.
  2. Look up f(4) = −2.
  3. Do the outside in order: 3(−2) − 5 = −6 − 5 = −11.
  4. So g(2) = −11.

Common questions about function transformations

Does f(x + 2) shift the graph left or right?

f(x + 2) shifts the graph 2 units to the left. The graph reaches the old input 0 when x + 2 = 0, which is at x = −2. For example, f(x) = x² has its vertex at (0, 0), and (x + 2)² has its vertex at (−2, 0).

What does f(x) − 3 do to the graph?

f(x) − 3 moves the graph 3 units down. A change outside the parentheses acts on the output, so it does what it looks like. Every height drops by 3. If (0, 4) is on the graph of f, then (0, 1) is on the graph of f(x) − 3.

What is the difference between f(2x) and 2f(x)?

2f(x) doubles every height, while f(2x) squeezes the graph to half its width. If (6, 4) is on the graph of f, then (6, 8) is on 2f(x). On f(2x), the old input 6 is reached when 2x = 6, so the point becomes (3, 4).

How do you reflect a graph across the x-axis or the y-axis?

Use −f(x) to reflect across the x-axis and f(−x) to reflect across the y-axis. −f(x) changes the sign of every height, so (3, 2) becomes (3, −2). f(−x) changes the sign of every x-value, so (3, 2) becomes (−3, 2).

How do I find a point on a transformed graph?

Set the inside equal to an x-value you know, solve for x, then apply the outside changes to the y-value. If (4, 1) is on f and g(x) = f(x − 2) + 3, solve x − 2 = 4 to get x = 6. The height is 1 + 3 = 4, so (6, 4) is on g.

Put the checks to work

Can you catch it on a new question?

Try five original questions. See every worked answer and keep the checks you want to practice.

Try the free check

About 3 minutes. No email needed.