๐ Key ideas of this section
f(x) + k shifts the line UP by k (slope unchanged) f(x โ h) shifts the line RIGHT by h (slope unchanged) โf(x) flips the line over the x-axis f(โx) flips the line over the y-axis a ร f(x) stretches heights by a (slope scales by a) fโปยน(x) is the INVERSE: the machine run backwards
A transformation takes a function and moves or flips its whole picture at once. The rule to watch: changes OUTSIDE (after f computes, like f(x) + 3) move the picture vertically; changes INSIDE (before f computes, like f(x โ 3)) move it horizontally.
Shift up. Take f(x) = 2x + 1 and add 3 outside: g(x) = f(x) + 3 = 2x + 4. Every output is exactly 3 taller, so the whole line slides up 3. Slope stays 2 โ a shift never tilts.
Shift right. Now change the inside: g(x) = f(x โ 2). Unwrap it:
g(x) = f(x โ 2) = 2(x โ 2) + 1 (f doubles its input, adds 1)
= 2x โ 4 + 1 (distribute the 2)
= 2x โ 3 (combine: โ4 + 1)
Why does "minus 2 inside" mean "right 2"? Watch the tables:
old f: x: 0 1 2 โ y: 1 3 5 new g: x: 2 3 4 โ y: 1 3 5
The new machine at x = 2 replays what the old machine did at x = 0: g(2) = f(0) = 1. Every output happens 2 units LATER, so the whole line slides right 2. Slope is still 2. (Memory hook: inside changes act "backwards" โ minus inside moves right, plus inside moves left.)
Flip over the x-axis: โf(x) = โ(2x + 1) = โ2x โ 1. Every output is negated, so above becomes below: the line somersaults over the x-axis. Slope 2 became โ2.
Flip over the y-axis: f(โx) = 2(โx) + 1 = โ2x + 1. Inputs are negated, so left and right swap: a mirror over the y-axis.
Stretch: 3 ร f(x) = 6x + 3. Every output triples โ including the slope (2 โ 6) and the intercept (1 โ 3). Steeper, same tilt direction.
The inverse function: fโปยน(x)
Every linear machine (with slope โ 0) can be run backwards. The backwards machine is called the inverse, written fโปยน(x) โ read "f inverse." (Warning: fโปยน is a label meaning "the undoing machine," NOT 1 รท f!)
If f(2) = 7, then fโปยน(7) = 2. The inverse undoes whatever f did.
How to build it: run the recipe backwards with the Golden Rule. For f(x) = 2x + 6:
Step 1: y = 2x + 6 (the forward recipe)
Step 2: y โ 6 = 2x (undo "+6": subtract 6 from both sides)
Step 3: (y โ 6)/2 = x (undo "ร2": divide both sides by 2)
Step 4: fโปยน(x) = (x โ 6)/2 = x/2 โ 3
(rename y as x, since we like machines with input x)
An inverse must pass the round-trip test BOTH ways โ that's its definition:
f(fโปยน(x)) = 2(x/2 โ 3) + 6 = x โ 6 + 6 = x โ fโปยน(f(x)) = (2x + 6 โ 6)/2 = 2x/2 = x โ
Two beautiful facts. First, the graph of fโปยน is the graph of f mirrored across the line y = x โ because inverting swaps the roles of x and y, and swapping coordinates reflects over y = x. Second, the slope of the inverse is the RECIPROCAL 1/m (here 2 โ 1/2): rise and run trade places. Reciprocal, not negative reciprocal โ that one was perpendiculars!
And here's a promise kept from Lesson 1: the range of f(x) = 2x + 6 really is all numbers, because the inverse formula (y โ 6)/2 produces an input for ANY target y.
โ๏ธ Your Turn!
Let f(x) = 4x โ 8. (a) Write the rule for f(x) shifted right by 3. (b) Find fโปยน(x). (c) Check the round trip fโปยน(f(3)).
๐ Show the answers
Answer: (a) f(x โ 3) = 4(x โ 3) โ 8 = 4x โ 12 โ 8 = 4x โ 20. (b) y = 4x โ 8 โ y + 8 = 4x โ x = (y + 8)/4, so fโปยน(x) = (x + 8)/4 = x/4 + 2. (c) f(3) = 12 โ 8 = 4; fโปยน(4) = 4/4 + 2 = 1 + 2 = 3 โ โ back to the start.