๐Ÿ  Home โ€บ ๐Ÿ“ˆ Linear Functions โ€บ Lesson 7

๐Ÿ› ๏ธ Moving Lines Around โ€” Transformations and Inverses

๐Ÿ“– Lesson 7 of 10

๐Ÿ“Œ 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.

V.3.1