Reading position, not mastery.
Reading settings
Line spacing
Text width
Saved only in this browser. Theme and colors are in Appearance.
Explore, understand, practice

Graph shifts, reflections and scaling: input or output?

Mathematics roadmap · فارسی

Knowing the shape of f saves rebuilding tables for every shifted version. But f(x−2) and f(x)−2 differ: one changes the input supplied to the rule, the other changes its output. The goal is to construct a transformed graph by tracking a point, rather than memorizing isolated rules. Prerequisites: basic graphs and geometric transformations.

1. Starting question

The vertex of x² is the origin. Where is the vertex of (x−3)², and why?

Diagnostic answer

At (3,0): the squared expression vanishes at input 3. A negative sign inside moves this graph right because of the input equation, rather than an arbitrary convention.

2. Derive the general rule

Suppose (u,v) lies on f, so v=f(u). For g(x)=a f(b(x−h))+k, with a≠0 and b≠0, the old input u must be produced by b(x−h)=u. Solving gives x=h+u/b. The new output is y=av+k. Thus:

(u,v) → (h+u/b, av+k).

The factor a multiplies vertical distances by |a|, reflecting vertically if negative. The factor b divides horizontal distances by |b|, reversing horizontal orientation if negative. In this grouped form, h and k are horizontal and vertical shifts. These scalings generally do not preserve angles or distances.

3. A worked transformation

For g(x)=−2 f(3(x−1))+4, an old point (6,5) moves horizontally first to u/3=2 and then to x=3; its new output is −2×5+4=−6. Direct check: at x=3, the input to f is 3(3−1)=6, exactly the known input. The final point is (3,-6); the formula for f was unnecessary.

Using the square parent function, p(x)=−2(x−1)²+3 has vertex (1,3) and opens downward. Old points (±1,1) become (0,1) and (2,1). The range is (-∞,3]: multiplying a nonnegative square by -2 creates a maximum at the vertex.

The square parent graph and a shifted square multiplied by minus two; the vertex moves from the origin to (1,3), with corresponding points marked.

The axes use equal scales. Corresponding points establish the transformation more reliably than an impression of width.

4. Parentheses and order matter

Rewrite f(2x−6) as f(2(x−3)): the shift is three units right, not six. For example, √(2x−6) requires x≥3, confirming the starting point (3,0).

2(f(x)+3) equals 2f(x)+6, not 2f(x)+3. A vertical shift followed by vertical scaling differs from the reversed order. Use point tracking or algebraic expansion to make the order explicit.

If f has domain [2,8], the domain of f(−2(x−1)) follows from 2≤−2(x−1)≤8. Division by -2 reverses inequalities, yielding [-3,0]. Point tracking sends endpoints 2 and 8 to 0 and -3, reversing their order. Transformations must carry domain restrictions with them.

5. Two reflections

−f(x) changes output, reflecting across the horizontal axis. f(−x) changes input, reflecting across the vertical axis. An even f satisfies f(−x)=f(x), so the second reflection leaves its graph unchanged. This special equality does not make the two operations equivalent in general.

6. Independent practice

  1. Find domain and range of √(x+4)−2.
Answer 1

Four units left and two down from the root graph: domain [-4,∞), range [-2,∞), starting point (-4,-2).

  1. If (4,-1) is on f, find its corresponding point on 3f(2(x+1))−5.
Answer 2

Solve 2(x+1)=4 for x=1. Output is 3(-1)−5=−8, giving (1,-8). Check the input equation before changing the output.

  1. Find vertex, range and zeros of −(x+2)²+9.
Answer 3

Vertex (-2,9), range (-∞,9]. Zeros satisfy (x+2)²=9, giving x=1,-5. Reflection puts a maximum at the vertex.

  1. If f has domain [0,6), find the domain of f(3−x).
Answer 4

0≤3−x<6 gives -3<x≤3, or (-3,3]. The excluded endpoint 6 moves to excluded endpoint -3.

  1. Why does f(x/2) stretch horizontally by two?
Answer 5

To reach old input u, solve x/2=u, giving x=2u. Horizontal distances double while corresponding outputs remain f(u).

7. Continue and retrieve

Continue to composition and inverses when you can derive the point rule and solve exercises 2 and 4 independently. Later analyze f(2x+4) again: f(2(x+2)), horizontal compression and a two-unit left shift. Repair sign errors by tracking a point rather than repeating a slogan about reversed inside signs.

Sources and authorship

Examples and diagram are original; the point mapping is derived by substitution. Further reading: OpenStax, transformation of functions. Online check: 2026-11-17. Diagram provenance.