Shifting a Graph — Cheat sheet

Choose “Save as PDF” in the print dialog.
On this page

Key method

For g(x)=f(x−h)+kg(x)=f(x-h)+k, translate every point by (h,k)(h,k). A forbidden input uu of ff becomes the forbidden input u+hu+h of gg. Vertical shifts do not change the domain.

Example

Starting from f(x)=1/xf(x)=1/x, the function g(x)=1/(x−2)+3g(x)=1/(x-2)+3 has vertical asymptote x=2x=2 and horizontal asymptote y=3y=3. Its domain excludes 22 and its range excludes 33. The point (1,1)(1,1) becomes (3,4)(3,4).

Avoid this mistake

A shift inside a denominator is still an input shift. Solve the denominator-zero equation rather than inferring a sign visually.