Graph of y = 1/(x − 2)

Rational functions · Updated 2026-11-26

Quick answer

The graph of y = 1/(x − 2) is a rational function. Its domain is x ≠ 2 and its range is y ≠ 0. It never crosses the x-axis and the y-axis at (0, −0.5). Asymptotes: Vertical x = 2; horizontal y = 0.

−4−3−2−112345678−3−2−1123
  • y=1/(x-2)
Open in graphing calculator

Click the curve to show intercepts and turning points.

Key features

Domainx ≠ 2
Rangey ≠ 0
x-interceptsnone
y-intercept(0, −0.5)
Turning pointsNone
Symmetryneither even nor odd
AsymptotesVertical x = 2; horizontal y = 0
End behaviorAs x → −∞, y → −0.0001; as x → ∞, y → 0.0001
Derivativey′ = −1/(x − 2)²
Second derivativey″ = 2(x − 2)/(x − 2)⁴

Shifting the reciprocal right by 2 moves the vertical asymptote to x = 2.

Table of values

x−3−2−1013
y−0.2−0.25−0.333333−0.5−11

How to graph y = 1/(x − 2)

  1. Open the graphing calculator and type y = 1/(x-2).
  2. Plot the y-intercept (0, −0.5).
  3. Draw the asymptotes as dashed lines: Vertical x = 2; horizontal y = 0.
  4. Use the table of values to add a few more points, then connect them with a smooth curve that follows the end behavior.

Compared with the parent function

y = 1/(x − 2) is a transformation of y = 1/x. A rational function is a ratio of polynomials. It is undefined where the denominator is zero, which produces vertical asymptotes or holes.

−4−3−2−112345678−3−2−1123
  • y=1/x
  • y=1/(x-2)
Open in graphing calculator

Frequently asked questions

What is the domain and range of y = 1/(x − 2)?

Domain: x ≠ 2. Range: y ≠ 0.

What are the x-intercepts of y = 1/(x − 2)?

There are none; the graph never touches the x-axis.

What is the derivative of 1/(x − 2)?

−1/(x − 2)². Graph it by defining f(x) = 1/(x-2) and typing f'(x).

Is 1/(x − 2) even, odd or neither?

It is neither even nor odd.