Calculus I › Integrals › full formula sheet
The reciprocal integral
The one power the power rule can’t touch — and why the absolute value bars are load-bearing, not decoration.
Notation on this page: ln is the natural logarithm (base e), and C is the constant of integration.
Before this lesson: Derivative of ln x · Integral power rule
Where it comes from
The problem: the power rule ∫ xn dx = xn+1/(n+1) + C works for every exponent — except one. Plug in n = −1 and you get x&sup0;/0: division by zero, meaningless. So the innocent-looking integrand 1/x = x−1 falls through a hole in the power rule, and something genuinely different has to fill it.
What function has derivative 1/x? For x > 0, the answer is ln x. But 1/x is also perfectly defined for negative x — and there ln x does not even exist. The tempting half-answer:
Before reading on: 1/x is perfectly defined at x = −3, but ln(−3) does not exist. The guess ln x + C therefore can’t be the whole story. What is the smallest fix that makes it work for negative x too?
Test it where it hurts: ∫−2−1 dx/x. The guess says [ln x]−2−1 — but ln(−2) is undefined, so the guess cannot even be evaluated. Yet the integral is a perfectly good (negative) area. The fix: for x < 0, use ln(−x), whose derivative is:
Intuition: 1/x is an odd function with two separate branches, and its antiderivative must be built branch by branch — ln|x| is exactly that two-branch construction, stitched into a single expression.
Derivation
We verify F(x) = ln|x| branch by branch. The absolute value is defined piecewise, so the verification splits the same way — and both branches land on 1/x.
A subtlety, honestly noted: because 1/x lives on two disconnected intervals, the “constant” C can technically be a different constant on each side. Calculus I courses write a single C, which is correct whenever you stay on one side of zero — and that covers every problem on the exam.
How to use it
Before reading on: if the answer really is ln|x| + C, differentiating must return 1/x on both sides of zero. Which differentiation rule will the x < 0 branch force you to use?
The procedure, every time:
- Spot exactly 1/x (or x−1). Not 1/x², not 1/(x+1) — exactly 1/x, possibly times a constant.
- Write ln|x| + C. The bars are mandatory, not optional.
- Constants factor out: ∫ (4/x) dx = 4 ln|x| + C. And ∫ dx/(3x) = (1/3) ln|x| + C — pull the 1/3 out first.
- Simplify quotients before integrating: (x+1)/x = 1 + 1/x. Never integrate a fraction as a lump — split it into a sum first.
- Check by differentiating: d/dx [ln|x|] should give back 1/x.
Reciprocal or power rule?
This is the #1 judgment call of the chapter. Only the exact exponent −1 gets the logarithm. 1/x² = x−2 → power rule: −1/x + C. 1/√x = x−1/2 → power rule: 2√x + C. Drill the pair: “negative one is log; everything else is power.”
Worked examples
Four problems, easiest first. In each one, read every step — the why of each move is the lesson.
Example 1 — the basic move: ∫ dx/x
- Recognize the forbidden exponent. 1/x = x−1 — the power rule explicitly excludes n = −1.
- Write the answer: ln|x| + C. (Why the bars? 1/x exists for negative x, and only |x| keeps the log defined there.)
- Check: d/dx [ln|x|] = 1/x on both branches. Matches ✓
Your turn: Compute ∫ (−3/x) dx.
Answer: −3 ln|x| + C
Factor the constant: −3·∫ dx/x = −3 ln|x| + C. Check: d/dx [−3 ln|x|] = −3/x. ✓
Example 2 — definite: ∫1e dx/x
- Antiderivative: ln|x| = ln x here (the interval [1, e] is positive, so the bars are silent).
- Evaluate: ln e − ln 1 = 1 − 0 = 1.
- Sanity check: on [1, e], 1/x falls from 1 to ≈0.368, so the area should be between 0.368·(e−1) ≈ 0.63 and 1·(e−1) ≈ 1.72. The answer 1 sits inside. ✓
Your turn: Compute ∫1e2 dx/x.
Answer: 2
Antiderivative ln x (positive interval, bars silent): ln(e2) − ln 1 = 2 − 0 = 2. ✓
Example 3 — with a constant: ∫ (4/x) dx
- Factor the constant out. 4·∫ dx/x. (Why allowed? The constant-multiple rule for integrals.)
- Apply the reciprocal rule: 4·ln|x|.
- Add +C: 4 ln|x| + C.
- Check: d/dx [4 ln|x|] = 4/x. Matches ✓
Your turn: Compute ∫ (7/(2x)) dx.
Answer: (7/2) ln|x| + C
Factor 7/2 out: (7/2)·∫ dx/x = (7/2) ln|x| + C. Check: d/dx [(7/2) ln|x|] = (7/2)(1/x) = 7/(2x). ✓
Example 4 — split first: ∫ (2x + 3/x) dx
- Split into two integrals: ∫2x dx + ∫(3/x) dx. (Why? The sum rule — and the second piece is exactly the reciprocal pattern.)
- First piece (power rule): 2·(x²/2) = x².
- Second piece (reciprocal rule): 3 ln|x|.
- Combine with one +C: x² + 3 ln|x| + C.
- Check: d/dx gives 2x + 3/x. Matches ✓
Your turn: Compute ∫ (x3 + 2/x) dx.
Answer: x4/4 + 2 ln|x| + C
Split: power rule on x3 gives x4/4; reciprocal rule on 2/x gives 2 ln|x|. One +C. Check: d/dx gives x3 + 2/x. ✓
Memorization tips
- Say it aloud: “one over x integrates to log-abs-x.” Three beats, in order: reciprocal, log, bars.
- Drill the pair: “negative one is log; everything else is power.” The single most-tested distinction in the chapter.
- The bars test: if your antiderivative would break on negative x while the integrand survives there, you dropped the | |.
- Anchor on e: ∫1e dx/x = 1. One clean definite integral that ties the log to its base.
- Rewrite reflex: 1/(3x) = (1/3)·(1/x). Pull constants out before reaching for the rule.
- Quotient alarm: (x²+1)/x is not “one over something” — split it into x + 1/x first, then integrate each piece.
Final challenge
Five mixed questions — negative bounds, the power-rule trap, and splits. Score 5/5 and the reciprocal is yours.
← Back to the Calculus I formula sheet
How to learn a formula here
- Read each section in order — every section ends with a short quiz. Take it before moving on; the questions test exactly what you just read.
- Work the examples with the answers covered, then uncover one step at a time and compare.
- Finish with the final challenge — five mixed questions including the classic traps.
- Retake what you miss — every quiz reshuffles each attempt, and every answer explains itself.
Frequently asked questions
What is the integral of 1/x?
∫ dx/x = ln|x| + C. The power rule fails at n = −1 (it would divide by zero), and the logarithm is the genuinely different antiderivative that fills the gap.
Why does the answer need absolute value bars?
1/x is defined for negative x too, but ln x is not. Writing ln|x| covers both sides: for x < 0, d/dx [ln(−x)] = 1/x by the chain rule.
Is ∫ dx/x² also ln|x| + C?
No — 1/x² = x−2, and −2 is not the forbidden exponent, so the power rule applies: ∫ dx/x² = −1/x + C. Only exactly 1/x gets the logarithm.
What is ∫1e dx/x?
ln e − ln 1 = 1 − 0 = 1. The natural log is tailor-made for this integral.
How do I integrate (x+1)/x?
Split it first: (x+1)/x = 1 + 1/x, so ∫ (x+1)/x dx = x + ln|x| + C. Never integrate a quotient as a single lump — simplify first.
More from the codex
Support the codex
This page is free, with no account and no ads. If it helped you learn, consider supporting the indie dev behind it.
Questions or a bug to report? Email [email protected].