DerivCalc
Written by SilverCodeLabs · Mathematically reviewed · Revised September 17, 2026 · How answers are verified

Derivative of 1/x

1/x hides a power rule problem in fraction clothing — rewrite it as x⁻¹ and the answer is two mechanical steps away.

Answer
d/dx [1/x]  =  −1/x2
Rule used: Power rule with a negative exponent
Open 1/x in the calculator →

Step-by-step solution

1
Rewrite as a power

1/x = x−1. A reciprocal is a negative exponent.

2
Apply the power rule

d/dx[x−1] = (−1)·x−2 — coefficient down, exponent reduced from −1 to −2.

3
Rewrite as a fraction

f′(x) = −1/x2.

Why it works

The minus sign is the whole personality of this function: 1/x is decreasing on both of its branches, and its derivative is strictly negative on each branch. Meanwhile the x² in the denominator says the curve flattens rapidly as you move away from the origin and steepens violently as you approach it — matching the hyperbola's shape exactly.

Note what the derivative does not say: it does not connect the two branches. Both branches slope downward, but the function still jumps from −∞ to +∞ across x = 0, where neither the function nor its derivative exists. "Negative derivative everywhere it's defined" and "decreasing over its whole domain" are subtly different claims, and 1/x is the classic counterexample that keeps that distinction honest.

Domain and the limit definition

Both 1/x and its derivative −1/x² are defined for x ≠ 0. The derivative is negative on each interval (−∞, 0) and (0, ∞). There is no function value or tangent line at zero, and the two branches must be considered separately.

For a fixed nonzero x, the difference quotient is [1/(x + h) − 1/x]/h = −1/[x(x + h)]. Letting h approach zero gives −1/x². At x = 2, the point is (2, 1/2) and the tangent line is y = 1/2 − (x − 2)/4.

An antiderivative on either branch is ln|x| + C. Writing ln(x) alone covers only the positive branch. Differentiation and integration are different operations; neither gives a value at the excluded input zero.

Common mistakes

Practice problems

Differentiate 3/x

Answer: −3/x².

Differentiate 1/x²

Answer: −2/x³ — same method with n = −2.

Find the slope of 1/x at x = 2

Answer: −1/4.

Related derivatives

ln(x)√xx²