$y=f(x-h)+k$ shifts by $h$ horizontally and $k$ vertically
Note
Vertical translation was covered in the previous article.
Horizontal and vertical shifts are both called translations, but they affect different coordinates: horizontal translations change $x$-coordinates, vertical translations change $y$-coordinates.
Worked Examples With Horizontal Transformations
Example question
The graph of $y=f(x)$ passes through $(2,5)$. Find the corresponding point on $y=f(x-3)$.
Solution
Since $f(x-3)$ shifts the graph right by $3$, add $3$ to the $x$-coordinate: $$(2,5)\to (5,5)$$
Example question
Describe the horizontal transformation from $y=x^2$ to $y=(x+3)^2$.
Solution
Because $(x+3)=(x-(-3))$, the graph shifts left 3 units.
Active recall
Which way does $y=f(x-6)$ move the graph?
A point $(10,2)$ is on $y=f(x)$. What point is on $y=f(x+4)$?