Skip to main content
FloridaMathsSyllabus dot point

How do the constants in f(x) + k, f(x + h), and a times f(x) shift, stretch, and reflect the graph of a function?

Identify the effect on the graph of a function of replacing f(x) with f(x) + k, f(x - h), and a times f(x), including vertical and horizontal translations, stretches, compressions, and reflections (MA.912.F.2.1, MA.912.F.2.2).

A B.E.S.T. Algebra 1 EOC answer on transformations (MA.912.F.2), vertical and horizontal shifts, reflections across the axes, and vertical stretches and compressions, and why horizontal shifts move opposite to the sign.

Generated by Claude Opus 4.810 min answer

Reviewed by: AI editorial process; not yet individually human-reviewed

Have a quick question? Jump to the Q&A page

Jump to a section
  1. What this topic is asking
  2. Vertical shifts (outside the function)
  3. Horizontal shifts (inside the function)
  4. Stretches, compressions, and reflections
  5. How the B.E.S.T. EOC examines this topic
  6. Why horizontal shifts go the opposite way
  7. Connecting to vertex form
  8. Try this

What this topic is asking

MA.912.F.2 asks how changing a function's formula changes its graph. You learn to read three moves: adding outside the function (f(x)+kf(x) + k) shifts it vertically, changing the input (f(xh)f(x - h)) shifts it horizontally, and multiplying (af(x)a \cdot f(x)) stretches, compresses, or reflects it. The B.E.S.T. Algebra 1 EOC tests these on parabolas, lines, exponentials, and absolute-value graphs.

Vertical shifts (outside the function)

Adding a constant after the function moves the whole graph up or down:

g(x)=f(x)+k.g(x) = f(x) + k.

If k>0k > 0 the graph rises by kk; if k<0k < 0 it drops by k|k|. This is intuitive: every output gains kk. So f(x)=x2f(x) = x^2 becomes f(x)+3=x2+3f(x) + 3 = x^2 + 3, the same parabola lifted 3 units.

Horizontal shifts (inside the function)

Changing the input moves the graph left or right, and the direction is opposite to the sign you see:

g(x)=f(xh) shifts right h;f(x+h) shifts left h.g(x) = f(x - h) \text{ shifts right } h; \qquad f(x + h) \text{ shifts left } h.

So (x2)2(x - 2)^2 moves the parabola right 2, and (x+5)2(x + 5)^2 moves it left 5. This reversal is the single most error-prone idea in the topic.

Stretches, compressions, and reflections

Multiplying the function by a constant scales it vertically:

  • a>1|a| > 1: vertical stretch (taller, steeper).
  • 0<a<10 < |a| < 1: vertical compression (shorter, flatter).
  • a<0a < 0: reflection across the xx-axis (flips upside down), in addition to any stretch.

How the B.E.S.T. EOC examines this topic

  • Multiple choice and editing task. Describe the transformation from ff to gg, or pick the equation matching a described shift.
  • GRID and matching. Match transformed equations to graphs, or plot the new vertex.
  • Multiselect. Select all transformations applied to a parent function.

A clarifying idea: outside changes affect the output (the yy-direction) and behave intuitively, while inside changes affect the input (the xx-direction) and behave in reverse. Sorting each constant into "inside" or "outside" first tells you which rule and which direction to use.

Why horizontal shifts go the opposite way

The reversal is not arbitrary; it follows from when each part of the graph appears. Take g(x)=f(x2)g(x) = f(x - 2). To get the output that ff produced at input 00, you now need x2=0x - 2 = 0, that is x=2x = 2. So the feature that sat at x=0x = 0 on ff now sits at x=2x = 2 on gg, a shift to the right, even though you see a minus sign. The input must be made larger to "cancel" the subtraction, which pushes every feature in the positive direction. The same logic shows f(x+2)f(x + 2) shifts left, because you need x=2x = -2 to recover the original input of 00. Understanding this lets you reconstruct the rule instead of memorizing a direction that feels backward.

Connecting to vertex form

This topic is the engine behind the vertex form of a quadratic, f(x)=a(xh)2+kf(x) = a(x - h)^2 + k. Reading it as transformations of y=x2y = x^2: hh is the horizontal shift (right for positive hh), kk is the vertical shift, and aa is the stretch and possible reflection. That is exactly why the vertex sits at (h,k)(h, k), the point (0,0)(0, 0) of x2x^2 moved by hh and kk. Seeing vertex form as transformations means you can graph any quadratic from its form without plotting points, which is valuable when the on-screen calculator cannot graph for you.

Try this

Q1. How is g(x)=f(x)+7g(x) = f(x) + 7 related to ff? [1 point]

  • Cue. Shifted up 7 units.

Q2. Starting from y=x2y = x^2, give the vertex of y=(x4)21y = (x - 4)^2 - 1. [1 point]

  • Cue. Right 4, down 1, so the vertex is (4,1)(4, -1).

Exam-style practice questions

Practice questions written in the style of FLDOE exam questions on this dot point, with worked answer explainers. The year tag is the paper they imitate, not the source.

B.E.S.T. (style)1 marksMultiple choice. The graph of g(x)=f(x)5g(x) = f(x) - 5 is the graph of ff transformed how? (A) shifted down 5 (B) shifted up 5 (C) shifted left 5 (D) shifted right 5
Show worked answer →

The correct answer is (A).

Adding a constant outside the function, f(x)+kf(x) + k, shifts the graph vertically: k=5k = -5 moves it down 5 units. Vertical shifts move in the same direction as the sign (subtracting moves down). Choices (C) and (D) describe horizontal shifts, which come from changing the input, not adding outside.

B.E.S.T. (style)2 marksThe parent function is f(x)=x2f(x) = x^{2}. Describe in words the transformation that produces g(x)=(x+3)24g(x) = (x + 3)^{2} - 4, and state the new vertex.
Show worked answer →

The graph shifts left 3 and down 4, giving a vertex at (3,4)(-3, -4).

Inside the function, (x+3)(x + 3) shifts horizontally opposite to the sign, so +3+3 moves the graph left 3. The outside 4-4 shifts it down 4. Starting from the vertex (0,0)(0, 0) of x2x^2, the new vertex is (3,4)(-3, -4). The most common error is shifting right for +3+3; horizontal shifts move opposite to the sign inside.

Related dot points

Sources & how we know this