Graph of y = 1/x (Reciprocal function (hyperbola))

· How we calculate · Free, no sign-up

Quick answer

The graph of y = 1/x is a rectangular hyperbola with two branches in the first and third quadrants. Domain: x ≠ 0, i.e. (−∞, 0) ∪ (0, ∞); range: y ≠ 0, i.e. (−∞, 0) ∪ (0, ∞). x-intercept: None; y-intercept: None. It is odd (symmetric about the origin).

Functiony = 1/x
Domainx ≠ 0, i.e. (−∞, 0) ∪ (0, ∞)
Rangey ≠ 0, i.e. (−∞, 0) ∪ (0, ∞)
x-intercept(s)None
y-interceptNone
Derivative−1/x²
Graph of y = 1/x for −5 ≤ x ≤ 5−5−4−3−2−1012345−5−4−3−2−1012345
Graph of y = 1/x for −5 ≤ x ≤ 5, −5 ≤ y ≤ 5. Dashed lines are asymptotes. Dots mark intercepts.
Zoom, pan and trace y = 1/x in the interactive grapher.Open the Graphing Calculator →

What the graph of y = 1/x looks like

The reciprocal graph has two separate branches. As x gets close to 0 from the right, 1/x shoots up towards +∞; from the left it plunges to −∞, so the y-axis is a vertical asymptote. As x grows large in either direction, 1/x shrinks towards 0, so the x-axis is a horizontal asymptote. The curve never touches either axis.

Each branch is decreasing, but the function is not decreasing overall: −1 < 1 while 1/(−1) < 1/1. y = 1/x is its own inverse and is symmetric about the lines y = x and y = −x. The area under it from 1 to 2 is ln 2 ≈ 0.693147, which is how the natural logarithm is defined.

Key features of y = 1/x

Key features of y = 1/x
PropertyValue
Functiony = 1/x (Reciprocal function (hyperbola))
FamilyRational
Domainx ≠ 0, i.e. (−∞, 0) ∪ (0, ∞)
Rangey ≠ 0, i.e. (−∞, 0) ∪ (0, ∞)
x-intercept(s)None
y-interceptNone
SymmetryOdd — symmetric about the origin
AsymptotesVertical x = 0, horizontal y = 0
PeriodNot periodic
Increasing onNever
Decreasing on(−∞, 0) and (0, ∞) separately
Key pointsPasses (1, 1), (2, 0.5), (−1, −1); its own inverse
Derivative f′(x)−1/x²
Antiderivative ∫ f(x) dxln|x| + C

Symmetry: Odd — symmetric about the origin. For example f(2) = 0.5 while f(−2) = −0.5, its negative, so the graph looks the same after a half-turn about the origin. Intercepts: the graph meets the x-axis at None and the y-axis at None.

Table of values for y = 1/x

Values of y = 1/x
xy = 1/xSlope f′(x)
−3−0.3333−0.1111
−2−0.5−0.25
−1−1−1
−0.5−2−4
0undefinedundefined
0.52−4
11−1
20.5−0.25
30.3333−0.1111

How to sketch y = 1/x by hand

Plot the points from the table — (−3, −0.3333), (−2, −0.5), (−1, −1), (−0.5, −2), (0.5, 2), (1, 1) — on axes running from about −5 to 5 horizontally. Draw the asymptotes first (vertical x = 0, horizontal y = 0) as dashed lines; the curve gets ever closer to them without crossing in that direction. Then join the points with a smooth curve. As a check on the shape — increasing: Never; decreasing: (−∞, 0) and (0, ∞) separately.

Derivative, tangent line and area

The derivative of y = 1/x is −1/x², which gives the slope of the curve at each point (the third column of the table). At x = 1 the curve is at height 1 and its slope is f′(1) = −1, so the tangent line there is y = −x + 2.

The signed area under the curve from x = 1 to x = 2 is 0.6931, found using the antiderivative ln|x| + C.

Related graphs and transformations

Browse all graphs of common functions by family, or open the graphing calculator.

Frequently asked questions

What is the domain and range of y = 1/x?

Domain: x ≠ 0, i.e. (−∞, 0) ∪ (0, ∞). Range: y ≠ 0, i.e. (−∞, 0) ∪ (0, ∞).

What are the intercepts of y = 1/x?

x-intercept(s): None. y-intercept: None.

What is the derivative of y = 1/x?

f′(x) = −1/x². At x = 1 the curve is at height 1 and its slope is f′(1) = −1, so the tangent line there is y = −x + 2.

Is y = 1/x even, odd or neither?

Odd — symmetric about the origin. For example f(2) = 0.5 while f(−2) = −0.5, its negative, so the graph looks the same after a half-turn about the origin.

Does y = 1/x have asymptotes?

Vertical x = 0, horizontal y = 0.