Integral of 1/x²
Updated 6 November 2026 · Checked numerically by the ihateDesmos engine
The integral of 1/x²
∫
1x2
dx =−1x+C
The integral of 1/x² is −1/x + C. Rewrite it as x⁻², and the power rule applies as usual.
y=1x2
in blue and its integral y=−1x
(with C = 0) in red. Defined for x ≠ 0.How to integrate 1/x²
Method: power rule.
- 1Rewrite the integrand as a power: 1/x² = x⁻².
- 2Apply the power rule with n = −2: x⁻¹/(−1).
- 3Simplify: −x⁻¹ = −1/x.
- 4Add the constant: −1/x + C.
- 5Check: the derivative of −1/x is 1/x².
What it means
Unlike 1/x, this function falls fast enough that the area out to infinity is finite: the area from 1 to ∞ is exactly 1. That is why infinite sums like 1 + 1/4 + 1/9 + … converge.
The integral from 1 to 2
Using the antiderivative: F(2) − F(1) = 1/2, which is about 1/2. A direct numerical integration of 1/x² gives 1/2, which agrees.
Check by differentiating
The derivative of the answer should give back the original function. The last column measures that slope directly from the answer, and it matches.
| x | 1/x² | Slope of the answer |
|---|---|---|
| −2 | 1/4 | 1/4 |
| −1 | 1 | 1 |
| 1/2 | 4 | 4 |
| 1 | 1 | 1 |
| 2 | 1/4 | 1/4 |
Common mistakes
- Writing ln(x²), which is wrong: only 1/x integrates to a logarithm.
- Integrating across x = 0. The area near zero is infinite, so the integral from −1 to 1 diverges, even though the formula seems to give −2.
Frequently asked questions
What is the integral of 1/x²?
The integral of 1/x² is −1/x + C, for x ≠ 0.
What is the integral of 1/x² from 1 to 2?
1/2, which is about 1/2.
Keep going
Integrate any function
Type your own function into the integral calculator for the steps, the answer and a graph.