Math 2.0

Real functions Proof

Proof of the integral of 1/x

Builds on Reciprocal ruleDifferentiable functions are continuousDerivative of the logarithmChain ruleDerivative of a polynomialContinuous functions are Riemann integrableSecond fundamental theorem of calculusDefinite integralLogarithm of a quotientNatural logarithm

Proof

We find an antiderivative of 1/x1/x on each half line and apply the fundamental theorem of calculus.

  1. Let f(x)=1/xf(x) = 1/x for x≠0x \ne 0. The function x↦xx \mapsto x is differentiable and nonzero at each x≠0x \ne 0. By the reciprocal rule, ff is differentiable at each x≠0x \ne 0.
  2. Differentiable functions are continuous, so ff is continuous on (0,∞)(0, \infty) and on (−∞,0)(-\infty, 0).
  3. Let II be one of the open intervals (0,∞)(0, \infty) or (−∞,0)(-\infty, 0). Let F ⁣:I→ℝF \colon I \to \R be differentiable with F′=fF' = f on II. We claim that ∫abdxx=F(b)−F(a)\int_a^b \frac{dx}{x} = F(b) - F(a) for all a,b∈Ia, b \in I.
  4. Proof of the claim for a<ba < b. The interval [a,b][a, b] lies in II. By step 2, ff is Riemann integrable on [a,b][a, b]. Also FF is differentiable on II, so it is continuous on [a,b][a, b] by the result cited in step 2. The second fundamental theorem of calculus gives ∫abf=F(b)−F(a)\int_a^b f = F(b) - F(a).
  5. Proof of the claim for a=ba = b and a>ba > b. By the convention for the definite integral, ∫aaf=0=F(a)−F(a)\int_a^a f = 0 = F(a) - F(a). For a>ba > b, ∫abf=−∫baf=−(F(a)−F(b))=F(b)−F(a)\int_a^b f = -\int_b^a f = -(F(a) - F(b)) = F(b) - F(a), by step 4.
  6. Case a,b>0a, b > 0. Take I=(0,∞)I = (0, \infty) and F=ln⁡F = \ln, the natural logarithm. By the derivative of the logarithm, F′=fF' = f on II.
  7. By steps 3 and 6, ∫abdxx=ln⁡b−ln⁡a\int_a^b \frac{dx}{x} = \ln b - \ln a. By the logarithm of a quotient, this equals ln⁡ba\ln \frac{b}{a}.
  8. Case a,b<0a, b < 0. Take I=(−∞,0)I = (-\infty, 0) and F(x)=ln⁡(−x)F(x) = \ln(-x). Let φ(x)=−x\varphi(x) = -x. By the derivative of a polynomial, φ′(x)=−1\varphi'(x) = -1, and φ\varphi maps II into (0,∞)(0, \infty).
  9. By the chain rule and the derivative of the logarithm, FF is differentiable on II and F′(x)=1−x⋅(−1)=1xF'(x) = \frac{1}{-x} \cdot (-1) = \frac{1}{x}.
  10. By steps 3 and 9, ∫abdxx=ln⁡(−b)−ln⁡(−a)\int_a^b \frac{dx}{x} = \ln(-b) - \ln(-a). Since −a,−b>0-a, -b > 0, the logarithm of a quotient gives ln⁡−b−a=ln⁡ba\ln \frac{-b}{-a} = \ln \frac{b}{a}.
  11. For the last claim, let x>0x > 0 and apply step 7 with a=1a = 1 and b=xb = x. This gives ∫1xdtt=ln⁡x1=ln⁡x\int_1^x \frac{dt}{t} = \ln \frac{x}{1} = \ln x.

Idea

On the positive half line, ln⁡x\ln x has derivative 1/x1/x. On the negative half line, ln⁡(−x)\ln(-x) has derivative 1/x1/x by the chain rule. The fundamental theorem of calculus then gives a difference of logarithms, which is the logarithm of the quotient b/ab/a.

Reading path

To understand this page from the ground up, read these 302 pages in order. The foundations come first. The path takes the proofs Proof that Darboux and Riemann integrals agree, Proof of the Cauchy–Hadamard theorem, Proof that a function with nonnegative second derivative is convex, Proof of the Weierstrass M-test, Proof of the limit of a sum of sequences, Proof of Rolle's theorem, Proof of the approximation property of the supremum, Proof that every sequence has a monotone subsequence, by peaks, Proof of the formula for the derivative of a polynomial, Proof of the reciprocal rule, Proof of the commutativity of addition by induction, Proof of term-by-term differentiation, Proof of the epsilon-delta form of continuity, Proof of the power rule by induction, Proof that absolutely convergent series converge, Proof of the sum of a finite geometric series, Proof that convergent sequences are Cauchy, Proof that there is a natural number n with 1/n below any positive epsilon, Proof of the chain rule with an auxiliary difference quotient, Proof of the Cauchy criterion for series, Proof of the Cauchy criterion for sequences by the Bolzano–Weierstrass theorem, Proof of the reverse triangle inequality, Proof that the exponential series has infinite radius of convergence, Proof of the limit of a quotient of sequences, Proof that continuous functions on a closed bounded interval are uniformly continuous, Proof that a function with nonnegative derivative is increasing, Proof that the reals form an ordered field, with the Cauchy sequence construction, Proof of the root test, Proof of the double negation law by a truth table, Proof that the logarithm is the inverse of the exponential, Proof that power series converge uniformly on smaller intervals inside the radius of convergence, Proof of the extreme value theorem by the Bolzano–Weierstrass theorem, Proof of the derivative of the logarithm by the inverse function rule, Proof that the exponential function is positive, Proof of the uniqueness of limits, Proof of the logarithm of a quotient, Proof of strong induction from ordinary induction, Proof that power series are differentiable inside the radius of convergence, Proof of the limit of a product of sequences, Proof that uniform convergence of derivatives allows term-by-term differentiation, Proof that the absolute value is multiplicative, Proof of the squeeze theorem for sequences, Proof of Pascal's rule from the recursive definition, Proof that a differentiable function is convex iff its derivative is increasing, Proof of the linearity of differentiation, Proof of Riemann's criterion for integrability, Proof of the sequential characterization of limits, Proof that the exponential function is strictly increasing, Proof that Cauchy sequences are bounded, Proof of the triangle inequality for real numbers, Proof of the epsilon-N definition of the limit of a sequence, Proof of the comparison test, Proof of the existence of the infimum by negation, Proof of the continuity of the inverse of a strictly monotone continuous function, Proof of Fermat's theorem on stationary points, Proof that limits preserve non-strict inequalities, Proof that 1 + x is at most exp x, Proof of the factorial formula for binomial coefficients by induction, Proof that a function with positive derivative is strictly increasing, Proof of the second fundamental theorem of calculus, Proof of the intermediate value theorem by the supremum, Proof of the binomial theorem by induction, Proof that exponentials dominate powers in sequences, by the ratio of consecutive terms, Proof that differentiable functions are continuous, Proof that one-sided limits of a monotone function exist, Proof of the epsilon-delta form of the limit of a function, Proof of the well-ordering principle from strong induction, Proof of the Bolzano–Weierstrass theorem by a monotone subsequence, Proof of the Archimedean property in an Archimedean ordered field, Proof that a composition of continuous functions is continuous, Proof of the exponential of a sum by the Cauchy product, Proof that a decreasing sequence bounded below converges, Proof of the term test, Proof that the exponential function is its own derivative, by term-by-term differentiation, Proof that the reals are Archimedean from the completeness axiom, Proof of the ratio test, Proof that convergent sequences are bounded, Proof of the product rule, Proof of the monotone convergence theorem for sequences, Proof that continuity is equivalent to sequential continuity, Proof of the boundedness theorem by Bolzano–Weierstrass, Proof of the ratio formula for the radius of convergence, Proof that a series of nonnegative terms converges iff its partial sums are bounded, Proof of the mean value theorem from Rolle's theorem, Proof of the logarithm of a product, Proof that the Cauchy product of absolutely convergent series converges absolutely to the product, Proof that slopes of a convex function are increasing, Proof that continuous functions are Riemann integrable, Proof that the exponential function is strictly convex, Proof of the constant multiple rule.

  1. Binomial coefficient definition
  2. Construction of the reals from Cauchy sequences concept
  3. Convex function definition
  4. Definition by recursion concept
  5. Element definition
  6. Factorial definition
  7. Group concept
  8. Integers object
  9. Limit point of a set definition
  10. Local maximum definition
  11. Mathematical induction concept
  12. Natural numbers object
  13. Ordered field definition
  14. Partition of an interval definition
  15. Peano axioms concept
  16. Proposition concept
  17. Rational numbers object
  18. Real numbers object
  19. Sequence definition
  20. Set bounded above definition
  21. Strictly monotone function definition
  22. Proof of Pascal's rule from the recursive definition proof
  23. Proof that slopes of a convex function are increasing proof
  24. Strictly convex function definition
  25. Set definition
  26. Ring definition
  27. Ring of integers statement
  28. Limit of a function definition
  29. Local minimum definition
  30. Archimedean ordered field definition
  31. Successor function definition
  32. Mesh of a partition definition
  33. Refinement of a partition definition
  34. Riemann sum definition
  35. Conjunction definition
  36. Disjunction definition
  37. Implication definition
  38. Negation definition
  39. Predicate definition
  40. The reals form a field statement
  41. Real sequence definition
  42. Subsequence definition
  43. Infimum definition
  44. Supremum definition
  45. Pascal's rule statement
  46. Slopes of a convex function are increasing statement
  47. Ordered pair definition
  48. Commutative ring definition
  49. Continuity at a point definition
  50. Derivative definition
  51. One-sided limit definition
  52. Addition of natural numbers definition
  53. Proof of the Archimedean property in an Archimedean ordered field proof
  54. The rationals form a field statement
  55. Riemann integrable function definition
  56. The successor function is injective statement
  57. Zero is not a successor statement
  58. Biconditional definition
  59. Truth table concept
  60. Modus ponens concept
  61. Existential quantifier definition
  62. Universal quantifier definition
  63. Bounded sequence definition
  64. Cauchy sequence definition
  65. Geometric sequence definition
  66. Limit of a sequence definition
  67. Monotone sequence definition
  68. Sequence tending to infinity definition
  69. Series definition
  70. Completeness axiom statement
  71. Proof of the factorial formula for binomial coefficients by induction proof
  72. Cartesian product definition
  73. Continuous function definition
  74. Differentiable function definition
  75. One-sided derivative definition
  76. Archimedean property statement
  77. Proof of the commutativity of addition by induction proof
  78. Order on the natural numbers definition
  79. Subset definition
  80. Riemann integral definition
  81. The rationals form an ordered field statement
  82. Propositional logic concept
  83. Mathematical proof concept
  84. Upper and lower Darboux sums definition
  85. Uniqueness quantifier definition
  86. Limit superior definition
  87. Proof of the sum of a finite geometric series proof
  88. Convergent sequence definition
  89. Pointwise convergence definition
  90. Sequential continuity definition
  91. The sequence r^n tends to infinity for r > 1 example
  92. Cauchy product definition
  93. Partial sum definition
  94. Power series definition
  95. Factorial formula for binomial coefficients statement
  96. Proof that a composition of continuous functions is continuous proof
  97. Derivative function definition
  98. Binary relation definition
  99. Order on the reals definition
  100. Commutativity of addition statement
  101. Definite integral definition
  102. Proof of strong induction from ordinary induction proof
  103. Tautology definition
  104. Upper and lower Darboux integrals definition
  105. Sum of a finite geometric series statement
  106. Uniform convergence definition
  107. Radius of convergence definition
  108. Convergent series definition
  109. Proof of the binomial theorem by induction proof
  110. Higher derivative definition
  111. Antisymmetric relation definition
  112. Reflexive relation definition
  113. Transitive relation definition
  114. Interval definition
  115. Strong induction statement
  116. Function definition
  117. Uniform convergence on a set definition
  118. Logical equivalence definition
  119. Sum of a series definition
  120. Series of functions definition
  121. Absolute convergence definition
  122. Binomial theorem statement
  123. Second derivative definition
  124. Preorder definition
  125. Proof of the epsilon-delta form of continuity proof
  126. Proof of the epsilon-delta form of the limit of a function proof
  127. Proof of the well-ordering principle from strong induction proof
  128. Proof of the double negation law by a truth table proof
  129. Partial order definition
  130. Epsilon-delta definition of continuity statement
  131. Monotone function definition
  132. Epsilon-delta definition of a limit statement
  133. Well-ordering principle statement
  134. Double negation law statement
  135. Total order definition
  136. Uniform continuity definition
  137. Composition of continuous functions is continuous statement
  138. Proof by contradiction concept
  139. Proof that every sequence has a monotone subsequence, by peaks proof
  140. Uniform continuity on a set definition
  141. Proof that the reals form an ordered field, with the Cauchy sequence construction proof
  142. Every sequence has a monotone subsequence statement
  143. The reals form an ordered field statement
  144. Absolute value definition
  145. Proof of the approximation property of the supremum proof
  146. Proof of the existence of the infimum by negation proof
  147. Proof of the triangle inequality for real numbers proof
  148. Proof that the absolute value is multiplicative proof
  149. Proof of the epsilon-N definition of the limit of a sequence proof
  150. Approximation property of the supremum statement
  151. Existence of the infimum statement
  152. Triangle inequality statement
  153. Absolute value is multiplicative statement
  154. Epsilon-N definition of the limit of a sequence statement
  155. Proof of the intermediate value theorem by the supremum proof
  156. Proof that one-sided limits of a monotone function exist proof
  157. Proof that the reals are Archimedean from the completeness axiom proof
  158. Proof of the reverse triangle inequality proof
  159. Proof of the limit of a sum of sequences proof
  160. Proof of the squeeze theorem for sequences proof
  161. Proof of the uniqueness of limits proof
  162. Proof that limits preserve non-strict inequalities proof
  163. Intermediate value theorem statement
  164. Proof that differentiable functions are continuous proof
  165. Proof that convergent sequences are bounded proof
  166. Proof that convergent sequences are Cauchy proof
  167. The reals are Archimedean statement
  168. The sequence 1/n tends to zero example
  169. Proof that Cauchy sequences are bounded proof
  170. Proof of the term test proof
  171. Proof of the monotone convergence theorem for sequences proof
  172. Reverse triangle inequality statement
  173. Differentiable functions are continuous statement
  174. Proof of the continuity of the inverse of a strictly monotone continuous function proof
  175. Proof that there is a natural number n with 1/n below any positive epsilon proof
  176. Limit of a sum of sequences statement
  177. Uniqueness of limits statement
  178. Limits preserve non-strict inequalities statement
  179. Convergent sequences are bounded statement
  180. Proof of the ratio formula for the radius of convergence proof
  181. Squeeze theorem statement
  182. Proof that Darboux and Riemann integrals agree proof
  183. Convergent sequences are Cauchy statement
  184. Cauchy sequences are bounded statement
  185. Monotone convergence theorem for sequences statement
  186. Proof of the limit of a product of sequences proof
  187. There is a natural number n with 1/n below any positive epsilon statement
  188. One-sided limits of a monotone function exist statement
  189. Darboux and Riemann integrals agree statement
  190. Term test statement
  191. Proof that a series of nonnegative terms converges iff its partial sums are bounded proof
  192. Proof that a decreasing sequence bounded below converges proof
  193. The sequence r^n tends to zero for |r| < 1 example
  194. Proof of the sequential characterization of limits proof
  195. Continuity of the inverse of a strictly monotone continuous function statement
  196. Proof that continuity is equivalent to sequential continuity proof
  197. Limit of a product of sequences statement
  198. Decreasing sequence bounded below converges statement
  199. Geometric series example
  200. Proof of Riemann's criterion for integrability proof
  201. A series of nonnegative terms converges iff its partial sums are bounded statement
  202. Proof of the limit of a quotient of sequences proof
  203. Continuity is equivalent to sequential continuity statement
  204. Riemann's criterion for integrability statement
  205. Proof that the Cauchy product of absolutely convergent series converges absolutely to the product proof
  206. Sequential characterization of limits statement
  207. Proof of the root test proof
  208. Proof that exponentials dominate powers in sequences, by the ratio of consecutive terms proof
  209. Proof of the Cauchy–Hadamard theorem proof
  210. Proof of the ratio test proof
  211. Proof of the Bolzano–Weierstrass theorem by a monotone subsequence proof
  212. Proof of the comparison test proof
  213. Proof of the chain rule with an auxiliary difference quotient proof
  214. Proof of the product rule proof
  215. Proof of the linearity of differentiation proof
  216. Limit of a quotient of sequences statement
  217. Comparison test statement
  218. Cauchy product of absolutely convergent series statement
  219. Bolzano–Weierstrass theorem statement
  220. Exponentials dominate powers in sequences statement
  221. Chain rule statement
  222. Product rule statement
  223. Proof of the reciprocal rule proof
  224. Linearity of differentiation statement
  225. Proof that continuous functions on a closed bounded interval are uniformly continuous proof
  226. Ratio test statement
  227. Root test statement
  228. Proof of the boundedness theorem by Bolzano–Weierstrass proof
  229. Proof of the Cauchy criterion for sequences by the Bolzano–Weierstrass theorem proof
  230. Derivative of an inverse function statement
  231. Reciprocal rule statement
  232. Continuous functions on a closed bounded interval are uniformly continuous statement
  233. Proof of the constant multiple rule proof
  234. Proof of the power rule by induction proof
  235. Boundedness theorem statement
  236. Ratio formula for the radius of convergence statement
  237. Cauchy–Hadamard theorem statement
  238. Cauchy criterion for sequences statement
  239. Constant multiple rule statement
  240. Power rule statement
  241. Proof of the extreme value theorem by the Bolzano–Weierstrass theorem proof
  242. Uniformly Cauchy sequence of functions definition
  243. Proof of the Cauchy criterion for series proof
  244. Extreme value theorem statement
  245. Proof of the formula for the derivative of a polynomial proof
  246. Proof of Fermat's theorem on stationary points proof
  247. Cauchy criterion for series statement
  248. Derivative of a polynomial statement
  249. Proof that continuous functions are Riemann integrable proof
  250. Proof that absolutely convergent series converge proof
  251. Fermat's theorem on stationary points statement
  252. Continuous functions are Riemann integrable statement
  253. Proof of Rolle's theorem proof
  254. Absolutely convergent series converge statement
  255. Rolle's theorem statement
  256. Proof of the Weierstrass M-test proof
  257. Proof of the mean value theorem from Rolle's theorem proof
  258. Weierstrass M-test statement
  259. Mean value theorem statement
  260. Proof that power series converge uniformly on smaller intervals inside the radius of convergence proof
  261. Proof that a differentiable function is convex iff its derivative is increasing proof
  262. Proof that a function with nonnegative derivative is increasing proof
  263. Proof that uniform convergence of derivatives allows term-by-term differentiation proof
  264. Proof that a function with positive derivative is strictly increasing proof
  265. Proof of the second fundamental theorem of calculus proof
  266. Power series converge uniformly on smaller discs inside the radius of convergence statement
  267. A function with nonnegative derivative is increasing statement
  268. A differentiable function is convex iff its derivative is increasing statement
  269. Uniform convergence of derivatives allows term-by-term differentiation statement
  270. Second fundamental theorem of calculus statement
  271. A function with positive derivative is strictly increasing statement
  272. Proof that the exponential series has infinite radius of convergence proof
  273. Proof that a function with nonnegative second derivative is convex proof
  274. Proof of term-by-term differentiation proof
  275. The exponential series has infinite radius of convergence statement
  276. A function with nonnegative second derivative is convex statement
  277. Term-by-term differentiation statement
  278. Exponential function definition
  279. Proof of the exponential of a sum by the Cauchy product proof
  280. Proof that power series are differentiable inside the radius of convergence proof
  281. Exponential of a sum statement
  282. Power series are differentiable inside the radius of convergence statement
  283. Proof that the exponential function is positive proof
  284. Proof that the exponential function is its own derivative, by term-by-term differentiation proof
  285. The exponential function is positive statement
  286. The exponential function is its own derivative statement
  287. Proof that the exponential function is strictly increasing proof
  288. The exponential function is strictly increasing statement
  289. Proof that the exponential function is strictly convex proof
  290. Proof that 1 + x is at most exp x proof
  291. Natural logarithm definition
  292. The exponential function is convex statement
  293. 1 + x is at most exp x statement
  294. Proof that the logarithm is the inverse of the exponential proof
  295. Logarithm is the inverse of the exponential statement
  296. Proof of the logarithm of a product proof
  297. Proof of the derivative of the logarithm by the inverse function rule proof
  298. Logarithm of a product statement
  299. Derivative of the logarithm statement
  300. Proof of the logarithm of a quotient proof
  301. Logarithm of a quotient statement
  302. Proof of the integral of 1/x proof

Where this leads

10 pages build on this one.

Further reading

  1. Web https://en.wikipedia.org/wiki/Natural_logarithm, Integration
About this page
TagYNSE8NYA6N
URIm2://YNSE8NYA6N
Kindproof
WritingW0 stub
MSC26A36
ProvesIntegral of 1/x
UsesReciprocal rule, Differentiable functions are continuous, Derivative of the logarithm, Chain rule, Derivative of a polynomial, Continuous functions are Riemann integrable, Second fundamental theorem of calculus, Definite integral, Logarithm of a quotient, Natural logarithm
Changed4 November 2026

Markdown · JSON · Edit on GitHub

What this page needs for W1

  • an inventory row: the row of the inventory that the node accounts for (0 of 1)

The writing levels say how complete the text of a page is. They do not measure its truth.

What links here

No page links to this page yet.