Precalculus-I · Unit 5 · Video 2 · Interactive Practice

Horizontal Shifts: Why f(x - h) Moves the Graph Right

IKey Formulas

FormulaMeaningEffect
g(x)=f(x−h)g(x) = f(x - h)Horizontal shift of ff by hhRight if h>0h > 0, left if h<0h < 0
(x, y)↦(x+h, y)(x,\ y) \mapsto (x + h,\ y)What happens to each pointOutput kept, input moved by hh
f(x+1)=f(x−(−1))f(x + 1) = f\big(x - (-1)\big)Reading hh from a plus signh=−1h = -1: one unit left

Key Insight: g(x)=f(x−h)g(x) = f(x - h) reaches an old output only when x−hx - h equals the old input, so xx must be hh larger: the graph moves hh units right.

IIWhere Each Output Reappears

Each output of ff reappears in f(x−h)f(x - h) at an input hh units larger.

IIIRunning the Vent Plan Earlier or Later

The plan F(t)=V(t−h)F(t) = V(t - h) does at time tt what the original plan did at time t−ht - h.

IVWhich Sign? Check a Reference Point

A parabola's vertex has moved; exactly one of the two formulas sends the new vertex back to f(0)=0f(0) = 0.

VQuiz Questions

Problem 1 · Reading the Direction

Given: f(x)=xf(x) = \sqrt{x} and g(x)=x+4g(x) = \sqrt{x + 4}. How is the graph of gg related to the graph of ff?

✅ Correct! x+4=x−(−4)x + 4 = x - (-4), so h=−4h = -4: the starting point moves from (0,0)(0, 0) to (−4,0)(-4, 0).
❌ The sign is the trap. Match to x−hx - h: x+4=x−(−4)x + 4 = x - (-4) gives h=−4h = -4, a shift left. Check: g(−4)=0=f(0)g(-4) = \sqrt{0} = f(0).
❌ Not vertical. The 44 is inside the root, added to the input, so the shift is horizontal.
Show solution

The 4 sits inside the function, with the input: g(x)=f(x+4)=f(x−(−4))g(x) = f(x + 4) = f\big(x - (-4)\big), so h=−4h = -4 and the graph moves 4 units left.

Reference point: ff starts at (0,0)(0, 0). For gg to give 0\sqrt{0} we need x+4=0x + 4 = 0, so x=−4x = -4: gg starts at (−4,0)(-4, 0).

Problem 2 · A Shift on a Table

Given: f(2)=1f(2) = 1, f(4)=3f(4) = 3, f(6)=7f(6) = 7, f(8)=11f(8) = 11, and g(x)=f(x+2)g(x) = f(x + 2). Find g(4)g(4).

✅ Correct! g(4)=f(4+2)=f(6)=7g(4) = f(4 + 2) = f(6) = 7.
❌ That is f(4)f(4). gg adds 2 to its input before ff is applied.
❌ Wrong direction inside. f(4−2)=f(2)=1f(4 - 2) = f(2) = 1 would be f(x−2)f(x - 2); here the input is 4+24 + 2.
❌ The 2 went outside. f(4)+2=5f(4) + 2 = 5 is a vertical shift; the 2 is added to the input.
Show solution
g(4)=f(4+2)=f(6)=7.g(4) = f(4 + 2) = f(6) = 7.

As a table, g(x)=f(x−(−2))g(x) = f\big(x - (-2)\big) shifts 2 units left: the inputs 2,4,6,82, 4, 6, 8 become 0,2,4,60, 2, 4, 6 with the outputs 1,3,7,111, 3, 7, 11 copied. The entry at x=4x = 4 is 77.

Problem 3 · From Graph to Formula

Given: the graph of gg is the parabola y=x2y = x^2 moved so that its vertex is at (−3,0)(-3, 0). Which formula is gg?

✅ Correct! g(−3)=(−3+3)2=0g(-3) = (-3 + 3)^2 = 0, so the vertex is at (−3,0)(-3, 0).
❌ Check the vertex. (x−3)2(x - 3)^2 at x=−3x = -3 is (−6)2=36(-6)^2 = 36, not 00; its vertex is at (3,0)(3, 0).
❌ That is a vertical shift. Its vertex stays at x=0x = 0; a sideways move needs a change inside the square.
Show solution

The vertex moved from (0,0)(0, 0) to (−3,0)(-3, 0): 3 units left, so h=−3h = -3 and g(x)=f(x−(−3))=(x+3)2g(x) = f\big(x - (-3)\big) = (x + 3)^2.

Reference check: the new vertex input −3-3 must become the old input 00 inside ff: −3+3=0-3 + 3 = 0 ✓.

Problem 4 · Gallons and Miles

Given: G(m)G(m) is the number of gallons of gas needed to drive mm miles. What does G(m+10)G(m + 10) represent, and how is its graph related to the graph of GG?

✅ Correct! The 10 is added to the input, miles, and m+10=m−(−10)m + 10 = m - (-10) means h=−10h = -10: 10 units left.
❌ The 10 is inside. G(m)+10G(m) + 10 would add gallons; G(m+10)G(m + 10) adds miles to the input.
❌ Check the direction. m+10=m−(−10)m + 10 = m - (-10), so h=−10h = -10 and the graph moves left.
Show solution

In G(m+10)G(m + 10) the 10 is added to the input, which is miles: it is the number of gallons needed to drive m+10m + 10 miles, ten miles more than mm.

Matching to G(m−h)G(m - h): m+10=m−(−10)m + 10 = m - (-10), so h=−10h = -10 and the graph is a horizontal shift 10 units left. (By contrast G(m)+10G(m) + 10 would be 10 more gallons, a shift 10 units up.)

Solved: 0 / 4