Draft — content is not yet teacher-reviewed
NCMath
NC Math 3
Strands
Number and Quantity1 ✓Algebra13 ✓Functions13 ✓Geometry9 ✓Statistics and Probability5 ✓
Transformations of Functions
What happens to a graph, and to a table of values, when you replace f(x) with k·f(x), f(x) + k, f(x + k), or f(k·x). The last one is new in Math 3. The big idea: changes made outside the parentheses move the outputs the way you expect, but changes made inside act backward.
Source: Authored for NCMath (not from the PDF prototype) — needs teacher review
Outside vs. inside
In every card below, the blue graph is the original f and the orange graph is the new one.
A change outside the function, like f(x) + 3 or 2·f(x), happens to the output (the y-value) after f is done. It does what it looks like it does.
A change inside the parentheses, like f(x + 3) or f(2x), happens to the input (the x-value) before f is used. So it works backward from what you'd guess.
Why backward? For g(x) = f(x + 3), g needs x + 3 to equal the old input. The old input 2 now comes from x = −1, which is 3 less. Every point slides 3 to the left.
Memory hook: Outside the parentheses: y changes, and it does what it says. Inside the parentheses: x changes, and it does the opposite.
Outside changes: f(x) + k and k·f(x)
-4-3-2-1123424610(2, 4)(2, 7)
f(x) + k: slide up or down
Vertical shift — (x, y) → (x, y + k)
Add k to every output. If k is positive the graph moves up k. If k is negative it moves down.
Here f(x) = x² and the new graph is f(x) + 3. The point (2, 4) becomes (2, 7).
xf(x) = x²f(x) + 3
−247
−114
003
114
247
The x column does not change. Only the outputs get 3 added.
Example
f(x) = x². Where does the vertex (0, 0) go on f(x) − 2?
Subtract 2 from the output: (0, 0) → (0, −2).
-1123456789-11234567(4, 2)(4, 4)
k·f(x): stretch or shrink vertically
Vertical stretch (k > 0) — (x, y) → (x, k·y)
Multiply every output by k. If k > 1 the graph stretches away from the x-axis. If 0 < k < 1 it shrinks toward the x-axis.
Here f(x) = √x and the new graph is 2·f(x). The point (4, 2) becomes (4, 4). Points on the x-axis stay put, because 2 · 0 = 0.
xf(x) = √x2·f(x)
000
112
424
936
Example
Using the table above, what is ½·f(x) at x = 4?
½ · 2 = 1, so the point (4, 2) becomes (4, 1). Every height is cut in half.
-1123456789-4-3-2-11234(4, 2)(4, -2)
−f(x): flip over the x-axis
Negative k on the outside — (x, y) → (x, −y)
A negative k·f(x) flips the graph over the x-axis. The point (4, 2) becomes (4, −2).
For k = −2 you do both: flip, and stretch by 2.
xf(x) = √x−f(x)
000
11−1
42−2
93−3
Example
f(x) = √x. What is −2·f(x) at x = 9?
f(9) = 3, and −2 · 3 = −6, so (9, 3) → (9, −6).
Trap: Do not confuse −f(x) with f(−x). The first flips up and down (over the x-axis). The second flips left and right (over the y-axis).
Inside changes: f(x + k) and f(k·x)
-6-5-11234-2-1123456789(2, 4)(-1, 4)(−3, 0)
f(x + k): slide left or right
Horizontal shift — (x, y) → (x − k, y)
f(x + 3) moves the graph 3 units LEFT, not right. The graph reaches each y-value 3 sooner.
f(x − 3) moves the graph 3 units right.
Here f(x) = x². The point (2, 4) on f lands at (−1, 4) on f(x + 3), and the vertex (0, 0) lands at (−3, 0).
xx + 3f(x + 3) = (x + 3)²
−5−24
−4−11
−300
−211
−124
Read it as: feed f the number x + 3. The output 4 now shows up at x = −5 and x = −1.
Example
f(x) = x². Where is the vertex of f(x − 5)?
Here k = −5, so the rule x − k gives 0 − (−5) = 5. The vertex moves to (5, 0), which is 5 units to the right.
Trap: f(x + 3) looks like it should move right because of the plus sign. It moves LEFT. To find where an old point (a, b) goes, solve x + 3 = a, so x = a − 3.
345-1234(3, 1)(1.5, 1)(-2, 0)(-1, 0)
f(k·x): squeeze or stretch horizontally
Horizontal scale (k > 0) — (x, y) → (x/k, y)
f(2x) divides every x-value by 2. The graph is squeezed toward the y-axis. It is compressed horizontally by a factor of ½.
f(½x) goes the other way: every x-value is multiplied by 2, so the graph is stretched horizontally.
Points on the y-axis stay put, because 0 ÷ k = 0. The y-values never change.
Here f is the piecewise graph from (−2, 0) to (4, 0). The point (3, 1) lands at (1.5, 1) on f(2x), and (−2, 0) lands at (−1, 0).
x2xf(2x)
−1−20
−1/2−11
002
1.531
240
f(2x) reaches each output at half the old x.
Example
(6, 5) is on f. Where does it land on f(2x)?
Solve 2x = 6, so x = 3. The point is (3, 5).
Trap: The 2 in f(2x) makes the graph narrower, and the x-values get divided by 2. Students often multiply them by 2 instead.
-5-3-2-11235-11234(3, 1)(-3, 1)
f(−x): flip over the y-axis
Negative k on the inside — (x, y) → (−x, y)
f(−x) flips the graph left and right over the y-axis. Every x-value changes sign and every y-value stays.
The point (3, 1) on f lands at (−3, 1), and the endpoint (4, 0) lands at (−4, 0).
For f(−2x) you do both: flip over the y-axis, and compress by ½.
x−xf(−x)
−440
−331
−222
002
2−20
Example
(−1, 1) is on f. Where is it on f(−x)?
Solve −x = −1, so x = 1. The point is (1, 1).
All of them at a glance
New functionWhat happens to (x, y)In words
f(x) + k(x, y + k)up k (down if k is negative)
k·f(x), k > 0(x, k·y)stretch vertically by k (shrink if k < 1)
−f(x)(x, −y)flip over the x-axis
f(x + k)(x − k, y)left k (right if k is negative)
f(k·x), k > 0(x/k, y)compress horizontally by 1/k (stretch if k < 1)
f(−x)(−x, y)flip over the y-axis
Changes to y do what the formula says. Changes to x are reversed: add becomes left, multiply becomes divide.
Combining transformations
-4-3-223456-4-3-2123456789(0, 0)(2, 5)(4, 1)
Track a point Solve the inside for x, then do the outside to y. — g(x) = m·f(x + h) + c: (a, b) → (a − h, m·b + c)
Here f(x) = x² (blue) and g(x) = −f(x − 2) + 5 (orange). The vertex (0, 0) lands at (2, 5), and (2, 4) lands at (4, 1).
The easiest method is to track points. For g(x) = −f(x − 2) + 5, an old point (a, b) goes to (a + 2, −b + 5). The inside change x − 2 moves x to the right by 2. Then the outside changes flip y and add 5.
Point on fRight 2Flip and up 5 → point on g
(−2, 4)(0, 4)(0, 1)
(0, 0)(2, 0)(2, 5)
(2, 4)(4, 4)(4, 1)
Example
Where does (0, 0) go on g(x) = f(2x − 6)?
Solve 2x − 6 = 0, so x = 3. The point is (3, 0). Factor first: f(2x − 6) = f(2(x − 3)), so the shift is 3 right, not 6.
Memory hook: Factor out the number multiplying x before you read the shift. In f(2x − 6) the shift is 3, because 2x − 6 = 2(x − 3).
Going backwards: find k from a graph or table
  1. Pick one point on f that is easy to track, such as a vertex, an endpoint, or an intercept. Find where it went on the new graph.
  2. If only the y-value changed, the change is on the outside. If y went up or down by the same amount for every point, it is f(x) + k, and k is the difference. If y was multiplied, it is k·f(x), and k is the ratio new y ÷ old y. A negative ratio means a flip as well.
  3. If only the x-value changed, the change is on the inside. For a slide, it is f(x + k), and k = old x − new x. For a squeeze or stretch, it is f(kx), and k = old x ÷ new x.
  4. Check a second point so you know it is the right kind of change.
QuestionComparek
g(x) = f(x) + knew y − old ydifference
g(x) = k·f(x)new y ÷ old yratio
g(x) = f(x + k)old x − new xdifference, reversed
g(x) = f(k·x)old x ÷ new xratio, reversed
Example
f(2) = 4 and the new graph passes through (−1, 4). Find k if g(x) = f(x + k).
Same y, so only x changed. k = old x − new x = 2 − (−1) = 3. Then g(x) = f(x + 3), a shift 3 left. Check: g(−1) = f(−1 + 3) = f(2) = 4.
Practice
1. The table gives f(x) = x². Complete a table for g(x) = f(x) + 3. Give the g(x) values for x = −2, −1, 0, 1, 2.
x−2−1012
f(x)41014
-4-3-2-11234-2-1123456789
2. The graph of f(x) = x² is shown. Where is the vertex of g(x) = f(x + 2), and which way did the graph move?
3. A function f is given by this table. Let g(x) = f(2x). Find g(0), g(1), g(2), g(3), g(4).
x02468
f(x)13254
-1123456789-4-3-2-11234
4. The graph of f(x) = √x is shown. Sketch g(x) = −f(x). What happens to the point (9, 3)?
-5-412-11234(4, 0)(−2, 0)
5. The graph of f is shown, with endpoints (−2, 0) and (4, 0). Sketch y = f(−x). Where do the two endpoints go?
-2-1678-2-11236789(0, 0)(4, 0)(6, 4)(2, 4)
6. The blue graph is f(x) = x². The orange graph is g(x) = f(x + k). Find k.
7. The table shows f(x) = x² and the values of g(x) = k·f(x). Find k.
x−2−1012
f(x)41014
g(x)1230312
8. The table gives f(x) = √x. The function g(x) = f(k·x) has g(0) = 0, g(¼) = 1, g(1) = 2, and g(9/4) = 3. Find k.
x0149
f(x)0123
-4-3-2-1123456-4-3-2-1123456789
9. The graph of f(x) = x² is shown. Describe g(x) = −f(x − 2) + 5 as a list of transformations, and find the new vertex.
a devpromptu thing