Aniko

ACT function transformations: shift a graph up, down, left or right

Lesson progressPractice 0/8
Difficulty
Intermediate
Estimated time
25 minutes
Domains
Functions

What you’ll learn

  1. Tell whether a change to a function moves its graph up or down or left or right, and which way.
  2. Move a named point when its graph is translated.
  3. Find the shift between two equations that differ by one number.
  4. Tell a shift from a stretch or a flip.
  5. Match a shifted graph to its equation by its landmarks.

Why this matters on the ACT

One number tacked on, four directions to choose from

A transformation question hands you a function with one number tacked on, like g(x)+7g(x)+7 or p(x+6)p(x+6), and asks what that number does to its graph. The four choices are usually directions: up, down, left, right. So the whole question is two calls. Does the number move the graph up and down or side to side? And which way? One of those calls goes against your instinct. (The standard (x,y)(x,y) coordinate plane in these questions is the ACT’s name for the usual grid, xx across and yy up.)

Solution to the example

The 55 sits inside the parentheses, with the xx, so it moves the graph sideways. For which way, ask where the inside is 00: x−5=0x-5=0 at x=5x=5. So ww does at x=5x=5 what hh does at 00, and the bottom of the parabola moves from (0,0)(0,0) to (5,0)(5,0). The graph moved 55 units to the right, and the answer is B.

The trap is choice A. Everywhere else a minus points the negative way, so h(x−5)h(x-5) looks like a move 55 to the left. Inside, with the xx, the sign works backward. h(x−5)h(x-5) moves right, though it shows a minus. C and D treat the 55 as if it sat outside hh, where it would change the height.

ACT example

Let h(x)=12x2h(x)=\frac12x^2 and w(x)=h(x−5)w(x)=h(x-5). In the standard (x,y)(x,y) coordinate plane, how is the graph of y=w(x)y=w(x) placed compared with the graph of y=h(x)y=h(x)?

Answer choices

Outside: up or down, with the sign

A number added outside the function works on the output, the height. In f(x)+3f(x)+3, every height of ff gets 33 more, so every point climbs 33 and keeps its xx. The graph moves up 33. In f(x)−3f(x)-3, every point drops 33, so it moves down 33.

Outside, the sign says the direction: plus is up, minus is down.

Drag kk in the calculator and watch the dot. It’s the top of the dashed curve, carried along: its xx stays 00, and its height is 4+k4+k.

Calculator loads as you approach
Drag kk below 00: a minus outside moves the graph down.

A move like this, where the graph slides without turning or changing shape, is a translation, and the ACT also calls it a shift. The graph after the move is the image. The ACT may name the direction by axis:

  • up is the positive yy-direction, down the negative yy-direction
  • right is the positive xx-direction, left the negative xx-direction

“Coordinate units” are the grid’s units, so “up 33 coordinate units” is up 33.

Two equations, one number changed

Some questions give the equation before and after, like y=x2−2y=x^2-2 becoming y=x2+5y=x^2+5, and ask for the translation. Only the outside number changed, so the shift is vertical, and its size is new minus old. Type it into Desmos:

5-(-2)

Desmos shows 77: positive, so up 77. The tempting slip is to read the new number by itself and say “up 55”. But y=x2−2y=x^2-2 sits 22 below y=x2y=x^2, and y=x2+5y=x^2+5 sits 55 above it, so the graph climbed 77.

Check your understanding:

The point (2,5)(2,5) is on the graph of y=f(x)y=f(x). Which point is on the graph of y=f(x)−3y=f(x)-3?

Inside: left or right, against the sign

A number added inside the parentheses, with the xx, changes the input. That moves the graph left or right, and here the sign works backward: f(x+2)f(x+2) moves the graph 22 units left, and f(x−2)f(x-2) moves it 22 units right.

Here’s why. Take f(x)=4−x2f(x)=4-x^2, whose top is at x=0x=0. The new graph y=f(x+2)y=f(x+2) feeds ff a number 22 bigger than xx. So at x=−2x=-2 it computes f(0)=4f(0)=4: the top that ff reaches at 00, the new graph reaches at −2-2. Every height arrives 22 units early, so the whole graph sits 22 units to the left.

To place an inside shift, ask where the inside is 00. In f(x+2)f(x+2), x+2=0x+2=0 at x=−2x=-2, so what ff did at 00 now happens at −2-2. It’s the same reason Vertex form shows the vertex works: (x+3)2(x+3)^2 puts the vertex at x=−3x=-3.

Drag kk and watch the dot. With k=2k=2 the equation reads f(x+2)f(x+2) and the top sits at x=−2x=-2.

Calculator loads as you approach
Drag kk above 00: a plus inside moves the graph left.

Moving a named point

When the ACT names a point and a translation in words, move one coordinate. Say (2,8)(2,8) is on y=x3y=x^3 and the graph is translated 44 units right. Right changes xx only, so xx goes from 22 to 66, and the image has (6,8)(6,8). Left would subtract from xx; up or down changes yy instead.

To check it in Desmos, define p(x)=x^3. A move 44 right is p(x−4)p(x-4), so type

p(6-4)

Desmos shows 88: the image passes through (6,8)(6,8).

Common mistake:

Reading the sign inside as the direction: “p(x+6)p(x+6) has a plus, so it moves right.” Test it with one input. For the graph to move right, pp’s value at 00 would have to show up at x=6x=6, but p(6+6)p(6+6) is p(12)p(12). It shows up where x+6=0x+6=0, at x=−6x=-6. It moves left.

Most transformation questions ask only which way and how far, and those are quicker to read than to graph.

Read it by hand when…

  • The question asks which way and how far, like h(x−5)h(x-5) in the opening. Outside goes with the sign, inside against it.

  • It names a point and a move in words, like (2,8)(2,8) moved 44 right. Change the one coordinate the move touches.

Type it into Desmos when…

  • The question asks where the new graph crosses an axis or what it gives at an xx. Define the function and type the input, as in the Try one below.

  • The choices are equations to match to a graph. Read the asymptote and the shape to rule choices out, then graph the ones left.

Either way, ask where the inside is 00 before you trust a sign.

Try one

Practice problems

Practice problem

Let g(x)=x2−x−6g(x)=x^2-x-6, whose graph crosses the yy-axis at (0,−6)(0,-6). At what point does the graph of y=g(x−4)y=g(x-4) cross the yy-axis?

Answer choices
Calculator loads as you approach

Shift, stretch or flip?

The ACT’s wrong choices often offer a stretch, as in “stretched vertically by a factor of 44” for f(x)−4f(x)-4. What decides it is what the number does: adding or subtracting a number slides the graph; multiplying stretches it.

The changeWhat the graph does
f(x)+4f(x)+4, f(x)−4f(x)-4slides up or down 44
f(x+4)f(x+4), f(x−4)f(x-4)slides left or right 44
4f(x)4f(x)stretches vertically: every height is 44 times as far from the xx-axis
−f(x)-f(x)flips over the xx-axis
f(4x)f(4x)squeezes horizontally toward the yy-axis

So f(x)−4f(x)-4 can’t stretch anything: it subtracts. And a translation never changes the shape, so a translated graph is the same curve, moved.

Check your understanding:

Which of these is a translation of the graph of y=f(x)y=f(x): y=3f(x)y=3f(x), y=f(x)+3y=f(x)+3, y=f(3x)y=f(3x) or y=−f(x)y=-f(x)?

Example: Match the graph to its equation

Now the question shows the graph and asks for its equation, and the four choices differ only in their shifts, and sometimes in the kind of function. Read the graph’s landmarks, the lines and points you can pin down, and let each one rule out choices.

Worked example

Which equation has the graph shown in the standard (x,y)(x,y) coordinate plane? The dashed line is an asymptote of the graph.

  1. A

    y=2x+1−3\displaystyle y=2^{x+1}-3

  2. B

    y=2x−1−3\displaystyle y=2^{x-1}-3

  3. C

    y=2x+1+3\displaystyle y=2^{x+1}+3

  4. D

    y=log⁡2(x+1)−3\displaystyle y=\log_2(x+1)-3

Step 1

Read its shape

An asymptote is a line a graph runs along, closer and closer, without reaching it. This graph levels off along a flat dashed line on the left and climbs faster and faster on the right. That’s an exponential, like y=2xy=2^x. A logarithm runs the other way: it shoots down beside an upright asymptote and rises more and more slowly. So D is out.

Step 2

The asymptote is set outside

y=2xy=2^x levels off along y=0y=0, since 2x2^x gets close to 00 but never reaches it. The asymptote in the graph is y=−3y=-3, so the whole graph has moved down 33: the number outside is −3-3. C’s +3+3 would level off at y=3y=3. C is out.

Step 3

One point settles the inside

A and B differ only inside, so check one point you can read exactly: the graph crosses the yy-axis at (0,−1)(0,-1). Graph both choices:

y=2^(x+1)-3
y=2^(x-1)-3

The −- after the closing parenthesis takes you out of the exponent, so no → is needed here. Click where each curve crosses the yy-axis: A gives (0,−1)(0,-1), and B gives (0,−2.5)(0,-2.5). The answer is A.

It fits the inside rule too. y=2xy=2^x passes through (0,1)(0,1), and x+1=0x+1=0 at x=−1x=-1, so that point moves left 11 and down 33, to (−1,−2)(-1,-2). The graph runs through (−1,−2)(-1,-2).

Calculator loads as you approach
Blue is A, red is B. Only blue passes through (0,−1)(0,-1), where the graph crosses the yy-axis.

The same landmarks work for any shifted graph. A flat asymptote y=cy=c gives the outside number; an upright one, x=cx=c, gives the inside. A logarithm has the upright kind, and it sits where the inside is 00: an asymptote at x=3x=3 means x−3x-3 inside. One point you can read on the grid settles what’s left.

Practice problems

Each one turns on where the change sits: inside the parentheses it moves the graph sideways, outside it moves the graph up or down, and a number that multiplies stretches it.

Practice problem

If g(x)=x3−2xg(x)=x^3-2x, what happens to the graph of y=g(x)y=g(x) in the standard (x,y)(x,y) coordinate plane when its equation becomes y=g(x)−5y=g(x)-5?

Answer choices
Calculator loads as you approach

Practice problem

The point (−2,16)(-2,16) is marked on the graph of f(x)=x4f(x)=x^4 in the standard (x,y)(x,y) coordinate plane. If the whole graph slides 55 coordinate units to the right, where does the marked point end up?

Answer choices
Calculator loads as you approach

Practice problem

A graph in the standard (x,y)(x,y) coordinate plane has the equation y=3cos⁡(x)+2y=3\cos(x)+2. It is moved, without turning or stretching, so that its new equation is y=3cos⁡(x)−6y=3\cos(x)-6. How was it moved?

Answer choices
Calculator loads as you approach

Practice problem

Let m(x)=5x2m(x)=5x^2 and k(x)=m(x+9)k(x)=m(x+9). Which statement tells how the graph of y=k(x)y=k(x) is related to the graph of y=m(x)y=m(x) in the standard (x,y)(x,y) coordinate plane?

Answer choices
Calculator loads as you approach

Practice problem

In the standard (x,y)(x,y) coordinate plane, the graph of y=xy=\sqrt{x} is translated 44 coordinate units to the left and 22 coordinate units up. Which of the following is an equation of the image?

Answer choices
Calculator loads as you approach

Practice problem

The point (4,−3)(4,-3) lies on the graph of y=f(x)y=f(x) in the standard (x,y)(x,y) coordinate plane. The function gg is defined by g(x)=f(x+2)−5g(x)=f(x+2)-5. Which of the following points must lie on the graph of y=g(x)y=g(x)?

Answer choices
Calculator loads as you approach

Practice problem

The graph shown, in the standard (x,y)(x,y) coordinate plane, has the dashed line as an asymptote. Which equation could it be the graph of?

Answer choices
Calculator loads as you approach

Finish the lesson

Practice: 8 to go

Finish the remaining practice to complete this lesson.

Quick recap

  • Outside, with the sign: f(x)+kf(x)+k moves the graph up kk, f(x)−kf(x)-k down kk. A point keeps its xx.
  • Inside, against the sign: f(x+k)f(x+k) moves it left kk, f(x−k)f(x-k) right kk. Ask where the inside is 00.
  • Two equations: the shift is new minus old.
  • Add to shift, multiply to stretch: 4f(x)4f(x) stretches, −f(x)-f(x) flips, and a shift never changes the shape.
  • Match a graph by its landmarks: a flat asymptote gives the outside number, an upright one the inside, and one grid point settles the rest.

Next lesson

ACT logarithms and exponential functions: a log is an exponent

A logarithm is an exponent: switch between the two forms, and type growth and log equations into Desmos.

Start next lesson

Free Practice

Free question bank practice problems