y = 1/(x − 2) + 1 as a Shifted 1/x

Category: Functions   Level: 201

y = 1/(x - h) + k: center (h, k), asymptotes x = h and y = k

The graph of y = 1/(x − 2) + 1 is the graph of y = 1/x moved right 2 and up 1. The asymptotes ride along, so their crossing point lands at (2, 1).

Step through it

Watch it

Animated walkthrough

Step by step

Step 1: Start with 1/x

The parent y = 1/x has two branches. Its asymptotes are the two axes, and they cross at the center (0, 0).

y = 1/x

Step 1: Start with 1/x

Step 2: Shift right 2

Replace x with x − 2. The whole picture slides 2 to the right, and the vertical asymptote moves to x = 2.

y = 1/(x - 2)

Step 2: Shift right 2

Step 3: Shift up 1

Add 1. The picture rises 1, and the horizontal asymptote moves to y = 1. The center is now (2, 1).

y = 1/(x - 2) + 1

Step 3: Shift up 1

Step 4: Read h and k off the formula

In y = 1/(x − h) + k, the number subtracted from x is the vertical asymptote and the number added at the end is the horizontal one. No table needed.

h = 2: x = 2, k = 1: y = 1

Step 4: Read h and k off the formula

All steps at once

Storyboard

Generate it yourself

cd svg-generator
python3 -m svgmath render rational-shift --out /tmp/rational-shift

Source: svgmath/diagrams/function_families.py